/* ============================================================
   Maryam Smaili — one-page homepage
   page-specific styles. extends colors_and_type.css.
   ============================================================ */

/* ---------- QUOTE LOADER ---------- */
#quote-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  padding: clamp(28px, 8vw, 96px);
  opacity: 1;
  transition: opacity 0.7s var(--ease-out, ease);
}
#quote-loader.ql-out {
  opacity: 0;
  pointer-events: none;
}
#quote-loader .ql-inner {
  max-width: 760px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: ql-fade-in 0.9s var(--ease-out, ease) 0.08s forwards;
}
#quote-loader .ql-arabic {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gold);
  font-size: clamp(19px, 3vw, 30px);
  line-height: 1.6;
  margin-bottom: 20px;
}
#quote-loader .ql-quote {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0;
  border: 0;
  padding: 0;
  text-wrap: balance;
}
#quote-loader .ql-attr {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gold);
  opacity: 0.62;
  font-size: clamp(12.5px, 1.5vw, 14.5px);
  letter-spacing: 0.04em;
  margin-top: 24px;
}
@keyframes ql-fade-in {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #quote-loader .ql-inner { animation-duration: 0.01ms; opacity: 1; transform: none; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

a { border-bottom: 0; }

img { display: block; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; border: 2px solid var(--canvas); }
::-webkit-scrollbar-track { background: var(--canvas); }

/* ---------- Layout shell ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

.section-pad {
  padding: 120px 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-subtle);
  border: 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold:active { background: var(--gold-press); }
.btn-purple { background: var(--purple); color: var(--on-purple); }
.btn-purple:hover { background: var(--purple-hover); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-outline:hover { border-color: var(--ink-subtle); background: var(--surface-1); }
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  padding: 14px 8px;
}
.btn-sm {
  padding: 9px 14px;
  font-size: 13px;
}

/* ---------- Eyebrows & pills ---------- */
.eyebrow-gold { color: var(--gold); }
.eyebrow-purple { color: var(--purple); }

.badge-available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.badge-available .dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #3DD68C;
  box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.18);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(61, 214, 140, 0.06); }
}

.lane-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}
.lane-tag.gold { color: var(--gold); background: var(--gold-tint); }
.lane-tag.purple { color: var(--purple); background: var(--purple-tint); }
.lane-tag .num {
  font-family: var(--font-metric);
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.7;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  color: var(--ink-subtle);
  background: transparent;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.06;
  color: #f4f4f5;
}

/* ---------- Section dividers (SVG) ---------- */
.section-divider {
  position: relative;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  max-width: var(--container-max);
  width: 100%;
  height: 56px;
}
.section-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}
.section-divider .arm {
  stroke: #F4F4F5;
  stroke-width: 0.6;
}
.section-divider .gold-mark {
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}
.section-divider .gold-fill { fill: var(--gold); }
.section-divider .purple-mark {
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.2;
}
.section-divider .purple-fill { fill: var(--purple); }
.section-divider .neutral-fill { fill: #F4F4F5; }

/* the whole motif lives at a low opacity per the brief.
   arms a touch fainter so the accents read as the focal points. */
.section-divider .art { opacity: 0.55; }
.section-divider .arms { opacity: 0.35; }
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.18;
}
.hero-glow.gold {
  background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
  top: -120px;
  left: -80px;
}
.hero-glow.purple {
  background: radial-gradient(circle, var(--purple) 0%, transparent 60%);
  bottom: -200px;
  right: -100px;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* ---------- HERO PORTRAIT · floating 3D cutout ---------- */
.hero-portrait {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* let the image bleed slightly into the canvas margin on the left */
  margin-left: -64px;
  z-index: 1;
}
.hero-portrait img {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  z-index: 2;
  /* float effect: deep shadow grounding it on the canvas */
  filter:
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 80px rgba(168, 85, 247, 0.18))
    drop-shadow(0 0 120px rgba(212, 168, 67, 0.10));
  transform-origin: center bottom;
  transform: perspective(1400px) rotateY(2.5deg) rotateX(-1deg);
  transition: transform var(--dur-slow) var(--ease-out);
  animation: hero-float 9s var(--ease-out) infinite;
}
.hero-portrait:hover img {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg) scale(1.02);
}
@keyframes hero-float {
  0%, 100% { transform: perspective(1400px) rotateY(2.5deg) rotateX(-1deg) translateY(0); }
  50%      { transform: perspective(1400px) rotateY(2.5deg) rotateX(-1deg) translateY(-10px); }
}

/* halo behind the bust — radial gold-purple bloom */
.hero-portrait-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 50% 45% at 50% 45%, rgba(168, 85, 247, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212, 168, 67, 0.10) 0%, transparent 65%);
  filter: blur(20px);
}

/* corner labels floating in the air around the bust */
.hero-portrait-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  z-index: 3;
}
.hero-portrait-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-portrait-tag.tl { top: 8%; left: 4%; }
.hero-portrait-tag.br {
  bottom: 12%;
  right: 4%;
  font-family: var(--font-metric);
  letter-spacing: 1px;
  color: var(--gold);
}

/* ---------- hero status widget (3 stacked lines) ---------- */
.hero-status {
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 480px;
}
.hero-status .status-line {
  font-family: var(--font-body);
  line-height: 1.45;
}
.hero-status .status-line.one {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-status .status-line.two {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.hero-status .status-line.three {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-muted);
}
.hero-status .status-line.four {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}
.status-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  opacity: 0.7;
  transition: opacity 0.18s ease;
}
.status-link:hover { opacity: 1; }
.hero-status .dot-amber {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18);
  animation: pulse-gold 2.4s var(--ease-out) infinite;
  flex-shrink: 0;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(212, 168, 67, 0.06); }
}
.hero-status .dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse-green 2.4s var(--ease-out) infinite;
  flex-shrink: 0;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.06); }
}

/* nav-bar status dot — matches the "Currently booked" treatment */
.badge-available .dot-amber-nav {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18);
  animation: pulse-gold 2.4s var(--ease-out) infinite;
}
.badge-available .dot-green-nav {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse-green 2.4s var(--ease-out) infinite;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0;
  color: var(--ink);
}
.hero-headline .line { display: block; }
.hero-headline .line-2 { font-weight: 700; }
.hero-headline .gold { color: var(--gold); }
.hero-headline .purple { color: var(--purple); }
.hero-subline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--ink-muted);
  max-width: 580px;
  margin: 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 14px;
  border: 1px solid rgba(212, 168, 67, 0.35);
  background: var(--gold-tint);
  border-radius: 9999px;
  align-self: flex-start;
}
.hero-eyebrow .award-mark {
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center;
  justify-content: center;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-cta .btn-pitch {
  gap: 8px;
  display: inline-flex;
  align-items: center;
}
.hero-cta .btn-pitch svg { flex-shrink: 0; }

/* ---------- CREDIBILITY STRIP ---------- */
.cred {
  background: var(--surface-1);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.cred::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.cred-inner {
  position: relative;
  padding: 88px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.cred-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 980px;
}
.cred-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin: 20px 0 20px;
  text-wrap: balance;
  max-width: 18ch;
}
.cred-quote .mark {
  color: var(--gold);
  font-style: normal;
  margin-right: 6px;
}
.cred-meta {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-subtle);
}
.cred-press {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.cred-press h6 {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0;
}
.press-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-muted);
  align-items: baseline;
}
.press-list a {
  color: var(--ink-muted);
  border-bottom: 1px dashed transparent;
  white-space: nowrap;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.press-list .dot {
  color: var(--ink-tertiary);
}
.press-list a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- Press marquee ---------- */
.press-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* fade-out gradients on left/right edges */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.press-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  /* position is driven by page scroll via JS — see scroll handler in index.html.
     transform is set inline by the script; transitions smooth out fast scrolls. */
  transform: translate3d(0, 0, 0);
  transition: transform 200ms linear;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .press-track { transition: none; }
}

/* ---------- Logo strip · brands + programs ---------- */
.logo-strip {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
  position: relative;
  overflow: hidden;
}
/* Brand strip · panorama variant — wider real estate, ambient drift,
   no internal section borders so the sweep feels continuous with the canvas. */
.brand-strip {
  padding: 80px 0;
  border-top: 0;
  border-bottom: 0;
}
.brand-strip .press-marquee {
  /* widen the fade so logos enter/exit the panorama more gradually */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(to right,
    transparent 0,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}
.brand-strip .press-track {
  gap: 88px;
}
/* program-strip lives inside the about section's container, so it doesn't
   need its own container — but the rest of the visual should still look
   like a self-contained logo strip */
.program-strip {
  margin-top: 80px;
  padding: 40px 0 48px;
  border-bottom: 0;
}
.logo-strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.logo-strip-head h6 {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0;
}
.logo-strip-head .meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-subtle);
}

/* wordmark tiles · text-based pseudo-logos for institutions/brands without uploaded marks */
.wordmark-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  transform: translate3d(0, 0, 0);
  transition: transform 200ms linear;
  will-change: transform;
}
.wordmark-tile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--surface-1);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.3px;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.wordmark-tile .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.wordmark-tile .dot.purple { background: var(--purple); }
/* tile carrying a real logo mark instead of (or beside) text */
.wordmark-tile.has-logo { gap: 12px; }
.wordmark-tile.has-logo img {
  height: 24px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: grayscale(1) brightness(1.55);
  opacity: 0.78;
  transition: opacity var(--dur-base) var(--ease-out);
}
.wordmark-tile.has-logo:hover img { opacity: 1; }
.wordmark-tile:hover {
  border-color: var(--hairline-strong);
  background: var(--surface-2);
}
/* placeholder tiles · until real brand logos are dropped in */
.wordmark-tile.placeholder {
  color: var(--ink-tertiary);
  border-style: dashed;
  background: transparent;
}
.wordmark-tile.placeholder::before {
  content: "↗";
  color: var(--ink-tertiary);
  font-family: var(--font-metric);
  margin-right: 2px;
}

/* brand-track inherits its layout from .press-track now that it carries
   real <img> logos. The wordmark-tile gap (12px) was only right for pills;
   real logos need the press-track's 56px breathing room. */

/* every logo normalised to the same visual height (~28px),
   monochrome white, 50% opacity on dark surface */
.press-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* slot grows tall enough to hold the largest calibrated logo (~54px) */
  height: 60px;
  flex-shrink: 0;
}
.press-logo img {
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* invert dark color logos to white; grayscale flattens any colored marks;
     brightness/contrast lifts them off the canvas evenly */
  filter:
    grayscale(1)
    brightness(0)
    invert(1)
    brightness(0.95);
  opacity: 0.55;
  transition: opacity var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.press-logo:hover img {
  opacity: 0.95;
}

/* per-logo size calibration — each logo brought to the same perceived weight.
   Tall/narrow marks get more height; wide/short marks stay smaller; the result
   is an even rhythm regardless of intrinsic aspect ratio. */
.press-logo img[alt="LesEco.ma"]           { height: 54px; }   /* +180% — masthead is tiny */
.press-logo img[alt="L'Economiste"]        { height: 22px; }   /* baseline */
.press-logo img[alt="La Nouvelle Tribune"] { height: 36px; }   /* +130% */
.press-logo img[alt="Consonews"]           { height: 28px; }
.press-logo img[alt="LeSiteinfo"]          { height: 27px; }   /* −10% */
.press-logo img[alt="L'ODJ"]               { height: 32px; }
.press-logo img[alt="Infomediaire"]        { height: 52px; }   /* +200% — was nearly invisible */
.press-logo img[alt="awal24"]              { height: 42px; }   /* +140% */

/* Brand logos — calibrated per intrinsic shape so each brand reads at the
   same perceived visual weight in the marquee. */
.brand-track .press-logo img             { max-width: 200px; }
.press-logo img[alt="Dacia"]             { height: 24px; }
.press-logo img[alt="Renault"]           { height: 28px; }
.press-logo img[alt="Attijariwafa bank"] { height: 20px; }
.press-logo img[alt="inwi"]              { height: 22px; }
.press-logo img[alt="Bank of Africa"]    { height: 48px; }
.press-logo img[alt="Al Mada"]           { height: 46px; }
.press-logo img[alt="Shell"]             { height: 52px; }
.press-logo img[alt="Be"]                { height: 38px; }
.press-logo img[alt="Joe and The Juice"] { height: 52px; }
.press-logo img[alt="AïnAtlas"]          { height: 40px; }
.press-logo img[alt="Les Eaux Minérales d'Oulmès"] { height: 52px; }
.press-logo img[alt="Line Bleu"]         { height: 14px; }
.press-logo img[alt="Baguetterie"]       { height: 40px; }

@media (prefers-reduced-motion: reduce) {
  .press-track { animation: none; }
}

/* ---------- STATS STRIP ---------- */
.stats {
  /* boundary handled by the section-divider that follows */
}
.stats-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 0;
  border-top: 1px solid var(--hairline);
}
.stats-span {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-subtle);
}
.stats-span strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.3px;
}
.stat-num span {
  /* suffix (+, %) inherits color via inline style on the span */
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -3px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 56px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 32px;
  border-left: 1px solid var(--hairline);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.96;
  letter-spacing: -2.4px;
  color: var(--ink);
}
.stat-num.gold { color: var(--gold); }
.stat-num.purple { color: var(--purple); }
.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-subtle);
  line-height: 1.5;
  max-width: 240px;
}

/* ---------- SECTION HEADERS ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head .eyebrow {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -2.4px;
  margin: 0;
  text-wrap: balance;
}
.section-head .sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 640px;
}

/* ---------- AMH Dual Pillar Model · nested-strategy chain ---------- */
.section-head.dual-pillar { gap: 22px; max-width: 720px; }
.eyebrow-gold { color: var(--gold) !important; }
.dp-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  max-width: 620px;
}
.dp-chain {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  border-left: 1px solid var(--hairline);
  padding-left: 26px;
}
.dp-step {
  position: relative;
  padding: 16px 0;
}
.dp-step + .dp-step { border-top: 1px solid var(--hairline); }
.dp-step::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.dp-label {
  display: block;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}
.dp-step p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 580px;
}
/* INSIGHT · the turning point — purple accent + heavier weight */
.dp-step-insight::before { background: var(--purple); }
.dp-step-insight .dp-label { color: var(--purple); }
.dp-step-insight p {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- RED-NOSE it case study hero ---------- */
.rednose-case { max-width: 760px; }
.rednose-hero {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  transition: border-color var(--dur-base) var(--ease-out);
}
.rednose-hero:hover { border-color: var(--gold); }
.rednose-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.rednose-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--ink-subtle);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}
.rednose-badge:hover { color: var(--ink); }

/* Cannes pitch card image */
.cannes-pitch-card .card-image {
  display: block;
  text-decoration: none;
}

/* ---------- Creative formats shipped · carousel card (purple lane) ---------- */
.formats-card {
  margin-top: 28px;
  padding: 30px 0 34px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface-1);
  overflow: hidden;
}
.formats-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 32px;
  margin-bottom: 24px;
}
.formats-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--ink);
}
.formats-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.formats-eyebrow .dot.purple { background: var(--purple); }
.formats-meta {
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.formats-cat + .formats-cat { margin-top: 22px; }
.formats-cat-label {
  display: block;
  padding: 0 32px;
  margin-bottom: 12px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--purple);
}
.format-track {
  gap: 12px;
  padding: 2px 0;
}
.format-chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 10px 18px;
  border: 1px solid color-mix(in oklch, var(--purple) 32%, var(--hairline));
  border-radius: 9999px;
  background: color-mix(in oklch, var(--purple) 8%, var(--surface-2));
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: -0.2px;
  color: var(--ink-muted);
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.format-chip:hover {
  border-color: var(--purple);
  background: color-mix(in oklch, var(--purple) 14%, var(--surface-2));
  color: var(--ink);
}

/* ---------- WORK / BENTO ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}
.bento .card-featured {
  grid-column: span 2;
  grid-row: span 2;
}
.work-card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-edge-top);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.work-card:hover {
  background: var(--surface-2);
  border-color: var(--hairline-strong);
}
.work-card .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.work-card .meta {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.work-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.card-featured h3 {
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -1.8px;
}
.work-card .sub {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-top: -10px;
}
.work-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}
.card-featured p {
  font-size: 17px;
  max-width: 520px;
}
.work-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.work-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 0;
  cursor: pointer;
  background: transparent;
  padding: 0;
  text-decoration: none;
}
.work-card .cta-free {
  font-size: 9.5px;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 9999px;
  background: var(--gold-tint);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 67, 0.3);
}
.work-card.lane-gold .cta { color: var(--gold); }
.work-card.lane-purple .cta { color: var(--purple); }
.work-card.lane-gold:hover { border-color: rgba(212, 168, 67, 0.45); }
.work-card.lane-purple:hover { border-color: rgba(168, 85, 247, 0.45); }

/* featured card visual flourish */
.card-featured .flourish {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* featured card · campaign poster banner at the top of the card */
.work-card.has-image {
  padding: 0; /* image breaks out; content gets its own padding wrapper */
}
.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #000;
  flex-shrink: 0;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* anchor crop to the top so the headline is always visible */
  object-position: center top;
  opacity: 1;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1);
  transition: transform 6s var(--ease-out), filter var(--dur-slow) var(--ease-out);
}
.card-image-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* soft bottom fade for transition into the card body, plus a subtle
     gold tint at the corner so the flourish still feels integrated */
  background:
    linear-gradient(180deg, transparent 0%, transparent 65%, rgba(13, 13, 13, 0.55) 100%);
}
.work-card.has-image:hover .card-image img {
  transform: scale(1.03);
  filter: saturate(1) contrast(1.04);
}

/* content wrapper inside the has-image card */
.work-card.has-image .top,
.work-card.has-image > h3,
.work-card.has-image > .sub,
.work-card.has-image > p,
.work-card.has-image > .tags,
.work-card.has-image > .badge-row {
  margin-left: 28px;
  margin-right: 28px;
}
.work-card.has-image .top { margin-top: 24px; }
.work-card.has-image > .badge-row { margin-bottom: 28px; }
.card-featured .badge-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.card-featured .award-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
}
.card-featured .badge-row .col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.card-featured .badge-row .col .a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.card-featured .badge-row .col .b {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.tag-pill {
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 9999px;
  border: 1px solid var(--hairline);
  color: var(--ink-subtle);
  background: transparent;
}

/* ---------- METHODOLOGY ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.phase {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: var(--shadow-edge-top);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.phase:hover { background: var(--surface-2); border-color: var(--hairline-strong); }
.phase .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.phase .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.4px;
  color: var(--gold);
}
.phase .time {
  font-family: var(--font-metric);
  font-weight: 500;
  font-size: 12px;
  color: var(--ink-subtle);
  letter-spacing: 0;
}
.phase h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.6px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--surface-3);
  border: 1px solid var(--hairline);
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ink);
}
.tool-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.phase .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.phase .tags span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-subtle);
}
.phase .tags span + span::before {
  content: "·";
  margin: 0 8px;
  color: var(--ink-tertiary);
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.svc {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-edge-top);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.svc.gold::before { background: var(--gold); }
.svc.purple::before { background: var(--purple); }
.svc:hover { background: var(--surface-2); }
.svc .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.svc.gold .svc-icon { background: var(--gold-tint); color: var(--gold); }
.svc.purple .svc-icon { background: var(--purple-tint); color: var(--purple); }
.svc .num {
  font-family: var(--font-metric);
  font-weight: 500;
  font-size: 12px;
  color: var(--ink-subtle);
  letter-spacing: 1.4px;
}
.svc h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}
.svc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc li {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hairline);
}
.svc li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc.gold li::before { content: "→"; color: var(--gold); font-family: var(--font-metric); flex-shrink: 0; }
.svc.purple li::before { content: "→"; color: var(--purple); font-family: var(--font-metric); flex-shrink: 0; }
.svc-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.svc-tag {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid var(--hairline-strong);
  color: var(--ink-subtle);
  background: var(--surface-2);
}
.svc.gold .svc-tag { border-color: rgba(212, 168, 67, 0.28); color: var(--gold); background: var(--gold-tint); }
.svc.purple .svc-tag { border-color: rgba(139, 92, 246, 0.28); color: var(--purple); background: var(--purple-tint); }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: #A855F7;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.18s ease, opacity 0.18s ease;
}
.svc-link-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}
.svc-link:hover {
  border-bottom-color: #A855F7;
  opacity: 0.85;
}
.svc-link:hover .svc-link-arrow {
  transform: translateX(3px);
}

/* ---------- DIGITAL PRODUCTS ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-edge-top);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.product:hover { background: var(--surface-2); border-color: var(--hairline-strong); transform: translateY(-4px); }
.product .product-vis {
  height: 140px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(135deg, var(--surface-3) 0%, var(--surface-1) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product .product-vis::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 244, 245, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 244, 245, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.product .product-vis .glyph {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  letter-spacing: -3px;
  position: relative;
  z-index: 1;
}
.product.gold .product-vis .glyph { color: var(--gold); }
.product.purple .product-vis .glyph { color: var(--purple); }
.product .product-vis .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  z-index: 1;
}
.product h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.product p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-subtle);
  margin: 0;
}
.product .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}
.product .price-row.solo { justify-content: flex-end; }
/* Product tag chip · Free / Early access */
.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 9999px;
}
.product-tag.gold {
  color: var(--gold);
  background: color-mix(in oklch, var(--gold) 14%, transparent);
  border: 1px solid color-mix(in oklch, var(--gold) 38%, transparent);
}
.product-tag.purple {
  color: var(--purple);
  background: color-mix(in oklch, var(--purple) 14%, transparent);
  border: 1px solid color-mix(in oklch, var(--purple) 40%, transparent);
}
/* Proof line under the products grid */
.products-proof {
  margin: 32px auto 0;
  max-width: 640px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-subtle);
  text-wrap: balance;
}

/* ---------- Featured playbook · CLAUDE.md autopilot bonus ---------- */
.product-featured .product-cover {
  display: block;
  margin: -32px -32px 0;
  background: #0a0a0a;
  border-bottom: 1px solid var(--hairline);
  line-height: 0;
}
.product-featured .product-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.product-featured {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(212, 168, 67, 0.04) 0%, transparent 40%),
    var(--surface-1);
  border-color: rgba(212, 168, 67, 0.25);
}
.product-featured:hover {
  border-color: rgba(212, 168, 67, 0.45);
}
.product-featured .product-bonus {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--gold-tint);
  border: 1px solid rgba(212, 168, 67, 0.35);
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  z-index: 2;
}
.product-featured .product-bonus .bonus-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.22);
  animation: pulse-gold 2.4s var(--ease-out) infinite;
}
.bonus-box {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px dashed rgba(212, 168, 67, 0.35);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
    rgba(13, 13, 13, 0.5);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.bonus-box::before {
  /* terminal grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(212, 168, 67, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 168, 67, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
  pointer-events: none;
}
.bonus-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.bonus-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
}
.bonus-stamp {
  font-family: var(--font-metric);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--on-gold);
}
.bonus-copy {
  position: relative;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--ink-muted) !important;
  margin: 0 !important;
}
.bonus-copy strong {
  color: var(--ink);
  font-weight: 600;
}
.bonus-flow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow-step {
  font-family: var(--font-metric);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--surface-3);
  border: 1px solid var(--hairline);
}
.flow-step:first-child {
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.35);
}
.flow-arrow {
  font-family: var(--font-metric);
  font-size: 12px;
  color: var(--ink-tertiary);
}
.product .price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -1.2px;
  color: var(--ink);
}
.product .price .cents {
  font-size: 18px;
  color: var(--ink-subtle);
  letter-spacing: 0;
  margin-left: 2px;
}

/* ---------- ABOUT ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-left h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -3px;
  margin: 0 0 32px;
  color: var(--ink);
}
.about-left .bio {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-left .bio p {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
  max-width: 620px;
}
.about-quote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 24px;
  margin-top: 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: var(--ink);
  max-width: 580px;
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-edge-top);
}
.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 100% at 50% 50%, transparent 55%, rgba(13, 13, 13, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.about-photo .corner-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  z-index: 2;
}
.about-photo .corner-tag .gold { color: var(--gold); }
.about-photo .corner-tag-r {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-metric);
  font-size: 11px;
  color: var(--ink-subtle);
  letter-spacing: 1px;
  z-index: 2;
}
.about-photo .corner-tag-b {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  z-index: 2;
}

.about-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-edge-top);
}
.about-card h6 {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0 0 14px;
}
.about-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-card li {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-card li::before {
  content: "·";
  color: var(--gold);
  font-family: var(--font-metric);
  flex-shrink: 0;
}
.lang-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lang-row .chip {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.3px;
  text-transform: none;
  font-size: 13px;
  padding: 6px 14px;
}

/* ---------- CONTACT ---------- */
.contact {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-1);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -3px;
  margin: 16px 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.contact-left h2 .gold { color: var(--gold); }
/* Contact headline · sized to match section titles, not the hero */
.contact-head {
  font-size: clamp(30px, 3.6vw, 46px) !important;
  letter-spacing: -1.2px !important;
  line-height: 1.1 !important;
  max-width: 640px;
}
.contact-head .purple { color: var(--purple); }
.contact-left p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 460px;
  margin: 0 0 32px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info .row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-info .row .label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.contact-info .row a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
  width: fit-content;
  padding-bottom: 4px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.contact-info .row a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.contact-form {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-edge-top);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.field input,
.field textarea {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  color: var(--ink);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-ring);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-tertiary); }

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.form-foot .ack {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ink-subtle);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-subtle);
  margin: 0;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h6 {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0 0 16px;
}
.footer-col ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-muted);
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--ink-tertiary);
}
.footer-bottom .geo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom .geo svg { opacity: 0.6; }

/* ---------- Big closing CTA banner (above footer) ---------- */
.closing {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}
.closing-bust {
  position: absolute;
  right: -2%;
  top: 50%;
  width: 360px;
  height: 460px;
  margin-top: -230px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  perspective: 1400px;
  /* radial fade so the dark portrait background bleeds into the canvas
     instead of reading as a rectangular image */
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 75% at 50% 40%, #000 25%, transparent 78%);
}
.closing-bust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  animation: closing-bust-rotate 22s var(--ease-in-out) infinite;
  transform-origin: center center;
  /* desaturate + slight gold tint via filter, so it sits in the mood without
     competing with the headline colour */
  filter: saturate(0.6) sepia(0.15);
}
@keyframes closing-bust-rotate {
  0%   { transform: rotateY(-32deg) rotateX(-3deg); }
  50%  { transform: rotateY( 32deg) rotateX( 3deg); }
  100% { transform: rotateY(-32deg) rotateX(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .closing-bust img { animation: none; transform: rotateY(0deg); }
}
.closing-inner {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.closing-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 70%, rgba(212, 168, 67, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.closing h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -1px;
  margin: 0 auto;
  max-width: 20em;
  color: var(--ink);
  text-wrap: balance;
}
.closing h2 .gold { color: var(--gold); }
.closing h2 .purple { color: var(--purple); }
.closing p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.3px;
  color: var(--ink-muted);
  max-width: 580px;
  margin: 28px auto 36px;
}

/* ---------- Decorative geometric flourish ---------- */
.geo-mesh {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(to right, #f4f4f5 1px, transparent 1px),
    linear-gradient(to bottom, #f4f4f5 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { min-height: 0; padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-portrait { margin-left: 0; min-height: 0; order: -1; }
  .hero-portrait img { max-width: 440px; margin: 0 auto; }
  .hero-status { max-width: 100%; }
  .cred-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card-featured { grid-column: span 2; grid-row: auto; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .product-featured { grid-column: span 1; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; padding: 40px 0; }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 80px 0; }
  .nav-links { display: none; }
  .bento, .method-grid, .services-grid { grid-template-columns: 1fr; }
  .bento .card-featured { grid-column: span 1; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
