/* ═══════════════════════════════════════════
   KNSAD — Modar-e Memar
   ═══════════════════════════════════════════ */

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF;
}
@font-face {
  font-family: "Naskh";
  src: url("../assets/fonts/NotoNaskh-Arabic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Naskh";
  src: url("../assets/fonts/NotoNaskh-Latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  --header: 64px;
  --navy: #0c0a28;
  --navy-2: #100d31;
  --navy-3: #08061d;
  --ink: #17143f;
  --ink-2: #262253;
  --paper: #dedbd3;
  --paper-2: #d5d2ca;
  --cream: #f5f2ea;
  --yellow: #edf85c;
  --blue: #3a34d8;
  --muted-ink: rgba(23, 20, 63, .55);
  --line-ink: rgba(23, 20, 63, .16);
  --muted-light: rgba(245, 242, 234, .58);
  --line-light: rgba(245, 242, 234, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Vazirmatn", system-ui, sans-serif;
  --font-accent: "Naskh", "Vazirmatn", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
main section[id] { scroll-margin-top: calc(var(--header) + 4px); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 300;
  background: var(--yellow); color: var(--navy); padding: 10px 16px;
  border-radius: 4px; font-size: 13px; font-weight: 700;
  transform: translateY(-200%); transition: transform .25s;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.wrap {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ═══ Loader ═══ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(76, 68, 255, .18), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(237, 248, 92, .05), transparent 55%),
    var(--navy);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px clamp(20px, 3vw, 40px);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
body.is-loaded .loader { opacity: 0; visibility: hidden; }
.loader-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: rgba(245, 242, 234, .5);
}
.loader-brand--latin { letter-spacing: .22em; font-size: 9px; }
.loader-center {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 24px 0 8px;
}
.loader-drawing {
  width: min(680px, 84vw); height: auto;
  color: rgba(245, 242, 234, .85);
  overflow: visible;
  transform: translateY(-2vh);
}
.loader-drawing .draw {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: draw 2.6s var(--ease) forwards;
}
.loader-drawing .d1 { animation-delay: .05s; }
.loader-drawing .d2 { animation-delay: .2s; }
.loader-drawing .d3 { animation-delay: .32s; }
.loader-drawing .d4 { animation-delay: .46s; }
.loader-drawing .d5 { animation-delay: .58s; }
.loader-drawing .d6 { animation-delay: .7s; }
.loader-drawing .d7 { animation-delay: .85s; }
.loader-drawing .d8 { animation-delay: .98s; }
.loader-drawing .d9 { animation-delay: 1.1s; }
.loader-drawing .d10 { animation-delay: 1.2s; }
.loader-drawing .d11 { animation-delay: 1.28s; }
.loader-drawing .d12 { animation-delay: 1.36s; }
.loader-drawing .d13 { animation-delay: 1.45s; }
.loader-drawing .d14, .loader-drawing .d15 { animation-delay: 1.52s; }
.loader-drawing .d16 { animation-delay: 1.6s; }
.loader-drawing .d16 { stroke-dasharray: 40; stroke-dashoffset: 40; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader-bottom { display: grid; gap: 10px; }
.loader-line {
  height: 1px; background: rgba(245, 242, 234, .16); position: relative; overflow: hidden;
}
.loader-line span {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 0%;
  background: var(--yellow); transition: width .25s linear;
}
.loader-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; color: rgba(245, 242, 234, .6);
}
#loaderPercent { font-size: 12px; color: var(--yellow); font-feature-settings: "tnum"; }

/* ═══ Header ═══ */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 120;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(16px, 2.4vw, 28px);
  background: var(--navy);
  border-bottom: 1px solid rgba(245, 242, 234, .1);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 52px; height: auto; flex: none; object-fit: contain; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-fa { font-size: 17px; font-weight: 800; color: var(--cream); }
.brand-en { font-size: 7.5px; letter-spacing: .24em; color: rgba(245, 242, 234, .45); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-talk {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--navy);
  font-size: 12.5px; font-weight: 700;
  padding: 11px 16px; border-radius: 4px;
  transition: transform .25s var(--ease), background .25s;
}
.btn-talk svg { width: 14px; height: 14px; }
.btn-talk:hover { transform: translateY(-1px); background: #f4ff6e; }
.menu-btn {
  width: 40px; height: 40px; background: none; border: 0; cursor: pointer;
  display: grid; place-content: center; gap: 5px; border-radius: 4px;
}
.menu-btn span {
  display: block; width: 22px; height: 1.6px; background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s;
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
body.menu-open .menu-btn { opacity: 0; pointer-events: none; }
body.menu-open { overflow: hidden; }

/* ═══ Menu ═══ */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(76, 68, 255, .22), transparent 60%),
    var(--navy);
  color: var(--cream);
  display: flex; flex-direction: column;
  padding: calc(var(--header) + 26px) clamp(20px, 4vw, 56px) 28px;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform .65s var(--ease), visibility .65s;
}
.menu.is-open { transform: none; visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(24px, 5vh, 60px); }
.menu-kicker { font-size: 10px; color: rgba(245, 242, 234, .4); }
.menu-close {
  width: 44px; height: 44px; border: 1px solid rgba(245, 242, 234, .2); border-radius: 50%;
  background: none; cursor: pointer; position: relative;
}
.menu-close span { position: absolute; inset-inline-start: 50%; inset-block-start: 50%; width: 18px; height: 1.5px; background: var(--cream); }
.menu-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-nav { display: grid; }
.menu-nav a {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: clamp(18px, 3vw, 42px);
  padding: clamp(10px, 1.8vh, 18px) 0;
  border-bottom: 1px solid rgba(245, 242, 234, .1);
  transition: padding .35s var(--ease), color .35s;
}
.menu-nav a::before {
  content: attr(data-i); font-size: 10px; color: var(--yellow); opacity: .7;
  grid-row: span 2;
}
.menu-nav a span { font-size: clamp(27px, 4.6vw, 56px); font-weight: 800; line-height: 1.25; }
.menu-nav a small { font-size: 10.5px; color: rgba(245, 242, 234, .4); }
.menu-nav a:hover { color: var(--yellow); padding-inline-start: 10px; }
.menu-foot {
  margin-top: auto; padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(245, 242, 234, .45);
}
.menu-foot a { color: var(--cream); border-bottom: 1px solid rgba(245, 242, 234, .3); padding-bottom: 2px; }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  margin-block-start: var(--header);
  height: calc(100svh - var(--header));
  min-height: 590px;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero-stage {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 10%, #e9e6de 0%, #d9d6cf 55%, #cbc8c1 100%);
  overflow: hidden;
}
#scene { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#scene:active { cursor: grabbing; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 22%, transparent 72%, rgba(20, 18, 50, .1));
  transition: opacity .8s;
}
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  opacity: .13; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  transition: opacity .8s;
}
.hero-fallback {
  position: absolute; inset: 0; z-index: 3; background: var(--navy);
}
.hero-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero-fallback p {
  position: absolute; inset-block-end: 140px; inset-inline: 0; margin: 0;
  text-align: center; color: rgba(255, 255, 255, .7); font-size: 12px;
}

.hero-meta {
  position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 4;
  height: 44px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: clamp(16px, 2.4vw, 28px);
  background: var(--navy);
  border-bottom: 1px solid rgba(245, 242, 234, .08);
  font-size: 9.5px; color: rgba(245, 242, 234, .62);
}
.meta-link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--cream); }
.meta-link svg { width: 11px; height: 11px; opacity: .6; }
.meta-center { text-align: center; }
.meta-end { justify-self: end; color: var(--yellow); font-weight: 600; }

.hero-inner {
  position: relative; z-index: 5; height: 100%;
  padding: clamp(20px, 4vh, 42px) clamp(16px, 2.6vw, 36px) 22px;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.hero-inner > * { pointer-events: auto; }
.hero-head { display: flex; justify-content: flex-end; align-items: flex-start; gap: 20px; }
.hero-title-wrap { min-width: 0; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 10px; font-weight: 500;
  color: var(--muted-ink);
  transition: color .7s;
}
.eyebrow--accent { color: var(--yellow); opacity: .9; }
.hero-title {
  margin: 0;
  font-size: clamp(46px, 6.1vw, 92px);
  font-weight: 800;
  line-height: 1.02;
  color: var(--ink);
  transition: color .7s var(--ease);
  white-space: nowrap;
}
.hero-title em {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
  font-size: 1.06em;
  line-height: .8;
  transition: color .7s var(--ease);
}
.hero-dot { transition: color .7s var(--ease); }
.hero-sub {
  margin: 16px 0 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 400;
  color: var(--muted-ink);
  transition: color .7s;
}
.hero-sub i { font-style: normal; opacity: .4; }

.hero-view { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.view-group {
  display: flex; align-items: center; gap: 2px;
  padding: 5px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(20, 18, 50, .06);
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(20, 18, 50, .08);
  backdrop-filter: blur(8px);
  transition: background .7s, border-color .7s;
}
.view-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: none; border: 0; border-radius: 4px;
  color: var(--ink); cursor: pointer;
  transition: background .25s, color .25s;
}
.view-btn svg { width: 19px; height: 19px; }
.view-btn:hover { background: rgba(23, 20, 63, .07); }
.view-btn.is-active { background: var(--ink); color: #fff; }
.view-btn--light { color: #9a8b00; display: none; }
.view-btn--light.is-active { background: var(--yellow); color: var(--navy); }
body.stage-3 .view-btn--light { display: grid; }
.view-hint {
  margin: 0; font-size: 9px; color: var(--muted-ink);
  transition: color .7s;
}

.hero-caption {
  position: absolute; inset-inline-start: clamp(16px, 2.6vw, 36px); inset-block-end: 118px;
  display: flex; align-items: flex-end; gap: 14px;
  transition: color .7s;
}
.stage-num {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 800; line-height: .82;
  color: var(--blue);
  transition: color .7s var(--ease);
  font-feature-settings: "tnum";
}
.stage-copy h2 {
  margin: 0 0 5px;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700; color: var(--ink);
  transition: color .7s;
}
.stage-copy p {
  margin: 0; font-size: 8.5px;
  color: var(--muted-ink);
  transition: color .7s;
}
.hero-mark {
  position: absolute; inset-inline-end: clamp(16px, 2.6vw, 36px); inset-block-end: 126px;
  font-size: 8.5px; color: var(--muted-ink);
  transition: color .7s;
}

/* Stagebar */
.stagebar {
  position: absolute; inset-inline: 0; inset-block-end: 18px;
  margin-inline: auto;
  width: min(940px, calc(100% - 40px));
  display: flex; gap: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(20, 18, 50, .05);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(18, 16, 50, .14);
  backdrop-filter: blur(10px);
  transition: background .7s, border-color .7s;
}
.play-btn {
  flex: none; width: 46px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 5px; cursor: pointer;
  transition: background .7s, color .7s;
}
.play-btn svg { width: 18px; height: 18px; }
.play-btn .ic-play { display: none; }
.play-btn.is-paused .ic-pause { display: none; }
.play-btn.is-paused .ic-play { display: block; }
.stages { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stage-btn {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 6px;
  background: none; border: 0; cursor: pointer; text-align: start;
  padding: 4px 8px 3px; color: var(--ink);
  transition: color .35s;
}
.stage-btn-num { font-size: 9px; opacity: .45; font-feature-settings: "tnum"; }
.stage-btn-name { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-btn-line {
  grid-column: 1 / -1; margin-top: 8px;
  height: 1.5px; background: rgba(23, 20, 63, .14);
  overflow: hidden; position: relative;
}
.stage-btn-line i {
  position: absolute; inset: 0;
  background: var(--blue);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .1s linear, background .4s;
}
.stage-btn.is-active { color: var(--blue); }
.stage-btn.is-active .stage-btn-num { opacity: 1; }
.stage-btn.is-done .stage-btn-line i { transform: scaleX(1); }

/* Night stage */
body.stage-3 .hero-vignette { background: linear-gradient(180deg, rgba(8, 6, 25, .18), transparent 24%, transparent 60%, rgba(8, 6, 25, .5)); }
body.stage-3 .grain { opacity: .07; mix-blend-mode: soft-light; }
body.stage-3 .eyebrow { color: rgba(245, 242, 234, .65); }
body.stage-3 .hero-title { color: #fff; text-shadow: 0 2px 34px rgba(8, 6, 25, .45); }
body.stage-3 .hero-title em { color: var(--yellow); }
body.stage-3 .hero-dot { color: rgba(255, 255, 255, .55); }
body.stage-3 .hero-sub { color: rgba(245, 242, 234, .7); }
body.stage-3 .view-group {
  background: rgba(12, 10, 40, .52);
  border-color: rgba(255, 255, 255, .14);
}
body.stage-3 .view-btn { color: rgba(255, 255, 255, .8); }
body.stage-3 .view-btn:hover { background: rgba(255, 255, 255, .12); }
body.stage-3 .view-btn.is-active { background: rgba(255, 255, 255, .94); color: var(--navy); }
body.stage-3 .view-btn--light.is-active { background: var(--yellow); color: var(--navy); }
body.stage-3 .view-hint { color: rgba(255, 255, 255, .55); }
body.stage-3 .stage-num { color: var(--yellow); }
body.stage-3 .stage-copy h2 { color: #fff; }
body.stage-3 .stage-copy p { color: rgba(255, 255, 255, .6); }
body.stage-3 .hero-mark { color: rgba(255, 255, 255, .55); }
body.stage-3 .stagebar {
  background: rgba(10, 8, 32, .82);
  border-color: rgba(255, 255, 255, .12);
}
body.stage-3 .play-btn { background: var(--yellow); color: var(--navy); }
body.stage-3 .stage-btn { color: rgba(255, 255, 255, .7); }
body.stage-3 .stage-btn-line { background: rgba(255, 255, 255, .14); }
body.stage-3 .stage-btn.is-active { color: var(--yellow); }
body.stage-3 .stage-btn-line i { background: var(--yellow); }

/* Daylight within stage 3 */
body.daylight .hero-vignette { background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 26%, transparent 62%, rgba(20, 18, 50, .22)); }
body.daylight .grain { opacity: .1; mix-blend-mode: multiply; }
body.daylight .hero-title { color: var(--ink); }
body.daylight .hero-title em { color: var(--blue); }
body.daylight .hero-dot { color: rgba(23, 20, 63, .5); }
body.daylight .eyebrow,
body.daylight .hero-sub,
body.daylight .view-hint,
body.daylight .hero-mark { color: rgba(23, 20, 63, .62); }
body.daylight .view-group { background: rgba(255, 255, 255, .82); border-color: rgba(20, 18, 50, .08); }
body.daylight .view-btn { color: var(--ink); }
body.daylight .view-btn:hover { background: rgba(23, 20, 63, .07); }
body.daylight .view-btn.is-active { background: var(--ink); color: #fff; }
body.daylight .view-btn--light.is-active { background: var(--yellow); color: var(--navy); }
body.daylight .stage-num { color: var(--blue); }
body.daylight .stage-copy h2 { color: var(--ink); }
body.daylight .stage-copy p { color: rgba(23, 20, 63, .58); }
body.daylight .stagebar { background: rgba(255, 255, 255, .93); border-color: rgba(20, 18, 50, .05); }
body.daylight .play-btn { background: var(--ink); color: #fff; }
body.daylight .stage-btn { color: var(--ink); }
body.daylight .stage-btn.is-active { color: var(--blue); }
body.daylight .stage-btn-line { background: rgba(23, 20, 63, .14); }
body.daylight .stage-btn-line i { background: var(--blue); }
body:not(.is-loaded) .hero-title-wrap,
body:not(.is-loaded) .hero-view,
body:not(.is-loaded) .stagebar,
body:not(.is-loaded) .hero-caption,
body:not(.is-loaded) .hero-mark { opacity: 0; }
body.is-loaded .hero-title-wrap { animation: riseIn 1s var(--ease) both .1s; }
body.is-loaded .hero-view { animation: riseIn .9s var(--ease) both .25s; }
body.is-loaded .hero-caption { animation: riseIn .9s var(--ease) both .4s; }
body.is-loaded .hero-mark { animation: riseIn .9s var(--ease) both .45s; }
body.is-loaded .stagebar { animation: riseIn .9s var(--ease) both .5s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ═══ Sections ═══ */
.section { position: relative; padding-block: clamp(70px, 9vw, 132px); }
.section-how, .section-film, .section-cta { background: var(--navy); }
.section-tour { background: var(--navy-3); }
.section-head { max-width: 920px; }
.eyebrow { font-size: 10px; }
.section-head .eyebrow { margin-bottom: 20px; }
.h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.28;
  color: var(--cream);
}
.lead {
  margin: 24px 0 0;
  max-width: 700px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--muted-light);
  font-weight: 300;
}
.section-head--split {
  max-width: none;
  display: grid; gap: 26px;
  align-items: end;
  margin-bottom: 52px;
}
.lead--side { margin: 0; max-width: 440px; font-size: 13.5px; }
.inline-link { margin: 30px 0 0; font-size: 11.5px; }
.inline-link a { color: var(--yellow); border-bottom: 1px solid rgba(237, 248, 92, .35); padding-bottom: 2px; }

.steps {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
}
.step { border-top: 1px solid var(--line-light); padding-top: 26px; }
.step-num { font-size: 10.5px; color: var(--yellow); font-feature-settings: "tnum"; }
.step h3 { margin: 14px 0 12px; font-size: 19px; font-weight: 700; color: var(--cream); }
.step p { margin: 0; font-size: 13px; line-height: 2.05; color: var(--muted-light); font-weight: 300; }

.concept { margin: clamp(56px, 7vw, 100px) 0 0; }
.concept-meta {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 9.5px; color: rgba(245, 242, 234, .42);
  margin-bottom: 12px;
}
.concept-frame {
  position: relative; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  aspect-ratio: 16 / 9;
  background: #14112f;
}
.concept-frame img { width: 100%; height: 100%; object-fit: cover; }
.concept-tag {
  position: absolute; inset-block-end: 16px; inset-inline-start: 16px;
  padding: 7px 12px; font-size: 9.5px;
  color: var(--cream);
  background: rgba(10, 8, 30, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 3px;
  backdrop-filter: blur(8px);
}
.concept figcaption {
  margin-top: 12px; font-size: 10.5px; color: rgba(245, 242, 234, .38);
}

.video-block { margin-top: 8px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  border: 0; background: transparent; color: #fff; cursor: pointer;
  transition: opacity .4s;
}
.video-cover[hidden] { display: none; }
.video-cover-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 26, .12), rgba(8, 6, 26, .38) 62%, rgba(8, 6, 26, .7));
  transition: opacity .3s;
}
.play-disc {
  position: relative;
  width: clamp(62px, 7vw, 92px); height: clamp(62px, 7vw, 92px);
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(12, 10, 40, .3);
  backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.play-disc svg { width: 30px; height: 30px; margin-inline-start: 3px; }
.video-cover:hover .play-disc { transform: scale(1.07); background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.video-label { position: relative; font-size: 11.5px; color: rgba(255, 255, 255, .85); }
.video-chip {
  position: absolute; inset-block-start: 16px; inset-inline-start: 16px;
  font-size: 8.5px; padding: 6px 10px;
  background: rgba(10, 8, 30, .5); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 3px; color: rgba(255, 255, 255, .8);
  backdrop-filter: blur(6px);
}
.video-chip--end { inset-inline-start: auto; inset-inline-end: 16px; }
.video-foot {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 12px;
  font-size: 9.5px; color: rgba(245, 242, 234, .4);
}
.video-foot-end { color: rgba(245, 242, 234, .55); }

/* CTA */
.section-cta { overflow: hidden; text-align: center; padding-block: clamp(90px, 11vw, 160px); }
.cta-art {
  position: absolute; inset: 0; pointer-events: none;
  display: grid; place-items: center;
  color: rgba(245, 242, 234, .06);
}
.cta-art svg { width: min(1100px, 120vw); margin-top: 12vh; }
.cta-wrap { position: relative; }
.h2--cta { font-size: clamp(30px, 4.6vw, 62px); line-height: 1.3; }
.lead--center { margin: 24px auto 0; text-align: center; max-width: 560px; }
.cta-actions { margin-top: 38px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--yellow); color: var(--navy);
  font-size: 13px; font-weight: 700;
  padding: 15px 26px; border-radius: 4px;
  transition: transform .3s var(--ease), background .3s;
}
.btn-primary svg { width: 14px; height: 14px; }
.btn-primary:hover { transform: translateY(-2px); background: #f6ff70; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 22px; font-size: 12px; color: var(--cream);
  border: 1px solid rgba(245, 242, 234, .24); border-radius: 4px;
  transition: border-color .3s, color .3s;
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* Footer */
.site-footer { background: var(--navy-3); padding: 68px 0 26px; border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(36px, 6vw, 90px); }
.brand--footer { margin-bottom: 20px; }
.brand--footer .brand-mark { width: 56px; height: auto; }
.footer-tag { margin: 0 0 18px; font-size: 12.5px; line-height: 2.1; color: var(--muted-light); font-weight: 300; }
.footer-loc { margin: 0; font-size: 10.5px; color: rgba(245, 242, 234, .38); }
.footer-loc a { color: rgba(245, 242, 234, .7); border-bottom: 1px solid rgba(245, 242, 234, .25); }
.footer-cols { display: flex; gap: clamp(28px, 5vw, 72px); justify-content: space-between; }
.footer-col h3 { margin: 0 0 18px; font-size: 9.5px; font-weight: 500; color: var(--yellow); opacity: .85; }
.footer-col a { display: block; font-size: 12px; color: rgba(245, 242, 234, .6); margin-bottom: 11px; transition: color .25s; }
.footer-col a:hover { color: var(--cream); }
.footer-note { display: block; font-size: 10px; color: rgba(245, 242, 234, .3); margin-top: 16px; }
.footer-bottom {
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 9.5px; color: rgba(245, 242, 234, .32);
}

/* Toast */
.toast {
  position: fixed; inset-block-end: 22px; inset-inline-start: 50%;
  transform: translate(-50%, 20px);
  background: var(--cream); color: var(--navy);
  padding: 11px 18px; border-radius: 4px; font-size: 11.5px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 160;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ═══ Company content ═══ */
.section-about, .section-process { background: var(--navy); }
.section-services { background: var(--navy-2); }
.section-projects { background: var(--navy-3); }
.section-faq { background: var(--navy-2); }

.about-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
}
.principle { border-top: 1px solid var(--line-light); padding-top: 24px; }
.principle-num { font-size: 10.5px; color: var(--yellow); font-feature-settings: "tnum"; }
.principle h3 { margin: 14px 0 12px; font-size: 19px; font-weight: 700; color: var(--cream); }
.principle p { margin: 0; font-size: 13px; line-height: 2.05; color: var(--muted-light); font-weight: 300; }

.service-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(28px, 4vw, 72px);
}
.service {
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px;
  padding: 26px 0 28px;
  border-top: 1px solid var(--line-light);
}
.service-num {
  font-size: 10.5px; color: var(--yellow); opacity: .8;
  font-feature-settings: "tnum"; line-height: 2.2;
}
.service h3 {
  margin: 0 0 10px; font-size: 17.5px; font-weight: 700; color: var(--cream);
  transition: color .3s;
}
.service p { margin: 0; font-size: 12.5px; line-height: 2.05; color: var(--muted-light); font-weight: 300; }
.service:hover h3 { color: var(--yellow); }

.project-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.project {
  border: 1px solid var(--line-light); border-radius: 6px;
  padding: 22px 20px 24px; background: rgba(255, 255, 255, .02);
  transition: border-color .35s, background .35s, transform .35s var(--ease);
}
.project h3 { margin: 0 0 10px; font-size: 15.5px; font-weight: 700; color: var(--cream); }
.project p { margin: 0; font-size: 11.5px; line-height: 1.95; color: var(--muted-light); font-weight: 300; }
.project:hover { border-color: rgba(237, 248, 92, .35); background: rgba(255, 255, 255, .045); transform: translateY(-3px); }

.section-process .steps { grid-row-gap: clamp(28px, 3.4vw, 44px); }

.faq {
  margin-top: clamp(36px, 5vw, 60px);
  max-width: 920px;
  border-bottom: 1px solid var(--line-light);
}
.faq-item { border-top: 1px solid var(--line-light); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 21px 0; font-size: clamp(14px, 1.4vw, 16.5px); font-weight: 600; color: var(--cream);
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--yellow); }
.faq-item summary::after {
  content: "+"; flex: none; font-size: 20px; font-weight: 300; line-height: 1;
  color: var(--yellow); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0; padding: 0 0 22px; max-width: 760px;
  font-size: 13px; line-height: 2.1; color: var(--muted-light); font-weight: 300;
}

/* ═══ Responsive ═══ */
@media (min-width: 820px) {
  .section-head--split { grid-template-columns: 1.15fr .85fr; }
  .video-block { margin-top: 0; }
}
@media (max-width: 900px) {
  :root { --header: 56px; }
  .brand-mark { width: 42px; height: auto; }
  .brand-fa { font-size: 15px; }
  .brand-en { font-size: 6.5px; }
  .btn-talk { padding: 9px 13px; font-size: 11.5px; }
  .hero { min-height: 540px; }
  .hero-meta { height: 38px; font-size: 8px; }
  .hero-stage { inset-block-start: 0; }
  .hero-inner { padding-block-start: 18px; }
  .meta-center { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .meta-end { text-align: end; }
  .hero-view { align-items: flex-start; }
  .view-group { padding: 4px; }
  .view-btn { width: 33px; height: 33px; }
  .view-btn svg { width: 17px; height: 17px; }
  .view-hint { display: none; }
  .hero-caption { inset-block-end: 112px; gap: 10px; }
  .stage-copy h2 { font-size: 15px; }
  .stage-copy p { font-size: 7.5px; }
  .hero-mark { display: none; }
  .stagebar { inset-block-end: 10px; width: calc(100% - 20px); padding: 7px; gap: 6px; }
  .play-btn { width: 38px; }
  .play-btn svg { width: 15px; height: 15px; }
  .stage-btn { padding: 3px 4px 2px; column-gap: 4px; }
  .stage-btn-num { font-size: 8px; }
  .stage-btn-name { font-size: 9px; }
  .stage-btn-line { margin-top: 6px; }
  .section-head--split { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-item summary { padding: 18px 0; }
  .concept-meta { flex-direction: column; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; gap: 28px 40px; }
  .footer-col { min-width: 130px; }
  .video-chip { font-size: 7.5px; padding: 5px 8px; }
  .video-foot { font-size: 8.5px; }
  .loader-brand--latin { display: none; }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .hero-sub { font-size: 8.5px; gap: 7px; }
  .eyebrow { font-size: 9px; }
  .stage-btn-name { font-size: 8px; }
  .stage-btn-num { display: none; }
  .stage-btn { display: block; }
  .stage-btn-line { margin-top: 5px; }
  .hero-caption { inset-block-end: 102px; }
  .stage-num { font-size: 36px; }
  .video-cover { gap: 10px; }
  .video-label { font-size: 10px; }
  .cta-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; width: 100%; }
  .footer-bottom { flex-direction: column; }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-height: 720px) and (min-width: 901px) {
  .hero-title { font-size: clamp(42px, 5vw, 64px); }
  .hero-caption { inset-block-end: 104px; }
  .hero-mark { inset-block-end: 112px; }
  .hero-inner { padding-block-start: calc(44px + 16px); }
  .stagebar { inset-block-end: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
