:root {
  --bg: #07080a;
  --bg-2: #0e1014;
  --ink: #f4f1ea;
  --ink-2: #c9c6bf;
  --muted: #8a8e97;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #4ff5c8;
  --accent-ink: #032a1f;
  --navy: #141b45;
  --gold: #e9c46a;
  --display: "Oswald", "Pretendard", "Arial Narrow", sans-serif;
  --body: "Inter", "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ko"] body { --body: "Pretendard", "Inter", system-ui, sans-serif; word-break: keep-all; }
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Intro */
.intro {
  position: fixed; inset: 0; z-index: 200; background: #000;
  display: grid; place-items: center;
}
.intro__stage { width: min(520px, 76vw); display: flex; flex-direction: column; align-items: center; gap: 4.5%; }
.intro__ducks { position: relative; width: 100%; aspect-ratio: 692 / 427; }
.intro__duck { position: absolute; bottom: 0; left: var(--x); width: var(--w); opacity: 0; will-change: transform; }
.intro__word { width: 110%; overflow: hidden; }
.intro__word img { width: 100%; }
.intro__bar { position: absolute; bottom: 48px; left: 50%; width: 120px; height: 1px; background: rgba(255,255,255,.15); transform: translateX(-50%); overflow: hidden; }
.intro__bar span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.intro__skip { position: absolute; right: var(--gutter); bottom: 36px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.intro__skip:hover { color: var(--ink); }
.intro.is-done { display: none; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: padding .4s var(--ease), background .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(7, 8, 10, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .45s var(--ease), padding .4s var(--ease), background .4s var(--ease); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__ducks { height: 28px; width: auto; }
.nav__name { font-family: var(--display); font-weight: 500; letter-spacing: .14em; font-size: 15px; white-space: nowrap; }
.nav__name em { font-style: normal; color: var(--muted); }
.nav__links { display: flex; gap: 40px; }
.nav__links a { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.lang button { min-width: 44px; min-height: 44px; padding: 0 4px; color: var(--muted); transition: color .3s; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.menu a { font-family: var(--display); font-size: clamp(44px, 12vw, 72px); text-transform: uppercase; line-height: 1.1; }
.menu.is-open { opacity: 1; visibility: visible; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: #0a0a0a; }
.btn--primary:hover { background: var(--accent); }
.btn--ghost { border: 1px solid rgba(244, 241, 234, .35); color: var(--ink); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(244, 241, 234, .08); }
.btn--gold { background: linear-gradient(135deg, #f7d985, #d9a640); color: #2a1d02; }
.btn--gold:hover { filter: brightness(1.06); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .num { font-family: var(--display); color: var(--accent); letter-spacing: .1em; font-size: 13px; }
.eyebrow .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; opacity: .6; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(79, 245, 200, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 245, 200, .55); } 70% { box-shadow: 0 0 0 10px rgba(79, 245, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 245, 200, 0); } }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,0) 28%, rgba(7,8,10,0) 50%, rgba(7,8,10,.9) 100%),
  linear-gradient(90deg, rgba(7,8,10,.7) 0%, rgba(7,8,10,0) 60%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(110px, 16vh, 170px); }
.hero__title { margin: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(56px, 11vw, 168px); line-height: .92; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
html[lang="ko"] .hero__title { font-weight: 700; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(48px, 9.5vw, 144px); }
.hero__sub { max-width: 520px; margin: 28px 0 36px; color: var(--ink-2); font-size: clamp(15px, 1.4vw, 18px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__now {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(110px, 16vh, 170px);
  display: grid; gap: 4px; padding: 18px 22px; min-width: 250px; border-left: 2px solid var(--accent);
  background: rgba(7, 8, 10, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s;
}
.hero__now:hover { background: rgba(7, 8, 10, .7); }
.hero__now-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.hero__now-title { font-family: var(--display); font-size: 20px; letter-spacing: .02em; }
.hero__now-meta { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--ink), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(28px, 4vw, 52px); text-transform: uppercase; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(244, 241, 234, .45); white-space: nowrap; }
.marquee b { color: var(--accent); font-size: 18px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature */
.feature { position: relative; overflow: hidden; }
.feature__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature__title { margin: 0 0 24px; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(52px, 8vw, 116px); line-height: .9; letter-spacing: -.005em; }
.feature__title span { display: block; font-size: .42em; font-weight: 400; letter-spacing: .18em; color: var(--accent); margin-top: 14px; }
.feature__lead { margin: 0 0 32px; max-width: 520px; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); }
.feature__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.feature__date { margin: 26px 0 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); max-width: 560px; }
.facts li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 18px; }
.facts strong { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: .02em; }
.facts span { font-size: 13px; color: var(--muted); line-height: 1.45; }

.feature--fd { min-height: 100vh; display: flex; align-items: center; padding: 140px 0; }
.feature__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.feature--fd .feature__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,10,.95) 0%, rgba(7,8,10,.82) 38%, rgba(7,8,10,.2) 75%, rgba(7,8,10,.35) 100%), linear-gradient(180deg, var(--bg) 0%, rgba(7,8,10,0) 18%, rgba(7,8,10,0) 80%, var(--bg) 100%); }
.feature--fd .feature__grid { grid-template-columns: minmax(0, 640px); }

/* Rail */
.rail { position: relative; padding: 40px 0 120px; overflow: hidden; }
.rail__track { display: flex; gap: 28px; padding: 0 var(--gutter); width: max-content; align-items: center; }
.rail__intro { width: min(420px, 80vw); flex: none; padding-right: 40px; }
.rail__intro h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4vw, 56px); line-height: 1; text-transform: uppercase; }
.rail__item { flex: none; margin: 0; width: min(50vw, 760px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--bg-2); position: relative; }
.rail__item::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 4px; pointer-events: none; }
.rail__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.rail__item:hover img { transform: scale(1); }

/* Goddess */
.feature--gw {
  padding: clamp(110px, 14vw, 180px) 0;
  background: radial-gradient(120% 90% at 20% 30%, #3b4aa8 0%, #1d2563 45%, #0d1236 100%);
  color: #fffaf0;
}
.feature--gw::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(var(--bg), rgba(7,8,10,0)); z-index: 1; }
.feature--gw::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(rgba(7,8,10,0), var(--bg)); z-index: 1; }
.feature__grid--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feature__title--gw { text-transform: none; font-family: var(--display); }
.feature__title--gw span:first-child { display: block; font-size: 1em; font-weight: 600; letter-spacing: -.005em; color: #fffaf0; margin: 0; text-transform: uppercase; }
.feature__title--gw span:last-child { color: var(--gold); letter-spacing: .08em; }
html[lang="ko"] .feature__title--gw span:first-child { font-weight: 800; letter-spacing: -.04em; }
.feature--gw .feature__lead { color: rgba(255, 250, 240, .78); }
.feature--gw .eyebrow { color: rgba(255, 250, 240, .8); }
.feature--gw .eyebrow .num { color: var(--gold); }
.facts--light { border-color: rgba(255, 250, 240, .18); grid-template-columns: 1fr; }
.facts--light li { border-color: rgba(255, 250, 240, .18) !important; border-right: 0 !important; padding-left: 0 !important; grid-template-columns: 150px 1fr; align-items: baseline; }
.facts--light strong { color: var(--gold); font-size: 18px; }
.facts--light span { color: rgba(255, 250, 240, .7); font-size: 14px; }
.gw__sky i { position: absolute; z-index: 0; width: 4px; height: 4px; border-radius: 50%; background: #fff7d6; box-shadow: 0 0 12px 3px rgba(255, 230, 150, .6); animation: twinkle 3s ease-in-out infinite; }
.gw__sky i:nth-child(1) { top: 18%; left: 8%; } .gw__sky i:nth-child(2) { top: 30%; left: 46%; animation-delay: .6s; }
.gw__sky i:nth-child(3) { top: 72%; left: 12%; animation-delay: 1.2s; } .gw__sky i:nth-child(4) { top: 14%; left: 88%; animation-delay: 1.8s; }
.gw__sky i:nth-child(5) { top: 64%; left: 92%; animation-delay: .9s; } .gw__sky i:nth-child(6) { top: 86%; left: 52%; animation-delay: 2.1s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }

.phones { position: relative; height: clamp(460px, 52vw, 640px); }
.phone { position: absolute; margin: 0; aspect-ratio: 9 / 19.5; border-radius: 34px; overflow: hidden; background: #000; border: 8px solid #0b0d1d; box-shadow: 0 40px 80px rgba(5, 8, 30, .55), 0 0 0 1px rgba(255,255,255,.08); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.phone--front { height: 100%; left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.phone--back { height: 82%; top: 9%; z-index: 1; filter: saturate(.9) brightness(.82); }
.phone--l { left: 4%; transform: rotate(-8deg); }
.phone--r { right: 4%; transform: rotate(8deg); }

/* Games */
.games { padding: clamp(100px, 12vw, 160px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-title { margin: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(40px, 6vw, 84px); line-height: .95; }
html[lang="ko"] .section-title, html[lang="ko"] .studio__statement, html[lang="ko"] .rail__intro h3 { letter-spacing: -.03em; font-weight: 700; line-height: 1.08; }
.filters { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; }
.filters button { min-height: 40px; padding: 0 20px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: background .3s, color .3s; }
.filters button.is-active { background: var(--ink); color: #0a0a0a; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(244, 241, 234, .3); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 460 / 215; overflow: hidden; background: #111; }
.card__media img.cover { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img.cover { transform: scale(1.06); }
.card__media--mobile { display: grid; place-items: center; }
.card__media--mobile .blur { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.card__media--mobile .shots { position: absolute; inset: 9% 0; display: flex; gap: 10px; justify-content: center; align-items: center; }
.card__media--mobile .shots img { height: 100%; width: auto; aspect-ratio: 9 / 16; flex: none; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.5); transition: transform .8s var(--ease); }
.card:hover .card__media--mobile .shots img:nth-child(1) { transform: translateY(-6px) rotate(-3deg); }
.card:hover .card__media--mobile .shots img:nth-child(3) { transform: translateY(-6px) rotate(3deg); }
.card__media--mobile .icon { position: absolute; left: 14px; bottom: 14px; width: 54px; height: 54px; border-radius: 13px; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(7,8,10,.72); backdrop-filter: blur(6px); }
.card__badge--soon { background: var(--accent); color: var(--accent-ink); }
.card__body { padding: 20px 20px 22px; display: grid; gap: 6px; flex: 1; }
.card__meta { display: flex; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.card__desc { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.card__link { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.card__link i { font-style: normal; transition: transform .4s var(--ease); }
.card:hover .card__link { color: var(--accent); }
.card:hover .card__link i { transform: translateX(4px); }

/* Studio */
.studio { padding: clamp(100px, 12vw, 170px) 0; border-top: 1px solid var(--line); background: radial-gradient(60% 50% at 85% 10%, rgba(79, 245, 200, .07), transparent 70%), var(--bg); }
.studio__statement { margin: 0 0 64px; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(38px, 6.4vw, 96px); line-height: 1; max-width: 1100px; }
.studio__statement span { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.studio__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: 80px; }
.studio__copy { margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: 150px 1fr; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.stat strong { font-family: var(--display); font-size: clamp(44px, 5vw, 68px); font-weight: 500; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pillar { padding: 34px 30px 36px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); transition: border-color .4s, background .4s; }
.pillar:hover { border-color: rgba(79, 245, 200, .45); background: linear-gradient(180deg, rgba(79,245,200,.06), transparent); }
.pillar__n { font-family: var(--display); color: var(--accent); font-size: 14px; letter-spacing: .2em; }
.pillar h3 { margin: 18px 0 10px; font-size: 22px; font-weight: 600; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { position: relative; padding: clamp(110px, 13vw, 180px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.contact__ducks { position: absolute; right: -4%; bottom: -8%; width: min(760px, 70vw); opacity: .05; pointer-events: none; }
.contact__title { margin-bottom: 56px; }
.contact__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ccard { position: relative; display: grid; gap: 14px; padding: 34px 34px 38px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.ccard::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.ccard > * { position: relative; z-index: 1; transition: color .4s; }
.ccard:hover::before { transform: translateY(0); }
.ccard:hover > * { color: var(--accent-ink); }
.ccard__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ccard__mail { font-family: var(--display); font-size: clamp(24px, 3vw, 40px); letter-spacing: .01em; overflow-wrap: anywhere; }
.ccard__arrow { position: absolute !important; right: 30px; top: 30px; font-size: 24px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: #050607; font-size: 13px; color: var(--muted); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }
.footer__logo { height: 92px; width: auto; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-2); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.footer__links a:hover { color: var(--accent); }
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; margin: 0 0 36px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.biz div { display: grid; gap: 2px; }
.biz__wide { grid-column: span 2; }
.biz dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5f636b; }
.biz dd { margin: 0; color: var(--ink-2); }
.biz dd a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); }
.biz dd a:hover { color: var(--accent); }
.footer__copy { margin: 0; font-size: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .86); backdrop-filter: blur(8px); }
.modal__box { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.modal__box video { width: 100%; height: 100%; }
.modal__close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #fff; }

/* Reveal defaults (JS enhances) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }

/* Responsive */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__name { display: none; }
  .hero__now { display: none; }
  .hero__content { padding-bottom: 120px; }
  .feature__grid, .feature__grid--rev { grid-template-columns: minmax(0, 1fr); }
  .feature--gw .phones { order: 2; }
  .studio__grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .contact__cards { grid-template-columns: minmax(0, 1fr); }
  .rail { padding-bottom: 80px; }
  .rail__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .rail__track::-webkit-scrollbar { display: none; }
  .rail__intro { width: 70vw; }
  .rail__item { width: 84vw; scroll-snap-align: center; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .biz { grid-template-columns: minmax(0, 1fr); }
  .biz__wide { grid-column: auto; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li:nth-child(odd) { border-right: 0; }
  .facts li:nth-child(even) { padding-left: 0; }
  .facts--light li { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr; gap: 6px; }
  .btn { height: 48px; padding: 0 20px; font-size: 12px; }
  .feature--fd { padding: 110px 0; }
  .phones { height: 480px; }
  .phone--back { display: none; }
  .ccard { padding: 26px 22px 30px; }
  .footer__logo { height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
