/* ==========================================================
   Jardin d'Artistes — brand site
   Diptyque-style structure, "white cube" look:
   the page is the gallery wall, the paintings are the only colour.
   - Statements: Korean, light sans.
   - Names (scents, artworks): serif roman.
   - Labels and captions: serif italic, sentence case (the voice of a wall label).
   ========================================================== */

:root {
  --bg: #ffffff;        /* wall */
  --paper: #f3f3f0;     /* plaster: the cool white of the embossed box */
  --ink: #141414;
  --ink-2: #4b4a47;
  --muted: #74716c;
  --line: #e2e1dc;
  --dark: #1b1b1a;
  /* a canvas hung on the wall */
  --hung: 0 1px 2px rgba(20, 20, 20, .10), 0 24px 38px -22px rgba(20, 20, 20, .40);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --accent: #9c98cf;
  --accent-soft: #eeedf6;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -0.003em;
  word-break: keep-all;          /* 한글이 단어 중간에서 끊기지 않게 */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--ink); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 300;
  background: #fff; padding: 10px 14px; font-size: 13px;
}
.skip:focus { left: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--muted);
}
.eyebrow--ko { font-family: var(--sans); font-style: normal; font-size: 13px; }

/* Museum wall label: artist / title, year / medium, size */
.label { display: grid; gap: 1px; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.label__artist { font-weight: 500; color: var(--ink); }
.label__title i { font-family: var(--serif); font-size: 16px; }
.label__medium { font-size: 12px; color: var(--muted); }
.label__scent {
  justify-self: start; margin-top: 12px; padding-bottom: 2px;
  font-family: var(--serif); font-size: 17px; color: var(--ink);
  border-bottom: 1px solid currentColor; transition: opacity .3s;
}
.label__scent:hover { opacity: .55; }
.title-ko {
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.5;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.title-en {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.95;
  color: var(--ink-2);
}
.body { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.body, .lead { text-wrap: pretty; }   /* 마지막 줄에 한두 글자만 남지 않게 */
.body p + p { margin-top: 1.2em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--block { width: 100%; }
.btn.is-pending,
.btn.is-pending:hover {
  background: transparent; color: var(--muted); border-color: var(--line); cursor: default;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.link {
  display: inline-block;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  transition: opacity .3s;
}
.link:hover { opacity: .55; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .4s var(--ease), color .4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-menu-open { border-bottom-color: var(--line); }
.site-header__inner {
  max-width: var(--max); height: var(--header);
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo img { height: 19px; width: auto; }
.logo .logo__w { display: none; }

/* 메인: 영상 위에 투명하게 떠 있다가, 스크롤·마우스를 올리면 흰 헤더로 바뀜 */
.is-home .site-header { position: fixed; left: 0; right: 0; }
.is-home .site-header:not(.is-scrolled):not(.is-menu-open) {
  color: #fff; background: transparent; backdrop-filter: none;
}
.is-home .site-header:not(.is-scrolled):not(.is-menu-open) .logo__b { display: none; }
.is-home .site-header:not(.is-scrolled):not(.is-menu-open) .logo__w { display: block; }
@media (hover: hover) {
  .is-home .site-header:not(.is-scrolled):not(.is-menu-open):hover {
    color: var(--ink); background: rgba(255, 255, 255, .97);
  }
  .is-home .site-header:not(.is-scrolled):not(.is-menu-open):hover .logo__b { display: block; }
  .is-home .site-header:not(.is-scrolled):not(.is-menu-open):hover .logo__w { display: none; }
}
.nav { display: flex; gap: clamp(24px, 3vw, 48px); }
.nav a {
  position: relative; padding: 6px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn { display: none; position: relative; width: 40px; height: 40px; margin-right: -10px; }
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 24px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header) 0 0 0; z-index: 59;
  background: #fff; padding: 40px var(--gutter);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer a {
  font-family: var(--serif); font-size: 32px; line-height: 1.5;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}

/* ---------- Home: hero (full-screen film) ---------- */
.hero {
  position: relative; width: 100%;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: #1d1a2e; color: #fff;
}
.hero__stage { position: absolute; inset: 0; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 8, 20, .42) 0, rgba(10, 8, 20, 0) 170px),
    linear-gradient(to top, rgba(10, 8, 20, .5) 0, rgba(10, 8, 20, 0) 42%);
}
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 6vh, 72px);
}
.hero__caption .eyebrow { color: rgba(255, 255, 255, .86); font-size: 17px; }
.hero__title {
  margin-top: 16px;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.42;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .18);
}
.hero__caption .link { margin-top: 28px; }
.hero__toggle {
  position: absolute; z-index: 2;
  right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  bottom: clamp(40px, 6vh, 72px);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7); color: #fff;
  display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.hero__toggle:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.hero__toggle svg { width: 12px; height: 12px; fill: currentColor; }
.hero__toggle .i-play { display: none; }
.hero__toggle.is-paused .i-play { display: block; }
.hero__toggle.is-paused .i-pause { display: none; }

.intro {
  padding: clamp(80px, 10vw, 152px) var(--gutter) clamp(72px, 9vw, 136px);
  text-align: center;
}
.intro__title {
  margin-top: 20px;
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.6;
  letter-spacing: -0.035em;
}
.intro .lead { margin-top: 24px; }
.intro .link { margin-top: 36px; }
.intro + .section { padding-top: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--paper); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 3.6vw, 48px);
}
.section-head .eyebrow { margin-bottom: 10px; }
.section-head--center { justify-content: center; text-align: center; }

/* ---------- Product tiles ---------- */
.products {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}
.products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { display: block; }
.tile__media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper);
}
/* 흰 배경 제품컷이 칸 색에 자연스럽게 녹아들게 (분위기 사진에는 적용 안 함) */
.tile__media img:first-child { mix-blend-mode: multiply; }
.tile__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .7s var(--ease), transform 1.4s var(--ease);
}
.tile__mood { opacity: 0; }
.tile:hover .tile__mood,
.tile:focus-visible .tile__mood { opacity: 1; }
.tile:hover .tile__media img { transform: scale(1.025); }
.tile__body { padding-top: 18px; display: grid; gap: 3px; }
.tile__meta { font-size: 12px; color: var(--muted); }
.tile__name { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; margin-top: 4px; }
.tile__ko { font-size: 13px; color: var(--muted); }
.tile__keys { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* ---------- Split editorial ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
/* 사진은 글 쪽이 더 길어도 위아래 틈 없이 칸을 꽉 채운다 */
.split__media { position: relative; align-self: stretch; width: 100%; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.split__media--landscape { aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text {
  padding: clamp(48px, 7vw, 120px) clamp(24px, 6vw, 112px);
  max-width: 680px;
}
.split__text .eyebrow { margin-bottom: 14px; }
.split__text .title-ko + .body { margin-top: 28px; }
.split--ruled { border-top: 1px solid var(--line); }
.split__text .body + .link,
.split__text .body + .btn,
.split__text .body + .actions,
.split__text .checks + .link { margin-top: 36px; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__text { justify-self: end; }

.band-dark { background: var(--dark); color: #f3f1ec; }
.band-dark .eyebrow { color: rgba(255, 255, 255, .55); }
.band-dark .body,
.band-dark .lead { color: rgba(255, 255, 255, .76); }
.band-dark .split__media { background: var(--dark); }
.band-paper { background: var(--paper); }

/* ---------- Philosophy pillars ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.pillar { padding: 32px clamp(16px, 2.6vw, 40px) 8px 0; }
.pillar + .pillar { padding-left: clamp(16px, 2.6vw, 40px); border-left: 1px solid var(--line); }
.pillar h3 { margin: 0 0 10px; font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.pillar p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* ---------- Quote band ---------- */
.quote {
  text-align: center;
  padding: clamp(96px, 11vw, 168px) var(--gutter);
}
.quote .seal { width: 34px; height: auto; margin: 0 auto 36px; opacity: .8; }
.quote blockquote {
  max-width: 920px; margin: 0 auto;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(21px, 2.3vw, 32px); line-height: 1.5; letter-spacing: -0.005em;
}
.quote .body { margin-top: 28px; }

/* ---------- Inner page head ---------- */
.page-head {
  padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(48px, 6vw, 88px);
  text-align: center;
}
.page-head .eyebrow { margin-bottom: 22px; }
.page-head__en {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.015em;
}
.page-head__ko {
  font-weight: 300; font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.42; letter-spacing: -0.035em;
}
.page-head .lead { margin-top: 26px; }
.page-head--solo { min-height: 62vh; display: grid; align-content: center; justify-items: center; }
.page-head .actions { margin-top: 36px; justify-content: center; }

.wide { width: 100%; aspect-ratio: 2 / 1; max-height: 88vh; overflow: hidden; background: var(--paper); }
.wide img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: 760px; margin: 0 auto; text-align: center; }
.prose .eyebrow { margin-bottom: 18px; }
.prose .title-ko + .body { margin-top: 28px; }
.prose--lead { max-width: 860px; }
.prose--lead .body { font-size: clamp(15px, 1.25vw, 18px); line-height: 2.05; color: var(--ink); }
.prose--lead .body p + p { margin-top: 1.5em; }

/* Text-led chapter: title left, body right (Our Story) */
.chapter { padding: clamp(48px, 6vw, 88px) 0; }
.chapter__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 120px);
  padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
}
.chapter__head { align-self: start; position: sticky; top: calc(var(--header) + 40px); }
.chapter__head .eyebrow { margin-bottom: 18px; }
.chapter__body { max-width: 640px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.value { border-top: 1px solid var(--ink); padding-top: 24px; }
.value h3 { margin: 14px 0 16px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.5; }
.value .body { font-size: 14px; }

/* ---------- Closing mark ---------- */
.closing { text-align: center; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.closing img { width: min(220px, 50vw); height: auto; margin: 0 auto; }
.closing .eyebrow { margin-top: 32px; }
.closing p:last-child { margin-top: 12px; color: var(--ink-2); }

/* ---------- Product detail ---------- */
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  padding-top: 20px; padding-bottom: 20px;
  font-size: 12px; color: var(--muted);
}
.breadcrumb a:hover { color: var(--ink); }

.pdp {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
}
/* 갤러리: 첫 사진·가로 사진은 한 줄 전체, 세로 사진은 두 장씩 나란히 */
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pdp__gallery figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.pdp__shot--full, .pdp__shot--wide { grid-column: 1 / -1; }
.pdp__gallery .pdp__shot--wide { aspect-ratio: 3 / 2; }
.pdp__gallery figure:first-child img { mix-blend-mode: multiply; }
.pdp__gallery img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info {
  position: sticky; top: calc(var(--header) + 8px);
  padding: clamp(32px, 4.4vw, 80px) clamp(24px, 4.4vw, 80px) 48px;
}
.pdp__name {
  margin-top: 16px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -0.015em;
}
.pdp__ko { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pdp__keys {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
}
.pdp__sense { margin-top: 14px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 300; line-height: 1.6; letter-spacing: -0.02em; }
.pdp__desc { margin-top: 14px; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.pdp__actions { margin-top: 32px; }
.pdp__note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.pdp__note a { border-bottom: 1px solid currentColor; }
.accs { margin-top: 36px; }

.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: 14px; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 300; line-height: 1; }
.acc[open] summary::after { content: "–"; }
.acc__body { padding: 0 0 24px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.acc__body li + li { margin-top: 4px; }

.notes { display: grid; gap: 16px; }
.notes > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.notes dt { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); }
.notes dd { color: var(--ink); }
.notes .fam { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Artwork block ---------- */
.artwork { background: var(--accent-soft); padding: clamp(72px, 9vw, 136px) 0; }
.artwork__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(40px, 7vw, 120px);
}
.artwork__work { justify-self: center; width: min(100%, 400px); }
.artwork__work img { width: 100%; height: auto; box-shadow: var(--hung); }
.artwork__ph {
  aspect-ratio: 4 / 5;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: linear-gradient(160deg, #fff 0%, var(--accent-soft) 100%);
  color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.artwork__ph img { width: 46px; opacity: .35; }
.artwork__text { max-width: 520px; }
.artwork__title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; }
.artwork__ko { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.artwork__label {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, .14);
  font-size: 14px; line-height: 1.8; color: var(--ink);
}
.artwork .body { margin-top: 22px; }

/* ---------- Gallery wall: the paintings, hung in a row ---------- */
.wall { background: var(--paper); padding: clamp(88px, 10vw, 160px) 0; }
.wall__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 120px); align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.wall__head .eyebrow { margin-bottom: 14px; }
.wall__lead { max-width: 600px; }
.wall__lead .link { margin-top: 28px; }
.wall__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(20px, 4.6vw, 80px);
}
.work__frame {
  display: block; aspect-ratio: 3 / 4; overflow: hidden;
  background: #dcdbd6; box-shadow: var(--hung);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.work__frame img { width: 100%; height: 100%; object-fit: cover; }
.work__frame:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20, 20, 20, .10), 0 34px 44px -24px rgba(20, 20, 20, .42); }
.work .label { margin-top: 24px; }

/* ---------- Pair: each painting beside the scent it became, one pair at a time ---------- */
.pair__stage { --cell: min(50vw, 90vh); position: relative; display: grid; }
/* Every pair sits in the same grid cell; the next one fades in over the last. */
.pair__slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; align-items: start;
  background: #fff; opacity: 0; visibility: hidden;
}
.pair__slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; }
.pair__slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.1s var(--ease); }
.pair__item { min-width: 0; }
.pair__cell { display: block; position: relative; height: var(--cell); overflow: hidden; }
.pair__cell--wall { background: var(--paper); display: grid; place-items: center; }
.pair__cell--wall img { width: auto; height: 70%; max-width: 78%; object-fit: contain; box-shadow: var(--hung); }
.pair__cell--photo { background: #fff; }
.pair__cell--photo img { width: 100%; height: 100%; object-fit: cover; }
.pair__item .label { padding: 18px var(--gutter) 0; }
/* Step through the pairs: sits on the caption line, at the right edge */
.pair__nav {
  display: none; position: absolute; z-index: 3;
  top: calc(var(--cell) + 10px); right: calc(var(--gutter) - 12px);
  align-items: center; gap: 2px;
}
.js .pair__nav { display: flex; }
.pair__arrow {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink); transition: background .3s var(--ease);
}
.pair__arrow:hover { background: var(--paper); }
.pair__count {
  position: relative; min-width: 46px; padding: 4px 0 7px; text-align: center;
  font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted);
}
.pair__count b { font-weight: 400; color: var(--ink); }
/* The hairline under the count fills while a pair is on show, then the next one comes in */
.pair__bar { position: absolute; left: 6px; right: 6px; bottom: 0; height: 1px; background: var(--line); opacity: 0; }
.pair__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.pair.is-auto .pair__bar { opacity: 1; }
.pair.is-auto .pair__bar i { animation: pair-fill 7s linear forwards; }
.pair.is-auto.is-paused .pair__bar i { animation-play-state: paused; }
@keyframes pair-fill { to { transform: scaleX(1); } }
.pair__text {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 120px);
  padding-top: clamp(64px, 7vw, 112px); padding-bottom: clamp(88px, 10vw, 160px);
}
.pair__text .eyebrow { margin-bottom: 14px; }
.pair__body { max-width: 600px; }
.pair__body .link { margin-top: 28px; }

.tile__art { font-size: 12px; color: var(--muted); }

/* ---------- Checks (B2B / Shop lists) ---------- */
.checks { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.checks li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.checks strong { display: block; font-size: 15px; font-weight: 500; }
.checks span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.band-dark .checks,
.band-dark .checks li { border-color: rgba(255, 255, 255, .16); }
.band-dark .checks span { color: rgba(255, 255, 255, .7); }

/* ---------- B2B ---------- */
.cases {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}
.case { border-top: 1px solid var(--ink); padding-top: 22px; }
.case h3 { margin: 0 0 8px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.case p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); }
.step { border-top: 1px solid var(--ink); padding-top: 20px; }
.step__no { font-family: var(--serif); font-size: 30px; line-height: 1; }
.step h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 500; }
.step p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }

.cta-band { text-align: center; padding: clamp(80px, 9vw, 136px) var(--gutter); }
.cta-band .title-ko { margin-top: 18px; }
.cta-band .lead { margin-top: 18px; }
.cta-band .actions { margin-top: 36px; justify-content: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.contact__info { padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 112px) clamp(48px, 6vw, 96px) var(--gutter); }
.info-list { border-top: 1px solid var(--ink); }
.info-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row dt { font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--muted); padding-top: 2px; }
.info-row dd { font-size: 16px; line-height: 1.8; }
.info-row dd a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.info-row dd a:hover { border-color: currentColor; }
.contact__info .actions { margin-top: 36px; }
.contact__note { margin-top: 28px; font-size: 13px; color: var(--muted); }
.contact__note a { color: var(--ink); border-bottom: 1px solid currentColor; }
.contact__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper); }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: clamp(64px, 7vw, 104px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand img { width: 190px; height: auto; }
.footer__brand p { margin-top: 24px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.footer__col h4 {
  margin-bottom: 14px;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 16px; color: var(--muted);
}
.footer__col a { display: block; padding: 4px 0; font-size: 14px; transition: opacity .3s; }
.footer__col a:hover { opacity: .55; }
.footer__bottom {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 12px; color: var(--muted);
}
.footer__biz { flex-basis: 100%; line-height: 1.8; }

/* ---------- Reveal ---------- */
/* A quiet fade only: nothing slides. */
.js .reveal { opacity: 0; transition: opacity 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header: 60px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .logo img { height: 16px; }

  /* 모바일: 가로 영상을 세로로 자르면 엔딩 로고가 잘리므로 5:4로 전체 장면을 보여 줌 */
  .hero { height: auto; min-height: 0; background: #fff; color: var(--ink); }
  .hero__stage { position: relative; aspect-ratio: 5 / 4; background: #1d1a2e; }
  .hero__shade { background: linear-gradient(to bottom, rgba(10, 8, 20, .45) 0, rgba(10, 8, 20, 0) 120px); }
  .hero__caption { position: static; padding: 36px var(--gutter) 8px; }
  .hero__caption .eyebrow { color: var(--muted); }
  .hero__title { margin-top: 14px; font-size: 26px; text-shadow: none; }
  .hero__caption .link { margin-top: 22px; }
  .hero__toggle { width: 34px; height: 34px; right: 14px; bottom: 14px; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split--reverse .split__text { justify-self: start; }
  .split__media, .split__media--landscape { aspect-ratio: 4 / 3; }
  .split__text { padding: 48px var(--gutter) 64px; }

  .chapter__grid { grid-template-columns: 1fr; gap: 24px; }
  .chapter__head { position: static; }

  .pillars, .values { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }

  .wide { aspect-ratio: 4 / 3; }

  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__gallery figure, .pdp__gallery .pdp__shot--wide { scroll-snap-align: start; grid-column: auto; aspect-ratio: 4 / 5; }
  .pdp__info { position: static; padding: 32px var(--gutter) 56px; }

  .artwork__grid { grid-template-columns: 1fr; }
  .artwork__work { width: min(78%, 340px); }
  .wall__head, .pair__text { grid-template-columns: 1fr; gap: 24px; }
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; }
  .pair__item .label { padding: 14px 16px 0; }
  .pair__item .label__medium { display: none; }
  /* 좁은 화면: 넘김 버튼을 캡션 아래 가운데로 */
  .pair__nav { position: static; grid-area: 2 / 1; justify-self: center; margin-top: 14px; }
  .products--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products--3 .tile:nth-child(3) { display: none; }

  .contact { grid-template-columns: 1fr; }
  .contact__media { aspect-ratio: 4 / 3; }
  .contact__info { padding: 48px var(--gutter) 56px; }
}

@media (max-width: 560px) {
  .cases { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { flex-direction: column; align-items: flex-start; }
  /* 좁은 화면에서는 문장마다 줄을 바꾸지 않고 자연스럽게 흐르게 */
  .page-head .lead br, .intro .lead br, .body br, .cta-band .lead br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile__media img { transition: none; }
  .pair__slide.is-active { transition: none; }
}
