/* Chapter One House — styles.css — v2026-07-12-c (Ivory / Vanilla Silk / Tuft Bush / Terracotta / Bordeaux Noir palette) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: light only;
  /* Chapter One House — palette matched to reference file (chapteronehouse_corrected) */
  --bg-primary: #FAF7F3;
  --bg-secondary: #F3EEE8;
  --deep: #1A1207;
  --deep-2: #1A1207;
  --deep-3: #2D2418;
  --ink: #1A1207;
  --ink-soft: #4A3F32;
  --gold: #C9A84C;
  --gold-light: #E8D4A0;
  --gold-deep: #A9832E;
  --gold-glow: rgba(201,168,76,0.18);
  --rose: #C47B5E;
  --cream-glass: rgba(250,247,243,0.7);
  --rule: rgba(26,18,7,0.12);
  --card-hover: #EDEAE3;
  --burgundy: #2C0F0A;         /* Dark Burgundy — primary CTAs (unchanged) */
  --burgundy-hover: #4A1510;   /* Button Hover — CTA hover state (unchanged) */

  /* premium motion + depth tokens */
  --ease-premium: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-xs: 0 2px 8px rgba(26,18,7,0.05);
  --shadow-sm: 0 8px 24px rgba(26,18,7,0.07);
  --shadow-md: 0 16px 48px rgba(26,18,7,0.10);
  --shadow-lg: 0 28px 80px rgba(26,18,7,0.16);
  --shadow-gold: 0 14px 40px rgba(201,168,76,0.28);
  --shadow-burgundy: 0 14px 40px rgba(44,15,10,0.35);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* subtle film-grain for a tactile, premium print-like finish
   — desktop/larger screens only: this is a fixed, full-viewport, live SVG
   feTurbulence filter combined with mix-blend-mode. It's one of the more
   GPU-expensive things CSS can do, and low-power mobile GPUs (budget
   Android devices in particular) can fail to composite it cleanly —
   showing up as patchy noise blocks or the blended layer rendering as
   flat white. Not worth the risk for a purely decorative touch. */
@media (min-width: 901px) {
  body::before {
    content: '';
    position: fixed; inset: 0;
    z-index: 2000; pointer-events: none;
    opacity: 0.025; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

::selection { background: var(--gold); color: #16110A; }

/* Desktop-only decorative scrollbar. Deliberately unstyled on touch/mobile
   viewports below — some mobile browsers (Samsung Internet included) render
   ::-webkit-scrollbar-thumb as a persistent, non-fading colored bar overlaying
   the page, which read as a stray vertical line down the right edge. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg-primary); }
  ::-webkit-scrollbar-thumb {
    background: var(--ink-soft);
    opacity: 0.4;
    border-radius: 10px; border: 2px solid var(--bg-primary);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--ink); }
}
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  ::-webkit-scrollbar { display: none; width: 0; height: 0; }
}


/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px;
  background: rgba(250,247,243,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, padding 0.4s, background 0.4s;
}
nav.scrolled {
  border-color: var(--rule);
  padding: 14px 60px;
  background: rgba(250,247,243,0.96);
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--deep); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-active { color: var(--gold-deep); }
.nav-links a.nav-active::after { transform: scaleX(1); background: var(--gold-deep); }
.nav-cta {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bg-primary);
  background: var(--burgundy); border: none; cursor: pointer;
  padding: 11px 26px; text-decoration: none;
  transition: background 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.nav-cta:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--burgundy-hover);
  opacity: 0; transition: opacity 0.35s;
}
.nav-cta:hover::before { opacity: 1; }
.nav-cta span { position: relative; z-index: 1; }

/* nav-menu groups the links + CTA on desktop; becomes the mobile drawer below 900px */
.nav-menu { display: flex; align-items: center; gap: 40px; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0; z-index: 110; position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-scrim {
  display: none;
  position: fixed; inset: 0; z-index: 90;
  background: rgba(26,18,7,0.35);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
body.nav-open .nav-scrim { display: block; opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* ── LOGO ── */
.nav-logo-mark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-mark img {
  height: 44px; width: auto; display: block;
  transition: transform 0.5s var(--ease-premium);
}
.nav-logo-mark:hover img { transform: rotate(-6deg) scale(1.06); }
.nav-logo-mark .nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; letter-spacing: 0.06em;
  color: var(--deep);
}
.nav-logo-mark .nav-logo-text span { color: var(--gold); font-style: italic; }

/* ── HERO (Agency House style) ── */
#hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 1.5em;
  background-color: #FAF7F3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 100vh;
  width: 100%;
  position: relative;
  background-color: #FAF7F3;
}

.brand-content {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 6vw;
  padding-right: 4vw;
  z-index: 5;
}

.hero-logo-wrap {
  margin-bottom: -10px;
  min-height: 90px; /* give it more breathing room */
  display: flex;
  align-items: center;
}
.hero-logo {
  width: 420px;        /* bump up from 320px */
  max-width: 85%;      /* loosen the cap so it's not fighting the width */
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(26,18,7,0.15)); /* subtle lift off the light bg helps readability */
}


.we-build {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 300;
  color: var(--deep);
  margin-bottom: 6px;
}

.word-cycle {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--gold);
  height: 1.3em;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.word-cycle span {
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  white-space: nowrap;
}
.word-cycle span.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-sub {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: rgba(74,63,50,0.85);
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--deep); font-weight: 600; }

.hero-actions {
  display: flex; gap: 16px; margin-bottom: 40px;
}
.btn-primary {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--burgundy); color: #FAF7F3;
  padding: 15px 36px; text-decoration: none;
  position: relative; overflow: hidden;
  transition: box-shadow 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  box-shadow: var(--shadow-xs);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--burgundy-hover);
  opacity: 0; transition: opacity 0.35s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: var(--shadow-burgundy); transform: translateY(-2px); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent; color: var(--deep);
  border: 1px solid rgba(26,18,7,0.6);
  padding: 15px 36px; text-decoration: none;
  position: relative; overflow: hidden;
  transition: border-color 0.35s var(--ease-premium), color 0.35s var(--ease-premium), background 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
}
.btn-outline:hover {
  background: var(--deep); color: #FAF7F3;
  border-color: var(--deep);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(26,18,7,0.4);
  background: rgba(255,255,255,0.55);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.hero-trust span {
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(74,63,50,0.9);
}
.hero-trust .trust-divider {
  width: 1px; height: 12px; background: rgba(26,18,7,0.6);
}

/* ── RIGHT 3D VIEWPORT ── */
.carousel-viewport {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.stage-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(201,168,76,0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.orbit-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  transform: rotateX(var(--py, 0deg)) rotateY(var(--px, 0deg));
  transition: transform 0.6s var(--ease-premium);
}
._3d-object {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  width: 0px;
  height: 0px;
  will-change: transform;
  -webkit-animation: loopWebsiteCarousel 28s linear infinite;
  animation: loopWebsiteCarousel 28s linear infinite;
}
@-webkit-keyframes loopWebsiteCarousel {
  from { -webkit-transform: rotateX(5deg) rotateY(360deg); }
  to { -webkit-transform: rotateX(5deg) rotateY(0deg); }
}
@keyframes loopWebsiteCarousel {
  from { transform: rotateX(5deg) rotateY(360deg); }
  to { transform: rotateX(5deg) rotateY(0deg); }
}
._3d-face {
  transform-origin: 100% 50%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border: none;
  border-radius: 0;
  width: min(400px, 40vw);
  height: min(400px, 40vw);
  position: absolute;
  right: 0;
  overflow: hidden;
  background-color: #1A1207;
  will-change: transform;
}
._3d-face._01 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate(-4rem);
    transform: translate(-4rem);
}

._3d-face._02 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(-4rem,0,-4rem) rotateY(-40deg);
    transform: translate3d(-4rem,0,-4rem) rotateY(-40deg);
}

._3d-face._03 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(-1.4rem,0,-5.6rem) rotateY(-80deg);
    transform: translate3d(-1.4rem,0,-5.6rem) rotateY(-80deg);
}

._3d-face._04 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(4rem,0,-4rem) rotateY(-120deg);
    transform: translate3d(4rem,0,-4rem) rotateY(-120deg);
}

._3d-face._05 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate(4rem) rotateY(-160deg);
    transform: translate(4rem) rotateY(-160deg);
}

._3d-face._06 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(4rem,0,4rem) rotateY(-200deg);
    transform: translate3d(4rem,0,4rem) rotateY(-200deg);
}

._3d-face._07 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(1.4rem,0,5.6rem) rotateY(-240deg);
    transform: translate3d(1.4rem,0,5.6rem) rotateY(-240deg);
}

._3d-face._08 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(4rem) rotateY(-280deg);
    transform: translateZ(4rem) rotateY(-280deg);
}

._3d-face._09 {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(-4rem,0,4rem) rotateY(-320deg);
    transform: translate3d(-4rem,0,4rem) rotateY(-320deg);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .carousel-viewport { grid-column: 1; min-height: 50vh; }
  .brand-content { grid-column: 1; padding-top: 120px; align-items: center; text-align: center; }
  .hero-sub { max-width: 100%; }
  .word-cycle { justify-content: center; }
}

/* ── SECTION COMMONS ── */
section { padding: 130px 60px; }
.section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 300; line-height: 1.02; letter-spacing: -0.01em;
  color: var(--deep); margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold-deep); }
.section-rule {
  width: 44px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 52px;
}

/* ── COMPANIES ── */
#companies {
  background: var(--bg-secondary);
  position: relative; overflow: hidden;
  padding-bottom: 90px;
}
#companies::before {
  content: 'C1';
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(160px, 30vw, 320px); font-weight: 300;
  color: rgba(26,18,7,0.03);
  pointer-events: none; line-height: 1;
  letter-spacing: -0.05em;
}
.companies-intro { max-width: 580px; margin-bottom: 72px; }
.companies-intro p {
  font-size: 16px; font-weight: 300; color: var(--ink-soft); line-height: 1.85;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.company-card {
  cursor: pointer;
  -webkit-perspective: 1400px;
  perspective: 1400px;
  min-height: 300px;
  position: relative;
}
.company-card .card-flip {
  position: relative;
  width: 100%; height: 100%; min-height: 300px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.7s var(--ease-premium);
  transition: transform 0.7s var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .company-card:hover .card-flip { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
}
.company-card.flipped .card-flip { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
.company-card:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.card-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 42px 38px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.card-front {
  background: var(--bg-primary);
  border: 1px solid transparent;
  transition: background 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium), transform 0.5s var(--ease-premium);
}
.company-card:hover .card-front { transform: translateY(-4px); }
.card-front .card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201,168,76,0.12) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.company-card:hover .card-front .card-glow { opacity: 1; }
.card-front::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--rose));
  transition: width 0.5s cubic-bezier(0.25,1,0.5,1);
}
.company-card:hover .card-front { background: #EDEAE3; border-color: var(--rule); box-shadow: var(--shadow-md); }
.company-card:hover .card-front::after { width: 100%; }

.card-back {
  background: var(--deep-2);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  border: 1px solid rgba(201,168,76,0.25);
}
.card-back-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: var(--bg-primary);
  margin-bottom: 18px; line-height: 1.15;
}
.card-back-list { list-style: none; }
.card-back-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px; font-weight: 300; line-height: 1.7;
  color: rgba(250,247,243,0.72);
}
.card-back-list li::before {
  content: '—';
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}

.card-abbr {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; display: block;
}
.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; color: var(--deep);
  margin-bottom: 10px; line-height: 1.1;
}
.card-tagline {
  font-size: 13px; font-weight: 300;
  color: var(--ink-soft); letter-spacing: 0.01em; line-height: 1.5;
}
.card-icon {
  position: absolute; top: 38px; right: 38px;
  width: 38px; height: 38px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.company-card:hover .card-icon {
  background: var(--gold); border-color: var(--gold); transform: rotate(15deg) scale(1.1);
}

/* ── IMPACT ── */
#impact {
  background: var(--deep-2);
  color: var(--bg-primary);
  position: relative; overflow: hidden;
}
#impact::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196,123,94,0.05) 0%, transparent 50%);
  pointer-events: none;
}
#impact .section-title { color: var(--bg-primary); }
#impact .section-rule { background: linear-gradient(to right, var(--gold), transparent); }
#impact .section-label { color: var(--gold); }
#impact .section-label::before { background: var(--gold); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 64px;
  border-top: 1px solid rgba(250,247,243,0.08);
  border-left: 1px solid rgba(250,247,243,0.08);
}
.impact-stat {
  padding: 52px 40px;
  border-right: 1px solid rgba(250,247,243,0.08);
  border-bottom: 1px solid rgba(250,247,243,0.08);
  transition: background 0.4s;
  position: relative; overflow: hidden;
}
.impact-stat::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--rose));
  transition: width 0.5s ease;
}
.impact-stat:hover { background: rgba(201,168,76,0.07); }
.impact-stat:hover::before { width: 100%; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 76px); font-weight: 300; line-height: 1;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--rose) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: block;
}
.stat-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,243,0.4);
  margin-top: 14px; display: block; line-height: 1.5;
}

/* ── FEATURED WORK ── */
#work { background: var(--bg-primary); position: relative; }
.work-tabs {
  display: flex; gap: 0; margin-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
}
.tab-btn {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
  background: none; border: none; cursor: pointer;
  padding: 14px 28px; position: relative;
  transition: color 0.2s; white-space: nowrap;
}
.tab-btn::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--rose));
  transform: scaleX(0); transition: transform 0.35s cubic-bezier(0.25,1,0.5,1);
}
.tab-btn.active { color: var(--deep); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover { color: var(--deep); }

.work-panel { display: none; }
.work-panel.active {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.work-card {
  background: var(--bg-secondary);
  overflow: hidden;
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.work-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.work-card-img {
  height: 230px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #EDEAE3 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; position: relative; overflow: hidden;
}
.work-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,18,7,0.04) 0%, rgba(201,168,76,0.08) 100%);
}
.work-card-img .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,7,0.55), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.work-card:hover .overlay { opacity: 1; }
.work-card-body { padding: 28px 30px; }
.work-card-cat {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.work-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; color: var(--deep); line-height: 1.2; margin-bottom: 10px;
}
.work-card-desc {
  font-size: 13px; font-weight: 300; color: var(--ink-soft); line-height: 1.7;
}

/* ── NEWS ── */
#news { background: var(--bg-secondary); position: relative; overflow: hidden; }
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3px;
}
.news-card {
  background: var(--bg-primary); padding: 40px 36px;
  transition: background 0.3s, transform 0.45s var(--ease-premium), box-shadow 0.45s var(--ease-premium);
  cursor: pointer;
  position: relative; overflow: hidden;
}
.news-card:hover { background: #EDEAE3; transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--rose));
  transition: height 0.5s ease;
}
.news-card:hover::after { height: 100%; }
.news-card.featured { grid-row: span 2; display: flex; flex-direction: column; }
.news-date {
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.news-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; color: var(--deep); line-height: 1.2; margin-bottom: 14px;
}
.news-card.featured .news-title { font-size: clamp(26px, 4vw, 40px); margin-bottom: 20px; }
.news-excerpt {
  font-size: 14px; font-weight: 300; color: var(--ink-soft); line-height: 1.75; flex: 1;
}
.news-read {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.news-read .arrow {
  width: 24px; height: 1px;
  background: var(--gold); position: relative;
  transition: width 0.3s;
  display: inline-flex; align-items: center;
}
.news-read .arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.news-card:hover .news-read .arrow { width: 36px; }

/* ── WHY ── */
#why { background: var(--bg-primary); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.why-left p {
  font-size: 18px; font-weight: 300; color: var(--ink-soft);
  line-height: 1.85; margin-bottom: 20px;
}
.why-pillars { display: flex; flex-direction: column; }
.why-pillar {
  padding: 32px 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 52px 1fr; gap: 24px;
  opacity: 1; transform: none;
}
html.js-ready .why-pillar {
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.6s, transform 0.6s;
}
html.js-ready .why-pillar.visible { opacity: 1; transform: none; }
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 4vw, 34px); font-weight: 300;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; color: var(--deep); margin-bottom: 8px;
}
.pillar-desc {
  font-size: 14px; font-weight: 300; color: var(--ink-soft); line-height: 1.75;
}

/* ── CAREERS ── */
#careers { background: var(--bg-secondary); }
.careers-banner {
  background: var(--deep-2);
  padding: 72px 80px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
  margin-top: 48px; position: relative; overflow: hidden;
}
.careers-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.careers-banner h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4.5vw, 44px); font-weight: 300; color: var(--bg-primary); line-height: 1.08;
}
.careers-banner h3 em { font-style: italic; color: var(--gold); }
.careers-banner p {
  font-size: 15px; font-weight: 300;
  color: rgba(250,247,243,0.55); margin-top: 14px; line-height: 1.75;
}
.btn-gold {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none; cursor: pointer;
  padding: 16px 32px; text-decoration: none; white-space: nowrap;
  transition: box-shadow 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  position: relative; overflow: hidden; z-index: 1;
  box-shadow: var(--shadow-xs);
}
.btn-gold:hover { box-shadow: var(--shadow-gold); transform: translateY(-3px); }

.jobs-list { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; }
.job-row {
  background: var(--bg-primary); padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: background 0.25s, padding-left 0.3s;
  border-left: 3px solid transparent;
}
.job-row:hover { background: #EDEAE3; padding-left: 40px; border-left-color: var(--gold); }
.job-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 400; color: var(--deep);
}
.job-meta { display: flex; gap: 20px; align-items: center; }
.job-dept {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
}
.job-type {
  font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--rule); padding: 4px 12px;
}
.job-arrow { color: var(--gold); font-size: 18px; transition: transform 0.3s; }
.job-row:hover .job-arrow { transform: translateX(6px); }

/* ── CONTACT ── */
#contact { background: var(--bg-primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 48px; }
.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 36px); font-weight: 300; color: var(--deep);
  margin-bottom: 18px; line-height: 1.2;
}
.contact-info p {
  font-size: 15px; font-weight: 300; color: var(--ink-soft);
  line-height: 1.85; margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--rule); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.3s, border-color 0.3s;
}
.contact-item:hover .contact-item-icon { background: var(--gold-glow); border-color: var(--gold); }
.contact-item-text strong {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px;
}
.contact-item-text span { font-size: 14px; color: var(--ink-soft); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--rule);
  border-bottom: 2px solid transparent;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--deep);
  outline: none;
  transition: border-color 0.3s var(--ease-premium), background 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
  background: var(--bg-primary);
  box-shadow: 0 6px 20px rgba(201,168,76,0.12);
}
.form-submit {
  background: var(--burgundy); color: var(--bg-primary);
  border: none; padding: 16px 44px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), transform 0.3s var(--ease-premium);
  align-self: flex-start; margin-top: 8px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.form-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--burgundy-hover);
  opacity: 0; transition: opacity 0.35s;
}
.form-submit:hover::before { opacity: 1; }
.form-submit:hover { box-shadow: var(--shadow-burgundy); transform: translateY(-3px); }
.form-submit span { position: relative; z-index: 1; }

/* ── FOOTER ── */
footer {
  background: var(--deep); color: rgba(250,247,243,0.45);
  padding: 72px 60px 48px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  position: relative; overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 10% 80%, rgba(201,168,76,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.footer-brand .nav-logo { color: var(--bg-primary); font-size: 20px; }
.footer-brand .nav-logo-mark .nav-logo-text { color: var(--bg-primary); font-size: 20px; }
.footer-brand .nav-logo-mark { margin-bottom: 4px; }
.footer-brand p {
  font-size: 13px; font-weight: 300; line-height: 1.75; margin-top: 14px;
}
.footer-col h4 {
  font-size: 9px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 13px; font-weight: 300; color: rgba(250,247,243,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: var(--bg-primary); }
.footer-bottom {
  background: var(--deep-2);
  padding: 18px 60px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span { font-size: 11px; color: rgba(250,247,243,0.25); letter-spacing: 0.05em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Hero entrance: staggered fade-up on load. Pure CSS, no JS dependency,
   so it always plays even if script.js is blocked or slow. */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroCubeIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-logo-wrap, .we-build, .word-cycle, .hero-sub, .hero-actions, .hero-trust {
    animation: heroFadeUp 0.9s var(--ease-premium) both;
  }
  .hero-logo-wrap { animation-delay: 0.05s; }
  .we-build       { animation-delay: 0.16s; }
  .word-cycle      { animation-delay: 0.26s; }
  .hero-sub       { animation-delay: 0.36s; }
  .hero-actions   { animation-delay: 0.46s; }
  .hero-trust     { animation-delay: 0.56s; }
  .carousel-viewport {
    animation: heroCubeIn 1.2s var(--ease-premium) both;
    animation-delay: 0.3s;
  }
  .hero-logo {
    animation: floatY 6.5s ease-in-out infinite;
    animation-delay: 1.2s;
  }
}

/* Shimmering gold text on the rotating hero word */
.word-cycle span {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 45%, var(--gold) 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 7s linear infinite;
}
@keyframes shimmerText { to { background-position: -220% center; } }

/* Shine sweep on premium buttons */
.btn-primary, .nav-cta, .form-submit, .btn-outline, .btn-gold {
  isolation: isolate;
}
.btn-primary span, .nav-cta span, .form-submit span { position: relative; z-index: 2; }
.btn-primary::after, .nav-cta::after, .form-submit::after, .btn-outline::after, .btn-gold::after {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 35%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.75s var(--ease-premium);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::after, .nav-cta:hover::after, .form-submit:hover::after,
.btn-outline:hover::after, .btn-gold:hover::after { left: 130%; }

/* Content is visible by default (no JS needed to see it). Only when the
   page's JS has successfully run (html.js-ready, set by script.js after all
   listeners/observers are wired up) do we switch to the animate-on-scroll
   version. This prevents sections from being stuck invisible — which showed
   as a blank/white page on some mobile browsers — if a script fails to run,
   loads slowly, or is blocked. */
.reveal { opacity: 1; transform: none; }
html.js-ready .reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
html.js-ready .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Section-rule underline draws in once its section scrolls into view */
.section-rule { transition: width 0.9s var(--ease-premium) 0.15s; }
html.js-ready .reveal .section-rule { width: 0; }
html.js-ready .reveal.visible .section-rule { width: 44px; }

/* Gentle lift + glow on stat numbers once they finish counting */
@keyframes statPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.stat-number.counted { animation: statPop 0.5s var(--ease-premium); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0;
    height: 100vh; /* fallback for older browsers */
    height: 100dvh; /* matches the actually-visible viewport, not the address-bar-hidden one */
    width: min(320px, 84vw);
    background: var(--bg-primary);
    padding: 100px 32px 40px;
    box-shadow: -8px 0 32px rgba(26,18,7,0.12);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-premium, ease);
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open .nav-menu { transform: translateX(0); }
  .nav-links {
    flex-direction: column; align-items: flex-start; gap: 4px;
    width: 100%; margin-bottom: 32px;
  }
  .nav-links a {
    display: block; width: 100%; padding: 14px 0;
    font-size: 13px; border-bottom: 1px solid var(--rule);
  }
  .nav-cta { align-self: flex-start; }
  section { padding: 80px 24px; }
  .companies-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-row: span 1; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .work-panel.active { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; padding: 56px 24px 32px; gap: 40px 24px; }
  .footer-bottom { padding: 16px 24px; flex-wrap: wrap; gap: 6px 16px; }
  .careers-banner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .companies-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; padding: 48px 20px 28px; gap: 32px; }
}
@media (max-width: 480px) {
  section { padding: 64px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; }
  .hero-trust { flex-wrap: wrap; row-gap: 8px; }
  .careers-banner { padding: 40px 24px; }
  .work-tabs { gap: 4px; }
  .nav-logo-text { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ══════════════════════════════════════════════════════════
   DISTRIBUTION CATALOGUE PAGE (distribution.html)
   ══════════════════════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb {
  padding: 130px 60px 0; display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.05em; color: var(--ink-soft);
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.breadcrumb a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.breadcrumb span { color: var(--gold-deep); }

/* ═══════════════════════════════════════════════════════════
   CATALOGUE HERO — direct port of the reference hero layout
   (same grid, gutter, gaps and stagger-in timing), recolored to
   the site's own gold/ink palette and set in Cormorant Garamond
   for the heading / Inter for everything else, in place of the
   reference's Jost. Plain CSS animation, no GSAP dependency.
   ═══════════════════════════════════════════════════════════ */
#dist-hero {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  padding: 150px 60px 56px;
  align-items: center;
}

.dh-eyebrow {
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.dh-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1.08;
  color: var(--gold-deep);
  margin-bottom: 24px;
}

.dh-lead {
  font-family: 'Inter', sans-serif;
  max-width: 460px;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.85;
  color: #4A4238;
  margin-bottom: 40px;
}

.dh-stats { display: flex; gap: 44px; margin-bottom: 44px; }
.dh-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.dh-stat span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #6B6154;
  text-transform: uppercase;
}

/* cinematic stagger, on load */
.dh-in {
  opacity: 0;
  transform: translateY(22px);
  animation: dhRiseIn 0.8s cubic-bezier(.25,.7,.35,1) forwards;
}
.dh-d1 { animation-delay: .15s; }
.dh-d2 { animation-delay: .35s; }
.dh-d3 { animation-delay: .6s; }
.dh-d4 { animation-delay: .85s; }
.dh-d5 { animation-delay: 1.05s; }
@keyframes dhRiseIn { to { opacity: 1; transform: translateY(0); } }

.dh-visual {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: min(72vh, 620px);
  background: var(--bg-secondary);
  opacity: 0;
  transform: scale(1.04);
  animation: dhReveal 1.1s cubic-bezier(.25,.7,.35,1) forwards;
  animation-delay: .2s;
}
@keyframes dhReveal { to { opacity: 1; transform: scale(1); } }
.dh-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) {
  .dh-in, .dh-visual { animation: none; opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   VIEW PROJECTS — expanding icon button (same interaction as the
   reference build), recolored to the site's own gold/ink palette
   and set in Inter rather than Jost.
   ═══════════════════════════════════════════════════════════ */
.view-btn {
  --size: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: var(--size);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  width: fit-content;
}
.view-btn .icon-wrap {
  position: relative;
  width: calc(var(--size) - 4px);
  height: calc(var(--size) - 4px);
  flex-shrink: 0;
  isolation: isolate;
}
.view-btn .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  transition: border-color 0.5s ease;
}
.view-btn .fill {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--gold-deep);
  transform: scale(0);
  transition: transform 0.55s cubic-bezier(.65,0,.35,1);
}
.view-btn .chevron {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.view-btn .chevron svg {
  width: 14px; height: 14px;
  stroke: var(--gold-deep);
  transition: transform 0.5s cubic-bezier(.65,0,.35,1), stroke 0.5s ease;
  animation: distChevronBob 1.7s ease-in-out infinite;
}
@keyframes distChevronBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.view-btn .label-wrap { display: flex; flex-direction: column; gap: 8px; }
.view-btn .label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep);
  transition: color 0.4s ease;
}
.view-btn .underline {
  height: 1px; width: 100%;
  background: rgba(169,131,46,0.35);
  transition: background 0.4s ease;
}
.view-btn:hover .fill { transform: scale(2.6); }
.view-btn:hover .ring { border-color: transparent; }
.view-btn:hover .chevron svg { stroke: #FAF7F3; animation-play-state: paused; }
.view-btn.active .chevron svg { transform: rotate(180deg); stroke: #FAF7F3; animation-play-state: paused; }
.view-btn.active .fill { transform: scale(2.6); }
.view-btn.active .ring { border-color: transparent; }
.view-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 999px; }

/* the catalogue starts fully collapsed (0 height, hidden from layout
   and from assistive tech) and only expands in place, on the same
   page, once "View Projects" is clicked — see the 3s-delayed toggle
   script near the closing body tag. No JS = stays closed. */
.gallery-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.9s cubic-bezier(.65,0,.35,1), opacity 0.6s ease, visibility 0s linear 0.9s;
}
.gallery-wrap.open {
  max-height: 20000px;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.9s cubic-bezier(.65,0,.35,1), opacity 0.6s ease, visibility 0s linear 0s;
}

@media (max-width: 900px) {
  #dist-hero { grid-template-columns: 1fr; padding: 130px 24px 40px; }
  .dh-visual { height: 44vh; order: -1; }
}

/* Poster grid — resn.co.nz-style editorial hover reveal: image is the
   hero, title/category stay hidden until hover, then slide up together
   with a soft gold tint, and each tile eases in on its own beat as the
   grid scrolls into view. */
#dist-catalogue { padding-top: 0; }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.poster-card {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
  transition: transform 0.6s var(--ease-premium);
}
html.js-ready .poster-grid:not(.visible) .poster-card {
  opacity: 0; transform: translateY(28px) scale(0.97);
}
html.js-ready .poster-grid.visible .poster-card {
  animation: posterIn 0.8s var(--ease-premium) forwards;
}
@keyframes posterIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.poster-grid.visible .poster-card:nth-child(1) { animation-delay: 0.05s; }
.poster-grid.visible .poster-card:nth-child(2) { animation-delay: 0.13s; }
.poster-grid.visible .poster-card:nth-child(3) { animation-delay: 0.21s; }
.poster-grid.visible .poster-card:nth-child(4) { animation-delay: 0.29s; }
.poster-grid.visible .poster-card:nth-child(5) { animation-delay: 0.37s; }
.poster-grid.visible .poster-card:nth-child(6) { animation-delay: 0.45s; }
.poster-grid.visible .poster-card:nth-child(7) { animation-delay: 0.53s; }
.poster-grid.visible .poster-card:nth-child(8) { animation-delay: 0.61s; }
.poster-grid.visible .poster-card:nth-child(n+9) { animation-delay: 0.68s; }
.poster-card.poster-span-2 { grid-column: span 2; }
.poster-card:hover, .poster-card:focus-visible { transform: translateY(-8px); outline: none; }
html.js-ready .poster-grid.visible .poster-card:hover,
html.js-ready .poster-grid.visible .poster-card:focus-visible { transform: translateY(-8px) scale(1); }
.poster-art {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 20px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.5s var(--ease-premium);
}
.poster-span-2 .poster-art { aspect-ratio: 4 / 3; }
.poster-card:hover .poster-art { box-shadow: var(--shadow-lg); }
.poster-art::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
}
/* Photo posters: real key-art dropped in as an asset file (no inline
   base64), sized to cover its fixed 2:3 card exactly, proportion intact. */
.poster-art.has-photo { overflow: hidden; }
.poster-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  display: block; transition: transform 0.7s var(--ease-premium);
}
.poster-card:hover .poster-photo { transform: scale(1.07); }
.poster-art.has-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,6,2,0.02) 0%, rgba(10,6,2,0.04) 45%, rgba(10,6,2,0.7) 88%, rgba(10,6,2,0.94) 100%);
  transition: opacity 0.5s ease;
}
/* soft champagne-gold hover tint, resn-style */
.poster-art.has-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(201,168,76,0.22) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.5s ease;
}
.poster-card:hover .poster-art.has-photo::after { opacity: 1; }
.poster-kicker {
  font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0; position: relative; z-index: 3;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-premium), transform 0.45s var(--ease-premium);
}
.poster-num {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  line-height: 1; position: absolute; top: 6px; right: 12px; opacity: 0.5;
  font-size: 40px; z-index: 3;
  transition: opacity 0.4s ease;
}
.poster-art.has-photo .poster-num { opacity: 0.55; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.poster-card:hover .poster-num { opacity: 0.2; }
.poster-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 25px; line-height: 1.15; position: relative; z-index: 3;
  transform: translateY(14px);
  transition: transform 0.5s var(--ease-premium);
}
.poster-art.has-photo .poster-title { color: #FBF4E8; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.poster-tagline {
  font-size: 11px; font-weight: 300; line-height: 1.5; opacity: 0;
  position: relative; z-index: 3; margin-top: 8px;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-premium) 0.05s, transform 0.45s var(--ease-premium) 0.05s;
}
.poster-art.has-photo .poster-tagline { color: #FBF4E8; }
.poster-art.has-photo .poster-kicker { color: #FBF4E8; }
/* reveal kicker/title/tagline together on hover — image stays the hero
   at rest, per the resn reference */
.poster-card:hover .poster-kicker,
.poster-card:focus-visible .poster-kicker { opacity: 0.85; transform: translateY(0); }
.poster-card:hover .poster-title,
.poster-card:focus-visible .poster-title { transform: translateY(0); }
.poster-card:hover .poster-tagline,
.poster-card:focus-visible .poster-tagline { opacity: 0.9; transform: translateY(0); }
.poster-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin-top: 12px; font-size: 11px; color: var(--ink-soft);
}
.poster-meta .poster-dot { opacity: 0.4; }
.poster-genre { color: var(--gold-deep); font-weight: 500; }

/* tonal poster art palettes, cycling through the brand palette */
.poster-tone-1 .poster-art { background: linear-gradient(160deg, var(--gold-deep) 0%, var(--burgundy) 115%); color: var(--bg-primary); }
.poster-tone-2 .poster-art { background: linear-gradient(160deg, var(--deep-3) 0%, var(--burgundy) 120%); color: var(--gold-light); }
.poster-tone-3 .poster-art { background: linear-gradient(160deg, var(--rose) 0%, var(--burgundy) 120%); color: var(--bg-primary); }
.poster-tone-4 .poster-art { background: linear-gradient(160deg, var(--gold-light) 0%, var(--gold-deep) 130%); color: var(--deep); }
.poster-tone-5 .poster-art { background: linear-gradient(160deg, var(--burgundy-hover) 0%, var(--deep) 120%); color: var(--gold-light); }
.poster-tone-6 .poster-art { background: linear-gradient(160deg, var(--rose) 0%, var(--gold-deep) 130%); color: var(--deep-3); }
.poster-tone-7 .poster-art { background: linear-gradient(160deg, var(--deep) 0%, var(--gold-deep) 140%); color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  .poster-card { opacity: 1 !important; transform: none !important; animation: none !important; }
}
@media (max-width: 1100px) { .poster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) {
  .breadcrumb { padding: 110px 24px 0; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .poster-title { font-size: 21px; }
}
@media (max-width: 480px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .poster-art { padding: 16px 14px; }
  .poster-title { font-size: 18px; }
  .poster-tagline { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   CINEMATIC UPGRADE — intro, journey, manifesto, micro-interactions
   ═══════════════════════════════════════════════════════════ */

/* ── CINEMATIC INTRO ── */
#c1-intro {
  position: fixed; inset: 0; z-index: 5000;
  background: radial-gradient(ellipse at 50% 40%, #2D2418 0%, #1A1207 70%, #120C05 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s var(--ease-premium), visibility 0.9s;
  cursor: pointer;
}
#c1-intro::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
}
#c1-intro::after {
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(ellipse 45% 35% at 50% 45%, rgba(201,168,76,0.16) 0%, transparent 70%);
  animation: c1IntroSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes c1IntroSweep {
  0%, 100% { transform: translateX(-8%) scale(1); opacity: 0.7; }
  50% { transform: translateX(8%) scale(1.08); opacity: 1; }
}
.c1-intro-inner { position: relative; z-index: 1; text-align: center; padding: 24px; }
.c1-intro-logo {
  width: 78px; height: 78px; object-fit: contain;
  margin: 0 auto 26px; display: block;
  opacity: 0; transform: scale(0.7);
  filter: drop-shadow(0 0 24px rgba(201,168,76,0.35));
  animation: c1IntroLogo 1.4s var(--ease-premium) 0.15s forwards;
}
@keyframes c1IntroLogo {
  0% { opacity: 0; transform: scale(0.7); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
.c1-intro-word {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-style: italic;
  font-size: clamp(2rem, 6vw, 3.6rem);
  color: #FAF7F3;
  letter-spacing: 0.02em;
  display: flex; gap: 0.35em; justify-content: center; flex-wrap: wrap;
}
.c1-intro-word span {
  display: inline-block; opacity: 0; transform: translateY(18px); filter: blur(4px);
  animation: c1IntroWord 0.9s var(--ease-premium) forwards;
}
.c1-intro-word span:nth-child(1) { animation-delay: 0.55s; color: var(--gold-light); }
.c1-intro-word span:nth-child(2) { animation-delay: 0.72s; }
.c1-intro-word span:nth-child(3) { animation-delay: 0.89s; }
@keyframes c1IntroWord {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.c1-intro-tag {
  margin-top: 18px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0; animation: c1IntroFade 1s ease 1.3s forwards;
  position: relative; display: inline-block; padding-bottom: 14px;
}
.c1-intro-tag::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  height: 1px; width: 0; background: var(--gold);
  transform: translateX(-50%);
  animation: c1IntroLine 0.9s var(--ease-premium) 1.55s forwards;
}
@keyframes c1IntroLine { to { width: 64px; } }
@keyframes c1IntroFade { to { opacity: 1; } }
.c1-intro-skiphint {
  margin-top: 30px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,247,243,0.32);
  opacity: 0; animation: c1IntroFade 1s ease 2.1s forwards;
}
body.c1-intro-active { overflow: hidden; height: 100vh; }
#c1-intro.c1-intro-out { opacity: 0; visibility: hidden; pointer-events: none; }
#c1-intro.c1-intro-skip { display: none; }
@media (prefers-reduced-motion: reduce) {
  #c1-intro { display: none; }
}

/* ── LOGO HOVER ── */
.nav-logo-mark img { transition: transform 0.5s var(--ease-premium); }
.nav-logo-mark:hover img { transform: rotate(10deg) scale(1.06); }

/* ── MAGNETIC BUTTONS ── */
.btn-primary, .btn-gold, .nav-cta { will-change: transform; }

/* ── WORK CARD ICON MICRO-ZOOM ── */
.work-card-img { font-size: 52px; }
.work-card:hover .work-card-img { transform: scale(1.03); }
.work-card-img { transition: transform 0.6s var(--ease-premium); }

/* ── FOOTER REVEAL ── */
footer.reveal, .footer-bottom.reveal { transition: opacity 1s var(--ease-premium); }

/* ── JOURNEY / TIMELINE ── */
#journey { background: var(--bg-secondary); position: relative; overflow: hidden; padding-top: 60px; padding-bottom: 90px; }
.journey-line {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-top: 72px; position: relative; gap: 8px;
}
.journey-line::before {
  content: ''; position: absolute; top: 13px; left: 0; right: 0; height: 1px;
  background: var(--rule); z-index: 0;
}
.journey-line::after {
  content: ''; position: absolute; top: 13px; left: 0; height: 1px;
  background: linear-gradient(to right, var(--gold-deep), var(--gold));
  width: 0; z-index: 1;
  transition: width 1.8s var(--ease-premium) 0.2s;
}
html.js-ready .journey-line.visible::after { width: 100%; }
html.js-ready .journey-line:not(.visible)::after { width: 0; }
.journey-step {
  position: relative; z-index: 2; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}
html.js-ready .journey-line.visible .journey-step { opacity: 1; transform: translateY(0); }
.journey-line.visible .journey-step:nth-child(1) { transition-delay: 0.25s; }
.journey-line.visible .journey-step:nth-child(2) { transition-delay: 0.40s; }
.journey-line.visible .journey-step:nth-child(3) { transition-delay: 0.55s; }
.journey-line.visible .journey-step:nth-child(4) { transition-delay: 0.70s; }
.journey-line.visible .journey-step:nth-child(5) { transition-delay: 0.85s; }
.journey-line.visible .journey-step:nth-child(6) { transition-delay: 1.00s; }
.journey-line.visible .journey-step:nth-child(7) { transition-delay: 1.15s; }
.journey-line.visible .journey-step:nth-child(8) { transition-delay: 1.30s; }
.journey-dot {
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--bg-secondary); border: 1px solid var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 12px; color: var(--gold-deep);
  margin-bottom: 20px; flex-shrink: 0;
  transition: background 0.4s, box-shadow 0.4s;
}
.journey-line.visible .journey-step:hover .journey-dot {
  background: var(--gold); border-color: var(--gold); color: #1A1207;
  box-shadow: 0 0 0 6px rgba(201,168,76,0.15);
}
.journey-title {
  font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500;
  color: var(--deep); margin-bottom: 8px; white-space: nowrap;
}
.journey-desc { font-size: 12px; line-height: 1.6; color: var(--ink-soft); font-weight: 300; padding-right: 12px; }
@media (max-width: 1000px) {
  .journey-line { flex-direction: column; gap: 34px; }
  .journey-line::before, .journey-line::after { top: 0; bottom: 0; left: 13px; right: auto; width: 1px; height: 100%; }
  html.js-ready .journey-line.visible::after { width: 1px; height: 100%; }
  .journey-step { flex-direction: row; align-items: flex-start; gap: 20px; padding-left: 0; }
  .journey-dot { margin-bottom: 0; }
  .journey-desc { max-width: 420px; }
}

/* ── MANIFESTO ── */
#manifesto {
  background: var(--deep-2); color: var(--bg-primary);
  padding: 140px 60px; position: relative; overflow: hidden;
  text-align: center;
}
#manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.manifesto-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.manifesto-line {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.6rem, 4.2vw, 3.1rem); line-height: 1.35;
  color: rgba(250,247,243,0.4);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium), color 0.9s;
}
html.js-ready .manifesto-inner.visible .manifesto-line { opacity: 1; transform: translateY(0); }
.manifesto-inner.visible .manifesto-line:nth-child(1) { transition-delay: 0.05s; }
.manifesto-inner.visible .manifesto-line:nth-child(2) { transition-delay: 0.35s; color: var(--gold-light); }
.manifesto-inner.visible .manifesto-line:nth-child(3) { transition-delay: 0.65s; }
.manifesto-inner.visible .manifesto-line:nth-child(4) { transition-delay: 0.95s; color: var(--gold-light); }
.manifesto-rule {
  width: 44px; height: 1px; background: var(--gold);
  margin: 40px auto; opacity: 0; transition: opacity 0.8s var(--ease-premium) 1.2s, width 0.8s var(--ease-premium) 1.2s;
}
html.js-ready .manifesto-inner.visible .manifesto-rule { opacity: 1; }
.manifesto-belief {
  font-size: 15px; line-height: 1.9; font-weight: 300;
  color: rgba(250,247,243,0.6); max-width: 620px; margin: 0 auto;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.9s var(--ease-premium) 1.35s, transform 0.9s var(--ease-premium) 1.35s;
}
html.js-ready .manifesto-inner.visible .manifesto-belief { opacity: 1; transform: translateY(0); }
@media (max-width: 700px) {
  #manifesto { padding: 90px 24px; }
}

/* ── CONTACT CLOSING STATEMENT ── */
.contact-closing {
  text-align: center; max-width: 780px; margin: 0 auto 64px;
}
.contact-closing h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1.25; color: var(--deep);
}
.contact-closing h2 em { color: var(--gold-deep); font-style: italic; }


/* ═══════════════════════════════════════════════════════════
   DISTRIBUTION PAGE PRELOADER — three-act curtain reveal
   (icon → lockup → full mark + tagline), ported faithfully from
   the reference build. Entirely self-contained colors (doesn't
   touch the site's --gold/--deep variables) — stays cool navy/blue
   throughout, then disappears to reveal the actual cream & gold
   page underneath. Page-specific to distribution.html.
   ═══════════════════════════════════════════════════════════ */
#dist-preloader {
  position: fixed; inset: 0; z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  background: #0A1230;
  transition: opacity 0.5s ease;
}
#dist-preloader.dp-gone { opacity: 0; pointer-events: none; }
#dist-preloader.dp-skip { display: none; }
body.dp-locked { overflow: hidden; height: 100vh; }

.dp-halves { position: absolute; inset: 0; display: flex; z-index: 5; pointer-events: none; }
.dp-half {
  flex: 1; background: #050609; position: relative;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1);
}
.dp-half::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(#3D5FE0, transparent 70%);
  box-shadow: 0 0 18px 1px rgba(46,79,214,0.6);
}
.dp-half.l { transform: translateX(0); }
.dp-half.l::after { right: 0; }
.dp-half.r { transform: translateX(0); }
.dp-half.r::after { left: 0; }
#dist-preloader.panels-open .dp-half.l { transform: translateX(-101%); }
#dist-preloader.panels-open .dp-half.r { transform: translateX(101%); }

.dp-stage { position: relative; z-index: 2; text-align: center; transition: opacity 0.35s ease, transform 0.35s ease; }
#dist-preloader.stage-fade .dp-stage { opacity: 0; transform: scale(0.94); }

.dp-mark { position: relative; width: 130px; height: 130px; margin: 0 auto 20px; }
.dp-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.7s ease; }
.dp-mark img.show { opacity: 1; }

.dp-sub {
  margin-top: 14px; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase; color: rgba(244,246,251,0.62);
  opacity: 0; transition: opacity 0.6s ease 0.1s;
}
.dp-sub.show { opacity: 1; }
.dp-since {
  margin-top: 6px; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(244,246,251,0.36); opacity: 0; transition: opacity 0.6s ease 0.25s;
}
.dp-since.show { opacity: 1; }
.dp-rule {
  width: 0; height: 1px; background: #3D5FE0; margin: 16px auto 0;
  transition: width 0.7s cubic-bezier(.4,0,.2,1);
}
.dp-rule.show { width: 120px; }

.dp-steps {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  display: flex; flex-direction: column-reverse; gap: 4px; align-items: center;
  z-index: 6;
}
.dp-steps i { display: block; height: 2px; background: #3D5FE0; opacity: 0; transition: width 0.5s ease, opacity 0.5s ease; }
.dp-steps i:nth-child(1) { width: 0; }
.dp-steps i:nth-child(2) { width: 0; }
.dp-steps i:nth-child(3) { width: 0; }
body.step-1 .dp-steps i:nth-child(1) { width: 34px; opacity: 0.9; }
body.step-2 .dp-steps i:nth-child(2) { width: 54px; opacity: 0.6; }
body.step-3 .dp-steps i:nth-child(3) { width: 74px; opacity: 0.35; }

.dp-count {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums;
  font-size: 12px; letter-spacing: 0.15em; color: rgba(244,246,251,0.62);
  display: flex; align-items: center; gap: 10px;
  z-index: 6;
}
.dp-count .track { width: 120px; height: 1px; background: rgba(244,246,251,0.14); position: relative; overflow: hidden; }
.dp-count .track b { position: absolute; inset: 0; width: 0%; background: #3D5FE0; transition: width 0.08s linear; }
.dp-count .num { width: 34px; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .dp-half, .dp-mark img, .dp-sub, .dp-since, .dp-rule, .dp-steps i { transition-duration: 0.001ms !important; }
}