/* ═══════════════════════════════════════════════════
   MARIIA NABIRA — Strategic Visual Development
   Design tokens + layout + responsive
   ═══════════════════════════════════════════════════ */

:root {
  --ink:      #0d0b0d;
  --char:     #161318;
  --line:     #2b262f;
  --plum:     #4a1e3a;
  --plumsoft: #622a4e;
  --gold:     #c9a96a;
  --goldsoft: #e4cf9c;
  --mauve:    #b48fb0;
  --paper:    #e8e2e6;
  --muted:    #9a909a;
  --faint:    #6f656f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--plum); color: var(--paper); }

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

/* ═══════════════ WebGL Canvas ═══════════════ */
#bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-slot {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
}
.bg-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
/* Portrait character images: bias crop toward the top so the face —
   especially the eyes — stays visible in the wide/short viewport. */
.bg-slot[data-bg="3"] img {
  object-position: center 22%;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 13, 0.5);
}

#gl {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ═══════════════ Navigation ═══════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  mix-blend-mode: difference;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  letter-spacing: .06em;
  color: #fff;
  text-decoration: none;
}
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #fff;
  opacity: .7;
  margin-top: 2px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-left: 28px;
  opacity: .85;
  transition: opacity .3s ease;
}
nav a:hover { opacity: 1; }

/* ═══════════════ Crystal Zones ═══════════════ */
.crystal-zone {
  position: relative;
  height: 200vh;
  width: 100%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inner wrapper sticks to viewport so crystal stays on screen during 200vh scroll */
.crystal-zone .zone-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zone-label {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--mauve);
  opacity: 0;
  transition: opacity .6s ease;
}
.crystal-zone.is-active .zone-label {
  opacity: 1;
}

/* ═══════════════ Hero ═══════════════ */
.hero-copy {
  position: absolute;
  z-index: 3;
  left: 8vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 34ch;
  pointer-events: none;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--goldsoft);
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 1.03;
  letter-spacing: .01em;
  color: #fff;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--goldsoft);
}

.hero-copy p {
  margin-top: 24px;
  font-size: 16px;
  color: #cbc2c8;
  max-width: 42ch;
}

/* Hero entrance animation */
.hero-copy .eyebrow { opacity: 0; animation: rise 1.1s .3s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy h1       { opacity: 0; animation: rise 1.1s .5s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy p        { opacity: 0; animation: rise 1.1s .7s cubic-bezier(.2,.7,.2,1) forwards; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fade 1s 1.4s forwards;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 38px;
  margin: 12px auto 0;
  background: linear-gradient(var(--gold), transparent);
  animation: drop 2s 1.6s infinite;
}
@keyframes fade { to { opacity: 1; } }
@keyframes drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  40%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════ Clean Zones ═══════════════ */
.clean-zone {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 16vh 8vw;
  background: transparent;
  border-top: none;
}

.clean-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
/* Readability scrim: keeps white text legible over light background artwork */
.clean-inner::before {
  content: "";
  position: absolute;
  inset: -40px -48px;
  background: linear-gradient(90deg, rgba(13,11,13,.78), rgba(13,11,13,.42) 70%, rgba(13,11,13,0));
  z-index: -1;
  pointer-events: none;
}

.clean-zone .eyebrow {
  color: var(--gold);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}

.clean-zone h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  margin-top: 14px;
  max-width: 22ch;
  line-height: 1.14;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s .1s ease, transform .8s .1s ease;
}

.clean-zone p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s .2s ease, transform .8s .2s ease;
}

/* Reveal on scroll */
.clean-zone.is-visible .eyebrow,
.clean-zone.is-visible h2,
.clean-zone.is-visible p {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════ Content Lists ═══════════════ */
.sector-list,
.principles,
.traits,
.capabilities-list {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  max-width: 60ch;
}
.sector-list li,
.principles li,
.capabilities-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .6s ease, transform .6s ease;
}
.sector-list li:last-child,
.principles li:last-child,
.capabilities-list li:last-child {
  border-bottom: none;
}
.sector-list strong,
.principles strong,
.capabilities-list strong {
  color: var(--paper);
  font-weight: 500;
}
/* Title + description pairs read as editorial blocks, not fine print */
.capabilities-list strong,
.traits strong,
.trust-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--goldsoft);
  margin-bottom: 8px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}
.capabilities-list span,
.traits span,
.trust-item p {
  display: block;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}
.traits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 40px;
  max-width: 900px;
}
.traits li {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .6s ease, transform .6s ease;
}
.clean-zone.is-visible .sector-list li,
.clean-zone.is-visible .principles li,
.clean-zone.is-visible .capabilities-list li,
.clean-zone.is-visible .traits li,
.page-shell .traits li {
  opacity: 1;
  transform: translateY(0);
}
.clean-zone.is-visible .traits li:nth-child(2) { transition-delay: .1s; }
.clean-zone.is-visible .traits li:nth-child(3) { transition-delay: .2s; }
.clean-zone.is-visible .traits li:nth-child(4) { transition-delay: .3s; }
.clean-zone.is-visible .traits li:nth-child(5) { transition-delay: .4s; }

/* ═══════════════ Process Strip ═══════════════ */
.process-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.process-item {
  padding: 28px 24px;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.clean-zone.is-visible .process-item { opacity: 1; transform: translateY(0); }
.clean-zone.is-visible .process-item:nth-child(2) { transition-delay: .1s; }
.clean-zone.is-visible .process-item:nth-child(3) { transition-delay: .2s; }
.clean-zone.is-visible .process-item:nth-child(4) { transition-delay: .3s; }
.process-num {
  display: block;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 14px;
}
.process-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--paper);
  margin-bottom: 8px;
}
.process-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  opacity: 1;
  transform: none;
}

/* ═══════════════ Trust Strip ═══════════════ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 8vh;
}
.trust-item {
  text-align: center;
  padding: 24px 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.clean-zone.is-visible .trust-item { opacity: 1; transform: translateY(0); }
.clean-zone.is-visible .trust-item:nth-child(2) { transition-delay: .1s; }
.clean-zone.is-visible .trust-item:nth-child(3) { transition-delay: .2s; }
.clean-zone.is-visible .trust-item:nth-child(4) { transition-delay: .3s; }
.trust-item p {
  margin: 0;
  opacity: 1;
  transform: none;
}

/* ═══════════════ FAQ ═══════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  margin-top: 40px;
}
.faq-item {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .6s ease, transform .6s ease;
}
.clean-zone.is-visible .faq-item { opacity: 1; transform: translateY(0); }
.clean-zone.is-visible .faq-item:nth-child(2) { transition-delay: .05s; }
.clean-zone.is-visible .faq-item:nth-child(3) { transition-delay: .1s; }
.clean-zone.is-visible .faq-item:nth-child(4) { transition-delay: .15s; }
.clean-zone.is-visible .faq-item:nth-child(5) { transition-delay: .2s; }
.clean-zone.is-visible .faq-item:nth-child(6) { transition-delay: .25s; }
.faq-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--paper);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  opacity: 1;
  transform: none;
}
@media (max-width: 720px) {
  .faq-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════ Contact copy ═══════════════ */
.contact-copy p {
  margin-top: 16px;
  margin-bottom: 24px;
  color: var(--muted);
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.6;
}

/* ═══════════════ Pull Quote & Process Line ═══════════════ */
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--goldsoft);
  margin: 24px 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  max-width: 50ch;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .8s ease, transform .8s ease;
}
.clean-zone.is-visible .pull-quote,
.page-shell .pull-quote {
  opacity: 1;
  transform: translateY(0);
}

.process-line {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-top: 16px;
  margin-bottom: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ═══════════════ Artwork (gallery on characters page only) ═══════════════ */
.artwork-wrap {
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.artwork-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.gallery-note {
  margin-top: 32px;
  font-size: 14px;
}
.gallery-note a {
  color: var(--goldsoft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══════════════ Contact ═══════════════ */
.contact-zone {
  height: 100vh !important;
  flex-direction: column;
  background: transparent;
  border-top: none;
}

.contact-copy {
  text-align: center;
  z-index: 3;
  pointer-events: auto;
}
.contact-copy .eyebrow {
  color: var(--gold);
  margin-bottom: 18px;
}
.contact-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  max-width: 16ch;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  padding: 16px 42px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--goldsoft);
  border: 1px solid var(--gold);
  transition: background .3s ease, color .3s ease;
}
.cta-button:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ═══════════════ Footer ═══════════════ */
footer {
  position: relative;
  z-index: 2;
  padding: 60px 8vw 40px;
  background: var(--ink);
  border-top: none;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--paper);
}
.footer-brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.footer-links a {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 24px;
  transition: color .3s ease;
}
.footer-links a:hover { color: var(--goldsoft); }
.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════ Utility Pages (privacy, terms, 404) ═══════════════ */
.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 18vh 8vw 12vh;
  background: var(--ink);
}
.page-shell h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 32px;
}
.page-shell h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--goldsoft);
}
.page-shell p, .page-shell li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 64ch;
}
.page-shell ul { padding-left: 20px; margin-top: 12px; }
.page-shell li { margin-bottom: 8px; }

/* Legal document layout */
.legal-doc { max-width: 780px; margin: 0 auto; }
.legal-doc p, .legal-doc li { line-height: 1.8; font-size: 15px; }
.legal-doc h2 { margin-top: 40px; }
.legal-updated { font-size: 13px; color: var(--faint); margin-top: -20px; margin-bottom: 32px; letter-spacing: .04em; }
.legal-link { color: var(--goldsoft); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.legal-link:hover { border-bottom-color: var(--gold); }
.page-shell .back-link {
  display: inline-block;
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

/* 404 */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-404 .big {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 400;
  color: var(--plum);
  line-height: 1;
}
.error-404 p {
  margin-top: 20px;
  text-align: center;
}

/* Characters page */
.chars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.chars-grid .artwork-wrap { margin-top: 0; }
.chars-intro {
  max-width: 64ch;
  margin-bottom: 16px;
}

/* ═══════════════ Reduced Motion ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p { opacity: 1; animation: none; }
  .scroll-hint { opacity: 1; animation: none; }
  .scroll-hint::after { animation: none; }
  .clean-zone .eyebrow,
  .clean-zone h2,
  .clean-zone p,
  .clean-zone .artwork-wrap,
  .clean-zone .gallery {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ═══════════════ Responsive ═══════════════ */
@media (max-width: 768px) {
  header { padding: 18px 20px; }
  .brand { font-size: 16px; }
  nav a { margin-left: 16px; font-size: 11px; }

  .hero-copy { left: 6vw; max-width: 90%; }

  .clean-zone { padding: 12vh 6vw; }

  .gallery { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 10px; }

  .chars-grid { grid-template-columns: 1fr; }

  .traits { grid-template-columns: 1fr; gap: 28px; }
  .clean-inner::before { inset: -24px -6vw; background: linear-gradient(90deg, rgba(13,11,13,.82), rgba(13,11,13,.6)); }
}

@media (max-width: 480px) {
  nav a { margin-left: 10px; font-size: 10px; letter-spacing: .1em; }
  .hero-copy h1 { font-size: clamp(30px, 8vw, 42px); }
}

/* ═══════════════ Studio Portfolio Page ═══════════════ */
.studio-page {
  max-width: 1400px;
  margin: 0 auto;
}

.studio-intro {
  margin-bottom: 80px;
}
.studio-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
  max-width: 18ch;
}
.studio-intro p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.studio-group {
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.studio-group.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  padding-bottom: 16px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.work-item {
  margin: 0 0 120px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.work-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.work-item:last-child {
  margin-bottom: 0;
}

.work-item img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  border: 1px solid var(--line);
  transition: border-color .3s ease;
}
.work-item img:hover {
  border-color: var(--gold);
}

.work-item figcaption {
  padding-top: 20px;
  max-width: 60ch;
}
.work-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 4px;
}
.work-discipline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 10px;
}
.work-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Capability & CTA */
.studio-capability {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.studio-capability.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.studio-capability p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.studio-cta {
  margin-top: 64px;
  padding: 64px 0;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.studio-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.studio-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--paper);
  margin-bottom: 32px;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
  text-decoration: none;
}
.cta-button:hover {
  background: var(--goldsoft);
  transform: translateY(-2px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 12, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid var(--line);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: var(--paper);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .3s ease;
}
.lightbox-close:hover {
  opacity: 1;
}

/* Studio page responsive */
@media (max-width: 768px) {
  .work-item { margin-bottom: 64px; }
  .studio-group { margin-bottom: 64px; }
  .studio-intro { margin-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .work-item, .studio-group, .studio-capability, .studio-cta, .studio-section, .cross-links {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════ Studio & Approach Page ═══════════════ */
.studio-section {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.studio-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.studio-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--paper);
  margin-bottom: 20px;
  max-width: 24ch;
}
.studio-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 16px;
}

/* Page-shell visibility for content lists */
.page-shell .principles li,
.page-shell .capabilities-list li,
.page-shell .faq-item,
.page-shell .trust-item,
.page-shell .process-item {
  opacity: 1;
  transform: none;
}

/* Cross-linking row */
.cross-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .8s ease, transform .8s ease;
}
.cross-links.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cross-links span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}
.cross-links a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.cross-links a:hover {
  border-bottom-color: var(--gold);
}

/* Group tagline on /work page */
.group-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 50ch;
  opacity: 1;
}

/* Homepage section-to-page links */
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 32px;
}
.section-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .3s ease;
}
.section-links a:hover {
  border-bottom-color: var(--gold);
}

/* ═══════════════ Studio Page — Editorial Spread ═══════════════ */
.studio-scope { --plum:#4a1e3a; --plumsoft:#622a4e; --mauve:#b48fb0; }
.studio-scope .wrap { max-width:1180px; margin:0 auto; padding:0 40px; }
.studio-scope .eyebrow-s { font-size:11px; letter-spacing:.34em; text-transform:uppercase; color:var(--gold); }

/* Title screen */
.studio-title { min-height:100vh; display:flex; align-items:center; position:relative; overflow:hidden; padding-top:90px; }
.studio-title::before { content:""; position:absolute; inset:0;
  background:radial-gradient(70% 60% at 70% 47%, rgba(122,42,92,.50), transparent 66%),
             radial-gradient(50% 50% at 12% 88%, rgba(201,169,106,.06), transparent 60%);
  pointer-events:none; }
.studio-title-inner { position:relative; z-index:2; width:100%; }
.studio-title-inner .eyebrow-s { margin-bottom:30px; opacity:0; animation:studioRise 1.1s .2s cubic-bezier(.2,.7,.2,1) forwards; display:block; }
.studio-title-block { max-width:52%; }
.studio-title-inner h1 { font-family:'Cormorant Garamond',serif; font-weight:300;
  font-size:clamp(30px,3.8vw,54px); line-height:1.08; letter-spacing:-.005em; max-width:18ch; margin:0;
  color:var(--paper);
  opacity:0; animation:studioRise 1.2s .45s cubic-bezier(.2,.7,.2,1) forwards; }
.studio-title-inner h1 em { font-style:italic; color:var(--goldsoft); }
.studio-statement { margin-top:34px; max-width:26ch; font-family:'Cormorant Garamond',serif;
  font-style:italic; font-weight:300; font-size:clamp(20px,2.2vw,30px); line-height:1.3;
  color:var(--goldsoft);
  opacity:0; animation:studioRise 1.1s .62s cubic-bezier(.2,.7,.2,1) forwards; }
.studio-lede { margin-top:26px; max-width:50ch; font-size:16.5px; color:#c6bcc2; line-height:1.7;
  opacity:0; animation:studioRise 1.1s .65s cubic-bezier(.2,.7,.2,1) forwards; }
.studio-meta { margin-top:52px; display:flex; gap:48px; flex-wrap:wrap;
  opacity:0; animation:studioRise 1.1s .95s cubic-bezier(.2,.7,.2,1) forwards; }
.studio-meta div { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--faint); }
.studio-meta div b { display:block; font-family:'Cormorant Garamond',serif; font-size:17px; letter-spacing:.02em;
  text-transform:none; color:var(--paper); font-weight:400; margin-top:6px; }
@keyframes studioRise { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }

/* Crystal */
#studio-crystal { position:absolute; right:6vw; top:50%; transform:translateY(-50%); width:40vw; height:40vw;
  max-width:520px; max-height:520px; z-index:1; opacity:.85; pointer-events:none; }

/* Scroll cue */
.studio-cue { position:absolute; bottom:38px; left:40px; z-index:3; font-size:10px; letter-spacing:.3em;
  text-transform:uppercase; color:var(--faint); opacity:0; animation:studioFade 1s 1.5s forwards; }
.studio-cue::after { content:""; display:block; width:1px; height:40px; margin-top:12px;
  background:linear-gradient(var(--gold),transparent); animation:studioDrop 2.2s 1.7s infinite; }
@keyframes studioFade { to{opacity:1} }
@keyframes studioDrop { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 100%{transform:scaleY(0);transform-origin:bottom} }

/* Numbered chapters */
.studio-chapter { padding:88px 0; position:relative; }
.studio-chapter + .studio-chapter { border-top:1px solid var(--line); }
.studio-ch-head { display:flex; gap:52px; align-items:flex-start; margin-bottom:30px; }
.studio-ch-num { font-family:'Cormorant Garamond',serif; font-size:56px; font-weight:300; color:var(--plumsoft);
  line-height:.8; flex-shrink:0; width:90px; }
.studio-ch-title { flex:1; }
.studio-ch-title .eyebrow-s { display:block; margin-bottom:14px; }
.studio-ch-title h2 { font-family:'Cormorant Garamond',serif; font-weight:400;
  font-size:clamp(26px,3.4vw,40px); line-height:1.16; max-width:22ch; }
.studio-ch-body { margin-left:142px; max-width:640px; }
.studio-ch-body p { font-size:16.5px; color:#c6bcc2; margin-bottom:20px; line-height:1.7; }
.studio-ch-body p:last-child { margin-bottom:0; }
.studio-ch-body strong { color:var(--paper); font-weight:400; }

/* Pull quote */
.studio-pull { padding:76px 0; text-align:center; position:relative; }
.studio-pull::before,.studio-pull::after { content:""; position:absolute; left:50%; transform:translateX(-50%);
  width:70px; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.studio-pull::before { top:0; } .studio-pull::after { bottom:0; }
.studio-pull q { font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:300;
  font-size:clamp(22px,3.2vw,38px); line-height:1.36; color:var(--goldsoft);
  max-width:22ch; display:inline-block; quotes:none; }

/* Process rail */
.studio-rail { padding:88px 0; }
.studio-rail-head { margin-bottom:48px; }
.studio-rail-head .eyebrow-s { display:block; margin-bottom:14px; }
.studio-rail-head h2 { font-family:'Cormorant Garamond',serif; font-weight:400; font-size:clamp(26px,3.4vw,40px); }
.studio-rail-track { position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
.studio-rail-track::before { content:""; position:absolute; top:7px; left:6%; right:6%; height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),var(--gold),transparent); opacity:.55; }
.studio-phase { position:relative; padding-top:34px; }
.studio-phase::before { content:""; position:absolute; top:2px; left:0; width:11px; height:11px;
  border-radius:50%; background:var(--ink); border:1px solid var(--gold); }
.studio-phase.on::before { background:var(--gold); }
.studio-phase .pn { font-size:10px; letter-spacing:.26em; text-transform:uppercase; color:var(--faint); }
.studio-phase h4 { font-family:'Cormorant Garamond',serif; font-weight:400; font-size:23px; margin:9px 0 10px; }
.studio-phase p { font-size:14px; color:var(--muted); line-height:1.65; }

/* Trust grid */
.studio-trust { background:var(--char); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.studio-trust .wrap { padding-top:66px; padding-bottom:66px; }
.studio-trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); margin-top:32px; }
.studio-trust-item { background:var(--char); padding:32px 26px; }
.studio-trust-item .t { font-family:'Cormorant Garamond',serif; font-size:19px; color:var(--goldsoft); }
.studio-trust-item .d { font-size:13.5px; color:var(--muted); margin-top:9px; line-height:1.6; }

/* Capabilities */
.studio-caps { padding:88px 0; }
.studio-caps-head { margin-bottom:40px; }
.studio-caps-head .eyebrow-s { display:block; margin-bottom:14px; }
.studio-caps-head h2 { font-family:'Cormorant Garamond',serif; font-weight:400; font-size:clamp(26px,3.4vw,40px); }
.studio-cap-row { display:grid; grid-template-columns:56px 1fr 1.3fr; gap:26px; align-items:baseline;
  padding:26px 0; border-top:1px solid var(--line); }
.studio-cap-row:last-child { border-bottom:1px solid var(--line); }
.studio-cap-row .n { font-family:'Cormorant Garamond',serif; color:var(--gold); font-size:15px; }
.studio-cap-row .t { font-family:'Cormorant Garamond',serif; font-size:21px; color:var(--paper); }
.studio-cap-row .d { font-size:14.5px; color:var(--muted); }

/* FAQ */
.studio-faq { padding:88px 0; background:linear-gradient(180deg,var(--ink),#120f14); }
.studio-faq-head { margin-bottom:38px; }
.studio-faq-head .eyebrow-s { display:block; margin-bottom:14px; }
.studio-faq-head h2 { font-family:'Cormorant Garamond',serif; font-weight:400; font-size:clamp(26px,3.4vw,40px); }
.studio-qa { border-top:1px solid var(--line); padding:26px 0; display:grid; grid-template-columns:1fr 1.4fr; gap:44px; }
.studio-qa:last-child { border-bottom:1px solid var(--line); }
.studio-qa .q { font-family:'Cormorant Garamond',serif; font-size:20px; color:var(--paper); }
.studio-qa .a { font-size:15px; color:var(--muted); }

/* CTA */
.studio-cta-block { padding:110px 0; text-align:center; border-top:1px solid var(--line); }
.studio-cta-block h2 { font-family:'Cormorant Garamond',serif; font-weight:400;
  font-size:clamp(30px,4.4vw,52px); max-width:20ch; margin:18px auto 0; line-height:1.12; }
.studio-cta-block p { margin:22px auto 0; max-width:48ch; color:var(--muted); font-size:16px; }
.studio-btn { display:inline-block; margin-top:42px; text-decoration:none; font-size:12px; letter-spacing:.16em;
  text-transform:uppercase; padding:16px 34px; background:var(--plum); color:var(--paper);
  border:1px solid var(--plum); transition:.25s; }
.studio-btn:hover { background:var(--plumsoft); border-color:var(--plumsoft); }

/* Reveal */
.studio-rev { opacity:0; transform:translateY(26px); transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1); }
.studio-rev.in { opacity:1; transform:none; }

/* Studio page responsive */
@media (max-width:900px) {
  .studio-scope .wrap { padding:0 24px; }
  .studio-title-block { max-width:100%; }
  #studio-crystal { opacity:.3; right:-26vw; width:86vw; height:86vw; }
  .studio-ch-head { gap:22px; }
  .studio-ch-num { font-size:36px; width:52px; }
  .studio-ch-body { margin-left:0; }
  .studio-rail-track { grid-template-columns:1fr 1fr; gap:40px 24px; }
  .studio-trust-grid { grid-template-columns:1fr 1fr; }
  .studio-cap-row { grid-template-columns:36px 1fr; gap:14px; }
  .studio-cap-row .d { grid-column:2; }
  .studio-qa { grid-template-columns:1fr; gap:12px; }
}
@media (prefers-reduced-motion:reduce) {
  .studio-scope * { animation:none!important; transition:none!important; }
  .studio-rev { opacity:1; transform:none; }
  .studio-title-inner .eyebrow-s,
  .studio-title-inner h1,
  .studio-statement,
  .studio-lede,
  .studio-meta { opacity:1; transform:none; }
}

/* ═══════════════ Contact Page ═══════════════ */
.contact-page { padding-top:140px; padding-bottom:120px; min-height:100vh; }
.contact-page .wrap { max-width:1180px; margin:0 auto; padding:0 40px; }
.contact-intro { max-width:680px; margin-bottom:64px; }
.contact-intro .eyebrow-s { font-size:11px; letter-spacing:.34em; text-transform:uppercase; color:var(--gold); display:block; margin-bottom:18px; }
.contact-intro h1 { font-family:'Cormorant Garamond',serif; font-weight:400; font-size:clamp(30px,4.4vw,52px); line-height:1.12; max-width:20ch; margin:0; }
.contact-intro p { margin-top:22px; font-size:16px; color:var(--muted); max-width:56ch; line-height:1.7; }

.contact-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:80px; align-items:flex-start; }

/* Form */
.contact-form { }
.contact-form .field { margin-bottom:28px; }
.contact-form label { display:block; font-family:'Inter',sans-serif; font-size:11px; text-transform:uppercase; letter-spacing:.18em; color:var(--mauve); margin-bottom:8px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width:100%; background:transparent; border:none; border-bottom:1px solid var(--line);
  color:var(--paper); font-family:'Inter',sans-serif; font-size:15px; font-weight:300;
  padding:10px 0; outline:none; transition:border-color .3s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color:var(--faint); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom-color:var(--gold); }
.contact-form textarea { resize:vertical; min-height:120px; }
.contact-form select {
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23c9a96a' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 4px center; padding-right:24px;
}
.contact-form select option { background:var(--char); color:var(--paper); }
.contact-form .err { font-size:12px; color:var(--mauve); margin-top:6px; display:none; }
.contact-form .field.invalid .err { display:block; }
.contact-form .field.invalid input,
.contact-form .field.invalid select,
.contact-form .field.invalid textarea { border-bottom-color:var(--mauve); }

/* Honeypot */
.contact-form .hp { position:absolute; left:-9999px; opacity:0; pointer-events:none; }

/* Submit */
.contact-submit { display:inline-block; font-family:'Inter',sans-serif; font-size:12px; letter-spacing:.16em;
  text-transform:uppercase; padding:16px 34px; background:var(--plum); color:var(--paper);
  border:1px solid var(--plum); cursor:pointer; transition:background .25s,border-color .25s; }
.contact-submit:hover { background:var(--plumsoft); border-color:var(--plumsoft); }
.contact-submit:disabled { opacity:.6; cursor:default; }
.form-agree { margin-top:16px; font-size:12px; color:var(--faint); }
.form-agree a { color:var(--mauve); text-decoration:none; border-bottom:1px solid var(--line); transition:border-color .3s; }
.form-agree a:hover { border-bottom-color:var(--gold); }

/* Form states */
.form-status { display:none; }
.form-status.success { display:block; }
.form-status.success h2 { font-family:'Cormorant Garamond',serif; font-weight:400; font-size:clamp(26px,3.4vw,40px); color:var(--paper); }
.form-status.success p { margin-top:16px; font-size:16px; color:var(--muted); max-width:48ch; }
.form-status.error { display:block; font-size:14px; color:var(--mauve); margin-top:16px; }

/* Right column */
.contact-details { }
.contact-details .detail-row { margin-bottom:32px; }
.contact-details .detail-label { font-size:11px; text-transform:uppercase; letter-spacing:.18em; color:var(--faint); margin-bottom:6px; }
.contact-details .detail-value { font-family:'Cormorant Garamond',serif; font-size:19px; color:var(--paper); }
.contact-details .detail-value a { color:var(--paper); text-decoration:none; border-bottom:1px solid var(--line); transition:border-color .3s; }
.contact-details .detail-value a:hover { border-bottom-color:var(--gold); }
.contact-reassure { margin-top:40px; padding-top:32px; border-top:1px solid var(--line); font-size:14px; color:var(--muted); line-height:1.7; max-width:42ch; }

@media (max-width:900px) {
  .contact-page .wrap { padding:0 24px; }
  .contact-grid { grid-template-columns:1fr; gap:48px; }
}

/* ═══════════════ Personas Page ═══════════════ */
.personas-scope { --elec:#3a7fd0; --elecsoft:#4db4d9; }
.personas-scope .wrap { max-width:1180px; margin:0 auto; padding:0 40px; }
.eyebrow-p { display:block; font-size:11px; letter-spacing:.34em; text-transform:uppercase;
  color:var(--elecsoft); margin-bottom:18px; }

/* Hero */
.pers-hero { position:relative; min-height:92vh; display:flex; align-items:flex-end; overflow:hidden; }
.pers-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 22%; }
.pers-hero-overlay { position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(13,11,13,.62) 0%, rgba(13,11,13,.30) 38%, rgba(13,11,13,.92) 100%); }
.pers-hero-copy { position:relative; z-index:2; max-width:1180px; margin:0 auto; padding:0 40px 12vh; width:100%; }
.pers-hero-copy .eyebrow-p { color:var(--elecsoft); }
.pers-hero-copy h1 { font-family:'Cormorant Garamond',serif; font-weight:300;
  font-size:clamp(32px,5vw,68px); line-height:1.05; letter-spacing:-.01em; max-width:17ch;
  color:var(--paper); margin:0; }
.pers-hero-copy p { margin-top:24px; max-width:54ch; font-size:16.5px; line-height:1.75; color:#c9c2c8; }

/* Blocks */
.pers-block { padding:110px 0; }
.pers-narrow { max-width:820px; }
.pers-lead { font-family:'Cormorant Garamond',serif; font-weight:300; font-size:clamp(20px,2.3vw,29px);
  line-height:1.45; color:var(--paper); margin:0; }
.pers-skill { border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(58,127,208,.045), transparent 70%); }
.pers-skill h2, .pers-head h2 { font-family:'Cormorant Garamond',serif; font-weight:400;
  font-size:clamp(26px,3.4vw,42px); line-height:1.14; max-width:20ch; margin:0 0 22px; color:var(--paper); }
.pers-skill p, .pers-head p { font-size:16.5px; line-height:1.78; color:#c6bcc2; max-width:62ch; margin:0; }
.pers-head { margin-bottom:52px; }

/* Figures */
.pers-fig { margin:0; overflow:hidden; background:var(--char); border:1px solid var(--line); }
.pers-fig img { display:block; width:100%; height:auto; }
.pers-fig-lg img { aspect-ratio:4/5; object-fit:cover; }
.pers-fig-detail { margin-top:34px; }
.pers-fig-detail img { aspect-ratio:4/5; object-fit:cover; }

/* Persona blocks */
.pers-persona { padding:110px 0; border-top:1px solid var(--line); }
.pers-persona-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.pers-persona-alt .pers-persona-grid { direction:rtl; }
.pers-persona-alt .pers-persona-grid > * { direction:ltr; }
.pers-persona-body h2 { font-family:'Cormorant Garamond',serif; font-weight:400;
  font-size:clamp(28px,3.6vw,46px); line-height:1.1; margin:0 0 20px; color:var(--paper); }
.pers-persona-body > p { font-size:16.5px; line-height:1.78; color:#c6bcc2; max-width:44ch; margin:0; }

/* Image pairs */
.pers-pair { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.pers-pair .pers-fig img { aspect-ratio:16/9; object-fit:cover; }

/* Benefits */
.pers-benefits { list-style:none; margin:56px 0 0; padding:0;
  border-top:1px solid var(--line); }
.pers-benefits li { display:grid; grid-template-columns:minmax(180px,.9fr) 1.6fr; gap:28px;
  padding:24px 0; border-bottom:1px solid var(--line); align-items:baseline; }
.pers-benefits li b { font-family:'Cormorant Garamond',serif; font-weight:400; font-size:21px;
  color:var(--paper); position:relative; padding-left:20px; }
.pers-benefits li b::before { content:""; position:absolute; left:0; top:.62em; width:9px; height:1px;
  background:var(--elecsoft); }
.pers-benefits li span { font-size:15px; line-height:1.7; color:var(--muted); }

/* Together */
.pers-together { border-top:1px solid var(--line); }
.pers-together-grid { display:grid; grid-template-columns:1.35fr 1fr; gap:64px; align-items:center; }
.pers-together .pers-fig img { aspect-ratio:16/9; object-fit:cover; }
.pers-together-body p { font-family:'Cormorant Garamond',serif; font-weight:300;
  font-size:clamp(19px,2.1vw,26px); line-height:1.5; color:var(--paper); margin:0; }

/* CTA */
.pers-cta { padding:120px 0; text-align:center; border-top:1px solid var(--line);
  background:linear-gradient(180deg, transparent, rgba(58,127,208,.05)); }
.pers-cta h2 { font-family:'Cormorant Garamond',serif; font-weight:400;
  font-size:clamp(28px,4.2vw,50px); max-width:22ch; margin:0 auto; line-height:1.12; color:var(--paper); }
.pers-btn { display:inline-block; margin-top:42px; text-decoration:none; font-size:12px; letter-spacing:.16em;
  text-transform:uppercase; padding:16px 34px; background:var(--plum); color:var(--paper);
  border:1px solid var(--plum); transition:background .25s, border-color .25s; }
.pers-btn:hover { background:var(--plumsoft); border-color:var(--plumsoft); }

/* Reveal */
.pers-rev { opacity:0; transform:translateY(26px);
  transition:opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.pers-rev.on { opacity:1; transform:none; }

@media (max-width:900px) {
  .personas-scope .wrap { padding:0 24px; }
  .pers-hero { min-height:78vh; }
  .pers-hero-copy { padding:0 24px 9vh; }
  .pers-block, .pers-persona { padding:76px 0; }
  .pers-head { margin-bottom:36px; }
  .pers-persona-grid { grid-template-columns:1fr; gap:32px; }
  .pers-persona-alt .pers-persona-grid { direction:ltr; }
  .pers-pair { grid-template-columns:1fr; gap:20px; }
  .pers-benefits { margin-top:40px; }
  .pers-benefits li { grid-template-columns:1fr; gap:8px; }
  .pers-together-grid { grid-template-columns:1fr; gap:32px; }
  .pers-cta { padding:88px 0; }
}

@media (prefers-reduced-motion:reduce) {
  .personas-scope * { animation:none!important; transition:none!important; }
  .pers-rev { opacity:1; transform:none; }
}

/* ═══════════════ Characters page — hero + 3D character carousel ═══════════════ */
/* Ported from character_carousel_prototype.html, scoped to .char-reel.
   Tokens come from :root in this stylesheet (no local :root duplicate). */
.chars-page { padding-top: calc(104px + 6vh); }

.char-reel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.char-reel .eyebrow { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.char-reel h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(34px, 4vw, 60px); line-height: 1.04; margin-bottom: 26px; }
.char-reel p { color: #c6bcc2; font-size: 16px; max-width: 44ch; margin-bottom: 16px; }
.char-reel .sub-note { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); margin-top: 12px; }

/* ---- 3D CAROUSEL ---- */
.char-reel .stage { position: relative; height: 740px; display: flex; align-items: center; justify-content: center; perspective: 1600px; }
.char-reel .drum { position: relative; width: 400px; height: 600px; transform-style: preserve-3d; cursor: grab; touch-action: pan-y; }
.char-reel .drum.grabbing { cursor: grabbing; }
.char-reel .card {
  position: absolute; top: 0; left: 0; width: 400px; height: 600px;
  border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: var(--char);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.char-reel .card img { width: 100%; height: 70%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.char-reel .card .cap { padding: 18px 20px; }
.char-reel .card .cap .n { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--paper); }
.char-reel .card .cap .t { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.char-reel .card .cap .d {
  font-size: 12px; color: var(--muted); margin-top: 9px; line-height: 1.5;
  opacity: 0; max-height: 0; transition: opacity .4s, max-height .4s;
}
.char-reel .card.active .cap .d { opacity: 1; max-height: 120px; }
.char-reel .card.active { border-color: var(--mauve); }

/* glow behind active */
.char-reel .glow {
  position: absolute; width: 680px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,30,58,.55), rgba(201,169,106,.12), transparent 70%);
  filter: blur(30px); z-index: -1; pointer-events: none;
}

.char-reel .hint {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--faint);
}
.char-reel .dots { display: flex; gap: 9px; }
.char-reel .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: .3s; cursor: pointer; }
.char-reel .dot.on { background: var(--gold); transform: scale(1.3); }

/* Style text below the carousel: one centered editorial column */
.chars-style {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.chars-style .pull-quote,
.chars-style .chars-intro,
.chars-style .process-line {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.chars-style .pull-quote { margin-bottom: 40px; }
.chars-style .chars-intro { margin-bottom: 20px; }
.chars-style .process-line { margin-top: 40px; }

/* Traits as a balanced 2-column grid */
.chars-style .traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 0;
}

.chars-sheets-label {
  color: var(--gold);
  margin: 96px 0 18px;
}

@media (max-width: 900px) {
  .char-reel { grid-template-columns: 1fr; padding-top: 4vh; gap: 20px; margin-bottom: 64px; }
  .char-reel .stage { height: 600px; order: -1; }
  .char-reel .drum, .char-reel .card { width: 300px; height: 470px; }
  .char-reel .glow { width: 420px; height: 460px; }
  .chars-style { padding: 0; }
  .chars-style .traits { grid-template-columns: 1fr; gap: 28px; }
  .chars-sheets-label { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .char-reel .card .cap .d { transition: none; }
}
