/* ============================================================
   B2 CREATE — site v3 ("Forged in the desert")
   Brand guidelines: #051414 deep · #2b2c2b charcoal · #d8d3d1 stone
   #c8dbdc mist · #FFE9E0 blush · beige paper kept from v1.
   Poppins for voice, Montserrat for small labels.
   ============================================================ */
:root {
  --deep: #051414; --char: #2b2c2b; --stone: #d8d3d1; --mist: #c8dbdc; --blush: #FFE9E0; --paper: #f3efe7;
  --ink: #051414; --ink-2: #3d4747; --mute: #7b8585; --line: rgba(5, 20, 20, 0.12); --line-2: rgba(5, 20, 20, 0.06);
  --accent: #c8dbdc; --accent-ink: #051414;
  --radius: 22px; --gutter: clamp(18px, 5vw, 80px);
  --head: "Poppins", system-ui, sans-serif; --label: "Montserrat", "Poppins", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font-family: var(--head); font-weight: 300; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(60% 50% at 88% -5%, rgba(200, 219, 220, 0.75), transparent 62%), radial-gradient(55% 45% at -5% 100%, rgba(255, 233, 224, 0.8), transparent 60%), var(--paper);
}
body.theme-dark { background: var(--deep); color: var(--paper); --ink: #f3efe7; --ink-2: #c8dbdc; --mute: #8fa0a0; --line: rgba(243, 239, 231, 0.16); --line-2: rgba(243, 239, 231, 0.07); }
img { max-width: 100%; display: block; } a { color: inherit; text-decoration: none; } button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; } p { margin: 0 0 16px; }

/* ---------- type ---------- */
.label { font-family: var(--label); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--mute); margin: 0 0 16px; display: block; }
.h-xl { font-size: clamp(42px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 500; margin: 0 0 24px; }
.h-l { font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 20px; }
.h-m { font-size: clamp(24px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.015em; font-weight: 500; margin: 0 0 14px; }
.h-s { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; margin: 0 0 8px; }
.lead { font-size: clamp(16px, 1.3vw, 20px); color: var(--ink-2); max-width: 58ch; }
.light { font-weight: 300; } .thin { font-weight: 300; color: var(--ink-2); }
.c-mist { color: #6f9aa6; } .c-blush { color: #d98f78; } .c-stone { color: #9c938f; } body.theme-dark .c-mist { color: var(--mist); } body.theme-dark .c-blush { color: var(--blush); } body.theme-dark .c-stone { color: var(--stone); }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
section { position: relative; padding: clamp(80px, 11vh, 150px) var(--gutter); }
section.dark { background: var(--deep); color: var(--paper); --ink: #f3efe7; --ink-2: #c8dbdc; --mute: #8fa0a0; --line: rgba(243, 239, 231, 0.16); --line-2: rgba(243, 239, 231, 0.07); }
section.blush { background: var(--blush); } section.mist { background: var(--mist); } section.stone { background: var(--stone); }
section.rounded-top { border-radius: 40px 40px 0 0; margin-top: -40px; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: baseline; font-size: 18px; letter-spacing: 0.02em; }
.brand b { font-weight: 700; } .brand span { font-weight: 300; letter-spacing: 0.08em; }

/* ---------- buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 15px 26px; font-weight: 500; font-size: 14px; letter-spacing: 0.01em; background: var(--ink); color: var(--paper); border: 1px solid transparent; transition: transform 0.4s var(--spring), background 0.3s, color 0.3s, border-color 0.3s; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); } .btn.ghost:hover { border-color: var(--ink); }
section.dark .btn, body.theme-dark .btn { background: var(--blush); color: var(--deep); } section.dark .btn.ghost, body.theme-dark .btn.ghost { background: transparent; color: var(--paper); border-color: var(--line); }
section.dark .btn.accent, body.theme-dark .btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn .arrow { transition: transform 0.3s var(--ease); } .btn:hover .arrow { transform: translateX(4px); }
.tag { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; font-family: var(--label); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; background: rgba(5, 20, 20, 0.06); color: var(--ink-2); }
.tag.mist { background: var(--mist); color: var(--deep); } .tag.blush { background: var(--blush); color: var(--deep); } .tag.stone { background: var(--stone); color: var(--deep); }
section.dark .tag { background: rgba(243, 239, 231, 0.1); color: var(--paper); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; } .chip { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform 0.4s var(--spring); } .chip:hover { transform: translateY(-4px) scale(1.1); }
.chips.labelled { gap: 18px; } .chips.labelled .chip { width: 52px; height: 52px; border-radius: 14px; }
.chips.labelled .chip::after { content: attr(data-hex); position: absolute; left: 0; top: 100%; margin-top: 8px; font-family: var(--label); font-size: 10px; letter-spacing: 0.06em; color: var(--mute); white-space: nowrap; }
.chips.labelled { margin-bottom: 40px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); transition: padding 0.4s var(--ease); }
.nav .brand { color: var(--nav-ink, var(--ink)); }
.nav-links { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(243, 239, 231, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(5, 20, 20, 0.08); }
.nav-links a { padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--deep); transition: background 0.3s, color 0.3s; }
.nav-links a:hover { background: rgba(5, 20, 20, 0.07); } .nav-links a.is-active { background: var(--deep); color: var(--paper); }
.nav-cta { font-size: 13.5px; font-weight: 500; padding: 12px 20px; border-radius: 999px; background: var(--deep); color: var(--paper); transition: transform 0.4s var(--spring), background 0.3s; }
.nav-cta:hover { transform: translateY(-2px); background: #0c2a2a; }
.nav.on-dark .brand { color: var(--paper); } .nav.on-dark .nav-cta { background: var(--blush); color: var(--deep); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(243, 239, 231, 0.8); position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--deep); top: 18px; transition: transform 0.4s var(--ease), top 0.4s var(--ease); } .nav-burger span:last-child { top: 25px; }
.nav-burger.is-open span:first-child { top: 21px; transform: rotate(45deg); } .nav-burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--paper); display: none; flex-direction: column; justify-content: center; gap: 10px; padding: 0 var(--gutter); }
.mobile-menu.is-open { display: flex; } .mobile-menu a { font-size: clamp(36px, 10vw, 60px); font-weight: 500; letter-spacing: -0.02em; color: var(--deep); }

/* ---------- page wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: linear-gradient(135deg, var(--mist), var(--blush)); transform: translateY(100%); }
.wipe.is-in { transform: translateY(0); } .wipe.is-leaving { transition: transform 0.7s var(--ease); transform: translateY(-100%); }
.wipe.is-entering { pointer-events: auto; transition: transform 0.6s var(--ease); transform: translateY(0); }
.wipe .wipe-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--deep); font-size: 20px; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; mix-blend-mode: difference; }
body.has-cursor .cursor { display: block; } body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
.cursor i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff; transition: width 0.35s var(--spring), height 0.35s var(--spring), margin 0.35s var(--spring); }
.cursor.is-hover i { width: 48px; height: 48px; margin: -24px; }
.cursor .cursor-label { position: absolute; transform: translate(-50%, -50%); font-family: var(--label); font-size: 9px; letter-spacing: 0.26em; font-weight: 600; color: #000; opacity: 0; white-space: nowrap; }
.cursor.is-label i { width: 86px; height: 86px; margin: -43px; } .cursor.is-label .cursor-label { opacity: 1; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); } [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
body.instant [data-reveal] { opacity: 1; transform: none; } body.instant, body.instant * { transition: none !important; animation: none !important; }

/* ---------- HOME · hero + gem ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px var(--gutter); align-items: center; padding-top: 120px; overflow: hidden; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 1; transition: opacity 0.6s; }
.hero > * { position: relative; z-index: 1; }
.hero-copy .h-xl { max-width: 11ch; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--label); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.hero-meta b { color: var(--paper); font-weight: 600; }
.gem-stage { position: relative; display: grid; place-items: center; min-height: 62svh; padding-bottom: 150px; }
.gem-stage.has-form .gem-prompt { opacity: 0; }
.gem-wrap { position: relative; width: min(42vw, 400px); aspect-ratio: 1; display: grid; place-items: center; }
.gem { width: 62%; filter: drop-shadow(0 30px 60px rgba(200, 219, 220, 0.25)); animation: gemfloat 6s ease-in-out infinite; transition: transform 0.5s var(--spring), filter 0.5s; transform-origin: center; }
@keyframes gemfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.gem-wrap.is-charging .gem { transform: scale(1.08) rotate(-4deg); filter: drop-shadow(0 30px 90px rgba(255, 233, 224, 0.45)); }
.gem-ring { position: absolute; inset: 0; } .gem-ring circle { fill: none; stroke: rgba(243, 239, 231, 0.18); stroke-width: 1; }
.gem-ring .prog { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 0.12s linear; }
.gem-hit { position: absolute; inset: -6%; border-radius: 50%; touch-action: none; -webkit-tap-highlight-color: transparent; }
.gem-hit:focus-visible { outline: 1px solid var(--blush); outline-offset: 10px; }
.gem-prompt { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-family: var(--label); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mist); pointer-events: none; white-space: nowrap; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.form-card { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) translateY(10px); opacity: 0; transition: opacity 0.5s var(--ease), transform 0.6s var(--spring); width: min(92%, 420px); text-align: center; pointer-events: none; }
.form-card.is-on { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.form-card .form-index { font-family: var(--label); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mist); }
.form-card .form-name { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; margin: 6px 0 12px; letter-spacing: -0.01em; }
.form-card .chips { justify-content: center; margin-bottom: 12px; }
.form-card a { font-size: 13px; color: var(--mist); border-bottom: 1px solid rgba(200, 219, 220, 0.4); } .form-card a b { color: var(--paper); font-weight: 500; }

/* ---------- HOME · what we do ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.card { border-radius: var(--radius); padding: 30px 28px 32px; min-height: 320px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; transition: transform 0.5s var(--spring), box-shadow 0.5s; will-change: transform; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(5, 20, 20, 0.35); }
.card.blush { background: var(--blush); } .card.mist { background: var(--mist); } .card.stone { background: var(--stone); } .card.paper { background: #fff; border: 1px solid var(--line-2); }
.card .icon { width: 56px; height: 56px; } .card .icon svg { width: 100%; height: 100%; }
.card .h-m { margin-bottom: 8px; } .card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card .card-foot { font-family: var(--label); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- work cards / scroller ---------- */
.scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--gutter) 40px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller .work-card { flex: 0 0 min(78vw, 560px); scroll-snap-align: start; }
.work-card { display: block; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--tint, #1f3666); color: #fff; transition: transform 0.5s var(--spring); }
.work-card:hover { transform: translateY(-6px); }
.work-card .frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.92); transform: scale(1.04); transition: filter 0.9s var(--ease), transform 1.3s var(--ease); }
.work-card .ghost { position: absolute; inset: 0; background: var(--tint, #1f3666); mix-blend-mode: multiply; opacity: 0.86; transition: opacity 0.9s var(--ease); }
.work-card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 20, 20, 0) 45%, rgba(5, 20, 20, 0.7)); }
.work-card:hover img { filter: none; transform: none; } .work-card:hover .ghost { opacity: 0; }
.work-card .wc-top { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; gap: 10px; }
.work-card .wc-top .tag { background: rgba(243, 239, 231, 0.18); color: #fff; backdrop-filter: blur(6px); }
.work-card .wc-bottom { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work-card h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.05; }
.work-card .wc-client { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.work-card .pal { display: flex; gap: 4px; } .work-card .pal i { width: 16px; height: 5px; border-radius: 3px; display: block; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work-card[hidden] { display: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 40px; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: all 0.3s; display: inline-flex; gap: 8px; align-items: center; }
.filter small { font-family: var(--label); font-size: 10px; color: var(--mute); } .filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--deep); color: var(--paper); border-color: var(--deep); } .filter.is-active small { color: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head .h-l { margin: 0; }

/* ---------- matter strip ---------- */
.matter-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px var(--gutter); align-items: end; margin-bottom: 20px; }
.matter-head .h-l { margin-bottom: 10px; max-width: 14ch; } .matter-head .lead { margin: 0; }
.env { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.env-btn { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); transition: all 0.3s; display: inline-flex; gap: 8px; align-items: center; }
.env-btn i { width: 8px; height: 8px; border-radius: 50%; display: block; background: currentColor; opacity: 0.5; }
.env-btn:hover { border-color: var(--ink); color: var(--ink); } .env-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
section.dark .env-btn.is-active { background: var(--blush); color: var(--deep); border-color: var(--blush); }
.matter-strip { position: relative; height: 64vh; min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.25); }
section.dark .matter-strip { background: rgba(243, 239, 231, 0.03); }
.matter { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.matter-hint { position: absolute; left: 20px; bottom: 16px; font-family: var(--label); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); pointer-events: none; }

/* ---------- page hero bands with HD imagery ---------- */
.band { position: relative; min-height: 72svh; display: grid; align-content: end; padding: 160px var(--gutter) 64px; color: var(--paper); overflow: hidden; background: var(--deep); }
.band-img { position: absolute; inset: -10% 0; background-size: cover; background-position: center 45%; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 20, 20, 0.25), rgba(5, 20, 20, 0) 35%, rgba(5, 20, 20, 0.75)); }
.band > *:not(.band-img) { position: relative; z-index: 2; }
.band .h-xl { margin-bottom: 10px; } .band .lead { color: var(--mist); }
.band .tag { background: rgba(243, 239, 231, 0.16); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(243, 239, 231, 0.18); }
.band.short { min-height: 56svh; }

/* ---------- studio ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px var(--gutter); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin-top: 48px; }
.fact { border-radius: var(--radius); padding: 22px 22px 24px; background: rgba(255, 255, 255, 0.5); border: 1px solid var(--line-2); }
.fact .label { margin-bottom: 8px; } .fact strong { font-weight: 500; font-size: 17px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 36px; }
.value { border-radius: var(--radius); padding: 28px 26px 30px; background: #fff; border: 1px solid var(--line-2); transition: transform 0.5s var(--spring), background 0.4s; }
.value:nth-child(3n+1) { background: var(--blush); } .value:nth-child(3n+2) { background: #fff; } .value:nth-child(3n) { background: var(--mist); }
.value:hover { transform: translateY(-6px); } .value .n { font-family: var(--label); font-size: 10.5px; letter-spacing: 0.28em; color: var(--mute); display: block; margin-bottom: 14px; }
.value h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; } .value p { margin: 0; color: var(--ink-2); font-size: 15px; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.stage { border-radius: var(--radius); padding: 22px 20px 24px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line-2); }
.stage canvas { width: 100%; height: 96px; display: block; margin-bottom: 10px; }
.stage .n { font-family: var(--label); font-size: 10px; letter-spacing: 0.28em; color: var(--mute); } .stage h3 { margin: 6px 0 4px; font-size: 18px; font-weight: 500; }
.stage .line { color: var(--ink-2); font-size: 13.5px; margin: 0 0 10px; } .stage li { font-size: 12.5px; color: var(--mute); }
.services { border-top: 1px solid var(--line); margin-top: 36px; }
.services li { display: grid; grid-template-columns: 60px 1.2fr 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding 0.5s var(--ease); }
.services li:hover { padding-left: 12px; } .services .n { font-family: var(--label); font-size: 11px; letter-spacing: 0.28em; color: var(--mute); }
.services h3 { margin: 0 0 4px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; } .services .line { margin: 0; color: var(--ink-2); font-size: 14px; }
.services .items { display: flex; flex-wrap: wrap; gap: 8px; } .services .items .tag { background: rgba(5, 20, 20, 0.05); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-top: 28px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 44s linear infinite; }
.marquee-track span { font-size: clamp(18px, 2.2vw, 28px); font-weight: 400; white-space: nowrap; color: var(--ink-2); } .marquee-track span::after { content: "·"; margin-left: 56px; color: var(--mute); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- project page ---------- */
.project-hero { min-height: 78svh; }
.project-hero .band-img { filter: none; }
.project-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.project-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px var(--gutter); align-items: start; }
.panel { border-radius: var(--radius); padding: 28px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line-2); }
.panel.mist { background: var(--mist); } .panel.blush { background: var(--blush); }
.viewer { position: relative; height: 56vh; min-height: 360px; border-radius: var(--radius); overflow: hidden; background: radial-gradient(70% 60% at 50% 30%, rgba(255, 255, 255, 0.7), rgba(200, 219, 220, 0.6)); border: 1px solid var(--line-2); }
.viewer canvas { width: 100%; height: 100%; display: block; cursor: grab; } .viewer canvas:active { cursor: grabbing; }
.viewer .hint { position: absolute; left: 20px; top: 16px; font-family: var(--label); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); }
.viewer .items { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.viewer .items button { padding: 8px 12px; border-radius: 999px; background: rgba(243, 239, 231, 0.75); font-size: 12px; font-weight: 500; color: var(--ink-2); transition: all 0.3s; }
.viewer .items button.is-active, .viewer .items button:hover { background: var(--deep); color: var(--paper); }
.dl li { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); } .dl li:last-child { border: 0; }
.type-row { font-size: 15px; color: var(--ink-2); } .type-row b { font-weight: 500; color: var(--ink); }
.rationale { font-size: clamp(20px, 2vw, 28px); font-weight: 300; line-height: 1.35; max-width: 32ch; margin: 0; }
.sheet { border-radius: var(--radius); border: 1px solid var(--line); margin-top: 48px; }
.proj-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.proj-nav a { border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--line); display: grid; gap: 6px; transition: background 0.3s, transform 0.4s var(--spring); }
.proj-nav a:hover { background: #fff; transform: translateY(-4px); } .proj-nav a.next { text-align: right; } .proj-nav a strong { font-size: clamp(20px, 2vw, 28px); font-weight: 500; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 40px; }
.contact-link { font-size: clamp(18px, 1.8vw, 26px); font-weight: 400; border-bottom: 1px solid var(--line); padding-bottom: 6px; display: inline-block; transition: border-color 0.3s; } .contact-link:hover { border-color: var(--paper); }
.form { display: grid; gap: 14px; max-width: 560px; margin-top: 40px; }
.form input, .form textarea { width: 100%; border: 1px solid var(--line); background: rgba(243, 239, 231, 0.06); color: var(--paper); border-radius: 16px; padding: 16px 18px; font: inherit; font-size: 15px; outline: none; transition: border-color 0.3s, background 0.3s; }
.form input:focus, .form textarea:focus { border-color: var(--mist); background: rgba(243, 239, 231, 0.1); } .form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--mute); }

/* ---------- footer ---------- */
.cta { text-align: center; }
.cta .h-xl { max-width: 16ch; margin: 0 auto 26px; }
footer { padding: 40px var(--gutter) 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); font-family: var(--label); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
footer nav { display: flex; gap: 22px; } footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .cards-3 { grid-template-columns: 1fr; } .card { min-height: 0; } .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .services li { grid-template-columns: 48px 1fr; } .services .items { grid-column: 2; } .project-grid { grid-template-columns: 1fr; } .proj-nav { grid-template-columns: 1fr; } .proj-nav a.next { text-align: left; } }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; } .nav-burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; } .gem-stage { min-height: 56svh; } .gem-wrap { width: min(72vw, 340px); }
  .matter-head { grid-template-columns: 1fr; align-items: start; } .matter-strip { height: 52vh; min-height: 300px; }
  .band { min-height: 60svh; padding-top: 130px; }
}
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } .stages { grid-template-columns: 1fr; } .scroller .work-card { flex-basis: 84vw; } .form-card { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin-top: 24px; } .form-card.is-on { transform: none; } }

/* ============================================================ v3.1 additions */
/* ---------- intro gate ---------- */
.intro { position: fixed; inset: 0; z-index: 98; display: grid; place-items: center; color: var(--paper); background: radial-gradient(60% 50% at 70% 20%, rgba(200,219,220,0.14), transparent 60%), radial-gradient(50% 40% at 20% 90%, rgba(255,233,224,0.12), transparent 60%), var(--deep); transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); }
.intro.is-leaving { transform: translateY(-100%); opacity: 0.6; pointer-events: none; }
.intro[hidden] { display: none; }
.intro-inner { display: grid; justify-items: center; gap: 28px; text-align: center; padding: 0 var(--gutter); }
.intro-brand { font-size: 22px; } .intro-lines { position: relative; height: 1.6em; font-size: clamp(20px, 2.6vw, 34px); font-weight: 300; width: 100%; }
.intro-lines span { position: absolute; left: 0; right: 0; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s; }
.intro-lines span.is-on { opacity: 1; transform: none; filter: none; }
.intro-gem { width: min(52vw, 260px); margin-top: 10px; }
.intro-skip { font-family: var(--label); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); padding: 10px; } .intro-skip:hover { color: var(--paper); }
body.intro-open { overflow: hidden; }

/* ---------- gem (shared) ---------- */
.gem-wrap { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.gem-wrap .gem { width: 60%; animation: gemfloat 6s ease-in-out infinite; transition: transform 0.5s var(--spring), filter 0.5s; filter: drop-shadow(0 20px 40px rgba(200,219,220,0.25)); }
.gem-wrap .gem svg { width: 100%; height: auto; display: block; }
.gem-wrap.is-charging .gem { transform: scale(1.1) rotate(-5deg); filter: drop-shadow(0 20px 60px rgba(255,233,224,0.5)); }

/* ---------- nav gem ---------- */
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-gem { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.nav-gem .gem { width: 22px; filter: drop-shadow(0 4px 10px rgba(200,219,220,0.35)); animation: gemfloat 5s ease-in-out infinite; transition: transform 0.4s var(--spring); }
.nav-gem .gem svg { width: 100%; height: auto; display: block; }
.nav-gem .gem-ring { position: absolute; inset: 0; } .nav-gem .gem-ring circle { fill: none; stroke: rgba(5,20,20,0.18); stroke-width: 1.2; }
.nav-gem .gem-ring .prog { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 0.1s linear; }
.nav.on-dark .nav-gem .gem-ring circle { stroke: rgba(243,239,231,0.25); }
.nav-gem .gem-hit { position: absolute; inset: -8px; border-radius: 50%; touch-action: none; -webkit-tap-highlight-color: transparent; }
.nav-gem:hover .gem { transform: scale(1.15) rotate(-8deg); }
.nav-gem.is-charging .gem { transform: scale(1.3) rotate(-10deg); filter: drop-shadow(0 6px 18px rgba(255,233,224,0.7)); }
.nav-gem.is-pop .gem { animation: gempop 0.7s var(--spring); }
@keyframes gempop { 0% { transform: scale(0.6) rotate(20deg); } 100% { transform: scale(1) rotate(0); } }

/* ---------- hero stage (reticle only now) ---------- */
.gem-stage .reticle { width: min(42vw, 420px); aspect-ratio: 1; position: relative; }
.gem-stage .reticle svg { width: 100%; height: 100%; animation: spin 40s linear infinite; } .gem-stage .reticle circle { fill: none; stroke: rgba(243,239,231,0.18); stroke-width: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-prompt { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); bottom: auto; transition: opacity 0.4s; }
.gem-stage.has-form .stage-prompt { opacity: 0; }

/* ---------- illustrations ---------- */
.illo { display: block; width: 100%; height: auto; }
.card-illo { width: 92px; height: 100px; margin-bottom: 6px; transition: transform 0.5s var(--spring); }
.card:hover .card-illo { transform: translateY(-6px) rotate(-4deg) scale(1.06); }
.section-illo { width: 120px; margin-bottom: 18px; }
.cta-illo { width: 140px; margin: 0 auto 10px; animation: gemfloat 6s ease-in-out infinite; }
section.dark .section-illo, .band .section-illo { filter: drop-shadow(0 20px 40px rgba(200,219,220,0.2)); }
@media (max-width: 900px) { .nav-right { gap: 6px; } .nav-gem { width: 44px; height: 44px; } .card-illo { width: 76px; height: 84px; } }
/* nav gem reads on paper too */
.nav:not(.on-dark) .nav-gem { background: var(--deep); box-shadow: 0 8px 20px -10px rgba(5,20,20,0.5); }
.nav:not(.on-dark) .nav-gem .gem-ring circle { stroke: rgba(243,239,231,0.22); }
.nav.on-dark .nav-gem { background: rgba(243,239,231,0.06); }

/* ---------- brand-book gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.gal-item { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line, rgba(5,20,20,0.14)); background: #fff; aspect-ratio: 16 / 9; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s; display: block; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-item:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 18px 30px -18px rgba(5,20,20,0.5); }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5,20,20,0.92); display: none; place-items: center; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); }
.lightbox button { position: absolute; color: #f3efe7; font-size: 26px; width: 52px; height: 52px; border-radius: 50%; background: rgba(243,239,231,0.1); display: grid; place-items: center; }
.lightbox button:hover { background: rgba(243,239,231,0.22); }
.lightbox .lb-x { top: 18px; right: 18px; } .lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); } .lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-n { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #c8dbdc; font-family: "Montserrat", sans-serif; font-size: 11px; letter-spacing: 0.26em; }
