/* ============================================================
   COMPONENTS — header, hero, buttons, cards, logo bar,
   testimonials, stats, forms, footer, FAB
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  font-weight: var(--fw-semibold);
}
.brand:hover { color: var(--ink); }
.brand-avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-avatar img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: var(--font-body); font-size: var(--fs-body); letter-spacing: var(--tracking-snug); }
.brand-role {
  display: block;
  font-size: 0.6875rem;
  color: var(--ink-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-5);
  align-items: center;
}
.nav-links li { margin: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--primary); }

/* "Book a call" nav pill needs its own rule — .nav-links a's specificity
   would otherwise paint it var(--ink-muted) instead of button text. */
.nav-links a.btn,
.nav-links a.btn:hover,
.nav-links a.btn[aria-current="page"] {
  color: var(--on-primary);
  border-bottom: none;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--ink);
}

/* Mobile nav drawer — anchored to the header (not the viewport): backdrop-filter
   on .site-header makes it the containing block for position:fixed descendants,
   so a viewport-relative inset resolves against the 64px header instead. */
.nav-drawer {
  display: none;
  position: absolute;
  inset: auto 0 auto 0;
  top: 100%;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  overflow-y: auto;
  background: var(--bg);
  z-index: calc(var(--z-header) - 1);
  padding: var(--space-6) var(--container-pad);
  border-top: 1px solid var(--line);
}
.nav-drawer[data-open="true"] { display: block; }
.nav-drawer ul { list-style: none; padding: 0; margin: 0; }
.nav-drawer li { margin: 0; }
.nav-drawer a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--fs-h3);
  font-family: var(--font-heading);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  letter-spacing: var(--tracking-snug);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border: 1px solid var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--accent); padding: 0 var(--space-3); }
.btn-ghost:hover { background: var(--accent-soft); }

.btn-lg { min-height: 52px; padding: 0 var(--space-6); font-size: var(--fs-body-lg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--section-y) + var(--space-4));
  padding-bottom: var(--section-y);
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -12% auto -12%;
  height: 150%;
  background:
    radial-gradient(440px 340px at 80% 14%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 62%),
    radial-gradient(380px 320px at 10% 90%, color-mix(in srgb, var(--taupe) 16%, transparent), transparent 62%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
  animation: glowdrift 20s ease-in-out infinite alternate;
}
.hero > .container { position: relative; z-index: 1; }
@keyframes glowdrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-4%, 3%, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: var(--space-9); }
}
.hero-inner { max-width: 720px; }
.hero h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}
.hero h1 em {
  font-style: normal;
  font-weight: var(--fw-medium);
  color: var(--primary);
}
@media (max-width: 767px) {
  .hero h1 .hero-h1-tail {
    display: block;
    font-size: var(--fs-h3);
    font-weight: var(--fw-regular);
    letter-spacing: var(--tracking-normal);
    line-height: var(--lh-snug);
    color: var(--ink-muted);
    margin-top: var(--space-2);
  }
}
.hero-sub {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: var(--fs-h3);
  color: var(--ink-muted);
  margin-bottom: var(--space-6);
  font-weight: var(--fw-regular);
  max-width: 640px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  font-size: var(--fs-small); color: var(--ink-muted);
  margin-top: var(--space-5);
}
.hero-meta strong { color: var(--ink); font-weight: var(--fw-semibold); }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin-top: var(--space-2);
}

/* Hero portrait card — terracotta inset edge per brand accent rule */
.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  max-width: 420px;
  margin: 0 auto;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primary) 55%, transparent);
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: kenburns 24s ease-in-out infinite alternate;
  transform-origin: 50% 35%;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-portrait img { animation: none; }
}
.hero-portrait-tag {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  background: color-mix(in srgb, var(--charcoal) 88%, transparent);
  color: #fff;
  border: 1px solid var(--dark-line);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: var(--fs-small);
  display: flex; align-items: center; gap: var(--space-3);
}
.hero-portrait-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Inverted charcoal section for visual rhythm — brand's own
   "Cream on Charcoal" pairing (13.87:1, AAA). */
.section-dark {
  background: linear-gradient(180deg, #11131D 0%, #1B1E2C 100%);
  color: var(--dark-ink);
}
.section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark p { color: var(--dark-ink-muted); }
.section-dark .eyebrow { color: var(--accent-on-dark); }
.section-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--dark-ink);
}
.section-dark .testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.section-dark .testimonial-quote { color: var(--dark-ink); }
.section-dark .testimonial-name { color: #FFFFFF; }
.section-dark .testimonial-author { border-top-color: rgba(255, 255, 255, 0.1); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stats > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
}
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: var(--fs-small);
  color: var(--ink-muted);
  margin-top: var(--space-2);
  text-wrap: balance;
}
.stat-detail {
  margin-left: 0; /* reset <dd> UA default indent, now that this is a dd not a p */
  font-size: var(--fs-micro);
  color: var(--ink-soft);
  margin-top: var(--space-2);
  line-height: var(--lh-snug);
}

/* ---------- Logo bar ---------- */
.logos {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-label {
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: var(--space-4);
}
/* Auto-scrolling marquee: two identical .logos-set copies placed side by
   side in a flex track, animated -50% so the loop is seamless. */
.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos-track {
  display: flex;
  width: max-content;
  animation: logoscroll 34s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logos-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: var(--space-7);
  padding: 0 var(--space-4);
}
@keyframes logoscroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
  .logos-marquee { overflow-x: auto; }
  .logos-set[aria-hidden="true"] { display: none; }
}
.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  min-height: 48px;
  padding: var(--space-2) var(--space-3);
  opacity: 0.9;
  flex-shrink: 0;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.logo-item:hover { opacity: 1; transform: translateY(-2px); }
/* Text-only variant (About, Services, Hire Me): names running past, no logo chrome */
.logos-set-text { gap: var(--space-6); }
.logo-item-text { min-height: auto; padding: 0; }
.logo-item-text .logo-fallback { font-size: var(--fs-h3); white-space: nowrap; }
.logo-item-text:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line);
  margin-left: var(--space-6);
  vertical-align: middle;
}
/* Real client logos vary wildly in background (transparent, white, brand-colored,
   even black) — a uniform white card keeps the row legible and consistent instead
   of logos clashing with the page's own cream background or each other. */
.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  box-shadow: var(--shadow-1);
}
.logo-img {
  max-height: 48px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Fallback for clients without a logo file yet — styled name text */
.logo-fallback {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-lg);
  color: var(--ink-soft);
  letter-spacing: var(--tracking-tight);
}
.logo-item:hover .logo-fallback { color: var(--primary); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.card:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }

.card-icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.card h3 { margin-bottom: var(--space-3); }
.card h3.card-title-compact {
  font-size: var(--fs-body-lg);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-normal, 1.5);
  letter-spacing: normal;
}
.card p { color: var(--ink-muted); font-size: var(--fs-body); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  color: var(--accent);
}
.card-link:hover { gap: var(--space-3); color: var(--accent-hover); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.testimonial-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--primary);
  font-size: var(--fs-small);
}
.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-normal);
  color: var(--ink);
  font-weight: var(--fw-regular);
  font-style: normal;
}
.testimonial-quote::before { content: "“"; font-size: 1.4em; line-height: 0; vertical-align: -0.2em; margin-right: 0.05em; color: var(--primary); }
.testimonial-quote::after { content: "”"; font-size: 1.4em; line-height: 0; vertical-align: -0.2em; margin-left: 0.05em; color: var(--primary); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  flex-shrink: 0;
}
.testimonial-avatar-photo {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-name { font-weight: var(--fw-semibold); color: var(--ink); font-size: var(--fs-body); }
.testimonial-meta { font-size: var(--fs-small); color: var(--ink-muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.testimonial-rating-only {
  font-family: var(--font-heading);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-normal);
  color: var(--ink-muted);
  font-style: italic;
  font-weight: var(--fw-regular);
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-small);
  color: var(--ink-muted);
}
.google-badge svg { flex-shrink: 0; }

/* ---------- Forms ---------- */
.form-row { display: flex; flex-direction: column; gap: var(--space-2); }
.form-row + .form-row { margin-top: var(--space-4); }
.form-row label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--ink);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease-out);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus { border-color: var(--primary); outline: none; }
.form-help { font-size: var(--fs-small); color: var(--ink-muted); }

/* ---------- Footer — charcoal ground, brand's "Cream on Charcoal" pairing ---------- */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col h3 {
  font-size: var(--fs-small);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-ink-muted);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0; }
.footer-col a {
  display: inline-block;
  padding: var(--space-2) 0;
  color: var(--dark-ink);
  text-decoration: none;
  font-size: var(--fs-small);
}
.footer-col a:hover { color: var(--accent-on-dark); }
.footer-col p, .footer-col address { color: var(--dark-ink-muted); }
.footer-col a[href^="mailto:"], .footer-col a[href^="http"] { color: var(--dark-ink-muted); }
.footer-col a[href^="mailto:"]:hover, .footer-col a[href^="http"]:hover { color: var(--accent-on-dark); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.footer-brand img { width: 28px; height: 28px; }
.footer-brand span {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-lg);
  color: var(--dark-ink);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  border-top: 1px solid var(--dark-line);
  font-size: var(--fs-small);
  color: var(--dark-ink-muted);
}

/* ---------- Sticky WhatsApp FAB ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  right: var(--space-5);
  width: 56px; height: 56px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 4px var(--bg);
  z-index: var(--z-fab);
  text-decoration: none;
  transition: transform var(--dur) var(--ease-out);
}
.fab-whatsapp:hover { transform: scale(1.05); color: #fff; }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Balanced headline wrapping — avoids one-word orphan lines on
   long H1/H2s (esp. mobile). No-op in older browsers. */
h1, h2, h3, .hero-sub {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

/* Visible breadcrumb trail (inner pages) */
.breadcrumbs { padding: var(--space-5) 0 0; }
.breadcrumbs ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-family: var(--font-label); font-size: var(--fs-micro); letter-spacing: 0.04em;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: var(--space-2); }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--ink-soft); }

/* ============================================================
   CINEMATIC HERO — homepage only. Same copy as the standard .hero,
   just staged as a full-bleed dark scrim over the portrait photo
   instead of the side-by-side card layout. Warm Editorial palette
   (charcoal scrim + terracotta accent) standing in for the source
   reference's dark/gold treatment.
   ============================================================ */
.hero-cinematic {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 820px);
  min-height: min(92dvh, 820px); /* dvh: avoids mobile Safari's address-bar vh miscalculation */
  display: flex;
  align-items: flex-end;
  background: var(--charcoal);
}
/* Image confined to a right-hand panel (not full-bleed) so a portrait-
   oriented headshot doesn't get stretched into an unrecognizable sliver
   on a very wide banner — the left stays solid charcoal for text, the
   right panel is close enough to the photo's own aspect ratio that the
   face crops predictably instead of drifting off-frame. */
.hero-cinematic-media { position: absolute; inset: 0; left: 52%; z-index: 0; }
.hero-cinematic-media picture,
.hero-cinematic-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}
/* Soft seam where the image panel meets the solid charcoal, rather than a
   long diagonal fade — matches the reference site's confident split. */
.hero-cinematic-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--charcoal) 0%, transparent 14%);
}
.hero-cinematic-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(var(--space-9) + var(--space-6));
  padding-bottom: var(--space-9);
}
.hero-cinematic-content { max-width: 540px; }
.hero-cinematic-content .eyebrow { color: var(--accent-on-dark); }
.hero-cinematic-content h1 {
  color: #FFFFFF;
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}
.hero-cinematic-content h1 em {
  font-style: normal;
  font-weight: var(--fw-medium);
  color: var(--accent-on-dark);
}
.hero-cinematic-content .hero-h1-tail { color: rgba(233, 221, 210, 0.7); }
.hero-cinematic-content .hero-sub {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: var(--fs-h3);
  color: rgba(233, 221, 210, 0.85);
  max-width: 600px;
  margin-bottom: var(--space-6);
}
.hero-cinematic-content .hero-meta { color: rgba(233, 221, 210, 0.7); }
.hero-cinematic-content .hero-meta strong { color: #FFFFFF; }

.btn-secondary-on-dark {
  background: transparent;
  border: 1.5px solid rgba(233, 221, 210, 0.5);
  color: #FFFFFF;
}
.btn-secondary-on-dark:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-5);
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(233, 221, 210, 0.75);
  font-family: var(--font-label);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-decoration: none;
  animation: scrollcue 2.2s ease-in-out infinite;
}
.hero-scroll-cue:hover { color: #FFFFFF; }
@keyframes scrollcue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue { animation: none; } }
/* Shorter cinematic hero for inner pages (About) — same treatment, less
   vertical real estate than the homepage's near-full-viewport flagship. */
.hero-cinematic-short {
  min-height: min(64vh, 560px);
  min-height: min(64dvh, 560px);
}
.hero-cinematic-short .hero-cinematic-inner { padding-top: var(--space-8); padding-bottom: var(--space-8); }

@media (max-width: 767px) {
  /* Mobile stacks a solid text panel above a dedicated photo panel instead
     of overlaying text on the image (the desktop side-by-side split has no
     room on a narrow screen). Overlaying was hiding the face directly
     behind the headline - this gives the photo its own clear zone instead. */
  .hero-cinematic {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cinematic-short { min-height: 0; }
  .hero-cinematic-inner {
    order: 1;
    padding-top: var(--space-8);
    padding-bottom: var(--space-6);
  }
  .hero-cinematic-content h1 { font-size: 2.25rem; }
  .hero-cinematic-content h1 .hero-h1-tail {
    display: block;
    font-size: var(--fs-h3);
    font-weight: var(--fw-regular);
    letter-spacing: var(--tracking-normal);
    line-height: var(--lh-snug);
    color: rgba(233, 221, 210, 0.65);
    margin-top: var(--space-2);
  }
  .hero-cinematic-media {
    order: 2;
    position: relative;
    inset: auto;
    left: auto;
    height: 46vh;
    height: 46dvh;
    min-height: 340px;
  }
  .hero-cinematic-short .hero-cinematic-media { height: 38vh; height: 38dvh; min-height: 300px; }
  .hero-cinematic-media picture, .hero-cinematic-media img { object-position: 50% 24%; }
  .hero-cinematic-scrim {
    background: linear-gradient(180deg, var(--charcoal) 0%, transparent 14%, transparent 78%, var(--charcoal) 100%);
  }
  .hero-scroll-cue { bottom: var(--space-4); }
}

/* ---------- Results grid (documented outcomes) ---------- */
.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.result-kicker {
  display: block;
  font-family: var(--font-label);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.result-card p { color: var(--ink-muted); font-size: var(--fs-body); }

/* ---------- Engagement tiers ---------- */
.tiers {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .tiers { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}
.tier-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.tier-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);
  color: var(--primary-soft);
  -webkit-text-stroke: 1px var(--primary);
  margin-bottom: var(--space-3);
}
.tier-meta {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.tier-card p:not(.tier-meta) { color: var(--ink-muted); font-size: var(--fs-body); }

/* ---------- Numbered value list (why-choose) ---------- */
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list > li {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--dark-line);
}
.value-list > li:first-child { border-top: none; }
.value-num {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);
  color: var(--accent-on-dark);
  flex-shrink: 0;
  min-width: 2.5ch;
}
.value-list h3 { color: #FFFFFF; margin-bottom: var(--space-2); }
.value-list p { color: var(--dark-ink-muted); font-size: var(--fs-body); }

/* ---------- Testimonial spotlight (single featured quote) ---------- */
.spotlight { text-align: center; margin: 0; }
.spotlight-stars { color: var(--primary); font-size: var(--fs-body-lg); letter-spacing: 0.1em; margin-bottom: var(--space-5); }
.spotlight-quote {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: clamp(1.375rem, 3vw, 2rem);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin: 0 0 var(--space-6);
}
.spotlight-author { display: flex; align-items: center; justify-content: center; gap: var(--space-3); }
.spotlight-name { font-weight: var(--fw-semibold); color: var(--ink); }
.spotlight-meta { font-size: var(--fs-small); color: var(--ink-muted); }

/* ============================================================
   PREMIUM POLISH — small, low-risk interaction refinements
   applied globally via existing shared classes.
   ============================================================ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

::selection { background: var(--primary-soft); color: var(--ink); }

.card, .result-card, .tier-card {
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover, .result-card:hover, .tier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.btn-primary { transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(168, 79, 36, 0.28); }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }
