/* ─────────────────────────────────────────────
   4D프레임 — homepage
   palette tokens
───────────────────────────────────────────── */
:root {
  --red: #E94621;
  --red-deep: #C73615;
  --ink: #15110F;
  --ink-2: #2a2421;
  --muted: #7a6f69;
  --cream: #F8EFE4;
  --cream-2: #F3E6D5;
  --peach: #F7DCC4;
  --orange: #EC5A2A;
  --dark: #260A0A;
  --dark-2: #170606;
  --line: rgba(20,16,14,.10);

  --f-sans: "Mona Sans", "Pretendard", system-ui, sans-serif;
  --f-kr: "Pretendard", "Mona Sans", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad-x: clamp(28px, 5vw, 96px);
  --section-y: clamp(80px, 10vw, 160px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-kr);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
mark { background: transparent; color: var(--ink); font-weight: 700; }

/* ───────── reveal ───────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  pointer-events: none;
  transition: background .4s ease, color .4s ease, backdrop-filter .4s;
}
.site-header > * { pointer-events: auto; }
.site-header.is-light { color: #fff; }
.site-header.is-stuck {
  background: rgba(248,239,228,.85);
  backdrop-filter: blur(14px);
  color: var(--ink);
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark svg { display: block; transition: transform .6s; }
.logo:hover .logo-mark svg { transform: rotate(72deg); }
.logo-text {
  display: grid;
  grid-template-rows: auto auto;
  line-height: 1;
}
.logo-cap {
  font-family: var(--f-kr);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .04em;
  color: currentColor;
  opacity: .85;
  margin-bottom: 3px;
}
.logo-wordmark {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--red);
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.logo-wordmark em {
  font-style: normal;
  font-family: var(--f-kr);
  font-weight: 800;
  font-size: 17px;
  color: var(--red);
  letter-spacing: -.04em;
}
.logo-url {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: .04em;
  color: var(--red);
  opacity: .8;
  margin-top: 2px;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 18px;
  padding: 6px 4px;
}
.menu-btn .menu-plus {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  transition: transform .4s;
}
.menu-btn:hover .menu-plus { transform: rotate(90deg); }

/* ─────────────────────────────────────────────
   MENU DRAWER
───────────────────────────────────────────── */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 200;
  pointer-events: none;
  transition: background .55s ease, backdrop-filter .55s ease;
}
.menu-backdrop.is-open {
  background: rgba(20, 14, 10, .42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(1100px, 86vw);
  background: #FAF1E6;
  z-index: 210;
  transform: translateX(100%);
  transition: transform .7s cubic-bezier(.76, 0, .24, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -30px 0 60px -20px rgba(0,0,0,.25);
}
.menu-drawer.is-open { transform: translateX(0); }
body.menu-open { overflow: hidden; }

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(28px, 4vw, 56px);
  gap: 16px;
}
.menu-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.m-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.m-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.menu-close {
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  display: inline-grid; place-items: center;
  color: var(--ink);
  margin-left: 6px;
  transition: transform .4s, color .3s;
}
.menu-close:hover { transform: rotate(90deg); color: var(--red); }

.menu-nav {
  padding: clamp(20px, 3vw, 40px) clamp(28px, 4vw, 56px) clamp(40px, 6vw, 80px);
  display: grid;
  gap: 0;
}
.m-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 4fr;
  gap: clamp(20px, 3vw, 64px);
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid rgba(20,16,14,.12);
  align-items: start;
}
.m-row:last-child { border-bottom: 0; }

.m-h {
  font-family: var(--f-kr);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.03em;
  color: var(--ink);
  transition: color .35s ease, transform .45s cubic-bezier(.2,.7,.2,1);
  display: inline-block;
}
.m-row:hover .m-h {
  color: var(--red);
  transform: translateX(14px);
}

.m-subs {
  list-style: none;
  margin: 0; padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 28px;
}
.m-subs li a {
  position: relative;
  display: inline-block;
  font-family: var(--f-kr);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color .3s ease;
}
.m-subs li a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--red);
  transition: right .35s cubic-bezier(.2,.7,.2,1);
}
.m-row:hover .m-subs li a { color: var(--red); }
.m-subs li a:hover::after { right: 0; }

@media (max-width: 900px) {
  .m-row { grid-template-columns: 1fr; gap: 14px; }
  .m-subs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .m-subs { grid-template-columns: 1fr; }
  .m-cta { padding: 10px 16px; font-size: 13px; }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-image {
  position: absolute; inset: 0;
  /* placeholder photo: warm-toned diagonal stripes */
  background:
    linear-gradient(135deg, rgba(0,0,0,.05) 0 2px, transparent 2px 22px),
    radial-gradient(60% 50% at 70% 40%, #d9b89b 0%, #b88c70 45%, #6a4530 100%);
}
/* 배경 유튜브 영상 — 히어로를 꽉 채우도록 16:9 를 cover 계산으로 확대 */
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* 로딩 중에는 아래 그라데이션이 보이고, 재생이 시작되면 서서히 나타난다 */
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  /* cover 로 채운 뒤 1.35배 더 키운다 — 유튜브 제목/하단 바가
     히어로 밖으로 밀려나 overflow:hidden 에 잘린다 */
  transform: translate(-50%, -50%) scale(1.35);
  width: 100vw;
  height: 56.25vw;        /* 100vw × 9/16 */
  min-width: 177.78vh;    /* 100vh × 16/9 */
  min-height: 100vh;
  border: 0;
  pointer-events: none;   /* 영상 위 클릭은 페이지가 받는다 */
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 25%, rgba(0,0,0,0) 50%, rgba(0,0,0,.35) 100%),
    linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 50%);
}

.hero-copy {
  position: absolute;
  left: var(--pad-x);
  /* right 를 같이 잡아야 폭이 화면에 갇힌다 — 없으면 shrink-to-fit 으로
     제목 한 줄의 max-content(555px) 만큼 벌어져 폰에서 글자가 잘린다 */
  right: var(--pad-x);
  bottom: clamp(160px, 22vh, 240px);
  max-width: 1000px;
}
.hero-title {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(40px, 11.5vw, 130px);
  line-height: .95;
  letter-spacing: -.035em;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.hero-title .line,
.intro-title .line,
.phil-title .line,
.fl-title .line,
.story-h .line,
.contact-h .line {
  display: block;
  overflow: hidden;
}
.hero-sub {
  font-family: var(--f-sans);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -.005em;
  opacity: .9;
  margin: 0;
}

.hero-side {
  position: absolute;
  right: clamp(16px, 2vw, 32px);
  top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  font-family: var(--f-sans);
  font-size: 13px;
}
.vside {
  writing-mode: vertical-rl;
  letter-spacing: .25em;
  opacity: .75;
  font-family: var(--f-mono);
  font-size: 11px;
  position: absolute;
  top: 50%;
  transform: translateY(-180px);
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 80px;
}
.scroll-cue svg { animation: scrollNudge 2.2s ease-in-out infinite; }
@keyframes scrollNudge {
  0%,100% { transform: translateY(0); opacity:.95; }
  50% { transform: translateY(6px); opacity:.5; }
}

.hero-cap {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 60px;
  background: var(--cream);
  border-radius: 60px 60px 0 0;
}

/* ─────────────────────────────────────────────
   eyebrow common
───────────────────────────────────────────── */
.eyebrow, .eyebrow--dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--red);
  letter-spacing: .01em;
}

/* ─────────────────────────────────────────────
   INTRO
───────────────────────────────────────────── */
.intro {
  background: var(--cream);
  padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(40px, 6vw, 80px);
  text-align: center;
}
.intro .eyebrow { justify-content: center; }
.intro-title {
  font-family: "Pretendard Variable", var(--f-kr);
  font-size: clamp(40px, 6.4vw, 96px);
  letter-spacing: -.035em;
  line-height: 1.18;
  margin: 28px 0 64px;
  color: var(--ink);
  font-weight: 200;
}
.intro-title .line {
  font-weight: clamp(200, calc(200 + var(--p, 0) * 1200), 800);
  transition: font-weight .05s linear;
  will-change: font-weight;
}
.intro-title .line:nth-child(2) {
  font-weight: clamp(200, calc(200 + var(--p, 0) * 1200 - 600), 800);
}
.intro-title .line strong {
  color: var(--red);
  font-weight: inherit;
}
.intro-figure {
  margin: 0 calc(-1 * var(--pad-x));
  padding: 0 calc((1 - var(--p, 0)) * 20vw);
  transition: padding .12s linear;
  will-change: padding;
}
.intro-figure .ph {
  border-radius: 32px;
}
.ph {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #f0d9b8, #d9b08a 55%, #a87a55);
  aspect-ratio: 16 / 9;
}
.ph > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-wide { aspect-ratio: 16 / 9; }
.ph-tag {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,.78);
  background: rgba(20,12,8,.45);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: .02em;
}

/* ─────────────────────────────────────────────
   PHILOSOPHY
───────────────────────────────────────────── */
.philosophy {
  background: var(--cream);
  padding: clamp(60px, 8vw, 120px) var(--pad-x) 0;
}
.phil-title {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(54px, 9.6vw, 156px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 24px 0 18px;
}
.phil-title .dot { color: var(--red); }
.phil-sub {
  font-family: var(--f-sans);
  font-style: italic;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 0 0 56px;
}

.phil-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.phil-photo .ph { aspect-ratio: 4/5; border-radius: 28px; }
.phil-body { padding-top: 8px; }
.phil-p {
  font-size: 17px;
  line-height: 1.7;
  color: #2a221e;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.phil-p mark { color: var(--red); font-weight: 700; }

.stat-bar {
  margin-top: 32px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
}
.stat-bar__txt { flex: 1; display: grid; gap: 4px; }
.stat-bar__txt strong { font-size: 16px; }
.stat-bar__txt span { color: var(--muted); font-size: 14px; }
.stat-bar__flags { display: flex; }
.stat-bar__flags .flag {
  width: 34px; height: 34px; border-radius: 999px;
  border: 2px solid var(--cream);
  margin-left: -8px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  overflow: hidden;
  display: inline-block;
}
.flag-jp { background: #fff; position: relative; }
.flag-jp i { position:absolute; inset:25%; border-radius:50%; background:#bc002d; display:block; }
.flag-us {
  background:
    repeating-linear-gradient(180deg, #b22234 0 3px, #fff 3px 6px);
  position: relative;
}
.flag-us::before {
  content:""; position:absolute; top:0; left:0; width:14px; height:16px; background:#3c3b6e;
}

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.stat-card {
  position: relative;
  border-radius: 22px;
  padding: 22px 22px 24px;
  min-height: 130px;
  overflow: hidden;
}
.stat-card--cream { background: #F3E4D0; color: var(--ink); }
.stat-card--red { background: var(--red); color: #fff; }
.stat-num {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-num em { font-style: normal; color: var(--red); }
.stat-card--red .stat-num em { color: #fff; }
.stat-label {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .02em;
}
.stat-card--cream .stat-label { color: #4a3e36; }
.stat-icon {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 95px;
  opacity: .9;
}
.stat-card--red .stat-icon { opacity: 1; }

/* ─────────────────────────────────────────────
   MARQUEE
───────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 60px 0 70px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.m-word {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 120px);
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1;
}
.m-word--ghost { color: rgba(20,16,14,.18); }
.m-art {
  width: clamp(120px, 11vw, 180px);
  height: clamp(70px, 7vw, 110px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.m-art[data-art="bridge"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 110'><g fill='none' stroke-width='2.4' stroke-linecap='round'><path d='M10 90 L40 50 L70 90 L100 50 L130 90 L160 50 L190 90' stroke='%23E94621'/><path d='M10 90 L190 90' stroke='%231f8a5b'/><path d='M30 90 L40 70 L50 90 M70 90 L80 70 L90 90 M110 90 L120 70 L130 90 M150 90 L160 70 L170 90' stroke='%231f8a5b'/></g></svg>");
}
.m-art[data-art="dna"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 110'><g fill='none' stroke-width='3' stroke-linecap='round'><path d='M10 60 Q40 10 70 60 T130 60 T190 60' stroke='%23f5b400'/><path d='M10 60 Q40 110 70 60 T130 60 T190 60' stroke='%23E94621'/><path d='M30 35 L30 85 M70 35 L70 85 M110 35 L110 85 M150 35 L150 85' stroke='%231f8a5b'/></g></svg>");
}
.m-art[data-art="vase"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 110'><g fill='none' stroke='%23E94621' stroke-width='2.6'><path d='M70 10 L130 10 L120 35 Q150 50 140 80 Q130 100 100 100 Q70 100 60 80 Q50 50 80 35 Z'/><path d='M80 20 L120 20 M80 38 L120 38 M70 60 L130 60 M70 80 L130 80'/></g></svg>");
}
.m-art[data-art="car"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 110'><g fill='none' stroke='%232b6fdb' stroke-width='2.6'><path d='M30 80 L60 50 L140 50 L170 80 Z'/><circle cx='60' cy='85' r='14'/><circle cx='140' cy='85' r='14'/><path d='M80 50 L80 30 L120 30 L120 50'/></g></svg>");
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   FLAGSHIP EVENT (dark)
───────────────────────────────────────────── */
.flagship {
  background: var(--dark);
  color: #f3e9e0;
  border-radius: 60px 60px 0 0;
  padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(80px, 10vw, 140px);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.flagship-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .12em;
}
.kicker-bar { display:block; width: 28px; height:1px; background: var(--red); }

.fl-title {
  font-family: var(--f-kr);
  font-weight: 800;
  font-size: clamp(46px, 6.2vw, 92px);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 28px 0 18px;
  color: #f7ede4;
}
.fl-title .hl { color: var(--red); }
.fl-eng {
  font-family: var(--f-mono);
  font-size: 14px;
  color: #d6c3b3;
  letter-spacing: .01em;
  margin: 0 0 28px;
}
.fl-rule { border: 0; border-top: 1px solid rgba(255,255,255,.16); margin: 24px 0 28px; }

.fl-edition {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 40px;
}
.fl-num {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(120px, 14vw, 200px);
  line-height: .85;
  letter-spacing: -.05em;
  color: #f7ede4;
}
.fl-num sup {
  font-size: .28em;
  vertical-align: top;
  margin-left: 4px;
  font-weight: 800;
}
.fl-meta hr { border: 0; border-top: 1px solid rgba(255,255,255,.16); margin: 14px 0; }
.fl-key {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: .12em;
}
.fl-val { font-size: 18px; margin-top: 6px; }
.fl-val strong { font-weight: 700; }

.fl-table { margin: 0; padding: 0; }
.fl-tr {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
  align-items: start;
}
.fl-tr dt {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: .1em;
  padding-top: 2px;
}
.fl-tr dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: #efe2d4;
}
.dim { color: #8e7e72; font-family: var(--f-mono); font-size: 13px; margin-left: 4px; }

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--red);
  color: #fff;
  padding: 16px 26px 16px 30px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 15px;
  margin-top: 40px;
  transition: transform .3s, background .3s;
}
.apply-btn:hover { background: var(--red-deep); transform: translateX(3px); }
.apply-arrow {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  display: inline-grid;
  place-items: center;
}

/* poster */
.flagship-right { position: relative; }
.poster-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--red);
  margin-bottom: 14px;
}
.poster {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
  background:
    radial-gradient(120% 80% at 50% 0%, #d9c4a0 0%, #c69d6d 35%, #6c4423 75%, #3c2110 100%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.poster-top {
  position: absolute; top: 6%; left: 0; right: 0;
  text-align: center;
  color: #fff7eb;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.poster-headline {
  font-family: var(--f-kr);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}
.poster-headline--lg {
  font-weight: 900;
  font-size: clamp(22px, 2.3vw, 30px);
  margin-top: 4px;
}
.poster-headline--lg span { color: #ffeacb; }
.poster-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .04em;
  margin-top: 6px;
  color: #f6e2c5;
}
.poster-art {
  position: absolute;
  inset: 22% 8% 28%;
}
.poster-E {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(120px, 16vw, 220px);
  color: #2a1308;
  text-shadow:
    0 0 0 #2a1308,
    -2px 0 #f5cf85,
    0 -2px #f5cf85,
    3px 3px 0 rgba(0,0,0,.4);
  letter-spacing: -.06em;
  text-align: center;
  line-height: .9;
  transform: rotate(-3deg);
}
.poster-script {
  position: absolute;
  inset: 18% 0 0;
  text-align: center;
  font-family: "Brush Script MT", "Mona Sans", cursive;
  font-style: italic;
  font-weight: 700;
  font-size: 30px;
  color: #fff8e8;
  transform: rotate(-6deg);
  text-shadow: 0 2px 4px rgba(0,0,0,.4);
}
.poster-bubbles {
  position: absolute;
  inset: -8% -6% auto auto;
  width: 50%;
  height: 50%;
}
.poster-bubbles .bub {
  position: absolute;
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #c00 70%);
  box-shadow: inset -2px -2px 4px rgba(0,0,0,.35);
}
.bub.b1 { top: 10%; right: 30%; }
.bub.b2 { top: 20%; right: 10%; width: 18px; height:18px; }
.bub.b3 { top: 35%; right: 45%; background:radial-gradient(circle at 30% 30%, #fff, #2a6 70%);}
.bub.b4 { top: 45%; right: 18%; background:radial-gradient(circle at 30% 30%, #fff, #26b 70%);}
.bub.b5 { top: 60%; right: 35%; background:radial-gradient(circle at 30% 30%, #fff, #f80 70%);}
.bub.b6 { top: 25%; right: 60%; background:radial-gradient(circle at 30% 30%, #fff, #80c 70%);}

.poster-photos {
  position: absolute;
  bottom: -22%;
  left: 0; right: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 6px;
  height: 38%;
}
.pp { background: linear-gradient(135deg,#d9c4a0,#7a5235); border-radius: 4px; }
.pp1 { transform: rotate(-3deg); }
.pp3 { transform: rotate(2deg); background: linear-gradient(135deg,#ffd76c,#c97225); }
.poster-foot {
  position: absolute;
  bottom: 2%; left: 0; right: 0;
  text-align: center;
  color: #fff8e8;
}
.poster-quote {
  font-family: "Mona Sans", serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 22px);
  margin-bottom: 6px;
}
.poster-info {
  font-family: var(--f-kr);
  font-size: 12px;
  line-height: 1.4;
}
.poster-info b { color: var(--red); font-weight: 800; }
.poster-credit {
  display:flex; justify-content:center; gap: 14px;
  font-size: 9px; margin-top: 6px; color: #efdcc1;
  font-family: var(--f-mono);
}

/* ─────────────────────────────────────────────
   GROWTH STORY — sticky curtain stack
───────────────────────────────────────────── */
.story-stack {
  position: relative;
  /* sticky pinning bounded inside this container */
}
.story {
  padding: clamp(60px, 7vw, 100px) var(--pad-x);
  position: sticky;
  top: 0;
  min-height: 100vh;
  border-radius: 50px 50px 0 0;
  overflow: hidden;
}
.story--cream { background: var(--cream); }
.story--peach { background: var(--peach); }
.story--orange { background: var(--orange); color: #2a0f06; }

.story-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: clamp(30px, 4vw, 48px);
}
.story-eyebrow .rule { display:block; width: 70px; height: 1px; background: currentColor; opacity: .7; }
.story-eyebrow--light { color: #fff; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.story-left {
  align-self: center;
}
.era {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--red);
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.era--light { color: #fff; }
.era-dot {
  width: 14px; height:14px; border-radius: 50%;
  background:
    linear-gradient(90deg, var(--red) 50%, transparent 50%),
    var(--red);
  position: relative;
}
.era-dot::after {
  content:""; position:absolute; inset:0;
  border-radius: 50%;
  border: 1.5px solid var(--red);
}
.era--light .era-dot { background: linear-gradient(90deg, #fff 50%, transparent 50%), #fff; }
.era--light .era-dot::after { border-color: #fff; }

.story-h {
  font-family: var(--f-kr);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 0;
  color: var(--ink);
}
.story-h--light { color: #fff; }
.story-h .line { display: block; }

.story-mid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.story-photo { margin: 0; width: 78%; max-height: 30vh; }
.story-photo .ph { aspect-ratio: 1/1; border-radius: 22px; max-height: 30vh; }
.story-photo--tall .ph { aspect-ratio: 1/1.05; }

.story-right { padding-top: 10px; display: grid; gap: 32px; }
.story-year {
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--red);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.story-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 6px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.story-right--light .story-list { color: #fff; }
.story-right--light .story-year { color: #fff; }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact {
  background: var(--cream);
  border-radius: 60px 60px 60px 60px;
  margin-top: -40px;
  padding: clamp(80px, 9vw, 130px) var(--pad-x) clamp(60px, 6vw, 90px);
  position: relative;
  z-index: 3;
}
.contact-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin: 24px 0 56px;
  flex-wrap: wrap;
}
.contact-h {
  font-family: var(--f-kr);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.18;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--ink);
}
.contact-h .hl { color: var(--red); }
.contact-h .line { display: block; }
.news-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  transition: background .3s, color .3s;
}
.news-btn:hover { background: var(--ink); color: #fff; }

.contact-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  perspective: 1200px;
}
.cp { margin: 0; transition: transform .12s linear; will-change: transform; }
.cp:nth-child(1) {
  transform: translateX(calc((1 - var(--p, 0)) * 102%)) scale(calc(0.84 + var(--p, 0) * 0.16));
  z-index: 1;
}
.cp:nth-child(2) { z-index: 3; }
.cp:nth-child(3) {
  transform: translateX(calc((1 - var(--p, 0)) * -102%)) scale(calc(0.84 + var(--p, 0) * 0.16));
  z-index: 2;
}
.cp .ph { aspect-ratio: 4/5; border-radius: 0; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #FAF1E6 0%, #F8DDD0 100%);
  padding: 130px var(--pad-x) 60px;
  margin-top: -90px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 30px 0 24px;
  flex-wrap: wrap;
}
.footer-contact { display: grid; gap: 10px; }
.fc-row { display: flex; align-items: flex-start; gap: 12px; font-family: var(--f-sans); font-weight: 700; font-size: 17px; }
.fc-row--mail { align-items: flex-start; }
.fc-val--mail { display: grid; gap: 2px; font-weight: 500; font-size: 15px; }
.fc-ico { width: 24px; display: inline-grid; place-items: center; padding-top: 2px; }

.footer-social { display: flex; gap: 4px; }
.soc {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--red);
  display: inline-grid; place-items: center;
  transition: background .3s, transform .3s;
}
.soc:hover { background: var(--red-deep); transform: translateY(-2px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-mark { display: flex; align-items: center; gap: 10px; }
.fm-text { display: grid; line-height: 1; }
.fm-cap { font-size: 9px; opacity: .85; margin-bottom: 3px; }
.fm-word { font-family: var(--f-sans); font-weight: 900; font-size: 22px; color: var(--red); letter-spacing: -.02em; }
.fm-word em { font-style: normal; font-family: var(--f-kr); font-weight: 800; font-size: 17px; }
.fm-url { font-family: var(--f-mono); font-size: 8px; color: var(--red); margin-top: 2px; letter-spacing: .04em; }
.footer-legal { font-size: 12px; text-align: right; color: var(--muted); }
.footer-legal .dim { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 11px; opacity: .8; }

/* ───────── responsive ───────── */
@media (max-width: 1000px) {
  .phil-grid, .flagship-inner { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-mid { flex-direction: row; flex-wrap: wrap; }
  .story-photo { width: calc(50% - 11px); }
  .fl-tr { grid-template-columns: 160px 1fr; }
  .contact-photos { grid-template-columns: 1fr; gap: 4px; }
  /* 1열이 되면 ±102% 좌우 슬라이드가 화면 밖으로 나가 가로 스크롤이 생긴다
     → 세로 1열에서는 확대만으로 등장 */
  .cp:nth-child(1),
  .cp:nth-child(3) {
    transform: scale(calc(0.92 + var(--p, 0) * 0.08));
  }
}
@media (max-width: 640px) {
  .hero-copy { bottom: 140px; }
  .stat-row { grid-template-columns: 1fr; }
  .fl-tr { grid-template-columns: 1fr; gap: 4px; }
  .footer-bottom, .footer-top, .contact-head { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}
