/* ============================================================
   REZA REXA — Dark Luxury Design System
   ============================================================ */

:root {
  --bg: #08080a;
  --bg-2: #0c0c0e;
  --bg-3: #111114;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Minimal-neutral base + signature green accent */
  --gold: #a9dc3c;
  --gold-soft: #cdf07e;
  --gold-deep: #7ba62c;
  --champagne: #e6f6b6;

  --cyan: #a9dc3c;
  --violet: #26262b;

  --text: #ededea;
  --text-dim: #a2a29b;
  --text-mute: #6b6b67;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: 'General Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-clash: 'Clash Display', 'General Sans', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --font-goga: 'Goga', 'Clash Display', 'General Sans', system-ui, sans-serif;
}

@font-face {
  font-family: 'Goga';
  src: url('../reference/fonts/Goga-Regular.otf') format('opentype');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Goga';
  src: url('../reference/fonts/Goga-Medium.otf') format('opentype');
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Goga';
  src: url('../reference/fonts/Goga-SemiBold.otf') format('opentype');
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(255, 255, 255, 0.045), transparent 60%),
    radial-gradient(900px 600px at 12% 8%, rgba(255, 255, 255, 0.025), transparent 60%),
    var(--bg);
}

/* Subtle grain/grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

/* Site-wide warm edge glow — frames the whole viewport */
html::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  box-shadow:
    inset 0 0 130px 8px rgba(238,148,88,0.30),
    inset 0 0 46px rgba(238,148,88,0.18);
}

::selection { background: rgba(212, 175, 55, 0.3); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; padding: 120px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-weight: 500; }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--gold-soft); }
.section-sub { color: var(--text-dim); max-width: 620px; font-size: 1.05rem; }

.gold-text {
  background: linear-gradient(120deg, var(--champagne), var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px;
}
.nav-logo .mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #0a0a0d; font-weight: 800; font-family: var(--font-mono); font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(255,255,255,0.35);
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  font-size: 0.9rem; color: var(--text-dim); padding: 8px 16px; border-radius: 10px;
  transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta {
  border: 1px solid var(--gold) !important; color: var(--gold-soft) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: #0a0a0d !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px; font-size: 0.92rem; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; transition: all 0.3s var(--ease);
}
.btn-gold {
  --c: rgba(169,220,60,0.75);
  position: relative;
  background-color: rgba(22,26,16,0.55);
  color: var(--gold-soft); font-weight: 600;
  border: 1px solid rgba(169,220,60,0.22);
  border-radius: 10px;
  background-image:
    linear-gradient(var(--c),var(--c)),linear-gradient(var(--c),var(--c)),
    linear-gradient(var(--c),var(--c)),linear-gradient(var(--c),var(--c)),
    linear-gradient(var(--c),var(--c)),linear-gradient(var(--c),var(--c)),
    linear-gradient(var(--c),var(--c)),linear-gradient(var(--c),var(--c));
  background-repeat: no-repeat;
  background-size: 13px 2px,2px 13px,13px 2px,2px 13px,13px 2px,2px 13px,13px 2px,2px 13px;
  background-position: left top,left top,right top,right top,left bottom,left bottom,right bottom,right bottom;
  box-shadow: inset 0 0 0 1px rgba(169,220,60,0.04), 0 10px 30px rgba(0,0,0,0.4);
  transition: all 0.3s var(--ease);
}
.btn-gold:hover { background-color: rgba(169,220,60,0.13); color: #eaf7c4; transform: translateY(-2px); box-shadow: 0 0 30px rgba(169,220,60,0.20), 0 14px 36px rgba(0,0,0,0.5); }

/* HUD-framed ghost variant (corner ticks, green) */
.btn-ghost { border-radius: 10px; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(169,220,60,0.06); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--surface); font-size: 0.8rem; color: var(--text-dim); margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-family: var(--font-display); font-weight: 500; margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero-lead { font-size: 1.18rem; color: var(--text-dim); max-width: 540px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; aspect-ratio: 1; }
.orb {
  position: absolute; inset: 0; margin: auto; width: 78%; height: 78%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--violet), var(--cyan), var(--gold));
  filter: blur(2px); opacity: 0.85;
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%, #000 60%, transparent 61%);
  mask: radial-gradient(circle, transparent 56%, #000 57%, #000 60%, transparent 61%);
  animation: spin 16s linear infinite;
}
.orb.two {
  width: 96%; height: 96%; opacity: 0.4;
  -webkit-mask: radial-gradient(circle, transparent 47%, #000 48%, #000 49.5%, transparent 50.5%);
  mask: radial-gradient(circle, transparent 47%, #000 48%, #000 49.5%, transparent 50.5%);
  animation: spin 26s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-core {
  position: absolute; inset: 0; margin: auto; width: 46%; height: 46%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1a1a22, #0a0a0d);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; text-align: center;
  box-shadow: inset 0 0 40px rgba(255,255,255,0.12), 0 0 60px rgba(0,0,0,0.6);
}
.hero-core .rx { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.4rem); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: scroll-x 32s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--font-display); font-size: 1.4rem; color: var(--text-mute); display: inline-flex; align-items: center; gap: 60px; }
.marquee-track span::after { content: '✦'; color: var(--gold); font-size: 0.8rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stat { text-align: center; padding: 32px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: all 0.4s var(--ease); }
.stat:hover { border-color: var(--border-strong); transform: translateY(-4px); background: var(--surface-2); }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem,3.5vw,2.8rem); line-height: 1; margin-bottom: 8px; }
.stat .label { font-size: 0.82rem; color: var(--text-mute); letter-spacing: 0.04em; }

/* ---------- Card grid ---------- */
.grid-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 30px; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; padding: 34px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: linear-gradient(160deg, var(--surface-2), var(--surface));
  overflow: hidden; transition: all 0.45s var(--ease); display: flex; flex-direction: column; min-height: 270px;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card .glow { position: absolute; top: -40%; right: -20%; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.card:hover .glow { opacity: 1; }

.card-tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: var(--surface-2); border: 1px solid var(--border); font-size: 1.4rem; }
.card h3 { font-size: 1.5rem; font-family: var(--font-display); margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.96rem; margin-bottom: 22px; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font-size: 0.74rem; padding: 5px 12px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--gold-soft); font-weight: 500; margin-top: auto; }
.card-link .arrow { transition: transform 0.3s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(5px); }

/* ---------- Presence / Map ---------- */
.presence { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.flags { display: flex; flex-wrap: wrap; gap: 12px; }
.flag-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface); font-size: 0.92rem; transition: all 0.3s var(--ease);
}
.flag-chip:hover { border-color: var(--gold); transform: translateY(-3px); background: var(--surface-2); }
.flag-chip .fl { font-size: 1.3rem; }

/* ---------- Contact ---------- */
.contact-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 64px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); text-align: center; position: relative; overflow: hidden;
}
.contact-card::before { content:''; position:absolute; inset:0; background: radial-gradient(600px 300px at 50% 0%, rgba(255,255,255,0.12), transparent 70%); pointer-events:none; }
.contact-card h2 { font-size: clamp(2rem,4.5vw,3.2rem); font-family: var(--font-display); margin-bottom: 18px; }
.socials { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.social {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 100px;
  border: 1px solid var(--border-strong); background: var(--surface); font-size: 0.9rem; transition: all 0.3s var(--ease);
}
.social:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-3px); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 60px 0 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2.7fr; gap: 50px; margin-bottom: 50px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-tag { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.15rem); line-height: 1.12; color: var(--text); letter-spacing: -0.01em; }
.footer-tag em { font-style: italic; color: var(--gold-soft); }
.f-static { color: var(--text-dim); font-size: 0.92rem; line-height: 1.75; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
}
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.92rem; padding: 5px 0; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 0.86rem; flex-wrap: wrap; gap: 16px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Sub-page hero ---------- */
.subhero { padding: 180px 0 80px; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--text-mute); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--gold-soft); }
.subhero h1 { font-size: clamp(2.6rem,6vw,4.6rem); font-family: var(--font-display); font-weight: 500; margin-bottom: 24px; }
.subhero .lead { font-size: 1.2rem; color: var(--text-dim); max-width: 660px; }
.subhero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 30px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: all 0.4s var(--ease);
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-4px); background: var(--surface-2); }
.feature .fi { font-size: 1.6rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 0.93rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.panel { padding: 48px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.kv { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-mute); font-size: 0.9rem; }
.kv .v { color: var(--text); font-weight: 500; font-size: 0.95rem; }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 16px 22px; }
  .nav.scrolled { padding: 12px 22px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; right: 22px; flex-direction: column; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; min-width: 200px; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 20px auto 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards.three { grid-template-columns: 1fr; }
  .presence, .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 80px 0; }
  .contact-card { padding: 40px 24px; }
  .panel { padding: 30px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CINEMATIC SCROLL LAYER
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
  box-shadow: 0 0 16px rgba(255,255,255,0.6);
  transition: width 0.12s linear;
}

/* Disable default ambient gradient on cinematic pages (images take over) */
body.cinematic::before { display: none; }
body.cinematic::after { opacity: 0.6; }

/* Fixed cinematic background stack */
.cinematic-bg { position: fixed; inset: 0; z-index: -3; overflow: hidden; background: var(--bg); }
.cbg-layer {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s var(--ease); will-change: opacity;
}
.cbg-layer .img, .cbg-layer video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.45) brightness(0.74) contrast(1.04);
}
.cbg-layer.active { opacity: 1; }
.cbg-layer.active .img,
.cbg-layer.active video { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.2); } }

/* Dark cinematic overlay for legibility + depth */
.cbg-overlay {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(140% 90% at 50% -10%, rgba(255,255,255,0.04), transparent 45%),
    linear-gradient(180deg, rgba(8,8,10,0.84), rgba(8,8,10,0.9) 45%, rgba(8,8,10,0.96));
}

/* Hero: cinematic motion of inner content */
.hero-inner { will-change: transform, opacity; }

/* Section reveal gets a touch more drama on cinematic pages */
body.cinematic .reveal { transform: translateY(40px) scale(0.985); }
body.cinematic .reveal.in { transform: none; }

/* Stronger card contrast over imagery */
body.cinematic .card,
body.cinematic .panel,
body.cinematic .feature,
body.cinematic .stat,
body.cinematic .contact-card {
  background: linear-gradient(160deg, rgba(18,18,22,0.78), rgba(10,10,13,0.72));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.cinematic .marquee { background: rgba(8,8,11,0.7); backdrop-filter: blur(8px); }

/* Scene divider line */
.scene-edge { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); margin: 0 auto; max-width: 60%; }

@media (prefers-reduced-motion: reduce) {
  .cbg-layer.active .img, .cbg-layer.active video { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Interactive 3D card showcase (iframe) ---------- */
.cards-showcase {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 760px;
  margin-bottom: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
}
.cards-showcase::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.45), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cards-showcase iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.showcase-caption {
  position: absolute; left: 22px; bottom: 18px; z-index: 4; pointer-events: none;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px; border-radius: 100px;
  background: rgba(8,8,11,0.55); backdrop-filter: blur(8px); border: 1px solid var(--border);
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }

@media (max-width: 900px) {
  .cards-showcase { height: 58vh; min-height: 380px; }
  .showcase-caption { left: 14px; bottom: 14px; }
}

/* ============================================================
   UI UX PRO MAX — design-system layer
   Style: Liquid Glass + Dimensional Layering + Micro-interactions
   ============================================================ */

/* ---- Inline SVG icon system (replaces emoji) ---- */
.ico { display: inline-flex; align-items: center; justify-content: center; line-height: 0; color: inherit; }
.ico svg { width: 100%; height: 100%; display: block; }

/* Card icon chips — gold-tinted, dimensional, animated */
.card-icon, .feature .fi {
  color: var(--gold-soft);
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card-icon { width: 54px; height: 54px; padding: 13px; }
.card-icon .ico { width: 100%; height: 100%; }
.feature .fi {
  width: 48px; height: 48px; border-radius: 14px; padding: 11px;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature .fi .ico { width: 100%; height: 100%; }
.card:hover .card-icon { transform: translateY(-3px) scale(1.06); border-color: rgba(255,255,255,0.5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 10px 26px rgba(255,255,255,0.18); }
.feature:hover .fi { transform: translateY(-3px) scale(1.06); border-color: rgba(255,255,255,0.5); }

/* Social / inline icon sizing */
.social .ico, .footer-col a .ico { width: 18px; height: 18px; }
.social .ico { color: var(--gold-soft); }
.btn .ico { width: 18px; height: 18px; }

/* ---- Liquid glass refinement + dimensional layering ---- */
.card { transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 50%; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  pointer-events: none; opacity: 0.7;
}
.card:hover { box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.12); }

/* Featured (lead) cards — dimensional emphasis */
.card.featured {
  background: linear-gradient(155deg, rgba(255,255,255,0.10), rgba(18,18,22,0.82) 45%);
}
.card.featured .card-icon { width: 60px; height: 60px; }
.card.featured h3 { font-size: 1.7rem; }
body.cinematic .card.featured { background: linear-gradient(155deg, rgba(255,255,255,0.14), rgba(14,14,18,0.8) 48%); }

/* ---- Bento-influenced spacing ---- */
.cards.bento { grid-auto-rows: 1fr; }

/* ---- Micro-interactions: chips, flags ---- */
.chip { transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease); cursor: default; }
.card:hover .chip { border-color: rgba(255,255,255,0.3); }

/* ---- Pre-delivery checklist polish ---- */
a, button, .btn, .card, [role="button"], .nav-toggle, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .card:focus-visible, .social:focus-visible, .flag-chip:focus-visible {
  outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 10px;
}
:focus:not(:focus-visible) { outline: none; }

/* Smooth, consistent transitions (150–300ms) */
.nav-links a, .social, .flag-chip, .card-link, .footer-col a, .btn { transition-duration: 0.22s; }

/* Flag chips: refine to glass */
.flag-chip { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (prefers-reduced-motion: reduce) {
  .card, .card-icon, .feature .fi, .stat, .flag-chip, .btn { transition: none !important; }
  .marquee-track, .orb, .orb.two { animation: none !important; }
}

/* ============================================================
   EDITORIAL LAYER — agency-style narrative (numbered sections,
   oversized italic headlines, work index, process, FAQ)
   ============================================================ */

/* ---- Floating pill navbar + fullscreen menu ---- */
.nav.nav-pill {
  top: 18px; left: 50%; right: auto; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px;
  width: auto; padding: 9px 9px 9px 18px; border-radius: 18px;
  background: rgba(10,10,13,0.72); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border); z-index: 200;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}
.nav.nav-pill.scrolled { padding: 9px 9px 9px 18px; }
.nav-pill .nav-start { padding: 11px 18px; font-size: 0.85rem; }
.nav-pill .nav-start .arrow { font-size: 0.9em; }

.nav-pill .nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 11px;
  background: var(--surface); cursor: pointer; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); padding: 0;
}
.nav-pill .nav-toggle .bar { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-pill .nav-toggle:hover { border-color: var(--gold); }
.nav-pill .nav-toggle.open { background: var(--gold); border-color: var(--gold); }
.nav-pill .nav-toggle.open .bar { background: #0c0f06; }
.nav-pill .nav-toggle.open .bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-pill .nav-toggle.open .bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(6,6,8,0.98); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
  display: flex; align-items: center;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay-inner { width: 100%; padding-top: 60px; }
.nav-menu { display: flex; flex-direction: column; gap: 4px; }
.nav-menu a {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1.08; color: var(--text); display: inline-flex; align-items: baseline; gap: 22px;
  width: max-content; transition: color 0.25s var(--ease), transform 0.35s var(--ease); letter-spacing: -0.02em;
  opacity: 0; transform: translateY(24px);
}
.nav-overlay.open .nav-menu a { opacity: 1; transform: none; transition: color 0.25s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.nav-overlay.open .nav-menu a:nth-child(1) { transition-delay: 0.06s; }
.nav-overlay.open .nav-menu a:nth-child(2) { transition-delay: 0.10s; }
.nav-overlay.open .nav-menu a:nth-child(3) { transition-delay: 0.14s; }
.nav-overlay.open .nav-menu a:nth-child(4) { transition-delay: 0.18s; }
.nav-overlay.open .nav-menu a:nth-child(5) { transition-delay: 0.22s; }
.nav-overlay.open .nav-menu a:nth-child(6) { transition-delay: 0.26s; }
.nav-menu a:hover { color: var(--gold-soft); transform: translateX(14px); }
.nav-menu a .mi { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-mute); }
.nav-overlay-foot { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-mail { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.04em; color: var(--text-dim); }
.nav-mail:hover { color: var(--gold-soft); }
.nav-social a { color: var(--text-dim); font-size: 0.9rem; margin-left: 20px; transition: color 0.25s; }
.nav-social a:hover { color: var(--gold-soft); }
body.nav-open { overflow: hidden; }

/* Menu hover: focus the hovered link, dim the rest, slide an arrow in */
.nav-menu a { position: relative; }
.nav-menu a::after {
  content: '↗'; margin-left: 10px; font-family: var(--font-sans); font-size: 0.45em; color: var(--gold-soft);
  opacity: 0; transform: translateX(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); align-self: center;
}
.nav-overlay.open .nav-menu:hover a { opacity: 0.32; }
.nav-overlay.open .nav-menu:hover a:hover { opacity: 1; }
.nav-menu a:hover::after { opacity: 1; transform: translateX(0); }

/* Button shine sweep on hover */
.btn-gold { overflow: hidden; }
.btn-gold::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(205,240,126,0.22), transparent);
  transform: skewX(-18deg); transition: left 0.65s var(--ease); pointer-events: none;
}
.btn-gold:hover::before { left: 135%; }
.btn-gold > * { position: relative; z-index: 1; }

@media (max-width: 560px) {
  .nav.nav-pill { gap: 8px; padding: 8px 8px 8px 14px; }
  .nav-pill .nav-start { padding: 10px 13px; font-size: 0.8rem; }
  .nav-social a { margin-left: 0; margin-right: 16px; }
  .nav-overlay-foot { flex-direction: column; align-items: flex-start; }
}

/* Anchor aliases (keep cross-page links working after section rename) */
.anchor-alias { display: block; position: absolute; height: 0; width: 0; scroll-margin-top: 90px; }
section { scroll-margin-top: 80px; }

/* Section label: [01] — Title */
.slabel { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 28px; }
.slabel .snum { color: var(--gold-soft); }
.slabel::after { content: ''; width: 46px; height: 1px; background: var(--border-strong); }

/* Oversized editorial headline */
.ed-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 6.2vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 26px; }
.ed-title em { font-style: italic; color: var(--gold-soft); }
.ed-lead { font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--text-dim); max-width: 680px; }

/* ---- Statement interlude (juanmora-inspired) ---- */
.statement {
  position: relative;
  background:
    radial-gradient(140% 100% at 50% 0%, rgba(247, 191, 149, 0.14), transparent 48%),
    linear-gradient(180deg, #fbf6ef 0%, #f8f2ea 54%, #f4ebdf 100%);
  overflow: clip;
  min-height: 118vw;
}
.stmt-sticky { position: relative; }
.click-scroll-height {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100vw;
  height: 117vw;
  padding-top: 13vw;
  position: relative;
  overflow: hidden;
}
.wrapper-cont-50 {
  z-index: 10;
  width: 50%;
  margin-bottom: 10vw;
  position: sticky;
  top: 0;
  will-change: transform, opacity;
}
.click-scroll-text {
  margin: 0;
  color: #928b83;
  font-family: var(--font-goga);
  font-size: 7.82vw;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.35vw;
}
.text-span { color: #f1b18c; }
.cont-click {
  z-index: 11;
  background-color: #f1b18c;
  cursor: pointer;
  border-radius: 100vw;
  justify-content: center;
  align-items: center;
  width: 20vw;
  height: 8.5vw;
  transition: transform 0.4s cubic-bezier(.165, .84, .44, 1), box-shadow 0.4s var(--ease);
  display: flex;
  position: absolute;
  top: 16.4vw;
  left: -2.2vw;
  overflow: hidden;
  box-shadow: 0 1.2vw 3vw rgba(241, 177, 140, 0.22);
}
.cont-click:hover { transform: scale(.96); }
.cont-hover-click {
  z-index: 15;
  background-color: #8f887f;
  opacity: 0;
  pointer-events: none;
  border-radius: 100vw;
  width: 15vw;
  height: 8.5vw;
  display: flex;
  position: absolute;
  top: 9vw;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.click-hover-huh {
  z-index: 21;
  opacity: 0;
  pointer-events: none;
  width: 13vw;
  color: #fbf6ef;
  text-align: center;
  letter-spacing: -0.05vw;
  font-family: var(--font-goga);
  font-size: 2vw;
  font-weight: 600;
  line-height: 0.9;
  position: absolute;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.cont-click:hover .cont-hover-click { opacity: 1; transform: translateY(-9vw); }
.cont-click:hover .click-hover-huh { opacity: 1; transform: translateY(-8.8vw); }
.click {
  z-index: 20;
  color: #fbf6ef;
  letter-spacing: -0.35vw;
  margin-top: -0.3vw;
  margin-left: -0.6vw;
  font-family: var(--font-goga);
  font-size: 7.82vw;
  font-weight: 600;
  line-height: 1.05;
  position: absolute;
}
.scroll {
  z-index: 20;
  color: #f1b18c;
  letter-spacing: -0.35vw;
  margin-top: -0.3vw;
  margin-left: -0.6vw;
  font-family: var(--font-goga);
  font-size: 7.82vw;
  font-weight: 600;
  line-height: 1.05;
  position: absolute;
  inset: 16.7vw 0.5vw auto auto;
}
.wrapper-icons {
  z-index: 40;
  width: 100vw;
  height: 100%;
  position: relative;
  overflow: visible;
}
.stmt-scene { position: relative; isolation: isolate; }
.shape {
  position: absolute;
  will-change: transform;
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(0deg);
  pointer-events: none;
}
.pill-scroll { z-index: 41; width: 26vw; inset: -7.4vw auto auto 21%; }
.circle-left-scroll { z-index: 42; width: 42vw; top: -11.2vw; left: -20vw; }
.circle-center-scroll { z-index: 43; width: 34vw; top: 20vw; right: 30%; }
.hex-scroll { z-index: 44; width: 38vw; inset: -5.4vw -3% auto auto; }
.circle-plus-scroll { z-index: 49; width: 18vw; top: 36.7vw; right: 10%; }
.square-scroll { z-index: 49; width: 20vw; inset: 53.7vw auto auto 19vw; }
.blue-circle { z-index: 49; width: 3vw; inset: 37.1vw auto auto 19.7vw; }
.blue-pill { z-index: 49; width: 5vw; inset: 15.8vw 33.7vw auto auto; }
.blue-hex { z-index: 49; width: 2vw; inset: 44.6vw 28.8vw auto auto; }
.stmt-line {
  position: absolute;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0ab7d 0%, rgba(240, 171, 125, 0.08) 100%);
  opacity: 0.65;
  transform-origin: top center;
  will-change: transform, opacity;
}
.ln1 { height: 12vw; left: 69.2vw; top: 16.9vw; }
.ln2 { height: 19vw; left: 71vw; top: 10.8vw; }
.stmt-orbit {
  position: absolute;
  left: 38vw;
  top: 26vw;
  width: 35vw;
  height: 24vw;
  overflow: visible;
  opacity: 0;
  will-change: transform, opacity;
}
.stmt-orbit path {
  stroke: rgba(255, 250, 245, 0.82);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  filter: drop-shadow(0 10px 18px rgba(232, 177, 137, 0.18));
}
.service-showcase {
  background: linear-gradient(180deg, #f4ebdf 0%, #f4ebdf 78%, #f2e6d9 100%);
  padding: 1.4vw 0 0;
}
.service-headline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  align-items: flex-start;
  width: 92vw;
  margin: 0 auto;
}
.tag-text {
  color: #938b83;
  font-family: var(--font-goga);
  font-size: 1rem;
  font-weight: 600;
}
.service-headline {
  margin: 0;
  color: #968d84;
  font-family: var(--font-goga);
  font-size: 8.5vw;
  line-height: 0.9;
  letter-spacing: -0.4vw;
  max-width: 100%;
}
.service-feature {
  width: min(28vw, 420px);
  margin: 8.2vw auto 0.6vw;
  text-align: center;
}
.service-feature h3 {
  margin: 0 0 10px;
  color: #90867d;
  font-family: var(--font-goga);
  font-size: 4vw;
  line-height: 0.9;
  letter-spacing: -0.2vw;
}
.service-feature p {
  margin: 0 auto;
  max-width: 27ch;
  color: #aaa095;
  font-size: 0.9rem;
  line-height: 1.28;
}
@media (prefers-reduced-motion: reduce) {
  .shape, .stmt-line, .stmt-intro, .stmt-orbit { transition: none !important; }
}
@media (max-width: 960px) {
  .statement { min-height: 140vw; }
  .wrapper-cont-50 { width: 62%; }
  .click-scroll-text, .click, .scroll { font-size: 8.6vw; }
  .cont-click { width: 22vw; height: 9.2vw; top: 18.4vw; }
  .scroll { top: 18.8vw; right: 0; }
  .service-feature { width: min(34vw, 380px); }
}
@media (max-width: 760px) {
  .statement { min-height: 230vw; }
  .click-scroll-height { height: 230vw; padding-top: 18vw; }
  .wrapper-cont-50 { width: 66%; }
  .click-scroll-text,
  .click {
    text-align: center;
    letter-spacing: -0.45vw;
    font-size: 10vw;
  }
  .cont-click { width: 24vw; height: 11vw; top: 21.4vw; left: 0.6vw; }
  .scroll, .cont-hover-click, .click-hover-huh { display: none; }
  .pill-scroll { width: 40vw; top: 11.4vw; left: 35%; }
  .circle-left-scroll { width: 70vw; top: -8.4vw; left: -33.3vw; }
  .circle-center-scroll { z-index: 44; width: 80vw; top: 60.4vw; right: 13%; }
  .circle-plus-scroll { width: 30vw; top: 62.9vw; right: 3%; }
  .square-scroll { width: 34vw; top: 131vw; left: 2.3vw; }
  .hex-scroll { z-index: 43; width: 70vw; top: -7.4vw; right: -24%; }
  .blue-circle { width: 6vw; top: 56.6vw; left: 43.1vw; }
  .blue-pill { width: 4vw; top: 13.6vw; right: 44.9vw; }
  .blue-hex { width: 3vw; top: 98.5vw; right: 7.3vw; }
  .ln1 { left: 70.2vw; top: 45vw; height: 20vw; }
  .ln2 { left: 73vw; top: 29vw; height: 31vw; }
  .stmt-orbit { left: 37vw; top: 88vw; width: 40vw; height: 36vw; }
  .stmt-orbit path { stroke-width: 4; }
  .service-showcase { padding-bottom: 8px; }
  .service-headline-wrapper {
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
    align-items: center;
    width: 79vw;
  }
  .tag-text { font-size: 3vw; }
  .service-headline {
    text-align: center;
    font-size: 10vw;
    max-width: 9ch;
  }
  .service-feature {
    width: min(220px, 76vw);
    margin-top: 16vw;
    margin-bottom: 8px;
  }
  .service-feature h3 { font-size: 7vw; }
  .service-feature p { font-size: 0.55rem; max-width: 30ch; }
}

/* ---- Statement (original, pinned cinematic scroll — overrides cloned version) ---- */
.statement { min-height: 165vh !important; padding: 0 !important; position: relative; overflow: clip;
  background: linear-gradient(180deg, #f7f0e7 0%, #f4e8db 50%, #f1e3d4 100%) !important; }
.stmt-sticky { position: sticky !important; top: 0; height: 100vh; display: grid; place-items: center; z-index: 3; }
.stmt-sticky::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(48% 40% at 50% 50%, rgba(247,240,231,0.82), rgba(247,240,231,0) 72%); }
.stmt-beat { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 26px; }
.stmt-beat.b2 { display: none; }
.stmt-eyebrow { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: #b7a796; margin-bottom: 30px; }
.stmt-text { font-family: var(--font-clash); font-weight: 600; font-size: clamp(2.4rem, 6.6vw, 6rem); line-height: 1.08; letter-spacing: -0.03em; color: #948b80; max-width: 17ch; margin: 0 auto; }
.stmt-text .hl { color: #f0a574; }
.stmt-text .hl-pill { display: inline-block; background: linear-gradient(180deg, #f8c79e, #f3b386); color: #fff; border-radius: 100px; padding: 0.02em 0.42em; box-shadow: 0 10px 26px rgba(240,160,110,0.35); cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.stmt-text .hl-pill:hover { background: linear-gradient(180deg, #9a938a, #827b72); color: #ffffff; box-shadow: 0 10px 26px rgba(120,110,100,0.32); }
.scale-word { position: relative; }
.scale-l { position: relative; display: inline-block; }
.scale-trail { position: absolute; left: 50%; top: 92%; width: 4px; height: 0; transform: translateX(-50%); border-radius: 4px; background: linear-gradient(180deg, #f0a574, rgba(240,165,116,0.04)); pointer-events: none; }
.stmt-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: transform; }
.statement .shape { position: absolute; z-index: 2; opacity: 1 !important; transform: none; will-change: transform; animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--r,0deg)); } 50% { transform: translateY(-22px) rotate(var(--r,0deg)); } }
.statement .sphere { border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff, #f4dcc6 42%, #e7a273 100%); box-shadow: 0 34px 70px rgba(214,140,92,0.28), inset -8px -10px 30px rgba(190,110,70,0.25); }
.statement .pill { border-radius: 100px; background: radial-gradient(circle at 35% 30%, #fff, #ecdccb 48%, #d6b194); box-shadow: 0 30px 60px rgba(200,150,110,0.25); }
.statement .penta { background: radial-gradient(circle at 38% 30%, #ffe6cf, #ef9f6f); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); box-shadow: 0 30px 60px rgba(214,140,92,0.25); }
.statement .bdot { border-radius: 50%; background: #2f55ff; box-shadow: 0 8px 20px rgba(47,85,255,0.4); }
.statement .glass { border-radius: 18px; background: rgba(255,255,255,0.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.6); display: grid; place-items: center; font-family: var(--font-clash); font-weight: 600; color: #e09760; box-shadow: 0 20px 44px rgba(200,150,110,0.22); }
.statement .sh1 { width: 250px; height: 250px; top: 6%;  left: 5%;  animation-duration: 9s; }
.statement .sh2 { width: 220px; height: 115px; top: 14%; right: 7%; --r: -16deg; animation-duration: 10s; animation-delay: -2s; }
.statement .sh3 { width: 350px; height: 350px; top: 32%; left: 26%; animation-duration: 12s; animation-delay: -1s; }
.statement .sh4 { width: 170px; height: 170px; top: 20%; right: 10%; --r: 8deg; animation-duration: 11s; animation-delay: -3s; }
.statement .sh5 { width: 150px; height: 150px; top: 46%; right: 17%; animation-duration: 9s; animation-delay: -4s; }
.statement .sh6 { width: 230px; height: 230px; top: 70%; left: 40%; animation-duration: 11s; animation-delay: -2.5s; }
.statement .sh7 { width: 200px; height: 110px; top: 60%; left: 7%; --r: 12deg; animation-duration: 10s; animation-delay: -4.5s; }
.statement .bd1 { width: 24px; height: 24px; top: 40%; left: 18%; animation-duration: 6s; }
.statement .bd2 { width: 16px; height: 16px; top: 26%; right: 28%; animation-duration: 6.5s; animation-delay: -2s; }
.statement .bd3 { width: 20px; height: 20px; top: 80%; left: 30%; animation-duration: 7s; animation-delay: -1s; }
.statement .gl1 { width: 92px; height: 78px; top: 68%; left: 18%; font-size: 1.8rem; animation-duration: 10s; animation-delay: -1.5s; }
.statement .gl2 { width: 70px; height: 70px; top: 76%; right: 26%; font-size: 1.7rem; animation-duration: 8s; animation-delay: -3.5s; }
.statement .sh8 { width: 170px; height: 170px; top: 70%; left: 62%; animation-duration: 10s; animation-delay: -3s; }
.statement .sh9 { width: 140px; height: 140px; top: 88%; right: 10%; animation-duration: 9s; animation-delay: -1.5s; }
.statement .sh10 { width: 120px; height: 120px; top: 90%; left: 14%; animation-duration: 11s; animation-delay: -4s; }
.statement .bd4 { width: 18px; height: 18px; top: 54%; left: 49%; animation-duration: 6s; animation-delay: -3s; }
/* Crowded mid-band (between beat 1 and beat 2) */
.statement .sh11 { width: 210px; height: 210px; top: 72%; right: 24%; animation-duration: 11.5s; animation-delay: -2s; }
.statement .sh12 { width: 210px; height: 116px; top: 43%; left: 35%; --r: 14deg; animation-duration: 10s; animation-delay: -3.5s; }
.statement .pent2 { width: 150px; height: 150px; top: 58%; left: 19%; --r: -10deg; animation-duration: 11s; animation-delay: -1.5s; }
.statement .bd5 { width: 22px; height: 22px; top: 47%; right: 41%; animation-duration: 6.5s; animation-delay: -1s; }
.statement .gl3 { width: 72px; height: 72px; top: 39%; right: 12%; font-size: 1.5rem; animation-duration: 9.5s; animation-delay: -2.5s; }
/* Mixed weaving: line passes OVER the big spheres, UNDER the smaller shapes */
.statement .sh1, .statement .sh3, .statement .sh6, .statement .sh9, .statement .sh11 { z-index: 0; }
.statement .stmt-line { position: absolute; width: 5px; border-radius: 4px; transform-origin: top center; will-change: transform; opacity: 1; animation: none;
  background: linear-gradient(180deg, #efa074 0%, #f3c8a6 45%, rgba(243,210,180,0.05) 100%); }
.statement .ln1 { top: 4%; left: 63%; height: 42vh; }
.statement .ln2 { top: 1%; left: 65.5%; height: 56vh; opacity: 0.8; }
.stmt-snakes { position: absolute; top: 0; left: 0; width: 100%; height: 185vh; z-index: 1; pointer-events: none; overflow: visible; }
.snake { fill: none; stroke: #efa074; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 8px 16px rgba(232,150,100,0.28)); }
.snake-l { stroke: #f3c8a6; opacity: 0.92; }
@media (prefers-reduced-motion: reduce) { .statement .shape { animation: none !important; } }
@media (max-width: 760px) {
  .statement { min-height: 210vh !important; }
  .statement .sh1 { width: 120px; height: 120px; } .statement .sh2 { width: 130px; height: 72px; }
  .statement .sh3 { width: 180px; height: 180px; left: 36%; }
  .statement .sh4 { width: 110px; height: 110px; }
  .statement .sh5, .statement .sh7, .statement .gl1, .statement .gl2, .statement .stmt-line, .stmt-snakes { display: none; }
}

/* ---- Companies showcase (heading + thumbnail row) ---- */
.cats { background: #f1e3d4; padding: 130px 24px 120px; }
.cats-head { text-align: center; margin-bottom: 62px; }
.cats-title { font-family: var(--font-clash); font-weight: 600; font-size: clamp(2.4rem, 6vw, 5rem); color: #ef9f6f; letter-spacing: -0.03em; margin: 0 0 22px; will-change: color, transform; }
.cats-tag { font-family: var(--font-clash); font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.5rem); color: #a99a89; max-width: 32ch; margin: 0 auto; line-height: 1.32; }
.cats-tag .hl { color: #ef9f6f; }
.cats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1320px; margin: 0 auto; }
.cat-card { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(180,130,90,0.20); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s var(--ease); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(20,12,8,0.62)); }
.cat-name { position: absolute; left: 15px; bottom: 13px; z-index: 2; color: #fff; font-family: var(--font-clash); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; }
.cat-card:hover { transform: translateY(-7px); box-shadow: 0 28px 60px rgba(180,130,90,0.3); }
.cat-card:hover img { transform: scale(1.07); }
.cats .cat-card.reveal { opacity: 0; transform: translateY(95px) scale(0.95); transition: opacity 0.8s var(--ease), transform 0.85s var(--ease); }
.cats .cat-card.reveal.in { opacity: 1; transform: none; }
@media (max-width: 860px) { .cats-row { grid-template-columns: 1fr 1fr; } .cats { padding: 90px 18px 80px; } }
@media (max-width: 480px) { .cats-row { grid-template-columns: 1fr; } }

/* ---- Work folder reveal (original — RX logo + own thumbnails) ---- */
.workfolder { position: relative; overflow: hidden; background: #f1e3d4; text-align: center; padding: 120px 20px 140px; }
.workfolder > *:not(.wf-bgtext) { position: relative; z-index: 2; }
.wf-bgtext { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; align-items: center; padding: 0 2.5%; font-family: var(--font-clash); font-weight: 700; font-size: clamp(3.5rem, 15vw, 17rem); line-height: 0.9; letter-spacing: -0.04em; color: rgba(239,159,111,0.18); white-space: nowrap; z-index: 0; pointer-events: none; transition: color 0.5s var(--ease), text-shadow 0.55s var(--ease), transform 0.6s var(--ease); }
.workfolder:has(.folder:hover) .wf-bgtext {
  color: rgba(241,166,116,0.46);
  text-shadow: 0 0 55px rgba(246,176,118,0.7), 0 30px 48px rgba(120,62,22,0.30);
  transform: translateY(-50%) scale(1.02);
}
.wf-eyebrow { font-family: var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.78rem; color: #b3a596; margin: 0 0 12px; }
.folder { position: relative; display: block; width: 320px; height: 230px; margin: 36px auto; perspective: 1200px; }
.folder-back { position: absolute; inset: 30px 0 0 0; border-radius: 16px 16px 18px 18px; background: linear-gradient(180deg, #3b5cff, #2a45db); box-shadow: 0 34px 64px rgba(40,60,200,0.32); }
.folder-papers { position: absolute; left: 24px; right: 24px; top: 6px; height: 150px; display: flex; gap: 10px; justify-content: center; z-index: 2; transition: transform 0.55s var(--ease); }
.folder-papers img { width: 84px; height: 112px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,0.22); }
.folder-papers img:nth-child(1) { transform: rotate(-8deg) translateY(6px); }
.folder-papers img:nth-child(3) { transform: rotate(8deg) translateY(6px); }
.folder-front { position: absolute; inset: 60px 0 0 0; border-radius: 16px; background: linear-gradient(180deg, #4663ff, #2c49e0); z-index: 3; transform-origin: bottom center; transition: transform 0.55s var(--ease); display: grid; place-items: center; box-shadow: inset 0 2px 0 rgba(255,255,255,0.16), 0 24px 50px rgba(40,60,200,0.32); }
.folder-tab { position: absolute; top: -15px; left: 22px; background: #4663ff; color: #dfe6ff; font-size: 0.68rem; letter-spacing: 0.04em; padding: 5px 13px; border-radius: 9px 9px 0 0; font-family: var(--font-mono); }
.folder-logo { width: 40%; opacity: 0.95; filter: brightness(1.05); }
.folder:hover .folder-front { transform: rotateX(48deg); }
.folder:hover .folder-papers { transform: translateY(-48px); }
.wf-cta { font-family: var(--font-clash); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.8rem); color: #90867d; margin: 30px 0 0; }
.wf-cta span { color: #ef9f6f; display: inline-block; transition: transform 0.3s var(--ease); }
.folder:hover ~ .wf-cta span { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .folder:hover .folder-front, .folder:hover .folder-papers { transform: none; } }

/* ---- Hide legacy dark sections on the homepage ---- */
body.home .legacy-dark,
body.home .marquee,
body.home #disciplines,
body.home #process,
body.home #results,
body.home #faq,
body.home footer:not(.warm-footer) { display: none !important; }
body.home .cats,
body.home .workfolder,
body.home .warm-contact,
body.home footer.warm-footer { display: none !important; }
body.home footer.ref-footer-stage { display: block !important; }

/* ---- Warm contact + footer ---- */
.warm-contact { position: relative; overflow: hidden; background: linear-gradient(180deg, #f1e3d4 0%, #efddcc 100%); text-align: center; padding: 150px 24px 130px; }
.wc-eyebrow { font-family: var(--font-mono); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.78rem; color: #b3a596; margin: 0 0 18px; }
.wc-title { font-family: var(--font-clash); font-weight: 600; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: -0.03em; color: #948b80; margin: 0 0 26px; }
.wc-title .hl { color: #ef9f6f; }
.wc-lead { font-family: var(--font-clash); font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.5rem); color: #a99a89; max-width: 34ch; margin: 0 auto 40px; line-height: 1.35; }
.wc-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.wc-links a { font-family: var(--font-clash); font-weight: 600; font-size: 1rem; color: #8a837a; padding: 12px 22px; border-radius: 100px; border: 1px solid rgba(140,120,100,0.28); transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.wc-links a:hover { background: #ef9f6f; color: #fff; border-color: #ef9f6f; transform: translateY(-3px); }
.warm-footer { background: #221a15; color: #e9ddd0; padding: 64px 24px 40px; }
.wf2-inner { max-width: 1200px; margin: 0 auto; }
.wf2-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-clash); font-weight: 700; font-size: 1.3rem; color: #f3e9dd; margin-bottom: 30px; }
.wf2-logo img { width: 30px; height: 26px; object-fit: contain; }
.wf2-nav { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 36px; }
.wf2-nav a { color: #c9bbac; font-size: 0.95rem; transition: color 0.25s var(--ease); }
.wf2-nav a:hover { color: #ef9f6f; }
.wf2-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); color: #9b8e7f; font-size: 0.85rem; font-family: var(--font-mono); }
@media (max-width: 600px) { .wf2-bottom { flex-direction: column; } }

/* ---- Loading curtain ---- */
.loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: linear-gradient(180deg, #f3b487, #ec9a68); transition: transform 1s cubic-bezier(0.7,0,0.2,1); }
.loader.done { transform: translateY(-100%); }
.loader-name { font-family: var(--font-clash); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); color: #fff6ed; letter-spacing: 0.01em; opacity: 0; animation: loaderIn 0.7s var(--ease) 0.15s forwards; }
.loader-name span { color: #7c3d16; margin: 0 7px; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.loading { overflow: hidden; }

/* ---- Horizontal work gallery (auto-scroll marquee) ---- */
.gallery {
  padding: 0 0 110px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, #f1e3d4 0%, #f1e3d4 100%);
}
.gallery-tag { display: none; }
.gallery-tag .hl { color: #ef9f6f; }
.gallery-track { display: flex; gap: 24px; width: max-content; animation: gallscroll 55s linear infinite; }
.gallery:hover .gallery-track { animation-play-state: paused; }
.g-card { flex: 0 0 auto; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,0.42); transition: transform 0.4s var(--ease); }
.g-card img { width: 380px; height: 240px; object-fit: cover; display: block; }
.g-card:hover { transform: translateY(-6px) scale(1.02); }
@keyframes gallscroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gallery-track { animation: none !important; } }
@media (max-width: 760px) { .g-card img { width: 280px; height: 180px; } .gallery { padding: 20px 0 80px; } }

/* ---- Screenshot-matched statement copy ---- */
.copy-statement {
  position: relative;
  min-height: 168vh;
  overflow: clip;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(246, 191, 149, 0.16), transparent 46%),
    linear-gradient(180deg, #fbf7f1 0%, #f8f2ea 54%, #f4ebdf 100%);
}
.copy-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.copy-intro {
  position: absolute;
  top: 86px;
  left: 50%;
  width: min(640px, 52vw);
  transform: translateX(-50%);
  z-index: 4;
  will-change: transform, opacity;
}
.copy-title {
  margin: 0;
  color: #958d85;
  font-family: var(--font-goga);
  font-size: clamp(60px, 6.1vw, 112px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.copy-title > span { display: block; }
.copy-click-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.82em;
  padding: 0.05em 0.33em 0.09em;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffcaa4, #f4b083);
  color: #fff8f3;
  box-shadow: 0 18px 36px rgba(240, 160, 105, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
}
.copy-click-pill:hover {
  transform: translateY(-2px) scale(0.985);
  box-shadow: 0 12px 30px rgba(240, 160, 105, 0.26);
  filter: saturate(0.95);
}
.copy-scroll-word { color: #f3b18b; }

.copy-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  isolation: isolate;
}
.copy-shape {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(0,0,0) rotate(0deg);
}
.copy-circle-left { width: 42vw; max-width: 680px; top: 27%; left: -20vw; }
.copy-pill { width: 26vw; max-width: 420px; top: 39%; left: 19%; }
.copy-circle-center { width: 34vw; max-width: 560px; top: 48%; right: 31%; }
.copy-hex { width: 38vw; max-width: 540px; top: 32%; right: -3%; }
.copy-circle-plus { width: 18vw; max-width: 280px; top: 60%; right: 9%; }
.copy-square { width: 20vw; max-width: 310px; top: 66%; left: 18%; }
.copy-blue-dot { width: 3vw; max-width: 42px; top: 54%; left: 19.5%; }
.copy-blue-pill { width: 5vw; max-width: 78px; top: 41%; right: 33.4%; }
.copy-blue-hex { width: 2vw; max-width: 26px; top: 60%; right: 29%; }

.copy-line {
  position: absolute;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f2af80 0%, rgba(242, 175, 128, 0.06) 100%);
  opacity: 0;
  transform-origin: top center;
  will-change: transform, opacity;
}
.copy-line-1 { left: 69.4%; top: 30%; height: 13vw; }
.copy-line-2 { left: 71.7%; top: 25.8%; height: 19vw; }
.copy-orbit {
  position: absolute;
  left: 39%;
  top: 46%;
  width: 33%;
  height: 26%;
  overflow: visible;
  opacity: 0;
  will-change: transform, opacity;
}
.copy-orbit path {
  stroke: rgba(255, 250, 245, 0.84);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 12px 18px rgba(235, 177, 138, 0.22));
}

.copy-services {
  background: linear-gradient(180deg, #f4ebdf 0%, #f1e3d4 100%);
  padding: 12px 0 40px;
  overflow: hidden;
}
.copy-services-head {
  width: min(92vw, 1220px);
  margin: 0 auto;
}
.copy-services-tag {
  margin: 0 0 12px;
  color: #a19589;
  font-family: var(--font-goga);
  font-size: 12px;
  font-weight: 500;
}
.copy-services-title {
  margin: 0;
  color: #968e86;
  font-family: var(--font-goga);
  font-size: clamp(52px, 6.4vw, 118px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.075em;
  max-width: 13ch;
}
.copy-services-title span { color: #f3b18b; }
.copy-services-feature {
  width: min(360px, 76vw);
  margin: 92px auto 10px;
  text-align: center;
}
.copy-services-feature h4 {
  margin: 0 0 10px;
  color: #90867f;
  font-family: var(--font-goga);
  font-size: clamp(28px, 2.7vw, 50px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.copy-services-feature p {
  margin: 0 auto;
  max-width: 30ch;
  color: #a79d92;
  font-size: 11px;
  line-height: 1.25;
}
.copy-services + .gallery {
  padding-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .copy-shape, .copy-line, .copy-intro, .copy-orbit, .copy-click-pill { transition: none !important; }
}
@media (max-width: 900px) {
  .copy-statement { min-height: 185vh; }
  .copy-intro { width: min(74vw, 520px); top: 76px; }
  .copy-title { font-size: clamp(54px, 8vw, 88px); }
  .copy-services-title { font-size: clamp(46px, 7.2vw, 90px); }
}
@media (max-width: 760px) {
  .copy-statement { min-height: 1800px; }
  .copy-intro {
    top: 84px;
    left: 155px;
    width: 352px;
    transform: none;
  }
  .copy-title {
    font-size: 60px;
    line-height: 0.9;
    letter-spacing: -0.07em;
  }
  .copy-title > span:nth-child(3) { white-space: nowrap; }
  .copy-circle-left { width: 210px; top: 285px; left: -104px; }
  .copy-pill { width: 182px; top: 468px; left: 122px; }
  .copy-circle-center { width: 212px; top: 544px; right: 187px; }
  .copy-hex { width: 212px; top: 347px; right: -34px; }
  .copy-circle-plus { width: 112px; top: 610px; right: 69px; }
  .copy-square { width: 138px; top: 672px; left: 94px; }
  .copy-blue-dot { width: 18px; top: 596px; left: 122px; }
  .copy-blue-pill { width: 35px; top: 460px; right: 244px; }
  .copy-blue-hex { width: 14px; top: 637px; right: 189px; }
  .copy-line-1 { left: 455px; top: 317px; height: 128px; }
  .copy-line-2 { left: 468px; top: 300px; height: 172px; }
  .copy-orbit { left: 243px; top: 524px; width: 238px; height: 184px; }
  .copy-services {
    padding-top: 0;
    padding-bottom: 0;
  }
  .copy-services-head {
    width: calc(100% - 52px);
  }
  .copy-services-tag {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .copy-services-title {
    max-width: none;
    font-size: 52px;
    line-height: 0.9;
  }
  .copy-services-feature {
    width: 210px;
    margin-top: 86px;
    margin-bottom: 6px;
  }
  .copy-services-feature h4 {
    font-size: 34px;
  }
  .copy-services-feature p {
    font-size: 8px;
  }
  .copy-services + .gallery {
    padding-top: 4px;
  }
}

/* ---- Reference lower sections ---- */
.ref-services,
.ref-cta-zone {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(245, 191, 153, 0.16), transparent 48%),
    linear-gradient(180deg, #f7f1e8 0%, #f4ebdf 82%, #f1e2d4 100%);
}
.ref-services {
  padding: 26px 0 64px;
}
.ref-services-head {
  width: min(92vw, 1880px);
  margin: 0 auto;
}
.ref-services-tag {
  margin: 0 0 18px;
  color: #958c83;
  font-family: var(--font-goga);
  font-size: 15px;
  font-weight: 600;
}
.ref-services-headline {
  margin: 0;
  color: #999089;
  font-family: var(--font-goga);
  font-size: clamp(68px, 8.7vw, 168px);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.08em;
}
.ref-services-list {
  width: 100%;
}
.ref-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(34px, 3.4vw, 64px);
  min-height: min(46vw, 920px);
  padding: 4vw 4vw 0;
}
.ref-service-webflow {
  min-height: min(28vw, 560px);
  justify-content: center;
}
.ref-service-copy {
  z-index: 2;
  width: min(31vw, 600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.2vw, 20px);
  text-align: center;
}
.ref-service-copy h3,
.ref-webflow-title h3 {
  margin: 0;
  color: #98908a;
  font-family: var(--font-goga);
  font-size: clamp(50px, 4.2vw, 82px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.ref-service-copy p {
  margin: 0;
  max-width: 33ch;
  color: #a79d92;
  font-family: var(--font-goga);
  font-size: clamp(14px, 0.95vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}
.ref-service-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.55vw;
}
.ref-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 30px rgba(185, 140, 110, 0.08);
}
.ref-card img,
.ref-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ref-card video {
  background: #eaddcf;
}
.ref-service-media .ref-card,
.ref-service-media .ref-card video {
  aspect-ratio: 1 / 0.77;
}
.ref-card-hide {
  display: block;
}
.ref-service-webflow .ref-service-copy {
  width: min(23vw, 430px);
  gap: 1.6vw;
}
.ref-webflow-title {
  position: relative;
  width: 100%;
  min-height: 12vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ref-webflow-title h3 {
  position: relative;
  z-index: 3;
}
.ref-webflow-frame,
.ref-framer-frame {
  position: absolute;
  max-width: none;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.ref-webflow-frame {
  width: 16vw;
  top: -0.8vw;
  left: 0.4vw;
  transform: translateY(18px);
}
.ref-framer-frame {
  width: 15vw;
  top: 4vw;
  left: 1.6vw;
  transform: translateY(28px);
}
.ref-tool-grid {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 27vw;
  pointer-events: none;
}
.ref-tool-card {
  width: 20vw;
  height: 13vw;
  padding: 1vw;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.ref-tool-card img {
  width: 100%;
  height: auto;
}
.ref-tool-card-webflow {
  background: #f6f0e6;
  border: 1px solid #087ff1;
}
.ref-tool-card-framer {
  background: #edf6ff;
  border: 1px solid #09f;
}
.ref-service.reveal .ref-card,
.ref-service.reveal .ref-service-copy {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.85s var(--ease), transform 0.9s var(--ease);
}
.ref-service.reveal.in .ref-service-copy,
.ref-service.reveal.in .ref-card,
.ref-service.reveal.in .ref-tool-card {
  opacity: 1;
  transform: none;
}
.ref-service.reveal.in .ref-webflow-frame,
.ref-service.reveal.in .ref-framer-frame {
  opacity: 1;
  transform: none;
}
.ref-service.reveal .ref-card:nth-child(2) { transition-delay: 0.06s; }
.ref-service.reveal .ref-card:nth-child(3) { transition-delay: 0.12s; }
.ref-service.reveal .ref-card:nth-child(4) { transition-delay: 0.18s; }
.ref-service.reveal .ref-card:nth-child(5) { transition-delay: 0.24s; }

.ref-benefits {
  position: relative;
  height: 250vh;
  overflow: clip;
  background: #2d211c;
}
.ref-benefits-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.ref-benefits-bg,
.ref-benefits-figure,
.ref-benefits-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ref-benefits-bg {
  object-fit: cover;
  opacity: 0;
  will-change: transform, opacity;
}
.ref-benefits-dark {
  opacity: 1;
}
.ref-benefits-light {
  z-index: 3;
}
.ref-benefits-figure {
  z-index: 2;
  object-fit: cover;
  will-change: transform, opacity;
}
.ref-benefits-vignette {
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(19, 12, 10, 0.40) 0%, rgba(19, 12, 10, 0.08) 24%, rgba(19, 12, 10, 0.30) 100%),
    radial-gradient(72% 78% at 50% 50%, transparent 40%, rgba(242, 168, 117, 0.17) 100%);
  box-shadow:
    inset 0 0 130px rgba(241, 159, 109, 0.26),
    inset 0 -100px 160px rgba(17, 11, 9, 0.32);
}
.ref-benefits-step1,
.ref-benefits-step2 {
  position: absolute;
  inset: 0;
  z-index: 5;
}
.ref-benefits-step1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 14vw;
  color: #ffb58d;
  will-change: transform, opacity;
}
.ref-benefits-line {
  width: 100%;
  display: flex;
}
.ref-benefits-line-left {
  justify-content: flex-start;
  padding-left: 2vw;
}
.ref-benefits-line-right {
  justify-content: flex-end;
  margin-top: -2vw;
  padding-right: 2vw;
}
.ref-benefits-step1 h2 {
  margin: 0;
  color: #ffba94;
  font-family: var(--font-goga);
  font-size: clamp(92px, 14vw, 268px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
}
.ref-benefits-divider {
  display: block;
  width: min(92vw, 1840px);
  height: 1px;
  margin-top: 1.8vw;
  background: rgba(255, 188, 144, 0.42);
  transform-origin: left center;
  will-change: transform, opacity;
}
.ref-benefits-step1 p {
  margin: 3vw 0 0;
  color: #ffba94;
  font-family: var(--font-goga);
  font-size: clamp(24px, 2.55vw, 46px);
  font-weight: 600;
  line-height: 1;
}
.ref-benefits-step2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14vw 4vw 0;
  color: #ffb58d;
  opacity: 0;
  will-change: transform, opacity;
}
.ref-benefits-head {
  width: min(60%, 980px);
  margin-bottom: 3vw;
}
.ref-benefits-head p,
.ref-benefits-list li,
.ref-benefits-kicker {
  font-family: var(--font-goga);
  font-weight: 600;
}
.ref-benefits-head p {
  margin: 0 0 0.5vw;
  color: #ffb58d;
  font-size: clamp(18px, 2vw, 36px);
}
.ref-benefits-head h3 {
  margin: 0;
  color: #ffb58d;
  font-family: var(--font-goga);
  font-size: clamp(66px, 7vw, 128px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.ref-benefits-divider-step2 {
  width: 0;
  margin-top: 0;
  background: rgba(255, 188, 144, 0.52);
}
.ref-benefits-list {
  width: min(41%, 760px);
  margin: 1.1vw 0 0;
  padding: 0;
  list-style: none;
}
.ref-benefits-list li {
  position: relative;
  margin: 0;
  padding: 2vw 0 2vw 3.2rem;
  border-bottom: 1px solid rgba(255, 188, 144, 0.18);
  color: #ffb58d;
  font-size: clamp(17px, 1.52vw, 29px);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity;
}
.ref-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2vw;
  color: #ffb58d;
  font-size: 1.4rem;
}
.ref-benefits-btn {
  margin-top: 5vw;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #ffb58d;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.ref-benefits-btn span {
  padding: 1rem 1.55rem;
  border-radius: 999px;
  background: rgba(37, 37, 37, 0.34);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-family: var(--font-goga);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}
.ref-benefits-btn i {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffb58d;
  color: #342825;
  font-style: normal;
  font-size: 1rem;
}

.ref-cta-zone {
  padding: 5vw 0;
}
.ref-cta-panel {
  width: min(92vw, 1880px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(152, 144, 138, 0.7);
  border-radius: 5vw;
  background: #ffb58d;
}
.ref-cta-copy {
  padding: 8vw 5vw 9vw;
}
.ref-cta-copy h2 {
  margin: 0 0 1.15vw;
  max-width: 10ch;
  color: #97908a;
  font-family: var(--font-goga);
  font-size: clamp(64px, 7.3vw, 140px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.ref-cta-copy p {
  margin: 0;
  color: #8d877f;
  font-family: var(--font-goga);
  font-size: clamp(18px, 2vw, 36px);
  font-weight: 600;
}
.ref-cta-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5vw;
  min-height: 14vw;
  padding: 0 5vw;
  border-top: 1px solid rgba(152, 144, 138, 0.7);
  color: #97908a;
  overflow: hidden;
}
.ref-cta-arrow {
  flex: 0 0 auto;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1;
}
.ref-cta-main,
.ref-cta-mail {
  font-family: var(--font-goga);
  font-size: clamp(58px, 6.5vw, 126px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}
.ref-cta-main {
  margin-left: auto;
}
.ref-cta-mail {
  position: absolute;
  right: 5vw;
  opacity: 0;
  transform: translateY(110%);
}
.ref-cta-link:hover .ref-cta-main {
  opacity: 0;
  transform: translateY(-110%);
}
.ref-cta-link:hover .ref-cta-mail {
  opacity: 1;
  transform: translateY(0);
}

.ref-footer-stage {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background: #1d1411;
}
.ref-footer-video,
.ref-footer-video video,
.ref-footer-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ref-footer-video video {
  object-fit: cover;
}
.ref-footer-overlay {
  background:
    linear-gradient(180deg, rgba(17, 11, 9, 0.40) 0%, rgba(17, 11, 9, 0.08) 24%, rgba(17, 11, 9, 0.48) 100%),
    radial-gradient(100% 80% at 50% 100%, rgba(255, 173, 118, 0.14), transparent 56%);
  box-shadow:
    inset 0 0 130px rgba(241, 159, 109, 0.24),
    inset 0 -100px 150px rgba(17, 11, 9, 0.36);
}
.ref-footer-inner {
  position: relative;
  z-index: 2;
  width: min(92vw, 1880px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 4vw 0 3vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ref-footer-top,
.ref-footer-bottom,
.ref-footer-names {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ref-footer-top {
  align-items: flex-start;
  margin-bottom: 4vw;
}
.ref-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  width: 30%;
}
.ref-footer-col-right {
  align-items: flex-end;
}
.ref-footer-kicker {
  margin: 0;
  color: rgba(255, 186, 148, 0.58);
  font-family: var(--font-goga);
  font-size: 0.82rem;
  font-weight: 400;
}
.ref-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ref-footer-col li,
.ref-footer-col a {
  color: #ffb58d;
  font-family: var(--font-goga);
  font-size: clamp(1rem, 1.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
}
.ref-footer-col-right li,
.ref-footer-col-right a {
  text-align: right;
}
.ref-footer-names {
  margin-bottom: 0.8vw;
  align-items: flex-end;
}
.ref-footer-names h2 {
  margin: 0;
  width: 40vw;
  color: #ffb58d;
  font-family: var(--font-goga);
  font-size: clamp(120px, 17vw, 340px);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: -0.07em;
}
.ref-footer-names h2.right {
  text-align: right;
}
.ref-footer-names img {
  width: clamp(52px, 8vw, 140px);
  margin-bottom: 2vw;
}
.ref-footer-bottom p {
  margin: 0;
  color: #ffb58d;
  font-family: var(--font-goga);
  font-size: clamp(1rem, 1.22vw, 1.5rem);
  font-weight: 600;
}
.ref-footer-bottom span {
  color: rgba(255, 186, 148, 0.56);
}

@media (max-width: 980px) {
  .ref-service {
    min-height: auto;
    padding-top: 10vw;
    gap: 5vw;
  }
  .ref-service-copy,
  .ref-service-webflow .ref-service-copy,
  .ref-benefits-head,
  .ref-benefits-list {
    width: min(76vw, 780px);
  }
  .ref-webflow-title {
    min-height: 28vw;
  }
  .ref-webflow-frame { width: 30vw; }
  .ref-framer-frame { width: 28vw; top: 8vw; }
  .ref-tool-grid {
    position: static;
    gap: 3vw;
    margin-top: 4vw;
  }
  .ref-tool-card {
    width: 34vw;
    height: 22vw;
  }
  .ref-benefits {
    height: 260vh;
  }
}

@media (max-width: 760px) {
  .ref-services {
    padding: 0 0 36px;
  }
  .ref-services-head {
    width: calc(100% - 52px);
  }
  .ref-services-tag {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .ref-services-headline {
    font-size: 64px;
    line-height: 0.9;
    max-width: 11ch;
  }
  .ref-service {
    padding: 72px 16px 0;
    gap: 24px;
  }
  .ref-service-copy,
  .ref-service-webflow .ref-service-copy {
    width: 100%;
    max-width: 330px;
  }
  .ref-service-copy h3,
  .ref-webflow-title h3 {
    font-size: 32px;
    line-height: 0.92;
  }
  .ref-service-copy p {
    font-size: 8px;
    max-width: 31ch;
  }
  .ref-service-media {
    gap: 8px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px 8px;
    scroll-snap-type: x proximity;
  }
  .ref-card {
    min-width: 220px;
    scroll-snap-align: start;
  }
  .ref-card-hide {
    display: none;
  }
  .ref-webflow-title {
    min-height: 180px;
  }
  .ref-webflow-frame {
    width: 180px;
    top: 0;
    left: 28px;
  }
  .ref-framer-frame {
    width: 168px;
    top: 48px;
    left: 56px;
  }
  .ref-tool-grid {
    position: static;
    gap: 10px;
    margin-top: 18px;
  }
  .ref-tool-card {
    width: 156px;
    height: 104px;
    padding: 8px;
  }
  .ref-benefits {
    height: 290vh;
  }
  .ref-benefits-step1 {
    padding-top: 56vw;
  }
  .ref-benefits-step1 h2 {
    font-size: 92px;
  }
  .ref-benefits-line-left {
    padding-left: 0;
    justify-content: center;
  }
  .ref-benefits-line-right {
    padding-right: 0;
    justify-content: center;
    margin-top: -8px;
  }
  .ref-benefits-divider {
    width: calc(100% - 28px);
    margin-top: 20px;
  }
  .ref-benefits-step1 p {
    margin-top: 24px;
    font-size: 24px;
    text-align: center;
    max-width: 10ch;
  }
  .ref-benefits-step2 {
    padding: 150px 18px 0;
  }
  .ref-benefits-head,
  .ref-benefits-list {
    width: 100%;
  }
  .ref-benefits-head p {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .ref-benefits-head h3 {
    font-size: 56px;
  }
  .ref-benefits-list li {
    padding: 24px 0 24px 30px;
    font-size: 22px;
  }
  .ref-benefits-list li::before {
    top: 24px;
    font-size: 1rem;
  }
  .ref-benefits-btn {
    margin-top: 28px;
  }
  .ref-benefits-btn span {
    font-size: 0.84rem;
    padding: 0.95rem 1.15rem;
  }
  .ref-benefits-btn i {
    width: 2.8rem;
    height: 2.8rem;
  }
  .ref-cta-zone {
    padding: 20px 0 0;
  }
  .ref-cta-panel {
    width: calc(100% - 24px);
    border-radius: 28px;
  }
  .ref-cta-copy {
    padding: 44px 26px 58px;
  }
  .ref-cta-copy h2 {
    font-size: 58px;
    max-width: 8ch;
    margin-bottom: 10px;
  }
  .ref-cta-copy p {
    font-size: 18px;
  }
  .ref-cta-link {
    min-height: 100px;
    padding: 0 24px;
  }
  .ref-cta-arrow {
    font-size: 34px;
  }
  .ref-cta-main,
  .ref-cta-mail {
    font-size: 50px;
  }
  .ref-footer-inner {
    width: calc(100% - 28px);
    padding: 24px 0 28px;
  }
  .ref-footer-top {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .ref-footer-col,
  .ref-footer-col-right {
    width: 100%;
    gap: 14px;
    align-items: flex-start;
  }
  .ref-footer-col-right li,
  .ref-footer-col-right a {
    text-align: left;
  }
  .ref-footer-names {
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  .ref-footer-names h2 {
    width: auto;
    font-size: 84px;
    line-height: 0.84;
  }
  .ref-footer-names img {
    width: 34px;
    margin-bottom: 4px;
  }
  .ref-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---- Warm photo hero (portfolio style) ---- */
.hero-warm { position: relative; min-height: 100vh; overflow: hidden; --peach: #f5cfac; --peach-bright: #f0a874; }
.hw-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hw-tint { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(243,201,168,0.34) 0%, rgba(40,24,18,0.10) 30%, rgba(22,14,11,0.42) 70%, rgba(16,10,8,0.82) 100%),
  radial-gradient(120% 70% at 50% 8%, rgba(245,205,172,0.30), transparent 55%); }
/* Soft warm light glows in the corners */
.hw-glow { position: absolute; inset: 0; pointer-events: none; z-index: 2; mix-blend-mode: screen; background:
  radial-gradient(38% 30% at 0% 0%, rgba(255,228,198,0.55), transparent 72%),
  radial-gradient(38% 30% at 100% 0%, rgba(255,224,192,0.50), transparent 72%),
  radial-gradient(46% 36% at 100% 100%, rgba(255,214,180,0.42), transparent 74%),
  radial-gradient(46% 36% at 0% 100%, rgba(255,214,180,0.34), transparent 74%); }

.hw-top { position: fixed; top: 0; left: 0; right: 0; z-index: 90; display: flex; justify-content: space-between; align-items: center; padding: 26px 40px; gap: 20px; }
.hw-word { color: var(--peach); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.01em; }
.hw-word span { color: var(--peach-bright); margin: 0 5px; }

/* Center glassy pill nav */
.hw-nav { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 100px; background: rgba(245,205,172,0.16); backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%); border: 1px solid rgba(255,255,255,0.18); }
.hw-nav-btn { position: relative; z-index: 1; padding: 11px 24px; border-radius: 100px; color: var(--peach); font-weight: 600; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.hw-nav-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 100px; background: rgba(52,40,34,0.62); transform: scale(0.82); opacity: 0; transition: transform 0.38s var(--ease), opacity 0.38s var(--ease); }
.hw-nav-btn:hover { color: #fff; }
.hw-nav-btn:hover::before { transform: scale(1); opacity: 1; }
.hw-nav-logo { width: 50px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,0.22); }
.hw-nav-logo img { width: 70%; height: 70%; object-fit: contain; display: block; }

/* Right glassy social pill */
.hw-social-pill { display: inline-flex; align-items: center; gap: 1px; padding: 4px; border-radius: 100px; background: rgba(245,205,172,0.16); backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%); border: 1px solid rgba(255,255,255,0.16); }
.hw-social-pill a { position: relative; z-index: 1; padding: 7px 13px; border-radius: 100px; color: var(--peach); font-weight: 500; font-size: 0.82rem; transition: color 0.3s var(--ease); }
.hw-social-pill a::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 100px; background: rgba(52,40,34,0.62); transform: scale(0.82); opacity: 0; transition: transform 0.38s var(--ease), opacity 0.38s var(--ease); }
.hw-social-pill a:hover { color: #fff; }
.hw-social-pill a:hover::before { transform: scale(1); opacity: 1; }

.hw-label { position: absolute; top: 110px; left: 44px; z-index: 5; color: var(--peach); font-family: var(--font-clash); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.16; }
.hw-role { font-family: var(--font-clash); }

.hw-bigname { position: absolute; left: 0; right: 0; bottom: 8vh; z-index: 5; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 26px); padding: 0 24px; }
.hw-bigname .hw-n { font-family: var(--font-clash); font-weight: 600; font-size: clamp(3.2rem, 14.5vw, 13.5rem); line-height: 0.86; letter-spacing: -0.02em; color: var(--peach); }
.hw-card { position: relative; display: block; flex: 0 0 auto; width: clamp(110px, 15vw, 240px); aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; box-shadow: 0 26px 70px rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.16); }
.hw-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.85s var(--ease), transform 1.6s var(--ease); }
.hw-card img.active { opacity: 1; transform: scale(1); }
.hw-role { position: absolute; right: 44px; bottom: 3.5vh; z-index: 5; color: var(--peach); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.45rem); }

/* Warm hero — entrance animations */
@keyframes hwRise { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes hwFade { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes hwZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes hwPop  { from { opacity: 0; transform: scale(0.78) translateY(26px); } to { opacity: 1; transform: none; } }
.hw-photo { animation: hwZoom 2.6s var(--ease) both; }
.hw-top { animation: hwFade 0.9s var(--ease) 0.1s both; }
.hw-label { animation: hwRise 0.9s var(--ease) 0.25s both; }
.hw-bigname .hw-n:nth-child(1) { animation: hwRise 1s var(--ease) 0.40s both; }
.hw-card { animation: hwPop 0.9s var(--ease) 0.58s both; }
.hw-bigname .hw-n:nth-child(3) { animation: hwRise 1s var(--ease) 0.50s both; }
.hw-role { animation: hwRise 0.9s var(--ease) 0.7s both; }
@media (prefers-reduced-motion: reduce) {
  .hw-photo, .hw-top, .hw-label, .hw-bigname .hw-n, .hw-card, .hw-role { animation: none !important; }
}

/* Homepage: hide floating nav over the warm hero, reveal it on scroll */
.home .nav.nav-pill { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.home .nav.nav-pill.scrolled { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

@media (max-width: 860px) {
  .hw-nav { display: none; }
}
@media (max-width: 760px) {
  .hw-top { padding: 18px 20px; }
  .hw-social-pill a { padding: 8px 11px; font-size: 0.85rem; }
  .hw-label { top: 78px; left: 22px; }
  .hw-bigname { bottom: 12vh; gap: 8px; }
  .hw-role { right: 22px; bottom: 5vh; }
}

/* Hero (editorial) */
.hero-ed { min-height: 100vh; display: flex; align-items: flex-end; padding: 140px 0 80px; position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; filter: contrast(1.05) brightness(0.96); }
.hero-media-grad { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(8,8,10,0.97) 0%, rgba(8,8,10,0.82) 32%, rgba(8,8,10,0.36) 64%, rgba(8,8,10,0.08) 100%),
  linear-gradient(0deg, rgba(8,8,10,0.94) 0%, rgba(8,8,10,0.22) 40%, transparent 62%); }
.hero-ed .hero-inner { position: relative; z-index: 2; width: 100%; }
@media (max-width: 760px) {
  .hero-media video { object-position: center; }
  .hero-media-grad { background: linear-gradient(0deg, rgba(8,8,10,0.95), rgba(8,8,10,0.6) 55%, rgba(8,8,10,0.4)); }
}
.hero-ed h1 { font-family: var(--font-sans); font-weight: 700; font-size: clamp(2.8rem, 8vw, 6.6rem); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 32px; }
.hero-ed h1 em { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--gold-soft); position: relative; letter-spacing: -0.01em; padding-bottom: 0.04em; }
.hero-ed h1 em::after {
  content: ''; position: absolute; left: -0.02em; right: -0.02em; bottom: 0.02em; height: 3px;
  background: var(--gold); border-radius: 3px; opacity: 0.85;
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.hero-ed h1 em.u { } /* accent words with underline */
.reveal.in .hero-ed h1 em::after, .hero-ed h1 em::after { transform: scaleX(1); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 42px; }
.hero-cta .sq { width: 9px; height: 9px; background: var(--gold); display: inline-block; border-radius: 2px; box-shadow: 0 0 10px rgba(169,220,60,0.6); }
.hero-ed .hero-ed-foot { display: flex; justify-content: flex-start; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }
.trust-row { display: flex; gap: 48px; flex-wrap: wrap; }
.trust-row .t { display: flex; flex-direction: column; gap: 4px; }
.trust-row .t .n { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text); }
.trust-row .t .l { font-size: 0.8rem; color: var(--text-mute); letter-spacing: 0.04em; }

/* Selected work — editorial index list */
.work-index { border-top: 1px solid var(--border); }
.work-row { position: relative; display: grid; grid-template-columns: 56px 1fr auto 28px; align-items: center; gap: 26px; padding: 30px 14px; border-bottom: 1px solid var(--border); transition: padding 0.4s var(--ease), background 0.4s var(--ease); }
.work-row:hover { padding-left: 30px; background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent 60%); }
.work-row .w-num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-mute); }
.work-row:hover .w-num { color: var(--gold-soft); }
.work-row .w-name { font-family: var(--font-display); font-size: clamp(1.4rem, 3.2vw, 2.4rem); font-weight: 500; transition: color 0.3s var(--ease); }
.work-row:hover .w-name { color: var(--gold-soft); }
.work-row .w-cat { font-size: 0.85rem; color: var(--text-mute); letter-spacing: 0.04em; text-align: right; }
.work-row .w-arrow { color: var(--text-mute); transition: transform 0.35s var(--ease), color 0.3s; }
.work-row .w-arrow .ico { width: 22px; height: 22px; }
.work-row:hover .w-arrow { transform: translate(4px, -4px); color: var(--gold-soft); }

/* Cursor-following preview */
.work-preview { position: fixed; top: 50%; left: 50%; width: min(430px, 42vw); aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.92); transition: opacity 0.4s var(--ease), transform 0.55s var(--ease); z-index: 70; border: 1px solid var(--border-strong); box-shadow: 0 40px 110px rgba(0,0,0,0.72); }
.work-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-preview .pimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.work-preview .pveil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(5,5,6,0.4)); }
@media (max-width: 900px) { .work-preview { display: none; } }

/* Disciplines */
.disciplines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.discipline { position: relative; padding: 40px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface)); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); overflow: hidden; }
.discipline:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.discipline .d-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold-soft); margin-bottom: 26px; display: block; }
.discipline h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 14px; }
.discipline p { color: var(--text-dim); margin-bottom: 24px; font-size: 0.98rem; }
.d-list { display: flex; flex-wrap: wrap; gap: 10px; }
.d-list span { font-size: 0.8rem; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-dim); }

/* Process timeline */
.process-step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; border-top: 1px solid var(--border); }
.process-step:nth-child(even) .ps-media { order: 2; }
.ps-media { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); position: relative; }
.ps-media .pm { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s var(--ease); }
.process-step:hover .ps-media .pm { transform: scale(1.06); }
.ps-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(5,5,6,0.35)); }
.ps-body .ps-step { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold-soft); margin-bottom: 16px; }
.ps-body h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.ps-body p { color: var(--text-dim); margin-bottom: 22px; max-width: 460px; }
.ps-list { display: flex; flex-direction: column; gap: 10px; }
.ps-list li { list-style: none; display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 0.95rem; }
.ps-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Results metrics */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.result { border-top: 1px solid var(--border-strong); padding-top: 24px; }
.r-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin-bottom: 10px; }
.r-label { color: var(--text-mute); font-size: 0.92rem; letter-spacing: 0.02em; }
@media (max-width: 760px) { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .results-grid { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 22px; padding: 28px 6px; font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); transition: color 0.25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-soft); }
.faq-item summary .q-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-mute); min-width: 36px; }
.faq-item summary .q-plus { margin-left: auto; color: var(--gold-soft); font-size: 1.4rem; transition: transform 0.3s var(--ease); }
.faq-item[open] summary .q-plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 6px 30px 64px; color: var(--text-dim); max-width: 760px; font-size: 1rem; }

/* Big CTA / contact editorial */
.contact-ed { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; }
.contact-lines a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); font-size: 1.05rem; transition: padding 0.3s var(--ease), color 0.3s; }
.contact-lines a:last-child { border-bottom: 1px solid var(--border); }
.contact-lines a:hover { padding-left: 10px; color: var(--gold-soft); }
.contact-lines a .c-k { color: var(--text-mute); font-size: 0.85rem; font-family: var(--font-mono); letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .disciplines { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 1fr; gap: 28px; }
  .process-step:nth-child(even) .ps-media { order: 0; }
  .contact-ed { grid-template-columns: 1fr; gap: 36px; }
  .work-row { grid-template-columns: 40px 1fr 26px; }
  .work-row .w-cat { display: none; }
  .hero-ed .hero-ed-foot { flex-direction: column; align-items: flex-start; }
}
