@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dmsans-latin.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dmsans-latin-ext.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== Optimer Consulting — concept redesign =====
   Scandinavian minimalism: warm paper, ink, one violet accent. */

:root {
  --paper: #FFFFFF;              /* her page background */
  --paper-alt: #F5F5F5;          /* her alternating section */
  --ink: #333333;                /* her wordmark grey */
  --muted: #706E6E;              /* her body + heading grey */
  --line: #D1D5DB;               /* her rule grey */
  --brand-a: #3C34E4;        /* her logo gradient: blue-violet */
  --brand-b: #B121EC;        /* mid purple */
  --brand-c: #FE2EE5;        /* hot magenta */
  --accent: #B121EC;         /* graphics, fills, marks */
  --accent-ink: #A61BDE;     /* small text — AA on paper */
  --accent-soft: rgba(177, 33, 236, 0.08);
  --radius: 11px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: var(--radius);
  font-weight: 200; font-size: 0.9rem; text-decoration: none;
  transform: translateY(-250%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

h1, h2, h3 { font-weight: 200; letter-spacing: normal; line-height: 1.08; }

h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }

.section { padding: clamp(80px, 12vh, 140px) 0; }
.section-alt { background: var(--paper-alt); }

.kicker::before {
  content: ""; display: inline-block; width: 18px; height: 2px;
  background: var(--accent); border-radius: 1px;
  margin-right: 10px; vertical-align: middle;
}
:is(.case-head, .channel) .kicker::before { display: none; }
.kicker {
  color: var(--accent-ink);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 20px;
  font-weight: 200;
}

.section-head { margin-bottom: clamp(40px, 7vh, 72px); }

.accent-dot { color: var(--accent); font-style: normal; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 200;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -10px rgba(177, 33, 236, 0.55); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
/* over the hero the header dissolves into the photo's own white fade */
.site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.hidden { transform: translateY(-100%); }

.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}

.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-img {
  height: 28px; width: auto; display: block;
  transition: opacity 0.3s var(--ease);
}
.logo:hover .logo-img { opacity: 0.78; }
@media (max-width: 720px) { .logo-img { height: 24px; } }

.site-nav { display: flex; gap: 28px; }
.site-nav a, .header-cta { white-space: nowrap; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  position: relative; transition: color 0.25s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { padding: 10px 20px; font-size: 0.88rem; }
.nav-book { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 6px; justify-content: center; align-items: center;
  background: none; border: none; cursor: pointer; padding: 8px;
  min-width: 44px; min-height: 44px; margin-right: -10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 24px 80px;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image: url('assets/hero-office.jpg');
  background-size: cover; background-position: 50% 58%;
  opacity: 1;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.97) 7%,
      rgba(255,255,255,0.6) 15%,
      rgba(255,255,255,0.24) 30%,
      rgba(255,255,255,0.26) 60%,
      rgba(255,255,255,0.97) 100%);
}
@media (max-width: 720px) { .hero-photo { opacity: 1; background-position: 56% 58%; } }
.hero::before {
  content: ""; position: absolute; top: -18%; right: -12%;
  width: 58vw; height: 58vw; pointer-events: none;
  background: radial-gradient(circle, rgba(177, 33, 236, 0.075), transparent 64%);
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.hero-inner::before {
  content: ""; position: absolute; inset: -70px -150px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 52%, rgba(255, 255, 255, 0.62) 30%, rgba(255, 255, 255, 0.3) 58%, rgba(255, 255, 255, 0) 84%);
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  margin: 8px 0 28px;
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; perspective: 700px; }
.line {
  display: block; transform: translateY(110%) rotateX(38deg);
  transform-origin: 0 100%;
}
.hero-title.go1 .line-mask:nth-child(1) .line,
.hero-title.go2 .line-mask:nth-child(2) .line { animation: line-up 0.9s var(--ease) forwards; }
.hero-title .line-mask:nth-child(2) .grad {
  background: linear-gradient(90deg, var(--brand-a) 0%, var(--brand-b) 50%, var(--brand-c) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes line-up { to { transform: translateY(0) rotateX(0); } }

/* once the chart lands, the headline's full stop pulses in the chart's rhythm */
.hero.done .hero-title .accent-dot { position: relative; display: inline; }
.hero.done .hero-title .accent-dot::after {
  content: ""; position: absolute; left: 50%; top: 58%; width: 6px; height: 6px;
  margin: -3px 0 0 -3px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(177, 33, 236, 0.30);
  animation: dot-pulse 2.2s var(--ease) infinite;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 560px; margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scrollhint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 56px; background: var(--line); overflow: hidden;
}
.hero-scrollhint span {
  position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent);
  animation: scrollhint 1.8s var(--ease) infinite;
}
@keyframes scrollhint { to { top: 100%; } }

/* ===== Marquee ===== */
.partners {
  border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; white-space: nowrap;
}
.partners:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Statement ===== */
.statement-text {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 200; line-height: 1.35; letter-spacing: normal;
}
.statement-text .w { opacity: 0.14; transition: opacity 0.5s var(--ease); }
.statement-text .w.on { opacity: 1; }

/* ===== Cards ===== */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.card {
  background: var(--paper); padding: 40px 32px 48px;
  position: relative;
  transition: background 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { box-shadow: 0 22px 44px -26px rgba(51, 51, 51, 0.24); z-index: 1; }
.card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { background: var(--accent-soft); }
.card:hover::before { transform: scaleX(1); }
.card-num { font-size: 0.8rem; color: var(--accent); font-weight: 500; letter-spacing: 0.1em; background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; display: inline-block; }
.card h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.card h3:first-child { margin-top: 0; }   /* no number badge above it on the service cards */
.card p { color: var(--muted); font-size: 0.95rem; }
.card-accent { background: linear-gradient(135deg, var(--ink) 40%, #3B1170); }
.card-accent h3 { color: var(--paper); }
.card-accent p { color: #A7A2AE; }
.card-accent:hover { background: linear-gradient(135deg, #201A30 38%, #4A1487); }

/* ===== Steps ===== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  position: relative; padding-top: 36px;
}
.steps-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line);
}
.steps-line-fill {
  height: 100%; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.step { position: relative; }
.step-dot {
  position: absolute; top: -41px; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper-alt); border: 2px solid var(--line);
  transition: border-color 0.4s, background 0.4s;
}
.step.lit .step-dot { border-color: var(--accent); background: var(--accent); animation: dot-pop 0.45s var(--ease); }
@keyframes dot-pop { 50% { transform: scale(1.5); } }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ===== Stats ===== */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-bottom: clamp(48px, 8vh, 88px);
}
.stat { border-top: 2px solid var(--ink); padding-top: 24px; }
.stat-num {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 200; letter-spacing: normal; line-height: 1;
  display: block; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-num .count {
  background: linear-gradient(90deg, var(--brand-a) 0%, var(--brand-b) 50%, var(--brand-c) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { color: var(--muted); font-size: 0.95rem; max-width: 260px; }


/* ===== Tiers ===== */

/* ===== Contact ===== */
.contact-title { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 36px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.legal {
  display: flex; justify-content: center; margin-top: 18px;
}
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.legal a {
  font-size: 0.8rem; color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.legal a:hover { color: var(--brand-b); border-bottom-color: var(--brand-b); }

.policy { max-width: 68ch; }
.policy h2 {
  font-size: 1.12rem; font-weight: 400; color: var(--ink);
  margin: 34px 0 10px; letter-spacing: normal; line-height: 1.35;
}
.policy h2:first-child { margin-top: 0; }
.policy p { color: var(--muted); font-size: 0.96rem; margin-bottom: 14px; }
.policy p:last-child { margin-bottom: 0; }

.credit {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 0.74rem; color: var(--muted); text-align: right; letter-spacing: 0.04em;
}
.credit a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.credit a:hover { color: var(--brand-b); border-bottom-color: var(--brand-b); }

.social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.35s var(--ease);
}
.social a:hover { color: #FFFFFF; background: var(--brand-b); transform: translateY(-2px); }
.social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social svg { display: block; }
@media (hover: none) { .social a:hover { color: var(--muted); background: transparent; transform: none; } }
/* ===== Newsletter ===== */
.newsletter { background: var(--paper-alt); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vh, 76px) 0; margin-bottom: 28px; }
.newsletter-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.newsletter-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 4px 0 10px; text-wrap: balance; }
.newsletter-sub { color: var(--muted); font-size: 0.95rem; max-width: 46ch; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input {
  flex: 1 1 220px; min-width: 0;
  font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 12px 16px; border: 1px solid #8F959E; border-radius: var(--radius); background: var(--paper);
}
.newsletter-form input:focus { outline: none; border-color: var(--brand-b); }
.newsletter-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.newsletter-msg { flex-basis: 100%; margin: 0; font-size: 0.85rem; color: var(--muted); min-height: 1.2em; }
.newsletter-msg.ok { color: var(--accent-ink); }
.newsletter-msg.err { color: #B32E4E; }
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; } }

.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.85rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer a { color: var(--muted); text-decoration: none; padding: 10px 0; display: inline-block; white-space: nowrap; }
.site-footer a:hover { color: var(--ink); }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0; transform: perspective(900px) translateY(28px) rotateX(7deg);
  transform-origin: 50% 100%;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== Motion fixes ===== */
/* While hovered, tilt targets get a crisp transform response (the reveal keeps its own 0.8s glide) */
.tilt.in:hover { transition: transform 0.22s ease-out, background 0.4s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.tilt { position: relative; }
.tilt::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 20%), rgba(177, 33, 236, 0.07), transparent 42%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.tilt:hover::after { opacity: 1; }
.card-accent.tilt::after {
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 20%), rgba(255, 255, 255, 0.15), transparent 46%);
}
.btn:active { transform: translateY(0) scale(0.97); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .steps-line { display: none; }
  .step-dot { position: static; display: inline-block; margin-bottom: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stat p { max-width: none; }
}

@media (max-width: 1080px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0s 0.35s;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav-book {
    display: block; background: var(--brand-b); color: #FFFFFF !important;
    text-align: center; padding: 14px !important; margin-top: 12px;
    border-bottom: none !important; font-weight: 400; border-radius: var(--radius);
  }
  .site-nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}
@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 32px 24px 38px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line { transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-scrollhint { display: none; }
  .statement-text .w { opacity: 1; }
}

/* ===== Pages / router ===== */
.page { animation: page-in 0.5s var(--ease); }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

.page-hero { padding: calc(var(--header-h) + clamp(56px, 10vh, 110px)) 0 clamp(36px, 6vh, 64px); }
.page-title { font-size: clamp(2.6rem, 6.5vw, 4.8rem); margin: 8px 0 20px; }
.pt-0 { padding-top: 0; }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 640px; }
.section-head + .lead { margin-top: -28px; margin-bottom: 24px; }
.section-foot { margin-top: 40px; }
.text-link { color: var(--ink); font-weight: 200; text-decoration: none; font-size: 0.95rem; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.text-link:hover { color: var(--accent); }

.site-nav a.active { color: var(--ink); }
.site-nav a.active::after { transform: scaleX(1); }

/* ===== Approach page ===== */
.truths { display: grid; gap: 20px; margin-bottom: 36px; }
.truth { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--muted); border-left: 2px solid var(--line); padding-left: 22px; }
.truth strong { color: var(--ink); font-weight: 200; opacity: 0; transition: opacity 0.5s var(--ease) 0.75s; }
.truth.in strong { opacity: 1; }
.truth .myth { position: relative; }
.truth .myth::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 0.6em; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease) 0.4s;
}
.truth.in .myth::after { transform: scaleX(1); }
.prose p { margin-bottom: 18px; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

.founder-story {
  display: grid; grid-template-columns: minmax(190px, 250px) 1fr;
  gap: 34px; align-items: start; margin-top: 4px;
}
.fs-photo {
  margin: 0; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-alt);
  position: sticky; top: calc(var(--header-h) + 28px);
}
.fs-photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 2 / 3; object-fit: cover; object-position: center 18%;
}
@media (max-width: 720px) {
  .founder-story { grid-template-columns: 1fr; gap: 22px; }
  .fs-photo { position: static; max-width: 240px; }
}

.founder {
  margin: 0; overflow: hidden;
  border: 1px solid var(--line); border-bottom: 0;
  background: var(--paper-alt);
}
.founder img {
  display: block; width: 100%;
  height: clamp(240px, 40vh, 440px);
  object-fit: cover; object-position: 34% 12%;
}
@media (max-width: 720px) { .founder img { height: clamp(190px, 32vh, 280px); object-position: 36% 10%; } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.member {
  background: var(--paper); padding: 24px 22px 26px;
  display: flex; align-items: center; gap: 16px;
  transition: background 0.35s var(--ease);
}
.member-txt { min-width: 0; }
.face {
  width: 62px; height: 62px; flex: 0 0 62px;
  border-radius: 50%; object-fit: cover; object-position: center top;
  background: var(--accent-soft);
  filter: grayscale(1); transition: filter 0.45s var(--ease);
}
.member:hover .face { filter: grayscale(0); }
.face.mono {
  display: flex; align-items: center; justify-content: center;
  font-size: 0.94rem; font-weight: 400; letter-spacing: 0.06em;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b) 55%, var(--brand-c));
  filter: none;
}
.member:not(:has(.face)) { padding-left: 24px; }
.member:hover { background: var(--accent-soft); }
.member h3 { font-size: 1.02rem; margin-bottom: 6px; }
.member p { color: var(--muted); font-size: 0.85rem; }

.tools { display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: center; margin-top: 24px; }
.tool {
  width: 62px; height: 62px; flex: 0 0 62px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: #FFFFFF; color: var(--muted); cursor: pointer; padding: 0;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .4s var(--ease);
}
.tool svg { width: 24px; height: 24px; fill: currentColor; transition: transform .3s var(--ease); }
.tool:hover, .tool:focus-visible, .tool.on {
  color: var(--brand-b); border-color: var(--brand-b);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -18px rgba(177, 33, 236, .8);
}
.tool:hover svg, .tool:focus-visible svg, .tool.on svg { transform: scale(1.1); }
.tool:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tools-name {
  margin: 16px 0 0; min-height: 1.4em; text-align: center;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-b); transition: opacity .25s var(--ease);
}
@media (hover: none) { .tool:hover { color: var(--muted); border-color: var(--line); transform: none; box-shadow: none; } }
@media (max-width: 560px) { .tool { width: 54px; height: 54px; flex: 0 0 54px; } .tool svg { width: 21px; height: 21px; } }

/* ===== Cards: 4-col variant ===== */
.cards-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Stats: 4-col variant ===== */
.stats-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Success stories ===== */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case { min-width: 0; border: 1px solid var(--line); background: var(--paper); padding: 36px 32px 40px; transition: border-color 0.3s, transform 0.45s var(--ease); }
.case:hover { border-color: var(--accent); box-shadow: 0 20px 40px -26px rgba(51, 51, 51, 0.2); }
.case-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px;
  grid-template-areas: "kicker spark" "metrics spark";
  align-items: center;
}
.case-head .kicker { grid-area: kicker; }
.case-metrics { grid-area: metrics; }
.case-head .kicker { margin-bottom: 8px; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 6px 16px; min-width: 0; font-size: 0.85rem; color: var(--muted); }
.case-metrics b { color: var(--accent); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.case h3 { font-size: 1.35rem; margin: 10px 0 12px; }
.case > p { color: var(--muted); font-size: 0.95rem; }
.case blockquote { margin-top: 18px; border-left: 2px solid var(--accent); padding-left: 16px; font-size: 0.95rem; }
.case blockquote cite { display: block; color: var(--muted); font-style: normal; font-size: 0.85rem; margin-top: 6px; }

/* ===== Academy pricing ===== */

/* ===== Insights ===== */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.article { background: var(--paper); padding: 32px 28px 36px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; transition: background 0.35s var(--ease); }
.article:hover { background: var(--accent-soft); }
.article h3 { font-size: 1.1rem; flex: 1; }
.article-cta { color: var(--accent); font-weight: 200; font-size: 0.9rem; }

/* ===== Contact channels ===== */
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.channel { border: 1px solid var(--line); background: var(--paper); padding: 32px 28px; text-decoration: none; color: var(--ink); transition: border-color 0.3s, transform 0.45s var(--ease); }
.channel:hover { border-color: var(--accent); box-shadow: 0 20px 40px -26px rgba(51, 51, 51, 0.2); }
.channel .kicker { margin-bottom: 10px; }
.channel h3 { font-size: 1.3rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.channel p:last-child { color: var(--muted); font-size: 0.92rem; }
.socials { display: flex; gap: 24px; }
.socials a { color: var(--muted); text-decoration: none; font-weight: 200; font-size: 0.95rem; padding: 10px 0; display: inline-block; }
.socials a:hover { color: var(--accent); }

/* ===== Responsive additions ===== */
@media (max-width: 900px) {
  .cards-4, .stats-4 { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .cases, .channels { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cards-4, .stats-4 { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
}

/* ===== QA static mode (?static=1) ===== */
.qa-static .hero { min-height: 720px; height: 720px; }
.qa-static .reveal { transition: none !important; }
.qa-static .line { animation: none !important; transform: none !important; }
.qa-static .hero.done .hero-title .accent-dot::after { animation: none; }
.qa-static .statement-text .w { transition: none !important; }
.qa-static .hero-scrollhint span, .qa-static .marquee-track { animation-play-state: paused !important; }

/* ===== Signature dot pulse on interior page titles ===== */
.page-hero .accent-dot { position: relative; display: inline; }
.page-hero .accent-dot::after {
  content: ""; position: absolute; left: 50%; top: 58%; width: 6px; height: 6px;
  margin: -3px 0 0 -3px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(177, 33, 236, 0.30);
  animation: dot-pulse 2.2s var(--ease) infinite;
}
@keyframes dot-pulse { to { box-shadow: 0 0 0 18px rgba(177, 33, 236, 0); } }

/* ===== Case sparklines ===== */
.case-spark { grid-area: spark; width: 132px; height: 48px; }
@media (max-width: 900px) { .case-spark { width: 108px; height: 40px; } }
@media (max-width: 600px) {
  .case { padding: 28px 22px 32px; }
  .case-head { grid-template-columns: 1fr; grid-template-areas: "kicker" "metrics" "spark"; row-gap: 4px; }
  .case-spark { width: 150px; height: 42px; margin-top: 10px; }
}

/* ===== Route cross-fade (View Transitions) ===== */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.3s; }
.vt .page { animation: none; }

/* ===== Rhythm after grids ===== */
.cards + .lead, .team + .lead { margin-top: 40px; }
.lead + .kicker { margin-top: 36px; margin-bottom: 12px; }

/* ===== Partner logos ===== */
.partners-kicker { text-align: center; margin-bottom: 18px; }
.marquee-track .partner { display: inline-flex; align-items: center; height: 34px; vertical-align: middle; }
.marquee-track .partner .wordmark {
  display: inline; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.95rem; font-weight: 200; color: var(--muted);
  text-decoration: none; transition: color 0.3s;
}
.marquee-track .partner a.wordmark { cursor: pointer; }
.marquee-track .partner:hover .wordmark { color: var(--ink); }
.marquee-track .partner a.wordmark:hover { color: var(--accent); }
.marquee-track .sep { color: var(--accent); opacity: 0.6; }

/* ===== Depth (3D) ===== */
@media (hover: hover) and (pointer: fine) {
  .tilt { will-change: transform; }
  .card, .case, .channel, .article { transform-style: preserve-3d; }
  .card .card-num, .case .case-metrics { transform: translateZ(18px); }
  .hero-inner, #heroCanvas { will-change: transform; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .case, .channel, .article { transform: none !important; }
  .page-hero .accent-dot::after { animation: none; }
  .hero.done .hero-title .accent-dot::after { animation: none; }
  .truth strong { opacity: 1; transition: none; }
  .truth .myth::after { display: none; }
  .step.lit .step-dot { animation: none; }
}
.qa-static .truth strong { opacity: 1; transition: none; }
.qa-static .truth.in .myth::after { transition: none; }
.qa-static .page-hero .accent-dot::after { animation: none; }

/* ===== Final polish ===== */
.card h3:last-child { margin-bottom: 0; }
.stats:last-child { margin-bottom: 0; }
.section-head + .lead:last-child { margin-bottom: 0; }
.lead + .cards, .lead + .cards-4 { margin-top: 40px; }
.lead + .socials { margin-top: 32px; }
/* centred kickers: mirror the dash so the text is optically centred */
.center .kicker::after, .partners-kicker::after, .hero-inner .kicker::after {
  content: ""; display: inline-block; width: 18px; height: 2px;
  background: var(--accent); border-radius: 1px; margin-left: 10px; vertical-align: middle;
}
.statement .container { text-align: center; }

/* ===== Final QA pass 2 ===== */
/* grids: hairlines via outlines so unrevealed cards never expose a solid slab */
.cards, .articles, .team { background: var(--paper); }
.card, .article, .member { outline: 1px solid var(--line); }
/* comfortable tap targets without layout change */
.text-link { position: relative; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
/* phones: plot gets its own band under the text */
@media (max-width: 640px) {
  .hero { padding-bottom: 220px; }
  .hero-scrollhint { display: none; }
}
/* touch devices: no sticky hover states */
@media (hover: none) {
  .partners:hover .marquee-track { animation-play-state: running; }
  .btn:hover { transform: none; }
  .btn-solid:hover { background: var(--ink); box-shadow: none; }
  .btn-ghost:hover { background: transparent; color: var(--ink); border-color: var(--line); }
  .card:hover { box-shadow: none; background: var(--paper); }
  .card-accent:hover { background: linear-gradient(135deg, var(--ink) 40%, #3B1170); }
  .card:hover::before { transform: scaleX(0); }
  .case:hover, .channel:hover { box-shadow: none; border-color: var(--line); }
  .article:hover { background: var(--paper); }
  .member:hover { background: var(--paper); }
}

/* ===== Intro: an odometer rolling $100,000 → $160,000, then the sheet lifts ===== */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center;
  transition: transform 0.8s var(--ease);
}
.intro.lift { transform: translateY(-101%); }
.intro-inner { width: min(720px, 86vw); }
.intro-stage { will-change: transform; }
.intro-kicker { margin-bottom: 30px; }
.intro-figure {
  position: relative;
  font-size: clamp(3.4rem, 10.5vw, 8rem);
  font-weight: 200; letter-spacing: normal; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);                       /* fallback until the reels paint the gradient */
}
.od, .od-ch { display: inline-block; height: 1em; line-height: 1; vertical-align: top; }
.od {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.od-reel { display: inline-block; will-change: transform; transition: filter 0.3s var(--ease); }
.od-d { display: block; height: 1em; line-height: 1; }
.od-paint {
  background-image: linear-gradient(90deg, var(--brand-a) 0%, var(--brand-b) 50%, var(--brand-c) 100%);
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro-plot { display: block; width: 100%; height: 100px; margin-top: 26px; }
.intro-glow {
  position: absolute; left: 50%; top: 50%;
  width: min(880px, 92vw); height: min(560px, 72vh);
  transform: translate(-50%, -50%);
  pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(177, 33, 236, 0.11), rgba(60, 52, 228, 0.05) 55%, transparent 78%);
  filter: blur(6px);
}
.intro-hold { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
.qa-static .intro { display: none; }

/* solutions: heading-only category cards size to content */
.page[data-page="solutions"] .cards { grid-auto-rows: auto; }

/* ===== Intro: more energy ===== */
.intro-figure { will-change: transform, filter; }
.intro.rush .intro-figure { filter: blur(0.4px); }
.intro.done .intro-figure { animation: figure-land 0.5s var(--ease); }
@keyframes figure-land {
  35% { transform: scale(1.06); }
  70% { transform: scale(0.995); }
  100% { transform: scale(1); }
}
.intro.done .intro-glow { animation: glow-breathe 2.2s var(--ease) infinite; }
@keyframes glow-breathe {
  0%, 100% { opacity: 0.9; }
  45% { opacity: 0.55; }
}
.intro-kicker { opacity: 0; transform: translateY(6px); animation: kick-in 0.5s var(--ease) 0.1s forwards; }
@keyframes kick-in { to { opacity: 1; transform: none; } }
.intro.lift { transition: transform 0.72s cubic-bezier(0.7, 0, 0.2, 1); }
.intro-inner { transition: transform 0.72s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.72s var(--ease); }
.intro.lift .intro-inner { transform: translateY(-52px); opacity: 0.85; }
@media (prefers-reduced-motion: reduce) {
  .intro-kicker { animation: none; opacity: 1; transform: none; }
  .intro.done .intro-figure { animation: none; }
}

/* ===== Matched to optimerconsulting.com ===== */
.site-nav a { color: var(--ink); font-weight: 200; }
.site-nav a.active { color: var(--brand-b); }
.hero-title, .page-title, h1, h2, h3 { font-weight: 200; letter-spacing: normal; }
h2, h3 { color: var(--muted); }
.hero-title { color: var(--ink); }
body { font-weight: 200; }
p, li { font-weight: 200; }
.kicker { font-weight: 500; }
.btn { font-weight: 400; text-transform: none; }
.btn-solid { background: var(--brand-b); color: #FFFFFF; border-color: var(--brand-b); }
.btn-solid:hover { background: var(--brand-c); border-color: var(--brand-c); }
.btn-ghost { background: #FFFFFF; color: var(--brand-b); border: 1px solid var(--brand-b); }
.btn-ghost:hover { background: var(--brand-b); color: #FFFFFF; }
.card-num { color: var(--brand-b); font-weight: 500; }
.stat-num, .intro-figure { font-weight: 200; }

/* ===== Amelia calendar, embedded in our chrome =====
   Cross-origin (the demo host): her page is cropped so only the booking
   widget shows. Same-origin (once this lives on her domain): main.js hides
   her header/footer inside the frame and the crop is switched off. */
.amelia { border: 1px solid var(--line); background: #FFFFFF; border-radius: 11px; overflow: hidden; }
.amelia-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper-alt);
}
.amelia-dot {
  flex: 0 0 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-b);
  box-shadow: 0 0 0 0 rgba(177, 33, 236, 0.35); animation: dot-pulse 2.2s var(--ease) infinite;
}
.amelia-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 500; color: var(--muted);
}
.amelia-out { margin-left: auto; font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.amelia-out:hover { color: var(--brand-b); }

/* crop-top tracks her real WP header: 124px at iframe width >=1025, 83px below (measured live) */
.amelia-crop { --crop-top: 126px; height: 990px; overflow: hidden; position: relative; }
.amelia-crop.tall { height: 1700px; }
.amelia.clean .amelia-crop.tall { height: auto; }
.amelia-crop iframe {
  display: block; width: 100%; height: calc(990px + var(--crop-top));
  border: 0; margin-top: calc(var(--crop-top) * -1); background: #FFFFFF;
}
.amelia-crop.tall iframe { height: calc(1700px + var(--crop-top)); }
/* same-origin: no crop needed, the frame is cleaned from the inside */
.amelia.clean .amelia-crop { --crop-top: 0px; height: auto; }
.amelia.clean .amelia-crop iframe { height: 900px; margin-top: 0; }

/* Each framed page is a different length; measured on her live site. */
.page[data-page="resources"] .amelia-crop.tall { height: 2900px; }
.page[data-page="resources"] .amelia-crop.tall iframe { height: calc(2900px + var(--crop-top)); }

@media (max-width: 1072px) {
  .amelia-crop { --crop-top: 86px; }
}
@media (max-width: 720px) {
  .amelia-bar { flex-wrap: wrap; row-gap: 4px; }
  .amelia-out { margin-left: 17px; }
  .amelia-crop { --crop-top: 86px; height: 1060px; }
  .amelia-crop iframe { height: calc(1060px + var(--crop-top)); }
  .amelia.clean .amelia-crop iframe { height: 1020px; }
}
.case-note {
  margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--muted); line-height: 1.55;
}


/* ===== Retainer cards (her template) =====
   Palette is scoped to these four tokens — change them here to reskin the
   whole section without touching layout. */
.rt-grid {
  --rt-key: var(--accent);              /* ticks, hours, links */
  --rt-key-deep: var(--brand-a);        /* badge + featured edge */
  --rt-wash: rgba(177, 33, 236, 0.07);  /* icon tile + featured tint */
  --rt-edge: var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.rt {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rt-edge);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease),
              transform 0.35s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .rt:hover { transform: translateY(-3px); border-color: var(--rt-key); box-shadow: 0 24px 48px -26px rgba(51, 51, 51, 0.22); }
}
.rt-featured {
  border-color: var(--rt-key);
  background: linear-gradient(168deg, var(--rt-wash), rgba(255, 255, 255, 0) 62%), var(--paper);
  box-shadow: 0 20px 44px -28px rgba(177, 33, 236, 0.45);
}
.rt-badge {
  position: absolute; top: -1px; right: -1px;
  background: linear-gradient(120deg, var(--rt-key-deep), var(--rt-key));
  color: #fff; font-size: 0.7rem; letter-spacing: 0.05em;
  padding: 6px 13px; border-radius: 0 var(--radius) 0 var(--radius);
}

.rt-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--rt-edge); }
.rt-icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 10px; background: var(--rt-wash); color: var(--rt-key);
}
.rt-icon svg { width: 23px; height: 23px; }
.rt h3 { font-size: 1.32rem; font-weight: 200; line-height: 1.2; }
.rt-hours { color: var(--accent-ink); font-size: 0.88rem; margin-top: 3px; font-variant-numeric: tabular-nums; }

.rt-list { list-style: none; display: grid; gap: 11px; margin: 20px 0 22px; }
.rt-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.rt-tick { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 3px; color: var(--rt-key); }

.rt-ideal {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: auto; padding: 18px 0; border-top: 1px solid var(--rt-edge);
  color: var(--muted); font-size: 0.86rem; line-height: 1.55;
}
.rt-ideal-icon {
  flex: 0 0 32px; width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--rt-edge); border-radius: 50%; color: var(--rt-key);
}
.rt-ideal-icon svg { width: 16px; height: 16px; }
.rt-ideal-label { color: var(--ink); font-weight: 400; font-size: 0.86rem; margin-bottom: 1px; }

.rt-link {
  color: var(--rt-key); text-decoration: none; font-size: 0.92rem;
  padding-top: 16px; border-top: 1px solid var(--rt-edge);
  transition: color 0.25s var(--ease);
}
.rt-link:hover { color: var(--rt-key-deep); }

.rt-foot { margin: 34px 0 0; text-align: center; color: var(--muted); font-size: 0.94rem; }
.rt-foot a { color: var(--accent-ink); text-underline-offset: 3px; }
.rt-cta { display: flex; justify-content: center; margin-top: 22px; }

@media (max-width: 980px) { .rt-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ===== Fractional Operations ===== */
.fo {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
}
.fo-copy .section-head { margin-bottom: 22px; }
.fo-lede {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.35;
  color: var(--accent-ink);
  margin: 0 0 26px;
  text-wrap: balance;
}
.fo-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
  max-width: 46ch;
  margin: 0 0 16px;
}
.fo-cta { margin-top: 16px; }

.fo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}
.fo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: center;
  padding: clamp(24px, 3vw, 38px) 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
  transition: color 0.3s var(--ease);
}
.fo-item:nth-child(-n + 3) { border-top: 0; }
.fo-item:nth-child(3n + 1) { border-left: 0; }
.fo-item svg {
  width: 40px; height: 40px;
  color: var(--accent);
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .fo-item:hover { color: var(--ink); }
  .fo-item:hover svg { transform: translateY(-3px); color: var(--brand-a); }
}

@media (max-width: 980px) {
  .fo { grid-template-columns: 1fr; gap: 46px; }
  .fo-body { max-width: none; }
  .fo-grid { max-width: 620px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .fo-grid { grid-template-columns: repeat(2, 1fr); }
  .fo-item:nth-child(-n + 3) { border-top: 1px solid var(--line); }
  .fo-item:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .fo-item:nth-child(-n + 2) { border-top: 0; }
  .fo-item:nth-child(odd) { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fo-item svg { transition: color 0.3s var(--ease); }
  .fo-item:hover svg { transform: none; }
  .rt:hover { transform: none; }
}

/* ===== Values ===== */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin: 42px 0 0; }
.value dt {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 9px;
}
.value dd { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.62; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; gap: 26px; } }

/* ===== Founder perspective ===== */
.founder-name { color: var(--ink) !important; margin: 30px 0 1px !important; font-size: 1.02rem; }
.founder-role {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink) !important; margin-bottom: 16px !important;
}
.founder-quote {
  margin: 30px 0 0; padding: 0 0 0 20px;
  border-left: 2px solid var(--brand-b);
  font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.5;
  color: var(--ink); font-style: normal;
}

/* ===== Gated download ===== */
.dl {
  display: inline-flex; align-items: center; margin-top: 18px;
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 11px;
  background: #FFFFFF; color: var(--ink); font: inherit; font-size: .88rem;
  cursor: pointer; transition: border-color .25s, color .25s, transform .3s var(--ease);
}
.dl:hover { border-color: var(--brand-b); color: var(--brand-b); transform: translateY(-2px); }
.dl:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.gate {
  border: 1px solid var(--line); border-radius: 12px; padding: 0;
  max-width: 420px; width: calc(100% - 32px); background: #FFFFFF; color: var(--ink);
}
.gate::backdrop { background: rgba(26, 23, 33, .45); backdrop-filter: blur(2px); }
.gate-form { display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 26px; }
.gate-form h2 { font-size: 1.3rem; margin: 0; color: var(--ink); }
.gate-sub { font-size: .9rem; color: var(--muted); margin: 0; }
.gate-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.gate-form input {
  font: inherit; font-size: .95rem; color: var(--ink); text-transform: none; letter-spacing: normal;
  padding: 10px 12px; border: 1px solid #8F959E; border-radius: 8px; background: #FFFFFF;
}
.gate-form input:focus { outline: none; border-color: var(--brand-b); }
.gate-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gate-err { margin: 0; font-size: .85rem; color: #B32E4E; }
.gate-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.gate-actions .btn { padding: 10px 20px; font-size: .9rem; }
.gate-legal { margin: 0; font-size: .76rem; color: var(--muted); line-height: 1.6; }
.gate-legal a { color: var(--brand-b); }

/* ===== Her book ===== */
.book { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 54px; align-items: start; }
.book-cover { margin: 0; }
.book-cover img {
  display: block; width: 100%; height: auto;
  box-shadow: 0 2px 6px rgba(51,51,51,.09), 0 30px 60px -30px rgba(51,51,51,.45);
}
.book-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 6px; color: var(--ink); }
.book-author { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.book-text p { color: var(--muted); margin-bottom: 14px; max-width: 58ch; }
.book-cta { margin-top: 12px; }
.book-next {
  margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line);
}
.book-next h3 { font-size: 1.15rem; margin-bottom: 6px; }
.book-next p { margin-bottom: 10px; }
@media (max-width: 720px) {
  .book { grid-template-columns: 1fr; gap: 28px; }
  .book-cover { max-width: 220px; }
}

/* ===== Google appointment schedule ===== */
.gcal { border: 1px solid var(--line); background: #FFFFFF; border-radius: 11px; overflow: hidden; }
.gcal iframe { display: block; width: 100%; height: 680px; border: 0; background: #FFFFFF; }
@media (max-width: 720px) { .gcal iframe { height: 620px; } }

/* loading: her WordPress takes seconds to frame, so show that rather than blank */
.amelia.loading .amelia-crop::before {
  content: ""; position: absolute; inset: 0; z-index: 2; background: #FFFFFF;
}
.amelia.loading .amelia-crop::after {
  content: ""; position: absolute; left: 50%; top: 96px; z-index: 3;
  width: 26px; height: 26px; margin-left: -13px;
  border: 2px solid var(--line); border-top-color: var(--brand-b); border-radius: 50%;
  animation: amelia-spin 0.75s linear infinite;
}
@keyframes amelia-spin { to { transform: rotate(360deg); } }
.amelia.stalled .amelia-out { color: var(--brand-b); }
.bf-alt { margin-top: 22px; font-size: 0.92rem; color: var(--muted); }
.bf-alt a { color: var(--accent-ink); font-weight: 200; }
.bf-alt a:hover { color: var(--brand-c); }

.amelia-note {
  margin: 0; padding: 14px 18px;
  border-top: 1px solid var(--line); background: var(--paper-alt);
  font-size: 0.9rem; color: var(--muted);
}
.amelia-note a { color: var(--brand-b); }
.amelia.unavailable .amelia-crop { display: none; }

@media (prefers-reduced-motion: reduce) {
  .amelia-dot { animation: none; }
  .amelia.loading .amelia-crop::after { animation: none; }
}

/* ===== Touch: no sticky hover (re-asserted after the brand overrides) ===== */
@media (hover: none) {
  .btn-solid:hover { background: var(--brand-b); border-color: var(--brand-b); color: #FFFFFF; box-shadow: none; }
  .btn-ghost:hover { background: #FFFFFF; color: var(--brand-b); border-color: var(--brand-b); }
  .member:hover .face { filter: grayscale(1); }
  .amelia-out:hover { color: var(--muted); }
  .tilt:hover::after { opacity: 0; }
  .dl:hover { transform: none; border-color: var(--line); color: var(--ink); }
}

/* monograms never desaturate — the gradient is the point */
.member:hover .face.mono { filter: none; }
