/* ============================================================
   CTO on Demand — styles.css
   Design: Light, modern, trustworthy. Accent: electric blue.
   ============================================================ */

/* ── 0. Reset & Custom Properties ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette */
  --clr-bg:           #F8F4ED;          /* warm cream — main page bg */
  --clr-bg-alt:       #FFFFFF;          /* white — hover states & lift */
  --clr-section-alt:  #F2ECDE;          /* deeper cream — alt section bg */
  --clr-surface:      #FFFFFF;          /* card surfaces — float on cream */
  --clr-dark:         #0B1829;
  --clr-body:         #2C3A4F;
  --clr-muted:        #5A6B84;
  --clr-border:       #E8DFCE;          /* warm-toned border to match cream */
  --clr-accent:       #1756E8;
  --clr-accent-dk:    #1145C4;
  --clr-accent-bg:    #EBF0FD;
  --clr-accent-nav:   #0B1829;
  --clr-accent-hi:    #6BA3FF;          /* lighter blue for use on dark bg */
  --clr-highlight:    #FFE066;          /* yellow highlighter for key phrases */

  /* Typography */
  --font:           'DM Sans', system-ui, sans-serif;
  --font-display:   'Frank Ruhl Libre', 'Times New Roman', serif;
  --font-display-alt: 'Syne', sans-serif;
  --fw-normal:      400;
  --fw-medium:      500;
  --fw-semibold:    600;
  --fw-bold:        700;
  --fw-extrabold:   800;

  /* Spacing */
  --section-py:     clamp(4rem, 8vw, 7rem);
  --container-w:    1200px;
  --container-px:   1.5rem;

  /* Radius */
  --radius-sm:      0.375rem;
  --radius-md:      0.75rem;
  --radius-lg:      1.25rem;

  /* Shadows — navy-tinted for brand coherence */
  --shadow-sm:      0 1px 2px rgba(11,24,41,.06), 0 2px 4px rgba(11,24,41,.04);
  --shadow-card:    0 0 0 1px rgba(11,24,41,.07), 0 4px 12px rgba(11,24,41,.08), 0 16px 32px rgba(11,24,41,.05);
  --shadow-md:      0 4px 20px rgba(11,24,41,.12), 0 1px 4px rgba(11,24,41,.06);
  --shadow-lg:      0 12px 48px rgba(11,24,41,.16), 0 4px 12px rgba(11,24,41,.08);

  /* Transitions */
  --ease:           0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 1. Base ── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: var(--fw-normal);
  color: var(--clr-body);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* Accessible focus ring — keyboard only, respects brand colour */
:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 2. Typography Scale ── */
h1, h2, h3, h4, h5 {
  font-weight: var(--fw-bold);
  color: var(--clr-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Display font for major headings — Frank Ruhl Libre for editorial weight */
h1, h2 { font-family: var(--font-display); line-height: 1.1; }

/* Yellow highlighter — for emphasis on key phrases in headlines and copy */
.hi {
  background: linear-gradient(180deg, transparent 0%, transparent 35%, var(--clr-highlight) 35%, var(--clr-highlight) 92%, transparent 92%);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -0.02em; hyphens: none; overflow-wrap: normal; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; font-weight: var(--fw-semibold); }
h4 { font-size: 1rem; font-weight: var(--fw-semibold); }

p { max-width: 68ch; }

/* ── 3. Utilities ── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section { padding-block: var(--section-py); }

.section-alt {
  padding-block: var(--section-py);
  background: var(--clr-section-alt);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 { margin-bottom: 0.75rem; }

.section-lead {
  font-size: 1.0625rem;
  color: var(--clr-muted);
  max-width: 54ch;
  margin-inline: auto;
}

/* Hero eyebrow — pill badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3em 0.8em 0.3em 0.55em;
  border: 1px solid rgba(23,86,232,.22);
  background: rgba(23,86,232,.07);
  border-radius: 99px;
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
}

/* Section eyebrow — plain */
.section-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}

/* ── 4. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(23, 86, 232, .28);
}
.btn-primary:hover {
  background: var(--clr-accent-dk);
  box-shadow: 0 4px 16px rgba(23, 86, 232, .38);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-dark);
  border: 1.5px solid var(--clr-border);
}
.btn-ghost:hover {
  background: var(--clr-accent-bg);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.btn-nav {
  background: var(--clr-dark);
  color: #fff;
  padding: 0.65em 1.2em;
  font-size: 0.875rem;
}
.btn-nav::after { content: " →"; }
.btn-nav:hover { background: var(--clr-accent); }

.btn-full { width: 100%; justify-content: center; }

/* ── 4a. Forms — shared input row pattern ── */
/* Used by every form on the site (rate card on /services, brief on /book). */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-dark);
}
.form-field label .optional {
  font-weight: var(--fw-normal);
  color: var(--clr-muted);
}
.form-field label .required {
  color: #dc2626;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.5rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--clr-body);
}
.form-field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--clr-accent);
  outline-offset: 1px;
  border-color: transparent;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #dc2626;
}
.form-field .field-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* ── Not for you if… contrast block ── */
.not-for-you {
  margin-top: 2.5rem;
  background: var(--clr-surface);
  border: 1px dashed var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  max-width: 720px;
  margin-inline: auto;
}
.not-for-you h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--clr-dark);
}
.not-for-you ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.not-for-you li {
  display: flex;
  gap: 0.75rem;
  color: var(--clr-body);
  font-size: 0.95rem;
  line-height: 1.5;
}
.nfy-x {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ── 4b. Topbar announcement strip ── */
.topbar {
  background: var(--clr-dark);
  color: rgba(255,255,255,.92);
  font-size: 0.875rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-block: 0.6rem;
  flex-wrap: wrap;
  text-align: center;
}
.topbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-highlight);
  box-shadow: 0 0 0 4px rgba(255,224,102,0.18);
  animation: topbar-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes topbar-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,224,102,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(255,224,102,0.0); }
}
.topbar-text strong { color: #fff; font-weight: var(--fw-semibold); }
.topbar-cta {
  color: var(--clr-highlight);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,224,102,0.4);
  padding-bottom: 1px;
  transition: border-color var(--ease);
}
.topbar-cta:hover { border-bottom-color: var(--clr-highlight); }

@media (max-width: 640px) {
  .topbar { font-size: 0.8125rem; }
  .topbar-inner { padding-block: 0.55rem; gap: 0.5rem; }
}

/* ── 5. Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 237, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-name {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--clr-dark);
  letter-spacing: -0.02em;
}

.logo-divider {
  color: var(--clr-border);
  font-weight: var(--fw-normal);
}

.logo-tagline {
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  color: var(--clr-muted);
}

.site-header .logo-tagline {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--clr-dark);
  letter-spacing: -0.02em;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a:not(.btn) {
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: var(--clr-body);
  padding: 0.4em 0.65em;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.nav-desktop a:not(.btn):hover {
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: opacity var(--ease), transform var(--ease);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.nav-mobile.is-open {
  display: flex;
  max-height: 400px;
}

.mobile-link {
  padding: 0.85rem var(--container-px);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  color: var(--clr-body);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--ease), background var(--ease);
}

.mobile-link:hover { color: var(--clr-accent); background: var(--clr-accent-bg); }

.mobile-cta {
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
  border-bottom: none;
}

/* ── 6. Hero ── */
.hero {
  background:
    radial-gradient(ellipse 70% 50% at 110% -5%, rgba(23,86,232,.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at -10% 100%, rgba(23,86,232,.06) 0%, transparent 50%),
    linear-gradient(155deg, #EBF0FC 0%, #FFFFFF 48%);
  padding-block: clamp(4rem, 7vw, 6rem) clamp(3rem, 5vw, 5rem);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 620px; }

.hero-content h1 {
  margin-bottom: 1.25rem;
  line-height: 1.08;
  white-space: normal;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--clr-muted);
  margin-bottom: 2rem;
  max-width: 52ch;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.trust-blurb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--clr-muted);
  align-items: center;
  max-width: none;
}

.trust-blurb .sep { color: var(--clr-border); }
.trust-blurb strong { color: var(--clr-dark); }

/* ── Hero panel — replaces emoji card stack ── */
.hero-panel {
  background: var(--clr-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 24px 56px rgba(11,24,41,.28),
    0 4px 12px rgba(11,24,41,.14);
  /* Electric-blue top accent line */
  border-top: 2px solid var(--clr-accent);
}

.hero-panel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.065);
  transition: background var(--ease);
  cursor: default;
}

.hero-panel-item:last-child { border-bottom: none; }
.hero-panel-item:hover { background: rgba(255,255,255,.04); }

.hero-panel-icon {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 0.375rem;
  background: rgba(23,86,232,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-accent-hi);
  transition: background var(--ease);
}

.hero-panel-item:hover .hero-panel-icon {
  background: rgba(23,86,232,.4);
}

.hero-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hero-panel-label {
  font-size: 0.625rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  max-width: none;
}

.hero-panel-value {
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,.9);
  letter-spacing: -0.01em;
  max-width: none;
}

/* Availability row inside panel */
.hero-panel-avail {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.065);
  background: rgba(34,197,94,.07);
}

.hero-panel-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hero-panel-avail-text {
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.55);
  max-width: none;
}

.hero-panel-avail-text strong {
  color: #86efac;
  font-weight: var(--fw-semibold);
}

/* ── 6b. Availability Badge (standalone — used outside panel) ── */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, .25); }
  50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, .08); }
}

/* ── 6c. Client Logo Strip ── */
.clients-strip {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg);
}

.clients-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  opacity: 0.55;
  margin-bottom: 1.75rem;
  max-width: none;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3.5rem;
}

.client-logo {
  display: flex;
  align-items: center;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity var(--ease), filter var(--ease);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.client-logo img {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

/* ── 7. Who I Work With ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* 3-card variant: centered, narrower max-width */
.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin-inline: auto;
}

/* Add breathing room when a dark callout follows a cards grid */
.cards-grid + .pricing-callout { margin-top: 3.5rem; }

.card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--ease), transform var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--clr-accent-bg);
  color: var(--clr-accent);
  margin-bottom: 1rem;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.card h3 { margin-bottom: 0.625rem; }

.card p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  max-width: none;
}

/* ── 8. Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.service-item {
  display: flex;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  border-bottom: 1px solid var(--clr-border);
  border-right: 1px solid var(--clr-border);
  transition: background var(--ease);
}

.service-item:hover { background: var(--clr-bg-alt); }

/* Remove right border on even items (right column), remove bottom border on last two */
.service-item:nth-child(even) { border-right: none; }
.service-item:nth-last-child(-n+2) { border-bottom: none; }

.service-num {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-top: 0.2rem;
  opacity: 0.8;
}

.service-body h3 { margin-bottom: 0.5rem; font-size: 1rem; }

.service-body p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  max-width: none;
}

/* Pricing callout */
.pricing-callout {
  background: var(--clr-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  color: #fff;
}

.pricing-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-callout-text { flex: 1; min-width: 200px; }

.pricing-callout h3 {
  color: #fff;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.pricing-callout p {
  color: rgba(255,255,255,.75);
  font-size: 0.9375rem;
  max-width: 56ch;
}

.pricing-callout strong { color: #fff; }

/* ── 9. When To Bring Me In ── */
.signals-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
}

.signal {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.signal-body h4 { margin-bottom: 0.35rem; }

.signal-body p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  max-width: none;
}

/* ── 10. How I Work ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.how-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
}

.how-card-accent {
  background: var(--clr-dark);
  box-shadow: 0 4px 20px rgba(11,24,41,.3);
  color: rgba(255,255,255,.85);
}

.how-card-accent h3,
.how-card-accent p {
  color: inherit;
}

.how-card-header {
  margin-bottom: 1rem;
}

.how-badge {
  display: inline-block;
  background: var(--clr-accent-bg);
  color: var(--clr-accent);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 99px;
  margin-bottom: 0.5rem;
}

.how-badge-light {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.how-freq {
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  color: var(--clr-muted);
  max-width: none;
}

.how-card-accent .how-freq { color: rgba(255,255,255,.5); }

.how-card > p {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  max-width: none;
}

.how-card-accent > p { color: rgba(255,255,255,.75); }

.deliverables {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 1.25rem;
}

.how-card-accent .deliverables { border-top-color: rgba(255,255,255,.12); }

.deliverables li {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--clr-muted);
}

.how-card-accent .deliverables li { color: rgba(255,255,255,.65); }

.deliverables li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
  margin-top: 0.1em;
}

.how-card-accent .deliverables li::before { background: rgba(255,255,255,.4); }

/* ── 11. About Nick ── */
.section-about {
  background:
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(23,86,232,.05) 0%, transparent 60%),
    linear-gradient(160deg, #EEF3FD 0%, #FFFFFF 55%);
  padding-block: var(--section-py);
}

.about-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

/* Photo wrapped in a soft gradient backdrop card */
.about-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow:
    0 0 0 1px rgba(11,24,41,.05),
    0 12px 32px rgba(11,24,41,.12),
    0 24px 48px rgba(11,24,41,.06);
  transform: translateY(0);
  transition: transform var(--ease), box-shadow var(--ease);
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: -10px -10px 14px 10px;
  background: linear-gradient(135deg, var(--clr-accent) 0%, #6BA3FF 100%);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.85;
}
.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legacy initials fallback if no photo provided */
.about-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: var(--clr-dark);
  color: #fff;
  font-size: 4rem;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
}

.stat {
  background: transparent;
  border-radius: 0;
  padding: 0 0 0 1rem;
  text-align: left;
  box-shadow: none;
  border-left: 2px solid var(--clr-accent);
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-dark);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 0;
  white-space: nowrap;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.about-content .section-tag { display: block; }

.about-content h2 { margin-bottom: 1.25rem; }

.about-content p {
  font-size: 0.9375rem;
  color: var(--clr-muted);
  margin-bottom: 1rem;
  max-width: 58ch;
}

.about-links { margin-top: 1.5rem; }

/* ── 12. Process ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  counter-reset: steps;
  margin-bottom: 2.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(33.33% - 1rem);
  right: calc(33.33% - 1rem);
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent) 0%, var(--clr-accent) 100%);
  opacity: 0.15;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(23,86,232,.3);
  flex-shrink: 0;
}

.step-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  max-width: 28ch;
  margin-inline: auto;
}

.process-cta { text-align: center; }

/* Dark section override — applied to Process section */
.section-dark {
  background: var(--clr-dark);
  padding-block: var(--section-py);
}

.section-dark h2,
.section-dark h3 { color: #fff; }

.section-dark .section-tag {
  color: var(--clr-accent-hi);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, .58);
}

.section-dark .step-body p {
  color: rgba(255, 255, 255, .52);
}

.section-dark .process-steps::before {
  background: linear-gradient(to right, var(--clr-accent-hi), var(--clr-accent-hi));
  opacity: 0.2;
}

.section-dark .step-num {
  box-shadow: 0 4px 20px rgba(23, 86, 232, .45);
}

/* ── 13. TESTIMONIALS — asymmetric editorial layout ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* First testimonial spans full width — featured/hero */
.testimonial:first-child {
  grid-column: 1 / -1;
}

.testimonial {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--ease), transform var(--ease);
}

/* Featured testimonial gets darker bg for visual hierarchy */
.testimonial:first-child {
  background: var(--clr-dark);
  padding: 3rem 3rem 2.5rem;
  text-align: center;
  align-items: center;
}

.testimonial:first-child blockquote {
  width: 100%;
  max-width: 64ch;
  text-align: center;
}

.testimonial:first-child blockquote p {
  text-align: center;
}

.testimonial:first-child blockquote p::before {
  margin-inline: auto;
  text-align: center;
}

.testimonial:first-child figcaption {
  justify-content: center;
  width: 100%;
}

/* Highlighter on dark background: switch from yellow band to yellow bold text */
.testimonial:first-child .hi {
  background: none;
  color: var(--clr-highlight);
  font-weight: var(--fw-semibold);
  padding: 0;
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial blockquote {
  margin: 0;
  flex: 1;
}

.testimonial blockquote p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--clr-body);
  quotes: "\201C" "\201D";
  position: relative;
}

/* Featured: bigger text, lighter colour on dark bg */
.testimonial:first-child blockquote p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.82);
  font-weight: var(--fw-normal);
  line-height: 1.8;
}

.testimonial blockquote p::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.8;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--clr-accent);
  opacity: 0.5;
}

.testimonial:first-child blockquote p::before {
  color: var(--clr-accent-hi);
  opacity: 0.6;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 1.25rem;
}

.testimonial:first-child figcaption {
  border-top-color: rgba(255,255,255,.1);
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial:first-child .testimonial-avatar {
  background: rgba(255,255,255,.15);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-dark);
}

.testimonial:first-child .testimonial-name { color: #fff; }

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

.testimonial:first-child .testimonial-role {
  color: rgba(255,255,255,.5);
}

.testimonial-date {
  font-size: 0.75rem;
  color: var(--clr-muted);
  opacity: 0.7;
}

/* Left-aligned section headers for editorial sections */
.section-header.align-left {
  text-align: left;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-header.align-left .section-lead {
  margin-inline: 0;
}

/* ── 13b. Impact / Case Studies — editorial list ── */
.impact-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--clr-border);
}

.impact-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 2.5rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  transition: background var(--ease);
}

.impact-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--clr-accent);
  opacity: 0;
  transition: opacity var(--ease);
}

.impact-item:hover { background: rgba(23,86,232,.025); }
.impact-item:hover::after { opacity: 1; }

.impact-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
  opacity: 0.45;
  max-width: none;
}

.impact-content { display: flex; flex-direction: column; gap: 0.625rem; }

.impact-sector {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  max-width: none;
}

.impact-outcome {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: var(--fw-bold);
  color: var(--clr-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.impact-body {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.75;
  max-width: 72ch;
}

/* ── 14. FAQ ── */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-dark);
  list-style: none;
  user-select: none;
  transition: background var(--ease);
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: var(--fw-normal);
  color: var(--clr-accent);
  flex-shrink: 0;
  transition: transform var(--ease);
  line-height: 1;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { background: var(--clr-bg-alt); }

.faq-body {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-body p {
  font-size: 0.9375rem;
  color: var(--clr-muted);
  max-width: none;
}

.faq-body strong { color: var(--clr-dark); }

/* ── 14. Footer / Contact ── */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.site-footer .logo-name { color: #fff; }
.site-footer .logo-divider { color: rgba(255,255,255,.2); }
.site-footer .logo-tagline { color: rgba(255,255,255,.5); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
  max-width: 32ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.65);
  transition: color var(--ease);
}

.footer-link:hover { color: #fff; }

/* Contact form */
.footer-form h2.footer-form-heading {
  font-size: 1.375rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-form > p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  max-width: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.7);
}

.required { color: #FF6B6B; }

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--clr-dark);
  background: rgba(255,255,255,.96);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 0.7em 0.875em;
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA9BB; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(23,86,232,.2);
}

.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,.35);
  max-width: none;
  margin-top: -0.25rem;
}

.form-success,
.form-error {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 0.5rem;
}

.form-success {
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .3);
  color: #d1fae5;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

/* Ensure [hidden] always wins over display: flex/grid on these elements */
.form-success[hidden],
.form-error[hidden] { display: none !important; }

.form-success svg { flex-shrink: 0; color: #4ade80; margin-top: 0.1rem; }
.form-success strong { display: block; color: #fff; margin-bottom: 0.2rem; }
.form-success p { font-size: 0.875rem; max-width: none; color: rgba(255,255,255,.65); }

.form-error {
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .3);
  color: #fecaca;
  font-size: 0.875rem;
}

.form-error p { max-width: none; color: inherit; }

.email-obf { cursor: pointer; }

/* Footer bottom */
.footer-bottom {
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.3);
  max-width: none;
}


/* ── 15b. Scroll offset (compensates for sticky header) ── */
[id] {
  scroll-margin-top: 4.5rem;
}

/* ── 15c. Scroll-in animations (progressive enhancement) ── */
/* Default: fully visible. Only hide when JS confirms animation will run. */
[data-animate] {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-animate] {
  opacity: 0;
  transform: translateY(16px);
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
[data-delay="0"] { transition-delay: 0ms; }
[data-delay="1"] { transition-delay: 80ms; }
[data-delay="2"] { transition-delay: 160ms; }
[data-delay="3"] { transition-delay: 240ms; }
[data-delay="4"] { transition-delay: 320ms; }
[data-delay="5"] { transition-delay: 400ms; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 15d. Active nav link ── */
.nav-desktop a.nav-active {
  color: var(--clr-accent);
  background: var(--clr-accent-bg);
}

/* ── 16. Responsive ── */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  :root { --section-py: 4rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-panel { max-width: 480px; }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial:first-child {
    padding: 2rem;
  }

  .impact-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 0 1.5rem;
  }

  .about-inner {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-tagline { max-width: 100%; }
}

/* Small tablet: ≤ 768px */
@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  .hero { padding-block: 3.5rem 3rem; }

  .hero-panel { max-width: 100%; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Remove alternating border on single-column */
  .service-item:nth-child(even) { border-right: 1px solid var(--clr-border); }
  .service-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--clr-border); }
  .service-item:last-child { border-bottom: none; }

  .signals-list { grid-template-columns: 1fr; }

  .how-grid { grid-template-columns: 1fr; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual { max-width: 360px; margin-inline: auto; }

  .about-photo::before { inset: -8px -8px 12px 8px; }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-steps::before { display: none; }

  .step { flex-direction: row; text-align: left; gap: 1.25rem; }
  .step-num { margin-bottom: 0; flex-shrink: 0; }
  .step-body p { margin-inline: 0; max-width: none; }

  .footer-inner { gap: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .pricing-callout-inner { flex-direction: column; align-items: flex-start; }

  .impact-item {
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
    padding-block: 2rem;
  }

  .impact-num { padding-top: 0; }

  .clients-grid { gap: 1.25rem 2.5rem; }
  .client-logo img { height: 20px; }
}

/* Mobile: ≤ 480px */
@media (max-width: 480px) {
  :root { --section-py: 3rem; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }

  .cards-grid { grid-template-columns: 1fr; }

  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .about-visual { flex-direction: column; align-items: center; }
  .about-stats { width: 100%; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   Sitewide consent banner — minimal bottom strip
   ============================================================ */

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid var(--clr-border);
  box-shadow: 0 -4px 16px rgba(11, 24, 41, 0.08);
}
.consent-banner-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 0.75rem var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.consent-banner-text {
  font-size: 0.875rem;
  color: var(--clr-body);
  margin: 0;
  max-width: none;
}
.consent-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.consent-banner .btn-sm {
  padding: 0.5em 1em;
  font-size: 0.8125rem;
}
@media (max-width: 480px) {
  .consent-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .consent-banner-actions { justify-content: center; }
}

/* ============================================================
   /book — booking page specific styles
   ============================================================ */

/* Brief form layout — centred, narrow column for focus */
.brief-form {
  max-width: 560px;
  margin-inline: auto;
}

.draft-restored-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--clr-muted);
  background: var(--clr-accent-bg);
  border: 1px solid rgba(23, 86, 232, 0.18);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  margin-bottom: 1.25rem;
}
.draft-restored-note[hidden] { display: none; }
.draft-restored-note svg { flex-shrink: 0; color: var(--clr-accent); }
.draft-restored-note a {
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-reassurance {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--clr-muted);
  margin-top: 0.85rem;
}

.brief-form-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.brief-form-error a { color: inherit; text-decoration: underline; }

/* Success card — replaces the form in-place after submit */
.brief-form-success {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
}
.brief-form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-accent-bg);
  color: var(--clr-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.brief-form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
}
.brief-form-success p { color: var(--clr-body); margin-inline: auto; max-width: 38ch; }
.brief-form-success-meantime {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clr-border);
  font-size: 0.9rem;
  color: var(--clr-muted);
}
.brief-form-success-meantime a {
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
}

/* Or-grab-a-slot divider between the form and calendar sections */
.book-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
  padding-block: 1rem 0;
  color: var(--clr-muted);
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
}
.book-divider::before,
.book-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}
.book-divider a {
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
}

/* Cal.com inline embed — locked-height skeleton prevents CLS */
.calcom-embed-wrap {
  max-width: 960px;
  margin-inline: auto;
}
#calcom-embed {
  min-height: 620px;
}
.calcom-skeleton {
  border-radius: var(--radius-lg);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.calcom-skeleton::after {
  content: "Loading calendar…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: 0.9rem;
  animation: calcom-pulse 1.8s ease-in-out infinite;
}
@keyframes calcom-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.calcom-fallback {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--clr-muted);
}
.calcom-fallback a {
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
}

/* About-Nick strip — two-column on desktop, stacks on mobile */
.book-about {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  max-width: 920px;
  margin-inline: auto;
}
.book-about-visual { display: flex; flex-direction: column; gap: 1.25rem; }
.book-about-photo {
  width: 240px;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.book-about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  width: 240px;
}
.book-about-stat {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  border-top: 1px solid var(--clr-border);
}
.book-about-stat:first-child { border-top: none; padding-top: 0; }
.book-about-stat-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  color: var(--clr-dark);
  letter-spacing: -0.01em;
}
.book-about-stat-label {
  font-size: 0.75rem;
  color: var(--clr-muted);
  letter-spacing: 0.02em;
}
.book-about-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.85rem;
}
.book-about-content p {
  color: var(--clr-body);
  margin-bottom: 1.25rem;
}
.book-about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Hero proportions on /book — calm, form just below the fold */
.book-hero {
  padding-block: clamp(4rem, 7vw, 6rem) clamp(3rem, 5vw, 5rem);
  text-align: center;
}
.book-hero h1 { margin-bottom: 1.25rem; }
.book-hero .section-lead {
  margin-top: 0.25rem;
  font-size: 1.0625rem;
  max-width: 560px;
}

/* Responsive — about-strip stacks under 720px */
@media (max-width: 720px) {
  .book-about {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .book-about-visual { align-items: center; }
  .book-about-content h3,
  .book-about-content p { max-width: 38ch; margin-inline: auto; }
  .book-about-links { justify-content: center; }
  #calcom-embed { min-height: 560px; }
}
