/* ============================================================
   TAURIST TECHNOLOGIES — Homepage
   Built on the Taurist Design System tokens (colors / type / spacing /
   effects). Pretendard throughout; editorial weight + scale contrast.
   Two backgrounds only: near-black (--ink) and warm mineral off-white
   (--paper). Brand colour lives in the sunrise, interactions, accents.
   ============================================================ */

:root {
  --ink: #000;                /* pure black canvas — matches the hero burst image */
  --ink-soft: #0c0c0d;         /* dark card surface */
  --ink-card: #0a0a0b;
  --paper: #F1ECE4;            /* warm mineral off-white */
  --paper-edge: #E4DCD0;

  --on-ink: rgba(255,255,255,0.96);
  --on-ink-soft: rgba(255,255,255,0.62);
  --on-ink-faint: rgba(255,255,255,0.38);
  --on-ink-hair: rgba(255,255,255,0.10);

  --on-paper: #14110d;
  --on-paper-soft: #5a544b;
  --on-paper-faint: #908a7f;
  --on-paper-hair: rgba(20,17,13,0.12);

  /* brand accents (from DS) */
  --c-orange: #F26422;
  --c-magenta: #F222B0;
  --c-red: #F22248;
  --c-yellow: #EEC936;
  --c-plum: #7C3CE0;

  /* tweak-driven multipliers (set from JS) */
  --accent-mult: 1;
  --motion-mult: 1;

  --maxw: 1408px;       /* product / wide content */
  --readw: 760px;       /* readable copy width */
  --gutter: clamp(20px, 5vw, 112px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --font: "Pretendard", "Pretendard Static", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

#root { isolation: isolate; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(242,34,176,0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--c-magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spectrum-text {
  background: linear-gradient(92deg, #F222B0 0%, #F22248 42%, #F26422 74%, #EEC936 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   LOADER — intro overlay; logo flies into the nav on finish
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity;
}
.loader__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.loader__fly {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 36vw, 480px);
  height: auto;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 8px 44px rgba(242,34,72,0.28));
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3vh, 32px);
}
.loader__logo {
  width: clamp(220px, 30vw, 360px);
  height: auto;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 8px 44px rgba(242,34,72,0.28));
}
.loader__line {
  width: clamp(160px, 24vw, 260px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #F222B0 0%, #F22248 40%, #F26422 78%, #EEC936 100%);
  transform: scaleX(0);
  transform-origin: left center;
}
.loader__sub {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   HEADER — always visible, carries the brand + studios dropdown.
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,5,0.8), rgba(5,5,5,0.0));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask: linear-gradient(to bottom, #000 60%, transparent);
          mask: linear-gradient(to bottom, #000 60%, transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}
.site-header.is-scrolled::before { opacity: 1; }
/* content pages (shared nav): solid glass so a stacked sub-nav doesn't let content bleed through the header's faded band */
body[data-shared-nav] .site-header::before { -webkit-mask: none; mask: none; opacity: 1; background: rgba(5,5,5,0.72); }

.header-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.header-div { width: 1px; height: 22px; background: var(--on-ink-hair); flex-shrink: 0; }

.header-brand { display: inline-flex; align-items: center; }
.header-brand__logo { height: clamp(26px, 2.4vw, 32px); width: auto; opacity: 0; }
.site-header.is-entered .header-brand__logo { animation: dropIn 0.55s var(--ease) 0.9s both; }
.site-header.is-settled .header-brand__logo { opacity: 1 !important; }

/* studios & products dropdown */
.nav-dd { position: relative; }
.nav-dd__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--on-ink-soft);
  padding: 8px 4px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-dd:hover .nav-dd__btn,
.nav-dd.is-open .nav-dd__btn { color: var(--on-ink); }
.nav-dd__btn .cc { display: inline-flex; transition: transform 0.3s var(--ease); color: var(--on-ink-faint); }
.nav-dd.is-open .nav-dd__btn .cc { transform: rotate(180deg); }

.nav-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 252px;
  padding: 8px;
  background: rgba(13,13,15,0.9);
  border: 1px solid var(--on-ink-hair);
  border-radius: 16px;
  box-shadow: 0 24px 60px -22px rgba(0,0,0,0.85), var(--ring-glass);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.nav-dd.is-open .nav-dd__menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.nav-dd__item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--on-ink-soft);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-dd__item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-dd__item .ext { width: 13px; height: 13px; opacity: 0; transition: opacity 0.18s var(--ease); flex-shrink: 0; }
.nav-dd__item:hover .ext { opacity: 0.5; }
.nav-dd__logo { height: 20px; width: auto; max-width: 210px; object-fit: contain; object-position: left center; mix-blend-mode: screen; opacity: 0.92; transition: opacity 0.2s var(--ease); }
.nav-dd__item:hover .nav-dd__logo,
.nav-dd__item:focus-visible .nav-dd__logo { filter: none; opacity: 1; }
.nav-dd__sep { height: 1px; background: var(--on-ink-hair); margin: 7px 12px; }

.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-ink-soft);
  transition: color 0.2s var(--ease);
}
.header-nav a:hover { color: var(--on-ink); }

.header-menu-btn {
  display: none;
  align-items: center; justify-content: center;
  background: none;
  border: 0;
  color: var(--on-ink);
  cursor: pointer;
  padding: 10px;
  min-width: 44px; min-height: 44px;
}
/* animated bars → X */
.header-menu-btn .hb { position: relative; display: block; width: 22px; height: 14px; }
.header-menu-btn .hb span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: top 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.header-menu-btn .hb span:nth-child(1) { top: 0; }
.header-menu-btn .hb span:nth-child(2) { top: 6px; }
.header-menu-btn .hb span:nth-child(3) { top: 12px; }
.header-menu-btn.is-open .hb span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.header-menu-btn.is-open .hb span:nth-child(2) { opacity: 0; }
.header-menu-btn.is-open .hb span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.header-right { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 9px;
  background: #fff;
  color: #0a0a0a;
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 24px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.header-cta svg { flex-shrink: 0; }
.header-cta .ext { opacity: 0.5; margin-left: 1px; }
.header-cta:hover { transform: translateY(-1px); background: #efefef; box-shadow: 0 10px 26px -12px rgba(255,255,255,0.45); }
.header-cta:hover .ext { opacity: 0.7; }
.header-cta:active { transform: translateY(0) scale(0.98); }

/* nav arrives together with the burst + cards, just after the headline */
.site-header.is-entered .nav-dd { animation: dropIn 0.55s var(--ease) 0.95s both; }
.site-header.is-entered .header-nav a:nth-of-type(1) { animation: dropIn 0.55s var(--ease) 1s both; }
.site-header.is-entered .header-nav a:nth-of-type(2) { animation: dropIn 0.55s var(--ease) 1.05s both; }
.site-header.is-entered .header-menu-btn { animation: dropIn 0.55s var(--ease) 0.98s both; }
.site-header.is-entered .header-cta { animation: dropIn 0.55s var(--ease) 1.05s both; }
.site-header .nav-dd,
.site-header .header-nav a,
.site-header .header-cta,
.site-header .header-menu-btn { opacity: 0; }
.site-header.is-entered .nav-dd,
.site-header.is-entered .header-nav a,
.site-header.is-entered .header-cta,
.site-header.is-entered .header-menu-btn { opacity: 1; }
.site-header.is-settled .nav-dd,
.site-header.is-settled .header-nav a,
.site-header.is-settled .header-cta,
.site-header.is-settled .header-menu-btn { animation: none !important; opacity: 1 !important; transform: none !important; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO — statement up top, staged sunrise burst below.
   ============================================================ */
.hero {
  position: relative;
  background: transparent;
}
.hero-top {
  position: relative;
  z-index: 3;
  padding: clamp(116px, 17vh, 200px) var(--gutter) clamp(20px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.6vh, 30px);
  text-align: center;
}
.hero-sub {
  margin: 0;
  max-width: 740px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--on-ink-soft);
  text-wrap: pretty;
  opacity: 0;
}
.hero-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(13px, 1.8vh, 18px);
  opacity: 0;
}
.hero-studios { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1vw, 14px); }
.hero-studio {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--on-ink);
  transition: color 0.2s var(--ease);
}
.hero-studio .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent, #fff);
  box-shadow: 0 0 12px 1px var(--accent, #fff);
  transition: transform 0.25s var(--ease);
}
.hero-studio:hover { color: var(--accent, #fff); }
.hero-studio:hover .dot { transform: scale(1.3); }
.hero-studio__logo { height: clamp(20px, 2vw, 26px); width: auto; mix-blend-mode: screen; filter: grayscale(1) brightness(1.15); opacity: 0.74; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.hero-pill { height: clamp(40px, 4.4vw, 58px); width: auto; opacity: 1; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.hero-studio:hover .hero-pill,
.hero-studio:focus-visible .hero-pill { transform: translateY(-2px); }
.hero-studio:hover .hero-studio__logo,
.hero-studio:focus-visible .hero-studio__logo { filter: none; opacity: 1; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.4vw, 30px); }
.hero-links a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--on-ink-soft);
  transition: color 0.2s var(--ease);
}
.hero-links a:hover { color: var(--on-ink); }
.hero-links .ext { width: 11px; height: 11px; opacity: 0.5; }
.hero-statement {
  margin: 0;
  max-width: 920px;
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #fff;
  opacity: 0;
  transform: translateY(28px) scale(0.95);
  filter: blur(14px);
  will-change: opacity, transform, filter;
}
.hero.is-ready .hero-statement { animation: heroHeadline 0.8s cubic-bezier(.16,1,.3,1) 0.1s forwards; }
.hero.is-ready .hero-sub { animation: riseIn 0.6s var(--ease) 0.55s forwards; }

@keyframes heroHeadline {
  0%   { opacity: 0; transform: translateY(32px) scale(0.93); filter: blur(18px); letter-spacing: 0.06em; }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); letter-spacing: -0.035em; }
}

/* the staged planetary-horizon burst */
.hero-burst {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  /* drop the whole sunrise down so the bright horizon lands lower in the
     viewport (clear of the headline) — crops the grid floor at the bottom. */
  transform: translateY(24%);
}
.hero-burst__glow {
  position: absolute;
  left: 50%; bottom: 0;
  width: 86%; height: 64%;
  transform: translateX(-50%);
  background: radial-gradient(58% 80% at 50% 100%,
    rgba(242,34,72, calc(0.18 * var(--accent-mult))) 0%,
    rgba(124,60,224, calc(0.08 * var(--accent-mult))) 46%, transparent 76%);
  opacity: 0;
  filter: blur(10px);
}
.burst-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask: linear-gradient(to bottom, #000 0%, #000 72%, transparent 97%);
          mask: linear-gradient(to bottom, #000 0%, #000 72%, transparent 97%);
  filter: saturate(calc(0.9 + 0.3 * var(--accent-mult)));
}
/* horizon band — light spreads across first */
.burst-h {
  -webkit-mask: linear-gradient(to bottom, transparent 41%, #000 51%, #000 72%, transparent 97%);
          mask: linear-gradient(to bottom, transparent 41%, #000 51%, #000 72%, transparent 97%);
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center bottom;
}
/* full image (the central beam) — loads second */
.burst-full { opacity: 0; }

.hero.is-ready .hero-burst__glow { animation: bloomFade 1s var(--ease) 0.9s forwards; }
.hero.is-ready .burst-h { animation: horizonIn 0.85s var(--ease) 0.9s forwards; }
.hero.is-ready .burst-full { animation: beamIn 0.8s var(--ease) 1.05s forwards; }

@keyframes horizonIn {
  0%   { opacity: 0; transform: scaleX(0.5); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: scaleX(1); }
}
@keyframes beamIn { from { opacity: 0; } to { opacity: 1; } }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vh, 40px);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--on-ink-soft);
  cursor: pointer;
  background: none;
  border: 0;
  font-family: inherit;
  opacity: 0;
  transition: color 0.25s var(--ease);
}
.hero.is-ready .hero-scroll { animation: beamIn 0.7s var(--ease) 1.7s forwards; }
.hero-scroll:hover { color: var(--on-ink); }
.hero-scroll .chev {
  display: inline-flex;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--on-ink-hair);
  animation: scrollNudge 2.4s var(--ease-soft) infinite;
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes bloomFade { to { opacity: 1; } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* safety net — force the settled state once the entrance has had time
   to play (or in any environment where the timeline can't advance). */
.hero.entrance-done .hero-statement,
.hero.entrance-done .hero-sub,
.hero.entrance-done .hero-burst__glow,
.hero.entrance-done .burst-full {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.hero.entrance-done .burst-h {
  animation: none !important;
  opacity: 1 !important;
  transform: scaleX(1) !important;
}
.hero.entrance-done .hero-scroll {
  animation: none !important;
  opacity: 1 !important;
}

/* ============================================================
   PRODUCT ARC — GSAP-driven 3D concave carousel; all four visible.
   Cards are real HTML: copy on top, animation below.
   ============================================================ */
.arc {
  position: relative;
  background: transparent;
  color: var(--on-ink);
  padding: clamp(16px, 3vh, 44px) 0 clamp(80px, 13vh, 170px);
  overflow: hidden;
}
.arc__head {
  max-width: var(--readw);
  margin: 0 auto clamp(28px, 5vh, 60px);
  padding: 0 clamp(20px, 5vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.arc__eyebrow { color: var(--on-ink-faint); }
.arc__head h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #fff;
}
.arc__head p {
  margin: 0;
  max-width: 700px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: var(--on-ink-soft);
  text-wrap: pretty;
}

.arc__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 3.5vw, 48px);
  margin: clamp(30px, 4.5vh, 48px) auto 0;
  padding-bottom: 16px;
  width: min(100%, 1216px);
  border-bottom: 1px solid var(--on-ink-hair);
}
.arc__tab {
  position: relative;
  padding: 0 0 16px;
  margin-bottom: -17px;
  border: 0;
  background: transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--on-ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.22s var(--ease);
}
.arc__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.arc__tab:hover { color: #fff; }
.arc__tab.is-active { color: #fff; }
.arc__tab.is-active::after { transform: scaleX(1); }

.arc__stage {
  position: relative;
  margin-top: clamp(28px, 4.5vh, 56px);
  height: clamp(520px, 66vh, 624px);
  perspective: 1700px;
  perspective-origin: 50% 44%;
}
.arc__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--on-ink-hair);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--on-ink-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.arc__nav:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: var(--on-ink-soft); }
.arc__nav:active { transform: translateY(-50%) scale(0.94); }
.arc__nav--prev { left: clamp(10px, 3vw, 40px); }
.arc__nav--prev svg { transform: rotate(180deg); }
.arc__nav--next { right: clamp(10px, 3vw, 40px); }
.arc__nav svg { transition: transform 0.25s var(--ease); }
.arc__nav--next:hover svg { transform: translateX(3px); }
.arc__nav--prev:hover svg { transform: rotate(180deg) translateX(3px); }
.arc__track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.arc-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(330px, 28vw, 444px);
  height: auto;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}
.arc:not(.is-static) .arc-card { opacity: 0; }

.arc-card__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-raised, #121212);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 28px 70px -34px rgba(0,0,0,0.85);
  text-decoration: none;
  color: var(--on-ink);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.arc-card__inner.is-sel,
.arc-card__inner:hover,
.arc-card__inner:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 28px 70px -30px rgba(0,0,0,0.9), 0 0 58px -16px color-mix(in srgb, var(--accent) 50%, transparent);
}

.arc-card__copy {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.8vw, 12px);
  padding: clamp(18px, 1.5vw, 26px);
  opacity: 0.84;
  transition: opacity 0.4s var(--ease);
}
.arc-card__inner.is-sel .arc-card__copy,
.arc-card__inner:hover .arc-card__copy { opacity: 1; }
.arc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.arc-card__logo { height: clamp(20px, 1.7vw, 26px); width: auto; max-width: 52%; object-fit: contain; object-position: left center; mix-blend-mode: screen; }
.arc-card__logo.is-text { font-weight: 800; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.03em; line-height: 1; }
.arc-card__logo.is-text .slash { color: var(--accent, #fff); }
.arc-card__cta {
  margin-top: 4px;
  padding-top: 6px;
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  white-space: nowrap;
  font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--on-ink-soft);
  transition: color 0.2s var(--ease);
}
.arc-card__inner:hover .arc-card__cta,
.arc-card__inner.is-sel .arc-card__cta { color: #fff; }
.arc-card__cta .arrow { display: inline-flex; transition: transform 0.3s var(--ease); }
.arc-card__inner:hover .arc-card__cta .arrow,
.arc-card__inner.is-sel .arc-card__cta .arrow { transform: translateX(4px); }
.arc-card__cta .ext { width: 12px; height: 12px; opacity: 0.55; }

.arc-card__pill {
  flex-shrink: 0;
  height: clamp(34px, 3.2vw, 44px);
  width: auto;
  max-width: 56%;
  object-fit: contain;
  object-position: right center;
}
.arc-card__headline {
  margin: 0;
  font-weight: 600;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.16;
  letter-spacing: -0.026em;
  color: #fff;
}
.arc-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--on-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arc-card__bestfor {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--on-ink-faint);
  overflow: visible;
}
.arc-card__bestfor b {
  display: block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent, #fff); margin-bottom: 4px;
}

.arc-card__visual {
  flex: none;
  aspect-ratio: 16 / 9;
  position: relative;
  border-top: 1px solid var(--on-ink-hair);
  background: radial-gradient(120% 120% at 60% 22%, #15131a 0%, #060507 72%);
  overflow: hidden;
}
.arc-card__copy { flex: 0 0 auto; }
.arc-card__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc-card__demo { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; background: #faf9f5; }
.arc-card__still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.04);
  opacity: 1; transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.arc-card__still.is-hidden { opacity: 0; }
.arc-card__visual::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 80px 10px rgba(0,0,0,0.5);
  pointer-events: none;
}

/* static fallback — reduced motion + narrow screens */
.arc.is-static .arc__nav,
.arc.is-static .arc__tabs { display: none; }
.arc.is-static .arc__stage { height: auto; perspective: none; }
.arc.is-static .arc__track {
  position: static;
  transform: none !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 26px);
  max-width: 940px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 32px);
}
.arc.is-static .arc-card {
  position: relative;
  top: auto; left: auto;
  margin: 0;
  width: auto;
  height: auto;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}
.arc.is-static .arc-card__visual { aspect-ratio: 16 / 9; flex: none; }
.arc.is-static .arc-card__desc { -webkit-line-clamp: 4; }

/* ============================================================
   SECTION 4 — MANIFESTO
   ============================================================ */
.manifesto {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(120px, 24vh, 260px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(48px, 9vh, 96px);
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; left: 50%; bottom: -30%;
  width: 120%; height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 100%,
    rgba(242,34,176, calc(0.14 * var(--accent-mult))) 0%,
    rgba(242,34,72, calc(0.07 * var(--accent-mult))) 38%,
    transparent 72%);
  pointer-events: none;
}
.manifesto__lines {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vh, 18px);
  max-width: 1100px;
}
.manifesto__lines p {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--on-ink-faint);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), color 1s var(--ease);
}
.manifesto__lines p.is-in {
  opacity: 1;
  transform: translateY(0);
  color: var(--on-ink);
}
.manifesto__lines p .accent {
  background: var(--linegrad, var(--lineaccent, #fff));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.manifesto.force-reveal .manifesto__lines p,
.manifesto.force-reveal .manifesto__link {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.manifesto.force-reveal .manifesto__lines p { color: var(--on-ink) !important; }
.manifesto.force-reveal .manifesto__lines p .accent { color: var(--lineaccent, #fff) !important; }

.manifesto__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-ink-soft);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease) 0.3s, transform 1s var(--ease) 0.3s, color 0.25s var(--ease);
}
.manifesto.is-in .manifesto__link { opacity: 1; transform: translateY(0); }
.manifesto__link:hover { color: #fff; }
.manifesto__link .u {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease);
}
.manifesto__link:hover .u { color: var(--c-magenta); }
.manifesto__link .arrow { transition: transform 0.3s var(--ease); }
.manifesto__link:hover .arrow { transform: translateX(4px); }

/* ============================================================
   FOOTER — minimal centred closing (studio links + quiet nav)
   ============================================================ */
.foot {
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(38px, 6vh, 64px) var(--gutter) clamp(32px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vh, 26px);
  text-align: center;
}
.foot__row {
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px clamp(18px, 4vw, 40px);
}
.foot__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
}
.foot__brands a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--on-ink-soft);
  transition: color 0.2s var(--ease);
}
.foot__brands a:hover { color: #fff; }

.foot__social { display: flex; align-items: center; gap: 16px; }
.foot__social a { display: inline-flex; color: var(--on-ink-faint); transition: color 0.2s var(--ease); }
.foot__social a:hover { color: #fff; }
.foot__social svg { width: 17px; height: 17px; display: block; fill: currentColor; }

.foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(16px, 2vw, 24px);
}
.foot__links a {
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--on-ink-soft);
  transition: color 0.2s var(--ease);
}
.foot__links a:hover { color: #fff; }

.foot__base {
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px clamp(16px, 3vw, 28px);
  padding-top: clamp(16px, 2.6vh, 22px);
  border-top: 1px solid var(--on-ink-hair);
}
.foot__addr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--on-ink-faint);
  transition: color 0.2s var(--ease);
}
.foot__addr:hover { color: var(--on-ink-soft); }
.foot__nj { width: 13px; height: 16px; flex: none; fill: currentColor; opacity: 0.9; }

.foot__sig {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--on-ink-faint);
}
.foot__sig b { color: var(--on-ink-soft); font-weight: 500; }

/* ============================================================
   MOBILE MENU SHEET
   ============================================================ */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5,5,5,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: calc(var(--site-nav-h, 64px) + 18px) var(--gutter) 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
/* the live header floats above the open sheet so brand, Client Login and the
   morphing hamburger→X stay in place; the sheet only renders the link list */
.site-header.is-menu-open { z-index: 90; }
.menu-sheet.is-open { opacity: 1; pointer-events: auto; }
.menu-sheet__top { display: none; }
.menu-sheet nav { display: flex; flex-direction: column; gap: 4px; margin-top: 0; }
.menu-sheet__label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-ink-faint);
  margin: 22px 0 8px;
}
.menu-sheet nav a {
  font-size: clamp(26px, 8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 10px 0;
  color: var(--on-ink);
  border-bottom: 1px solid var(--on-ink-hair);
}
.menu-sheet__sub {
  font-size: clamp(20px, 6vw, 28px) !important;
  font-weight: 600;
  color: var(--on-ink-soft) !important;
  border-bottom: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  padding: 7px 0 !important;
}
.menu-sheet__sub .ext { width: 16px; height: 16px; opacity: 0.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .foot__row { justify-content: center; flex-direction: column; gap: clamp(16px, 3vh, 22px); }
  .foot__brands { justify-content: center; gap: clamp(16px, 4vw, 30px); }
  .foot__base { justify-content: center; flex-direction: column; gap: 10px; }
}

@media (max-width: 920px) {
  .header-left .nav-dd { display: none; }
  .header-div { display: none; }
  .header-nav { display: none; }
  .header-menu-btn { display: inline-flex; }
}

@media (max-width: 980px) {
  .arc__nav,
  .arc__tabs { display: none; }
  .arc__stage { height: auto; perspective: none; }
  .arc__track {
    position: static;
    transform: none !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 460px;
    margin: 0 auto;
    padding: 0 clamp(20px, 6vw, 28px);
  }
  .arc-card {
    position: relative;
    top: auto; left: auto;
    margin: 0;
    width: auto;
    height: auto;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
  }
  .arc-card__inner {
    display: block;
    position: relative;
    background: #000;
    padding-bottom: 92px; /* black room below the animation for the copy */
  }
  .arc-card__visual { aspect-ratio: 16 / 9; flex: none; width: 100%; border-top: 0; }
  .arc-card__copy {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    opacity: 1;
    gap: 10px;
    padding: 60px 20px 20px;
    background: linear-gradient(to top, #000 0%, #000 44%, rgba(0,0,0,0.72) 74%, rgba(0,0,0,0) 100%);
  }
  /* the mobile overlay card keeps it minimal: logo, headline, button, animation */
  .arc-card__desc, .arc-card__bestfor { display: none; }
  .arc-card__inner:hover .arc-card__copy { opacity: 1; }
}

@media (max-width: 620px) {
  .arc-card__desc { -webkit-line-clamp: 4; }
}

@media (max-width: 520px) {
  .hero-statement { font-size: clamp(30px, 8.4vw, 40px); }
  .hero-burst { width: 168vw; left: 50%; right: auto; transform: translateX(-50%) translateY(24%); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-statement, .hero-sub, .hero-burst__glow, .burst-h, .burst-full {
    opacity: 1 !important;
    animation: none !important;
  }
  .site-header .nav-dd,
  .site-header .header-nav a,
  .site-header .header-menu-btn { opacity: 1 !important; animation: none !important; }
  .site-header .header-brand__logo { opacity: 1 !important; }
  .hero-statement { transform: none !important; filter: none !important; }
  .burst-h { transform: scaleX(1) !important; }
  .hero-scroll .chev { animation: none; }
  .ptile { transition: none !important; }
  .manifesto__lines p { opacity: 1 !important; transform: none !important; color: var(--on-ink) !important; }
  .manifesto__lines p .accent { color: var(--lineaccent, #fff) !important; }
  .manifesto__link { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto !important; }
}
