/* ==========================================================================
   KAIRO — Creative Studio
   ========================================================================== */

:root {
  --charcoal: #1D201E;
  --charcoal-2: #252926;
  --gold: #FCCD00;
  --orange: #E59B03;
  --white: #E7EDE3;
  --olive: #34491E;

  --line: rgba(231, 237, 227, 0.14);
  --muted: rgba(231, 237, 227, 0.6);

  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--charcoal); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--gold); color: var(--charcoal);
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* Film grain — adds depth without images */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .05;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type helpers ---------- */
.meta {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.label span { color: var(--gold); }
.label::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.label--dark { color: rgba(29, 32, 30, .7); }
.label--dark span { color: var(--charcoal); }

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 104px);
  line-height: .92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.lead { font-size: clamp(19px, 2vw, 26px); line-height: 1.4; letter-spacing: -0.01em; }

.section { padding: var(--section) var(--gutter); position: relative; }
.section__head { margin-bottom: clamp(48px, 8vw, 110px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px;
  font-family: var(--body); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 0; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn span { transition: transform .5s var(--ease); display: inline-block; }
.btn:hover span { transform: translate(3px, -3px); }

.btn--gold { background: var(--gold); color: var(--charcoal); }
.btn--gold::before { background: var(--white); }
.btn--ghost { border: 1px solid var(--line); color: var(--white); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--charcoal); border-color: var(--white); }
.btn--dark { background: var(--charcoal); color: var(--gold); }
.btn--dark::before { background: var(--olive); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 11px; }
.btn--lg { --h: 68px; padding: 0 40px; font-size: 13px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--charcoal);
  transition: transform 1s var(--ease-in-out);
}
.loader__word { display: flex; overflow: hidden; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 10vw, 140px); letter-spacing: -.04em; line-height: 1; }
.loader__word span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.loader__word span:nth-child(2) { animation-delay: .06s; }
.loader__word span:nth-child(3) { animation-delay: .12s; }
.loader__word span:nth-child(4) { animation-delay: .18s; }
.loader__word span:nth-child(5) { animation-delay: .24s; color: var(--gold); }
.loader__bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); animation: bar 1.1s var(--ease) .2s forwards; }
body.is-loaded .loader { transform: translateY(-100%); }
@keyframes rise { to { transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }

body.no-loader .loader { display: none; }
html.pt-arrive::before { content: ""; position: fixed; inset: 0; z-index: 399; background: #1D201E; }

/* ---------- Page transition curtain ---------- */
.pt {
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background: var(--charcoal); transform: translateY(101%); visibility: hidden;
  display: grid; place-items: center;
}
.pt.is-enter, .pt.is-cover { visibility: visible; }
.pt i { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); }
.pt span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--white); opacity: 0; transition: opacity .3s; }
.pt sup { font-size: 10px; color: var(--gold); }
.pt.is-enter { transform: none; transition: transform .7s var(--ease-in-out); pointer-events: auto; }
.pt.is-enter span { opacity: 1; transition-delay: .35s; }
.pt.is-cover { transform: none; }
.pt.is-cover span { opacity: 1; }
.pt.is-cover.is-leave { transform: translateY(-100%); transition: transform .9s var(--ease-in-out) .1s; }
.pt.is-cover.is-leave span { opacity: 0; }
.pt.is-leave i { top: auto; bottom: 0; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }
  body.has-cursor input, body.has-cursor textarea { cursor: text; }
  .cursor {
    display: grid; place-items: center;
    position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--gold);
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, opacity .3s;
    mix-blend-mode: normal;
  }
  .cursor__label { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal); opacity: 0; transition: opacity .25s; white-space: nowrap; }
  .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .cursor.is-label .cursor__label { opacity: 1; transition-delay: .1s; }
  .cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(252, 205, 0, .25); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, padding .4s var(--ease);
}
.header.is-scrolled { background: rgba(29, 32, 30, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-100%); }

.logo { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo img { display: block; height: 84px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .logo img { height: 52px; }
@media (max-width: 860px) { .logo img { height: 64px; } .header.is-scrolled .logo img { height: 44px; } }
.logo sup { font-size: 10px; color: var(--gold); margin-left: 1px; }

.nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__link { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--gold); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
  padding: 100px var(--gutter) 40px;
  background: var(--charcoal);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: inset(0); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 13vw, 72px); line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding: 8px 0; }
.mobile-menu nav a em { font-style: normal; font-family: var(--body); font-size: 11px; letter-spacing: .14em; color: var(--gold); font-weight: 500; }
.mobile-menu .btn { align-self: flex-start; }

@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ----------
   The section is taller than the screen; its stage sticks in place while
   you scroll, so the character can close its eyes before the page moves on.
   --hp (0 → 1) is set by main.js as you scroll through it. */
.hero { position: relative; height: 230vh; --hp: 0; background: #050409; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media { position: absolute; inset: -12vh 0 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  transform: scale(calc(1 + var(--hp) * .08)); transform-origin: 50% 40%;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero__video.is-ready, body.is-loaded .hero__video { opacity: 1; }
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  transform: scale(calc(1 + var(--hp) * .08)); transform-origin: 50% 30%;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero__canvas.is-ready { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5, 4, 9, .7) 0%, rgba(5, 4, 9, 0) 22%),
    linear-gradient(to top, rgba(29, 32, 30, .96) 0%, rgba(29, 32, 30, .72) 26%, rgba(29, 32, 30, 0) 58%);
}
.hero__shade::after { content: ""; position: absolute; inset: 0; background: var(--charcoal); opacity: clamp(0, calc((var(--hp) - .6) * 1.4), .5); }

.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) clamp(36px, 5vw, 64px);
  opacity: clamp(0, calc(1 - var(--hp) * 2.4), 1);
  transform: translate3d(0, calc(var(--hp) * -90px), 0);
}
.hero.is-away .hero__content { pointer-events: none; }
.hero__meta { position: absolute; z-index: 2; top: 136px; }
@media (max-width: 860px) { .hero__meta { top: 112px; } }
.hero__meta--tl { left: var(--gutter); }

.hero__title {
  position: relative; z-index: 2; width: fit-content; max-width: 100%;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.05em; line-height: .86;
  font-size: clamp(26px, 3.4vw, 58px);
  display: flex; flex-direction: column;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero__title .line--xl { font-size: min(2.6em, 11vw); line-height: .84; color: var(--white); margin-left: -.04em; }
.hero__title .line--right { align-self: flex-end; color: var(--gold); padding-right: .1em; }
body.is-loaded .hero__title .line > span { transform: none; }

.hero__actions { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 44px); opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
body.is-loaded .hero__actions { opacity: 1; transform: none; }

.hero__scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(36px, 5vw, 64px); display: flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 860px) {
  .hero { height: 210vh; }
  .hero__media { inset: 0; }
  .hero__video { object-position: 50% 30%; }
  .hero__title { font-size: clamp(26px, 8vw, 52px); }
  .hero__title .line--xl { font-size: min(1.9em, 12.5vw); }
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 56px); letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--white); }
.marquee__track b { color: var(--gold); font-size: 22px; font-weight: 400; }

/* ---------- Statement ---------- */
.statement__text {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 6.6vw, 112px); line-height: .95; letter-spacing: -0.045em;
  max-width: 16ch;
}
.statement__text em { font-style: normal; }
.statement__text .w { opacity: .14; transition: opacity .3s linear, color .3s linear; }
.statement__text .w.is-on { opacity: 1; }
.statement__text em .w.is-on { color: var(--gold); }

/* ---------- Work ---------- */
.project { margin-bottom: clamp(72px, 12vw, 160px); }
.project:last-child { margin-bottom: 0; }
.project__link { display: grid; grid-template-columns: 1fr; gap: 24px; }
.project__media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  width: min(100%, 78%);
}
.project--alt .project__media { margin-left: auto; }
.project__media .art { position: absolute; inset: -12% 0; transition: transform 1.4s var(--ease); }
.project__link:hover .art { transform: scale(1.04); }
.project__media::after { content: ""; position: absolute; inset: 0; background: var(--charcoal); transform-origin: top; transition: transform 1.2s var(--ease-in-out); }
.project.is-in .project__media::after { transform: scaleY(0); }

/* Abstract compositions — no stock images */
.project__media--1 .art { background: var(--olive); }
.art__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(231,237,227,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(231,237,227,.12) 1px, transparent 1px); background-size: 56px 56px; }
.art__dot { position: absolute; width: 28%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 36px rgba(252,205,0,.12), 0 0 0 72px rgba(252,205,0,.06); }

.project__media--2 .art { background: var(--gold); display: grid; place-items: center; }
.art__k { font-family: var(--display); font-weight: 800; font-size: clamp(160px, 32vw, 460px); line-height: .8; letter-spacing: -.08em; color: var(--charcoal); }

.project__media--3 .art { background: var(--white); display: flex; align-items: flex-end; justify-content: center; }
.art__bars { display: flex; align-items: flex-end; gap: 4%; width: 60%; height: 70%; padding-bottom: 12%; }
.art__bars i { flex: 1; background: var(--charcoal); }
.art__bars i:nth-child(1) { height: 35%; }
.art__bars i:nth-child(2) { height: 62%; background: var(--olive); }
.art__bars i:nth-child(3) { height: 48%; }
.art__bars i:nth-child(4) { height: 88%; background: var(--orange); }

.project__info {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; column-gap: 16px;
  width: min(100%, 78%);
  border-top: 1px solid var(--line); padding-top: 18px;
}
.project--alt .project__info { margin-left: auto; }
.project__num { font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.project__title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 56px); letter-spacing: -.04em; text-transform: uppercase; line-height: 1; transition: color .4s; }
.project__link:hover .project__title { color: var(--gold); }
.project__tags { grid-column: 2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.project__year { grid-row: 1; grid-column: 3; font-size: 11px; letter-spacing: .14em; color: var(--muted); }

@media (max-width: 700px) {
  .project__media, .project__info { width: 100%; }
  .project__media { aspect-ratio: 4 / 3; }
  .project__info { grid-template-columns: 36px 1fr auto; }
}

/* ---------- Services ---------- */
.services { background: var(--charcoal-2); }
.svc { border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__row {
  width: 100%; display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 16px;
  padding: clamp(20px, 3vw, 36px) 0; text-align: left;
}
.svc__num { font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.svc__name { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 8vw, 120px); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; transition: transform .6s var(--ease), color .4s; }
.svc__row:hover .svc__name, .svc__row[aria-expanded="true"] .svc__name { transform: translateX(clamp(8px, 2vw, 28px)); color: var(--gold); }
.svc__icon { position: relative; width: 24px; height: 24px; justify-self: end; }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.svc__icon::after { transform: rotate(90deg); }
.svc__row[aria-expanded="true"] .svc__icon::after { transform: rotate(0); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc__body > div { overflow: hidden; max-width: 760px; }
.svc__body p:first-child { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; margin-bottom: 14px; }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__item.is-open .svc__body > div { padding-bottom: 36px; }
@media (max-width: 700px) {
  .svc__row { grid-template-columns: 1fr 24px; }
}

/* ---------- Paths ---------- */
.paths__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.path {
  position: relative; overflow: hidden; isolation: isolate; text-align: left;
  display: flex; flex-direction: column; gap: 14px;
  min-height: clamp(220px, 26vw, 340px);
  padding: clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.path:hover::before, .path:focus-visible::before { transform: scaleY(1); }
.path:hover, .path:focus-visible { color: var(--charcoal); }
.path__num { font-size: 11px; letter-spacing: .14em; color: var(--gold); transition: color .5s; }
.path:hover .path__num { color: var(--charcoal); }
.path__title { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; max-width: 14ch; }
.path__desc { font-size: 15px; opacity: .7; max-width: 38ch; }
.path__arrow { position: absolute; top: clamp(24px, 3vw, 44px); right: clamp(24px, 3vw, 44px); font-size: 28px; transition: transform .5s var(--ease); }
.path:hover .path__arrow { transform: translate(4px, -4px) rotate(0deg) scale(1.2); }
@media (max-width: 700px) { .paths__grid { grid-template-columns: 1fr; } }

/* ---------- UAE ---------- */
.uae {
  position: relative; overflow: hidden;
  background: var(--gold); color: var(--charcoal);
  padding: var(--section) 0;
}
.uae .label { padding: 0 var(--gutter); }
.uae__sun { position: absolute; right: -10vw; bottom: -30vw; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.uae__title { position: relative; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 12vw, 200px); line-height: .88; letter-spacing: -.055em; white-space: nowrap; }
.uae__row { display: block; will-change: transform; }
.uae__row--outline { color: transparent; -webkit-text-stroke: 1.5px var(--charcoal); padding-left: 20vw; }
.uae__copy { position: relative; max-width: 460px; margin: clamp(40px, 6vw, 80px) var(--gutter) 0 auto; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
@media (max-width: 700px) { .uae__copy { margin-left: var(--gutter); } }

/* ---------- Process ---------- */
.process__line { height: 1px; background: var(--line); margin-bottom: 40px; overflow: hidden; }
.process__line i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.process__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.process__list span { font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.process__list h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; text-transform: uppercase; margin: 14px 0 10px; }
.process__list p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .process__list { grid-template-columns: repeat(3, 1fr); row-gap: 48px; } }
@media (max-width: 560px) { .process__list { grid-template-columns: 1fr 1fr; } }

/* ---------- About ---------- */
.about { background: var(--olive); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.about__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(52px, 9vw, 150px); line-height: .88; letter-spacing: -.055em; }
.about__title em { font-style: normal; color: var(--gold); }
.about__copy { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; position: relative; }
.about__copy p:not(.lead) { color: rgba(231, 237, 227, .75); max-width: 48ch; }
.about__stamp { position: relative; width: 160px; height: 160px; margin-top: 32px; display: grid; place-items: center; }
.about__stamp svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.about__stamp text { fill: var(--white); font-size: 13.5px; letter-spacing: .2em; font-family: var(--body); font-weight: 500; }
.about__stamp span { color: var(--gold); font-size: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__copy { padding-top: 0; } }

/* ---------- CTA ---------- */
.cta {
  background: var(--gold); color: var(--charcoal);
  padding: var(--section) var(--gutter);
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.cta .label { margin-bottom: 0; }
.cta__title { width: 100%; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 10vw, 170px); line-height: .9; letter-spacing: -.055em; }
.cta__title span { display: block; }
.cta__title span:last-child { padding-left: 6vw; }
@media (max-width: 700px) { .cta__title { font-size: 11vw; } .cta__title span:last-child { padding-left: 0; } }

/* ---------- Footer ---------- */
.footer { padding: clamp(64px, 10vw, 120px) var(--gutter) 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__mail { display: inline-block; margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3vw, 40px); letter-spacing: -.03em; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.footer__mail:hover { color: var(--gold); border-color: var(--gold); }
.footer__nav { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer__nav a { width: fit-content; transition: color .3s; }
.footer__nav a:hover { color: var(--gold); }
.footer__word { margin: clamp(48px, 8vw, 100px) 0 16px; line-height: .78; overflow: hidden; padding-top: .04em; }
.footer__word.reveal { opacity: 1; transform: none; }
.footer__word span { transform: translateY(70%); transition: transform 1.4s var(--ease); }
.footer__word.is-in span { transform: none; }
.footer__word span { display: block; font-family: var(--display); font-weight: 800; font-size: 28.5vw; letter-spacing: -.07em; color: var(--gold); text-align: center; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.footer__bottom a:hover { color: var(--gold); }
@media (max-width: 700px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Brief (multi-step form) ---------- */
.brief {
  position: fixed; inset: 0; z-index: 200;
  display: flex; justify-content: flex-end;
  background: rgba(15, 17, 16, .6);
  opacity: 0; transition: opacity .5s var(--ease);
}
.brief.is-open { opacity: 1; }
.brief__panel {
  width: min(100%, 720px); height: 100%; overflow-y: auto;
  background: var(--charcoal); border-left: 1px solid var(--line);
  padding: 28px clamp(20px, 4vw, 56px) 40px;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .7s var(--ease-in-out);
}
.brief.is-open .brief__panel { transform: none; }
.brief__head { display: flex; align-items: center; gap: 16px; }
.brief__count { margin-left: auto; }
.brief__close { width: 44px; height: 44px; font-size: 18px; border: 1px solid var(--line); transition: background .3s, color .3s; }
.brief__close:hover { background: var(--white); color: var(--charcoal); }
.brief__progress { height: 2px; background: var(--line); margin: 20px 0 clamp(40px, 8vh, 80px); }
.brief__progress i { display: block; height: 100%; background: var(--gold); width: 20%; transition: width .6s var(--ease); }
.brief__form { display: flex; flex-direction: column; flex: 1; }

.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-active { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(24px); } }
.step legend { padding: 0; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 5vw, 56px); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; margin-bottom: 28px; }
.step__hint { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 24px 0 14px; }
.step legend + .step__hint { margin-top: -12px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chips span { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--white); }
.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.fields { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--white);
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 10px 0; font: inherit; font-size: 20px; resize: vertical;
  transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(231, 237, 227, .3); font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--orange); }

.brief__done { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 10vw, 120px); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; color: var(--gold); }
.brief__error { min-height: 24px; margin-top: 20px; color: var(--orange); font-size: 14px; }
.brief__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 32px; }
.brief__nav [data-next], .brief__nav [data-submit] { margin-left: auto; }
.brief__nav [hidden] { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.paths__grid .reveal:nth-child(2), .process__list .reveal:nth-child(2) { transition-delay: .08s; }
.paths__grid .reveal:nth-child(3), .process__list .reveal:nth-child(3) { transition-delay: .16s; }
.paths__grid .reveal:nth-child(4), .process__list .reveal:nth-child(4) { transition-delay: .24s; }
.process__list .reveal:nth-child(5) { transition-delay: .32s; }
.process__list .reveal:nth-child(6) { transition-delay: .4s; }

[data-speed] { will-change: transform; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1; }
  [data-speed] { transform: none !important; }
  .footer__word span { transform: none; }
  .about__stamp svg { animation: none; }
}
