/* bygild. redesign - design system + components */

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Box-sizing reset - gild-index.css may not apply on all media */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ============ LOGIN OVERLAY ============ */
.login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}
.login-overlay.open {
  display: flex;
}
.login-modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 2.25rem;
  width: 100%;
  max-width: 360px;
  margin: 1.25rem;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.login-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.login-sub {
  font-size: 0.76rem;
  color: var(--text-tertiary);
  margin-bottom: 1.75rem;
}
.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;
}
.login-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: block;
}
.login-input:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}
.login-input::placeholder {
  color: var(--text-tertiary);
}
.login-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover:not(:disabled) {
  background: rgba(237, 237, 239, 0.88);
}
.login-btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.login-error {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.75rem;
  display: none;
}
.login-error.show {
  display: block;
}

/* ============ MOBILE MENU ============ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 1.5rem 1.25rem;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu .mob-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}
.mobile-menu .mob-link:last-of-type {
  border-bottom: none;
}
.mobile-menu .mob-link:hover {
  color: var(--text);
}
.mobile-menu .mob-cta {
  display: block;
  margin-top: 1rem;
  background: var(--text);
  color: var(--bg) !important;
  text-align: center;
  padding: 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ============ BRAND TOKENS ============ */
:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --surface2: #1a1a1d;
  --surface3: #222225;
  --text: #f4f4f6;
  /* Secondary/tertiary opacities raised so prose actually reads on dark.
     Prior values (0.72 / 0.55) sat right on the WCAG AA contrast floor and
     made body paragraphs feel washed-out on desktop monitors. */
  --text-secondary: rgba(244, 244, 246, 0.85);
  --text-tertiary: rgba(244, 244, 246, 0.66);
  --border: rgba(244, 244, 246, 0.1);
  --border2: rgba(244, 244, 246, 0.18);
  --accent: #ffffff;
  --radius-btn: 6px;
  --radius-md: 8px;
  --radius-card: 12px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============ BASE ============ */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  /* Subpixel antialiasing on dark backgrounds is the single biggest legibility
     win. Without it, Inter looks "ghosted" on dark. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings get a touch more letter-spacing on dark so glyphs don't crowd. */
h1,
h2,
h3,
h4 {
  letter-spacing: -0.01em;
}

/* Long-form paragraphs (privacy, terms, blog) get a wider line-height and a
   sensible max-width so text doesn't run edge-to-edge on a 27" monitor. */
.privacy-wrap p,
.privacy-wrap li,
.blog-content p,
.blog-content li,
article p,
article li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.privacy-wrap p,
.blog-content p,
article p {
  max-width: 68ch;
}

/* ============ NAV ============ */
.rd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    border-color 0.3s,
    background 0.3s;
}

/* Offset main content so it doesn't hide under the fixed nav */
body:has(.rd-nav) main,
body:has(.rd-nav) > section:first-of-type {
  padding-top: 64px;
}
.rd-nav.scrolled {
  border-bottom-color: var(--border2);
  background: rgba(10, 10, 11, 0.95);
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.wordmark-tm {
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: super;
  opacity: 0.6;
}
.rd-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.rd-nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.rd-nav-links a:hover,
.rd-nav-links a.active {
  color: var(--text);
}
.rd-nav-cta {
  background: var(--text) !important;
  color: var(--bg) !important;
  white-space: nowrap !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: var(--radius-btn);
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}
.rd-nav-cta:hover {
  background: rgba(255, 255, 255, 0.88) !important;
}
.rd-nav-lock {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  display: flex;
  align-items: center;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.rd-nav-lock:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ============ COMMON ============ */
.rd-section {
  padding: 6rem 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.rd-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--text-tertiary);
  display: inline-block;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--text);
}
.h-display em {
  font-style: italic;
}

.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.15s;
  cursor: pointer;
}
.rd-btn-primary {
  background: var(--text);
  color: var(--bg);
}
.rd-btn-primary:hover {
  transform: translateY(-1px);
}
.rd-btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border2);
}
.rd-btn-ghost:hover {
  border-color: var(--text);
}
/* Text-only variant - the most recessive button. Used as the
   secondary CTA on the hero so the primary "Book a 30-min call"
   visually dominates instead of competing for attention with an
   equally-weighted ghost button. */
.rd-btn-text {
  background: transparent;
  color: var(--text-secondary);
  border: 0;
  padding: 0.95rem 0.5rem;
}
.rd-btn-text:hover {
  color: var(--text);
}

/* ============ HERO ============ */
/* Lifts from a 21st.dev-style hero: text-balance headline, soft radial
   spotlight backdrop, framed primary CTA, staggered blur+slide entrance.
   All pure CSS - no Framer Motion / React, since this site is PHP. */
.rd-hero {
  position: relative;
  padding: 4rem 3rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  /* Fill the viewport below the fixed nav (64px) and the sector strip
     (~68px) so the hero commands the whole first screen on landing.
     dvh used so iOS Safari address-bar collapse doesn't leave a gap;
     vh fallback for browsers that haven't shipped dvh yet. */
  min-height: calc(100vh - 132px);
  min-height: calc(100dvh - 132px);
  display: flex;
  align-items: center;
}
.rd-hero-grid {
  width: 100%;
}
/* Radial spotlight behind the hero copy. Sits below content with z-index,
   fades from a soft warm wash at the bottom to transparent at top so it
   blends into the sector strip above without a hard seam. */
.rd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(125% 125% at 50% 100%, rgba(244, 244, 246, 0.04) 0%, transparent 75%);
  pointer-events: none;
}
.rd-hero-grid {
  max-width: 1280px;
  margin: 0 auto;
}

/* Entrance animation: each direct child of .rd-hero-copy--solo fades up
   from a 12px translateY with a 12px blur, staggered 80ms apart. The
   blur is the part that makes it feel premium - it reads as "settling
   into focus" rather than a generic slide. Spring-feel via cubic-bezier
   matched to motion's spring(bounce:0.3, duration:1.5s) defaults. */
@keyframes rd-hero-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.rd-hero-copy--solo > * {
  opacity: 0;
  animation: rd-hero-enter 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rd-hero-copy--solo > *:nth-child(1) {
  animation-delay: 0.08s;
}
.rd-hero-copy--solo > *:nth-child(2) {
  animation-delay: 0.16s;
}
.rd-hero-copy--solo > *:nth-child(3) {
  animation-delay: 0.24s;
}
.rd-hero-copy--solo > *:nth-child(4) {
  animation-delay: 0.32s;
}
.rd-hero-copy--solo > *:nth-child(5) {
  animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .rd-hero-copy--solo > * {
    opacity: 1;
    animation: none;
  }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: var(--surface);
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.rd-hero-headline {
  font-family: var(--font-display);
  /* Tightened 2026-05-21: was clamp(3.2rem, 6.5vw, 6rem) which wrapped
     the old longer headline over 5 lines at desktop. Now the headline
     is shorter so this can sit slightly smaller and read as a 2-line
     statement on desktop. */
  font-size: clamp(2.6rem, 5.5vw, 4.75rem);
  font-weight: 400;
  /* 1.0 caused descender collisions on g/p between lines on the Cormorant
     serif at large sizes. 1.05 keeps the tight editorial feel without overlap. */
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 880px;
  /* text-balance gives the browser permission to rewrap so no line is
     orphaned with a single word - the visual move that makes 21st.dev's
     headlines feel typeset rather than just word-wrapped. */
  text-wrap: balance;
}
.rd-hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.025em;
}
.rd-hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.6;
  margin: 0 0 0.6rem;
  /* text-pretty avoids single-word last-line orphans on the subhead, the
     same role text-balance plays on the headline above. */
  text-wrap: pretty;
}
/* "No commitment" micro-line that sits between the sub and the CTAs.
   Reduces the perceived weight of "Book a 30-min call" by surfacing
   the structure of the first step (free, written same-day, no commit).
   Mono + smaller + dim so it reads as fine print, not marketing copy. */
.rd-hero-microcopy {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin: 0 0 1.5rem;
  max-width: 540px;
  line-height: 1.55;
}
.rd-hero-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}
/* Framed primary CTA - mimics the 21st.dev "button-in-a-button" look
   (their version wraps Link in <div class="bg-foreground/10 rounded-
   [14px] border p-0.5">). Pure CSS via two-layer box-shadow on the
   button itself so we don't need a wrapper div. First shadow = 1px
   hairline border; second = soft 4px transparent frame outside it.
   Slightly larger padding + font so the primary visually dominates
   the demoted text-only secondary next to it. */
.rd-hero-actions .rd-btn-primary {
  padding: 1.05rem 1.85rem;
  font-size: 0.9rem;
  box-shadow:
    0 0 0 1px var(--border2),
    0 0 0 5px rgba(244, 244, 246, 0.04);
}
.rd-hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hp-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hp-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hp-cap {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.hp-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Prospectus card */
.prospectus {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: rotate(0.4deg);
}
.prosp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.prosp-stamp {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.prosp-dots {
  display: flex;
  gap: 6px;
}
.prosp-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border2);
}
.prosp-body {
  padding: 2.25rem 2rem 2rem;
}
.prosp-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}
.prosp-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  color: var(--text);
}
.prosp-title em {
  font-style: italic;
}
.prosp-rows {
  border-top: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.prosp-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.pr-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.pr-v {
  color: var(--text);
  font-weight: 500;
}
.prosp-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border2);
}
.prosp-enrol {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pe-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.pe-val {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}
.prosp-btn {
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
}
.prosp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.prosp-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

/* ============ SECTOR STRIP ============ */
.rd-sector-strip {
  padding: 1.6rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
/* Centered to match the centered hero copy below it. The previous
   left-aligned label + flowing list read as a banner edge; centred
   it reads as a complementary subtitle band for the hero stack. */
.rd-sector-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.sector-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  flex-shrink: 0;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border2);
}
.sector-list {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
}
.sector-item {
  font-weight: 400;
}
.sector-bullet {
  color: var(--text-tertiary);
  font-style: normal;
}

/* ============ WHY EDUCATION ============ */
.why-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.why-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}
.why-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 420px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.why-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.why-card:hover {
  background: var(--surface2);
}
.why-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}
.why-k {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.why-v {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ SERVICES ============ */
/* Tightened 2026-06-02 so the whole pricing block fits one viewport.
   Was: section header had 3.5rem bottom margin, the .rd-section was
   6rem padded, and each .tier had 2rem padding + a 4.5rem min-height
   on the summary. Section spilled below the fold on a 900-1000px
   tall window. Compressed each layer without touching content. */
.services-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.services-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 1.75rem;
}
.services-title {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-top: 0.75rem;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.services-side p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}
.services-side-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.services-side-meta .sdot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0;
}
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.tier:hover {
  border-color: var(--border2);
}
.tier-featured {
  background: linear-gradient(180deg, var(--surface2) 0%, var(--surface) 100%);
  /* Brighter border + subtle accent line at top so the middle tier reads as
     the recommended choice on a 1440px monitor without changing layout. */
  border-color: rgba(244, 244, 246, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}
.tier-featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.tier-badge {
  position: absolute;
  top: -11px;
  left: 1.75rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
}
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.tier-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.tier-pages {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.2rem;
}
.tier-currency {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}
.tier-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.tier-once {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-left: 0.4rem;
}
.tier-deliv {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}
.tier-care {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-bottom: 0.85rem;
  line-height: 1.45;
}
.tier-summary {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  min-height: 3.2rem;
}
.tier-div {
  height: 1px;
  background: var(--border);
  margin-bottom: 0.85rem;
}
.tier-features {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.tier-features li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.tf-check {
  color: var(--text);
  flex-shrink: 0;
  margin-top: 3px;
}
.tier-btn {
  width: 100%;
  justify-content: center;
}

/* Care block */
.care-block {
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.care-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.care-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-top: 1rem;
  letter-spacing: -0.02em;
}
.care-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.care-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.care-featured {
  border-color: var(--border2);
  background: var(--surface2);
}
.care-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.care-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.care-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.cc-currency {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}
.cc-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.cc-per {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}
.care-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ COMPARE ============ */
.compare-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 1.25rem 0 3rem;
  letter-spacing: -0.02em;
}
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}
.compare-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 600px;
}
.ct-head,
.ct-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.ct-head {
  background: var(--surface2);
  border-bottom: 1px solid var(--border2);
}
.ct-cell {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: center;
}
.ct-head .ct-cell {
  padding: 1.4rem 1.5rem 1.3rem;
}
.ct-cell:last-child {
  border-right: none;
}
.ct-row {
  border-bottom: 1px solid var(--border);
}
.ct-row-last {
  border-bottom: none;
}
.ct-label {
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.ct-gild {
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}
.cth-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.cth-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.c-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}
.c-no {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
}

/* ============ PROCESS ============ */
.process-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 1.25rem 0 3rem;
  letter-spacing: -0.02em;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.proc-step {
  padding: 2.25rem 1.75rem 2rem;
  border-right: 1px solid var(--border);
}
.proc-step:last-child {
  border-right: none;
}
.proc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}
.proc-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.proc-day {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border2);
  border-radius: 4px;
}
.proc-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.proc-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ TRUST ============ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.trust-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}
.trust-side {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1.5rem;
  max-width: 360px;
}
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.trust-list li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.tl-k {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.tl-v {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============ TESTIMONIALS ============ */
.t-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.t-head .eyebrow {
  justify-content: center;
}
.t-head .eyebrow::before {
  display: none;
}
.t-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin: 1.25rem 0;
  letter-spacing: -0.02em;
}
.t-note {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: italic;
  font-family: var(--font-display);
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.t-card {
  background: var(--surface);
  border: 1px dashed var(--border2);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.t-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.7;
  color: var(--text-tertiary);
  font-style: italic;
}
.t-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.t-foot {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.t-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.t-meta,
.t-loc {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 0.2rem;
}

/* ============ FAQ ============ */
.rd-faq-head {
  margin-bottom: 3rem;
}
.rd-faq-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}
.rd-faq-list {
  border-top: 1px solid var(--border2);
}
.rd-faq-item {
  border-bottom: 1px solid var(--border);
}
.rd-faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.65rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.rd-faq-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
}
.rd-faq-q-text {
  color: var(--text);
  line-height: 1.25;
  text-align: left;
}
.rd-faq-toggle {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 300;
  justify-self: end;
}
.rd-faq-a {
  display: none;
  padding: 0 0 1.75rem 76px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 780px;
}
.rd-faq-item.rd-faq-open .rd-faq-a {
  display: block;
}

/* ============ CONTACT ============ */
.rd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.rd-contact-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin: 1.25rem 0;
  letter-spacing: -0.02em;
}
.rd-contact-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}
.rd-contact-meta {
  border-top: 1px solid var(--border);
}
.rd-cm-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.rd-cm-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.rd-cm-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.rd-cm-v {
  font-size: 0.88rem;
  color: var(--text);
}
.rd-contact-form {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.rd-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rd-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.rd-form-row-2 > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rd-contact-form label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.rd-contact-form input,
.rd-contact-form select,
.rd-contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 0.8rem 0.95rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.rd-contact-form input:focus,
.rd-contact-form select:focus,
.rd-contact-form textarea:focus {
  border-color: var(--text);
}
.rd-contact-form textarea {
  resize: vertical;
}
.rd-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}
.rd-form-foot {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.6;
}
.rd-contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(237,237,239,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
}

/* ============ FOOTER ============ */
.rd-footer {
  /* Closing-chord padding so the footer reads as the end of the document, not
     another section. Top is generous; bottom is comfortable on 13" laptops. */
  padding: 6rem 3rem 3rem;
  background: var(--bg);
  border-top: 1px solid var(--border2);
  margin-top: 2rem;
}
.rd-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.rd-footer-brand .wordmark {
  font-size: 1.6rem;
}
.rd-footer-tag {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}
.rd-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.rd-fc-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.rd-footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.rd-footer-col a:hover {
  color: var(--text);
}
.rd-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.rd-footer-bottom a {
  color: var(--text-tertiary);
  text-decoration: none;
  margin-left: 1.25rem;
}
.rd-footer-bottom a:hover {
  color: var(--text);
}
.rd-footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rd-footer-social a {
  color: var(--text-tertiary);
  display: flex;
  padding: 10px;
  margin: -10px 0;
  transition: color 0.2s;
}
.rd-footer-social a:hover {
  color: var(--text);
}

/* Legacy footer (used by privacy / terms / accessibility / contact / work / blog pages) */
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.footer-wordmark:hover {
  color: var(--text);
}
.footer-tagline-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

/* ============ ABOUT PAGE ============ */
.rd-about-hero {
  padding: 7rem 3rem 5rem;
  border-bottom: 1px solid var(--border);
}
.rd-about-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.rd-about-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.04;
  margin: 1.75rem 0 3rem;
  letter-spacing: -0.02em;
  max-width: 980px;
  color: var(--text);
}
.rd-about-headline em {
  font-style: italic;
}
.ahc-meta {
  border-top: 1px solid var(--border);
  max-width: 820px;
}
.ahc-meta-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.ahc-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.ahc-v {
  font-size: 0.95rem;
  color: var(--text);
}

/* Mission */
.rd-mission {
  background: var(--surface);
}
.mission-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
.mission-body p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 760px;
}
.mission-body p:last-child {
  margin-bottom: 0;
}
.mission-lead {
  font-family: var(--font-display) !important;
  font-size: 1.65rem !important;
  line-height: 1.45 !important;
  color: var(--text) !important;
  font-style: italic;
}

/* Approach */
.approach-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
.approach-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}
.approach-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 440px;
}
.approach-list {
  border-top: 1px solid var(--border2);
}
.approach-row {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.app-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.app-k {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.app-v {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 620px;
}

/* Who we serve (about) */
.who-about-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 1.25rem 0 3rem;
  letter-spacing: -0.02em;
}
.who-about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.wa-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s;
}
.wa-card:hover {
  background: var(--surface);
}
.wa-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
}
.wa-k {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.wa-v {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Founder */
.rd-founder {
  background: var(--surface);
}
.founder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.founder-title {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  margin: 1.25rem 0 2rem;
  letter-spacing: -0.02em;
}
.founder-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  max-width: 620px;
}
.founder-kv {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}
.fkv-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.fkv-k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.fkv-v {
  font-size: 0.9rem;
  color: var(--text);
}
.founder-quote {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
}
.fq-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}
.founder-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.fq-attr {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.fq-attr span:first-child {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.fq-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* Guarantee */
.guarantee-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.gc-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}
.gc-right p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.gc-right p:last-child {
  margin-bottom: 0;
}
.gc-small {
  font-size: 0.88rem !important;
  color: var(--text-tertiary) !important;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* About CTA */
.rd-about-cta {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.about-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-cta-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 1.25rem 0 1.5rem;
  letter-spacing: -0.02em;
}
.about-cta-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}
.about-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.ac-studio-card {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.acs-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.acs-row:last-child {
  border-bottom: none;
}
.acs-k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.acs-v {
  font-size: 0.88rem;
  color: var(--text);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ HAMBURGER ============ */
.rd-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.rd-nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.rd-nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.rd-nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.rd-nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============ MOBILE ============ */
@media (max-width: 1024px) {
  .rd-nav {
    padding: 1rem 2rem;
  }
  .rd-hero {
    padding: 4rem 2rem 3.5rem;
  }
  .rd-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .rd-hero-headline {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiers,
  .care-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .ct-head,
  .ct-row {
    min-width: 600px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proc-step:nth-child(2) {
    border-right: none;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .t-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .rd-contact-grid {
    grid-template-columns: 1fr;
  }
  .rd-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .services-head,
  .care-head,
  .why-head,
  .approach-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .rd-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 768px) {
  .rd-nav {
    padding: 0.85rem 1.25rem;
  }
  .rd-nav-links {
    display: none;
  }
  .rd-nav-hamburger {
    display: flex;
  }

  /* Hero */
  .rd-hero {
    padding: 2rem 1.25rem 2rem;
  }
  .rd-hero-headline {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .rd-hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  .rd-hero-actions {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
  }
  .rd-hero-actions .rd-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
  .rd-hero-proof {
    gap: 0;
    padding-top: 1.5rem;
    flex-wrap: nowrap;
  }
  .hp-sep {
    display: none;
  }
  .hp-item {
    flex: 1;
    min-width: 0;
    padding: 0 0.5rem;
    border-right: 1px solid var(--border);
    overflow: hidden;
  }
  .hp-item:last-child {
    border-right: none;
  }
  .hp-num {
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hp-cap {
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Sector strip */
  .rd-sector-strip {
    padding: 1rem 1.25rem;
    font-size: 0.78rem;
  }

  /* Sections */
  .rd-section {
    padding: 2.5rem 1.25rem;
  }

  /* Why cards */
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    padding: 1.25rem;
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
  }
  .proc-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
  }
  .proc-step:last-child {
    border-bottom: none;
  }

  /* FAQ */
  .rd-faq-q {
    grid-template-columns: 28px 1fr 28px;
    gap: 0.75rem;
    font-size: 1.05rem;
    padding: 1.25rem 0;
  }
  .rd-faq-a {
    padding: 0 0 1.25rem 40px;
    font-size: 0.9rem;
  }
  .rd-faq-num {
    font-size: 0.62rem;
  }

  /* Contact */
  .rd-form-row-2 {
    grid-template-columns: 1fr;
  }

  /* Misc */
  .approach-row {
    grid-template-columns: 50px 1fr;
  }
  .app-v {
    grid-column: 2;
  }
  .guarantee-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-cta-inner {
    grid-template-columns: 1fr;
  }
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .who-about-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .rd-footer-inner {
    grid-template-columns: 1fr;
  }
  .rd-about-hero {
    padding: 4rem 1.25rem 2.5rem;
  }
  .ahc-meta-row {
    grid-template-columns: 140px 1fr;
  }
  .rd-footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
  .rd-footer-bottom a {
    margin-left: 0;
  }
  .rd-footer-social {
    justify-content: center;
  }
}

/* ============ SCROLL ANCHOR ============ */
html {
  scroll-padding-top: 72px;
  -webkit-tap-highlight-color: transparent;
}

/* ============ SAFE AREA - iPhone 15 / Dynamic Island ============ */
/* Extends background edge-to-edge (needs viewport-fit=cover on the meta tag).
   env() falls back to 0px on non-notch devices so behaviour is unchanged there. */
.rd-nav {
  padding-top: max(1.1rem, calc(0.55rem + env(safe-area-inset-top, 0px)));
}
body:has(.rd-nav) main {
  padding-top: calc(64px + env(safe-area-inset-top, 0px));
}
.mobile-menu {
  top: calc(60px + env(safe-area-inset-top, 0px));
}

/* ============ MOBILE UX IMPROVEMENTS - ≤640px ============ */
@media (max-width: 640px) {
  /* Nav - Dynamic Island top + safe sides in landscape */
  .rd-nav {
    padding-top: max(0.85rem, calc(0.35rem + env(safe-area-inset-top, 0px)));
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }

  /* Sections and footer - safe sides in landscape, home-indicator clearance */
  .rd-section,
  .rd-hero,
  .rd-footer,
  .rd-sector-strip {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }
  .rd-footer {
    padding-bottom: max(2rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
  }

  /* Prevent iOS auto-zoom when focusing form inputs - must be 16px */
  .rd-contact-form input,
  .rd-contact-form select,
  .rd-contact-form textarea,
  .login-input {
    font-size: 16px;
  }

  /* Touch targets - Apple HIG minimum 44pt */
  .rd-nav-hamburger {
    width: 44px;
    height: 44px;
  }
  .rd-nav-lock {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .mobile-menu .mob-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .rd-footer-social a {
    padding: 8px;
    margin: -8px;
  }

  /* Trust list - single column (was 2-col grid, too cramped on phone) */
  .trust-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  /* Sector strip - stack label above the sector items */
  .rd-sector-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .sector-label {
    border-right: none;
    padding-right: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border2);
    width: 100%;
  }
  .sector-list {
    font-size: 0.95rem;
    gap: 0.5rem 0.85rem;
  }

  /* Hero proof bar - allow captions to wrap instead of ellipsising */
  .hp-cap {
    white-space: normal;
    line-height: 1.4;
  }

  /* ---- Pricing: horizontal snap-scroll carousel ---- */

  /* Tier cards - swipeable row, each card ~85vw so next card peeks */
  .tiers {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    max-width: none;
    margin: 0 -1.25rem 3.5rem;
    padding: 1rem 1.25rem 1.5rem;
  }
  .tiers::-webkit-scrollbar {
    display: none;
  }
  .tier {
    flex: 0 0 85vw;
    max-width: 320px;
    scroll-snap-align: start;
  }

  /* Reduce 3.6rem price - too tall on a 393px screen */
  .tier-price {
    font-size: 2.6rem;
  }

  /* Remove equalisation min-height - not needed in single-card view */
  .tier-summary {
    min-height: 0;
  }

  /* Care plans - same carousel, slightly narrower cards */
  .care-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    max-width: none;
    margin: 0 -1.25rem;
    padding: 0 1.25rem 1.5rem;
  }
  .care-grid::-webkit-scrollbar {
    display: none;
  }
  .care-card {
    flex: 0 0 80vw;
    max-width: 290px;
    scroll-snap-align: start;
  }

  /* Services meta tags - allow wrap on narrow screens */
  .services-side-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Care block top gap - reduce on mobile */
  .care-block {
    padding-top: 2.5rem;
  }
}

/* ============ MOBILE VISUAL POLISH ============ */
@media (max-width: 640px) {
  /* Base - 1px larger body text reads more comfortably on a 6" screen */
  body {
    font-size: 16px;
  }

  /* SECTOR STRIP -- previously wrapped to 3 ragged rows of pills
     under a stacked BUILT FOR label, which read as cluttered.
     New treatment: single horizontal-scroll row, label inline,
     edge-bleed so the row clearly continues off-screen. */
  .sector-bullet {
    display: none;
  }
  .rd-sector-strip {
    padding: 0.85rem 0;
    overflow: hidden;
  }
  .rd-sector-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    padding-left: 1.25rem;
  }
  .sector-label {
    flex: 0 0 auto;
    border-right: 1px solid var(--border2);
    border-bottom: none;
    padding: 0 0.65rem 0 0;
    width: auto;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: var(--text-tertiary);
  }
  .sector-list {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0.4rem;
    padding-right: 1.25rem;
    -ms-overflow-style: none;
  }
  .sector-list::-webkit-scrollbar {
    display: none;
  }
  .sector-item {
    flex: 0 0 auto;
    white-space: nowrap;
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
  }

  /* WHY EDUCATION CARDS
     The desktop "grid with shared outer borders" technique looks
     like a broken box on single-column mobile. Replace with a clean
     left accent bar - one 2px coloured edge, bottom separator only. */
  .why-grid {
    border-top: none;
    border-left: none;
    gap: 0;
  }
  .why-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
    border-left: 2px solid var(--border2);
    padding: 1.25rem 1rem 1.25rem 1.35rem;
  }
  .why-card:last-child {
    border-bottom: none;
  }
  .why-card:hover {
    background: var(--surface);
    border-left-color: var(--text-secondary);
  }
  .why-n {
    margin-bottom: 0.6rem;
  }

  /* PROCESS - vertical timeline with dot markers
     Each step's left border forms the continuous timeline line.
     A ::before circle marks each milestone. The final step gets
     a filled white dot and a transparent left border (line ends). */
  .process-grid {
    border-top: none;
    padding-left: 0.75rem;
  }
  .proc-step {
    position: relative;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid var(--border);
    padding: 0 0 2.25rem 1.75rem;
  }
  .proc-step:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }
  .proc-step::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.2rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border2);
  }
  .proc-step:last-child::before {
    background: var(--text);
    border-color: var(--text);
  }
  .proc-head {
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
  }
  .proc-num {
    font-size: 1.8rem;
  }

  /* TRUST LIST - tighter key label on single column */
  .tl-k {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
  }

  /* TESTIMONIALS - solid border, cleaner than dashed on small screens */
  .t-card {
    border-style: solid;
    border-color: var(--border);
  }

  /* FAQ - tighten the answer indent on mobile */
  .rd-faq-a {
    padding-bottom: 1rem;
  }
}

/* ============ MOBILE CONTENT REDUCTION - ≤640px ============
   Mobile readers scan, not read. Keep the conversion path:
   hero → what it is → price → how → contact.
   Everything else is cut or collapsed on small screens.        */
@media (max-width: 640px) {
  /* Why Education - 3 cards covers the key proof points;
     6 is a wall. Drop the intro paragraph too. */
  .why-intro {
    display: none;
  }
  .why-card:nth-child(n + 4) {
    display: none;
  }

  /* Pricing - the heading is enough; remove the flanking paragraph */
  .services-side p {
    display: none;
  }

  /* Care plans - cards are self-explanatory, drop the body paragraph */
  .care-intro {
    display: none;
  }

  /* Comparison table - requires 600px+ to scan; nothing lost since
     pricing section above already makes the value case. */

  /* Trust - title-only list scans in under 5 seconds;
     paragraph descriptions add length without changing the decision */
  .trust-side {
    display: none;
  }
  .tl-v {
    display: none;
  }

  /* Testimonials - placeholder quotes with no real names
     signal nothing; hide until real testimonials are in */
  #testimonials {
    display: none;
  }

  /* FAQ - first 4 items cover the main conversion objections */
  .rd-faq-item:nth-child(n + 5) {
    display: none;
  }
}

/* ============================================================ */
/* TRUST BAND - hero bottom row                                  */
/* ============================================================ */
.rd-trust-band {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  flex-wrap: wrap;
}
.rd-tb-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.rd-tb-stars {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--text);
  line-height: 1;
}
.rd-tb-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
}
.rd-tb-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 0.2rem;
}
.rd-tb-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================ */
/* PROBLEM / AGITATION SECTION                                   */
/* ============================================================ */
.rd-prob-section {
}
.rd-prob-head {
  margin-bottom: 3rem;
}
.rd-prob-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}
.rd-prob-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.rd-prob-col {
  border-radius: var(--radius-card);
  padding: 2rem 2rem 2.25rem;
}
.rd-prob-old {
  background: var(--surface);
  border: 1px solid var(--border);
}
.rd-prob-new {
  background: var(--surface2);
  border: 1px solid var(--border2);
}
.rd-prob-col-hd {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.rd-prob-new .rd-prob-col-hd {
  color: var(--text);
  border-bottom-color: var(--border2);
}
.rd-prob-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rd-prob-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 1.1rem;
  position: relative;
}
.rd-prob-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
}
.rd-prob-new .rd-prob-list li::before {
  background: var(--text);
}

/* ============================================================ */
/* PORTFOLIO / CASE STUDY                                        */
/* ============================================================ */
/* Reduce the default 6rem section padding for the case study so the
   whole reference build (including the founding band beneath the
   grid) fits in one viewport on a typical 900-1000px tall window. */
.rd-case-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.rd-case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}
.rd-case-sample-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
}
.rd-case-title {
  font-size: clamp(1.85rem, 2.9vw, 2.5rem);
  margin: 0.5rem 0 0.3rem;
  letter-spacing: -0.02em;
}
/* Mono tagline directly under the title, replaces the long second
   half of the previous wrap-around italic title. Reads as metadata,
   not headline-noise. */
.rd-case-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 1.5rem;
}
.rd-case-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.rd-case-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.rd-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
/* Replaces the 8-tag pill cluster. Reads as a clear "what was built"
   list of 4 grouped features instead of 8 disconnected micro-labels.
   Custom mono bullet for visual texture matching the tagline above. */
.rd-case-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.rd-case-features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.rd-case-features li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  width: 1rem;
  text-align: center;
}
/* CTAs sit side-by-side on a single row instead of stacked. Saves
   one full button-height of section height. */
.rd-case-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.rd-case-tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
}
.rd-case-cta {
  margin-top: 0.5rem;
}
.rd-case-shot {
  /* Anchor wrapping the portfolio screenshot. Click-through to the live site. */
  display: block;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  margin-bottom: 0.85rem;
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.rd-case-shot:hover {
  border-color: rgba(244, 244, 246, 0.32);
  transform: translateY(-2px);
}
/* "View live →" overlay surfaces on hover so the screenshot reads as
   clearly interactive instead of looking like a decorative image. */
.rd-case-shot-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10, 10, 11, 0.85);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
}
.rd-case-shot:hover .rd-case-shot-overlay,
.rd-case-shot:focus-visible .rd-case-shot-overlay {
  opacity: 1;
  transform: translateY(0);
}
.rd-case-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface2);
}
.rd-case-shot-placeholder {
  /* Shown until brand-assets/work-vertex-shot.png is uploaded. Editorial in
     style so it doesn't read as broken: monochrome card with the domain,
     client name, and the trade keywords. */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  aspect-ratio: 3 / 2;
  padding: 2rem;
  background: linear-gradient(155deg, var(--surface2) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
}
.rd-case-shot-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.rd-case-shot-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  color: var(--text);
}
.rd-case-shot-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.rd-case-shot-caption {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
/* Old stacked meta-card kept for fallback (other pages still use the
   class). On the homepage case section we use the horizontal strip
   below instead. */
.rd-case-meta-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem 1rem;
  margin-bottom: 0;
}

/* Horizontal meta strip: 4-cell row under the case grid. Cell 1 is
   the lead (Tier + Price) at 1.4x width; the other three cells share
   the remaining space equally. Reads as a status bar - a single line
   of facts, not a stack to scan. */
.rd-case-meta-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-card);
  margin-top: 2rem;
  overflow: hidden;
}
.rd-cm-cell {
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-right: 1px solid var(--border);
}
.rd-cm-cell:last-child {
  border-right: none;
}
.rd-cm-cell--lead {
  background: rgba(244, 244, 246, 0.025);
}
/* Price uses the display font + larger size in the lead cell;
   secondary cells use the standard value styling. */
.rd-cm-hero-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Founding-clients soft-sell band beneath the case section. Single
   row, single sentence, no CTA dilution. Anchors the section's close
   instead of being buried mid-description like before. */
.rd-case-founding {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(244, 244, 246, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.rd-case-founding-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border2);
  border-radius: 4px;
}
.rd-case-founding-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.rd-case-founding-text a {
  color: var(--text);
  border-bottom: 1px solid var(--border2);
  transition: border-color 0.15s;
}
.rd-case-founding-text a:hover {
  border-bottom-color: var(--text);
}
.rd-case-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rd-cs-stat {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.rd-cs-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.rd-cs-stat:first-child {
  padding-top: 0;
}
.rd-cs-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
}
.rd-cs-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================ */
/* RESPONSIVE - new components                                   */
/* ============================================================ */
@media (max-width: 1024px) {
  .rd-prob-cols {
    gap: 1.25rem;
  }
  .rd-case-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  /* Trust band - wrap, hide separators */
  .rd-trust-band {
    gap: 1.25rem 2rem;
    padding-top: 2rem;
  }
  .rd-tb-sep {
    display: none;
  }

  /* Problem cols - stack */
  .rd-prob-cols {
    grid-template-columns: 1fr;
  }
  .rd-prob-col {
    padding: 1.5rem;
  }

  /* Case study CTA row stacks on mobile so each button is full-width
     and easy to tap. The .rd-case-stats hide rule that used to live
     here was dropped along with the element itself. */
  .rd-case-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .rd-case-cta-row .rd-btn {
    width: 100%;
    justify-content: center;
  }
  /* Horizontal meta strip collapses to a 2-column grid on mobile.
     Lead cell (Premium tier + £2,800) spans both columns so the
     price keeps its hero status; the other three cells share rows
     of two beneath. Right-borders flip to bottom-borders. */
  .rd-case-meta-strip {
    grid-template-columns: 1fr 1fr;
  }
  .rd-cm-cell--lead {
    grid-column: 1 / -1;
  }
  .rd-cm-cell {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .rd-cm-cell:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  /* On the smallest screens, drop to one column. */
  @media (max-width: 420px) {
    .rd-case-meta-strip {
      grid-template-columns: 1fr;
    }
    .rd-cm-cell {
      border-bottom: 1px solid var(--border);
    }
    .rd-cm-cell:last-child {
      border-bottom: none;
    }
  }
  /* Founding band wraps and centers on mobile. */
  .rd-case-founding {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ============================================================ */
/* PREMIUM MOTION + MICRO-INTERACTIONS (Phase 3 polish)         */
/* ============================================================ */

/* Page-load entrance: stagger the hero's children up + in.
   Honoured by every public page that uses .rd-hero-grid. */
@keyframes bygildFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bygildBreathe {
  0%,
  100% {
    opacity: 0.55;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  50% {
    opacity: 0.78;
    transform: translate3d(-50%, -50%, 0) scale(1.04);
  }
}
@keyframes bygildShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Hero grid: ambient breathing gradient behind the headline. */
.rd-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.rd-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 1100px;
  height: 1100px;
  max-width: 140vw;
  max-height: 140vw;
  background: radial-gradient(
    circle at center,
    rgba(244, 244, 246, 0.06) 0%,
    rgba(244, 244, 246, 0.025) 35%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: bygildBreathe 9s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Stagger the hero children on load. Direct children only so we don't
   ladder into nested grids accidentally. */
.rd-hero-grid > * {
  opacity: 0;
  animation: bygildFadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.rd-hero-grid > *:nth-child(1) {
  animation-delay: 0.05s;
}
.rd-hero-grid > *:nth-child(2) {
  animation-delay: 0.15s;
}
.rd-hero-grid > *:nth-child(3) {
  animation-delay: 0.25s;
}
.rd-hero-grid > *:nth-child(4) {
  animation-delay: 0.35s;
}
.rd-hero-grid > *:nth-child(5) {
  animation-delay: 0.45s;
}
.rd-hero-grid > *:nth-child(6) {
  animation-delay: 0.55s;
}

/* Scroll-triggered fade-up. JS adds `.is-visible` once an element
   intersects the viewport. Applies to anything carrying [data-reveal]
   plus a few common section wrappers so we don't have to mark up
   every existing page. */
[data-reveal],
.rd-section > h2,
.rd-section > p,
.rd-case-card,
.rd-tier,
.rd-trust-band,
.rd-testimonial,
.rd-process-step,
.rd-faq-item,
.rd-services-grid > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible,
.rd-section > h2.is-visible,
.rd-section > p.is-visible,
.rd-case-card.is-visible,
.rd-tier.is-visible,
.rd-trust-band.is-visible,
.rd-testimonial.is-visible,
.rd-process-step.is-visible,
.rd-faq-item.is-visible,
.rd-services-grid > *.is-visible {
  opacity: 1;
  transform: none;
}

/* Pricing card hover lift + featured-tier shimmer.
   Only fires on devices that actually have a hover capability so it
   doesn't feel sticky-clicky on touch. */
@media (hover: hover) and (pointer: fine) {
  .rd-tier {
    transition:
      transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
      border-color 0.25s ease,
      box-shadow 0.35s ease,
      background 0.35s ease;
  }
  .rd-tier:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 244, 246, 0.32);
    box-shadow: 0 18px 48px -16px rgba(0, 0, 0, 0.55);
  }
  .rd-tier-featured {
    background: linear-gradient(
      120deg,
      rgba(244, 244, 246, 0.04) 0%,
      rgba(244, 244, 246, 0.09) 50%,
      rgba(244, 244, 246, 0.04) 100%
    );
    background-size: 200% 100%;
    animation: bygildShimmer 9s linear infinite;
  }
  .rd-tier-featured:hover {
    animation-duration: 4s;
  }
}

/* Button micro-interactions. Subtle scale + brightness on press. */
.rd-btn,
.rd-nav-cta {
  transition:
    transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}
.rd-btn:hover,
.rd-nav-cta:hover {
  transform: translateY(-1px);
}
.rd-btn:active,
.rd-nav-cta:active {
  transform: translateY(0) scale(0.98);
}
.rd-btn-primary:hover {
  box-shadow: 0 8px 24px -8px rgba(244, 244, 246, 0.35);
}

/* Inline link underline animation: from left to right on hover.
   Applied to nav links + body prose links. */
.rd-nav-links a,
.rd-prose a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition:
    background-size 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.2s;
}
.rd-nav-links a:hover,
.rd-prose a:hover {
  background-size: 100% 1px;
}

/* Smooth scroll for anchored links (works on every modern browser). */
html {
  scroll-behavior: smooth;
}

/* Image lazy-fade: images marked [data-fade] fade in once decoded.
   Handled by JS adding .is-loaded once `decode()` resolves. */
img[data-fade] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
img[data-fade].is-loaded {
  opacity: 1;
}

/* Focus ring polish: replace the browser default with a brand-tone ring
   that respects keyboard navigation only (not mouse clicks). */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid rgba(244, 244, 246, 0.55);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Typography hierarchy refinement: tighten the display heading tracking,
   loosen body line-height very slightly for breathing room. */
.h-display {
  letter-spacing: -0.022em;
  line-height: 1.04;
}
.rd-section > p {
  line-height: 1.72;
}

/* Process step number polish - quietly cycle in. */
.rd-process-num {
  -webkit-background-clip: text;
  background-clip: text;
}

/* Reduced motion: the user wins. Disable every transition + animation. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .rd-hero-grid > * {
    opacity: 1;
  }
  [data-reveal],
  .rd-section > h2,
  .rd-section > p,
  .rd-case-card,
  .rd-tier,
  .rd-trust-band,
  .rd-testimonial,
  .rd-process-step,
  .rd-faq-item,
  .rd-services-grid > * {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   HERO - split layout with screenshot (added 2026-05-12)
   ============================================================
   Uses .rd-hero-grid--split as a modifier on top of the base
   .rd-hero-grid to switch from single-column to two-column
   on desktop. Mobile falls back to stacked (copy first, image
   below). The screenshot lives inside a browser-frame chrome
   for visual cue: dots + URL bar above, image below, caption
   strip beneath. */

.rd-hero-grid--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem;
  align-items: center;
}
.rd-hero-copy {
  min-width: 0;
}
/* Solo variant - used when the hero has no right-column visual.
   Keeps the headline + subhead measure readable instead of letting
   them stretch to the full 1280px container. Sits left-aligned at
   roughly two-thirds the container width on desktop. */
.rd-hero-copy--solo {
  max-width: 56rem;
}
/* Centered variant - the whole hero block is centered horizontally
   and the children individually centered too. Reads as "product
   launch" vs the more "studio confident" left-aligned default. */
.rd-hero-copy--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rd-hero-copy--center .rd-hero-sub,
.rd-hero-copy--center .rd-hero-microcopy {
  margin-left: auto;
  margin-right: auto;
}
.rd-hero-copy--center .rd-hero-actions {
  justify-content: center;
}
.rd-hero-copy--center .rd-trust-band {
  justify-content: center;
}

/* Availability pill - small dot + line above the headline.
   Pulsing green dot creates the "now booking" energy without
   being noisy. The dot uses two stacked box-shadows to fake a
   soft outer halo since CSS has no nicer way to do it. */
.rd-hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: rgba(244, 244, 246, 0.03);
  margin-bottom: 1.5rem;
  align-self: center;
}
/* Dot itself stays static (no box-shadow animation = no paint per frame).
   The halo is a separate ::after that scales via transform - GPU-
   composited, zero paint cost regardless of frame rate. */
.rd-hero-availability-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  flex-shrink: 0;
}
.rd-hero-availability-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.25);
  animation: rd-hero-availability-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
}
@keyframes rd-hero-availability-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(2);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rd-hero-availability-dot::after {
    animation: none;
    opacity: 0.5;
    transform: scale(1.5);
  }
}
.rd-hero-visual {
  min-width: 0;
}
.rd-hero-shot {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border2);
  transition:
    border-color 0.18s,
    transform 0.25s;
}
.rd-hero-shot:hover {
  border-color: rgba(244, 244, 246, 0.32);
  transform: translateY(-2px);
}
.rd-hero-shot-frame {
  display: flex;
  flex-direction: column;
  position: relative;
}
/* "Sample build" pill overlaid on the top-right corner of the screenshot
   frame. Tells the truth (this is a sample, not a shipped client) without
   the URL bar reading as "look at my portfolio". Added 2026-05-21. */
.rd-hero-shot-pill {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(10, 10, 11, 0.78);
  border: 1px solid var(--border2);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.rd-hero-shot-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.rd-hero-shot-dots {
  display: inline-flex;
  gap: 4px;
}
.rd-hero-shot-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border2);
}
.rd-hero-shot-url {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.rd-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface2);
}
.rd-hero-shot-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  aspect-ratio: 16 / 10;
  padding: 2.25rem;
  background: linear-gradient(155deg, var(--surface2) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
}
.rd-hero-shot-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.rd-hero-shot-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.05;
  color: var(--text);
}
.rd-hero-shot-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.rd-hero-shot-caption {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: right;
}

@media (max-width: 980px) {
  .rd-hero-grid--split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .rd-hero-visual {
    order: 2;
  }
}

/* ============================================================
   MOBILE STICKY CTA - appears after hero scrolls out of view
   (added 2026-05-12)
   ============================================================
   Single-button bottom-fixed bar on mobile only. Hidden on
   desktop. Hidden by default; .is-visible class added by JS
   (see index.php inline script) when hero exits the viewport. */

/* rd-mobile-sticky-cta removed 2026-06-06 -- the persistent
   "Start your project" bar at the bottom of the viewport on
   mobile was visual noise. The hero CTA + bottom contact form
   already give two clear entry points. */

/* ============================================================
   PRE-PRICING QUICK ANSWERS (added 2026-05-12)
   ============================================================
   Two-card row directly above pricing that pre-empts the two
   most common objections. Quiet visual weight - not competing
   with the pricing tiers below. */

.rd-prequick {
  padding-top: 0;
  padding-bottom: 1rem;
}
.rd-prequick-head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}
.rd-prequick-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  margin-top: 0.4rem;
}
.rd-prequick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-prequick-card {
  padding: 1.5rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.rd-prequick-q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.rd-prequick-a {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
@media (max-width: 720px) {
  .rd-prequick-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================================
   DISPLAY-HEADING LINE BREAKS (added 2026-05-13, Tier 2 item 11)
   ============================================================
   <br class="rd-br-desktop"> hides the break on mobile so headlines
   wrap naturally instead of stranding orphan words like "for", "of",
   "from". The dramatic two-line composition still fires on desktop
   from 720px up. */
.rd-br-desktop {
  display: none;
}
@media (min-width: 720px) {
  .rd-br-desktop {
    display: inline;
  }
}

/* ============================================================
   SECTOR STRIP, TOP VARIANT (added 2026-05-13, Tier 2 item 10)
   ============================================================
   When the sector strip sits above the hero it acts as a tag-line.
   Smaller padding, no bottom border, dim text so the hero still
   leads visually. Mobile drops padding further. */
.rd-sector-strip--top {
  padding: 0.85rem 3rem 0.6rem;
  border-bottom: none;
  background: var(--bg);
}
.rd-sector-strip--top .sector-list {
  font-size: 1rem;
  color: var(--text-secondary);
}
.rd-sector-strip--top .sector-label {
  color: var(--text-tertiary);
}
@media (max-width: 720px) {
  .rd-sector-strip--top {
    padding: 0.75rem 1.25rem 0.55rem;
  }
  .rd-sector-strip--top .sector-list {
    font-size: 0.85rem;
  }
}

/* ============================================================
   PROCESS TIMELINE (added 2026-05-13, Tier 2 item 7)
   ============================================================
   Horizontal connected timeline on desktop, vertical on mobile.
   Each step has a dot, a day label, a title, and a description.
   The connecting line is a CSS pseudo-element on the container
   so it sits behind the dots and clips to the inner width. */
.rd-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
}
.rd-timeline::before {
  content: '';
  position: absolute;
  top: 2.55rem;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 1px;
  background: var(--border2);
  z-index: 0;
}
.rd-timeline-step {
  position: relative;
  z-index: 1;
  padding: 0 0.25rem;
  text-align: left;
}
.rd-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text);
  position: absolute;
  top: -1.85rem;
  left: 0;
}
.rd-timeline-step:nth-child(odd) .rd-timeline-dot {
  background: var(--text);
}
.rd-timeline-day {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.rd-timeline-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.rd-timeline-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
@media (max-width: 860px) {
  .rd-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.25rem;
    padding-top: 0;
    padding-left: 2rem;
  }
  .rd-timeline::before {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .rd-timeline-step {
    padding: 0;
  }
  .rd-timeline-dot {
    top: 0.3rem;
    left: -2rem;
  }
  .rd-timeline-day {
    margin-top: 0;
  }
}

/* ============================================================
   TRUST EVIDENCE LINES (added 2026-05-13, Tier 2 item 9)
   ============================================================
   DEAD as of 2026-05-21: the dashed-top evidence sub-line was
   removed when the trust section was rebuilt as a 3x2 card grid
   (see .rd-trust-* rules below). Evidence is now folded into the
   description as one fluid sentence. CSS kept for posterity in
   case archived markup is restored. */
.tl-evidence {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--border);
}

/* ============================================================
   TRUST SECTION (rebuilt 2026-05-21)
   ============================================================
   Was: 2-column layout (heading left, dense definition list right)
   with 6 items + 6 dashed-top evidence sub-lines = ~12 stacked
   text blocks in a narrow column. Khalid review: dense, cramped.
   Now: heading anchored at the top, 6 commitments rendered as a
   3x2 grid of breathing-room cards. Evidence folded into each
   card's body copy as one sentence. Matches the visual rhythm of
   pricing tier cards and process steps. */
.rd-trust-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.rd-trust-head .eyebrow {
  margin-bottom: 1rem;
}
.rd-trust-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  letter-spacing: -0.022em;
  line-height: 1.08;
}
.rd-trust-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.rd-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rd-trust-card {
  padding: 1.85rem 1.85rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .rd-trust-card:hover {
    border-color: rgba(244, 244, 246, 0.22);
    transform: translateY(-2px);
  }
}
.rd-trust-card-k {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.012em;
  margin: 0 0 0.85rem;
}
.rd-trust-card-v {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 960px) {
  .rd-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 600px) {
  .rd-trust-head {
    margin-bottom: 2.5rem;
  }
  .rd-trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .rd-trust-card {
    padding: 1.5rem 1.4rem 1.35rem;
  }
  .rd-trust-card-k {
    font-size: 1.2rem;
  }
}

/* ============================================================
   CASE STUDY SCROLL-TILT (added 2026-05-15)
   ============================================================
   Vanilla-JS port of the framer-motion ContainerScroll component.
   As the user scrolls the case study section into view, the screenshot
   tilts from 20deg rotateX to flat + scales subtly. Driven by a small
   inline script in index.php using IntersectionObserver + scroll
   listener with requestAnimationFrame. Respects prefers-reduced-motion. */
.rd-scroll-tilt {
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: auto;
}
.rd-scroll-tilt-inner {
  transform-origin: center top;
  transform: perspective(1000px) rotateX(20deg) scale(1.05);
  transition: transform 0.1s linear;
  border: 4px solid #6c6c6c;
  padding: 0.5rem;
  background: #222222;
  border-radius: 30px;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.29),
    0 37px 37px rgba(0, 0, 0, 0.26),
    0 84px 50px rgba(0, 0, 0, 0.15),
    0 149px 60px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.rd-scroll-tilt-inner img,
.rd-scroll-tilt-inner picture {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 0;
}
@media (max-width: 720px) {
  .rd-scroll-tilt-inner {
    transform: perspective(1000px) rotateX(20deg) scale(0.7);
    padding: 0.25rem;
    border-width: 2px;
    border-radius: 18px;
  }
  .rd-scroll-tilt-inner img,
  .rd-scroll-tilt-inner picture {
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rd-scroll-tilt-inner {
    transform: perspective(1000px) rotateX(0deg) scale(1) !important;
    transition: none !important;
  }
}

/* ============================================================ */
/* MOBILE DENSITY PASS - 2026-06-06                              */
/* ============================================================ */
/* Homepage was 10,057px tall on a 390px iPhone viewport. Audit
   findings: section vertical padding too generous, footer stacks
   into 1,061px single column, pricing carousel peek is barely
   visible so users miss it. This block cuts roughly 25 to 30%
   off scroll height across every page without removing content. */
@media (max-width: 640px) {
  /* Section padding -- was 2.5rem top/bottom in the earlier
     768px block. Trim to 2rem on phone, which compounds: 7
     sections x 1rem saved each side = ~14rem (~225px) gone. */
  .rd-section {
    padding: 2rem 1.25rem;
  }
  .rd-case-section {
    padding: 1.75rem 1.25rem;
  }

  /* Big serif H2s -- drop a notch on phone so they don't eat
     a full viewport before the body copy starts. */
  .rd-section > h2.h-display,
  .h-display.rd-contact-title,
  .rd-case-title {
    font-size: clamp(1.6rem, 6.5vw, 2.05rem) !important;
    line-height: 1.15;
  }
  .rd-section > p {
    font-size: 0.95rem;
  }

  /* Pricing + care carousel -- previous peek was 85vw cards
     with 1.25rem padding, which left only ~8% of the next card
     showing. Drop card width so the next card peeks ~18%, add
     a right-edge fade as a swipe affordance. */
  .tiers,
  .care-grid {
    padding-right: 2.5rem;
    scroll-padding-left: 1.25rem;
  }
  .tier {
    flex: 0 0 78vw;
    max-width: 300px;
  }
  .care-card {
    flex: 0 0 75vw;
    max-width: 280px;
  }
  /* Small mono swipe-hint label above the carousel so first-time
     visitors know there's more off-screen. Hidden on desktop via
     the rule below this block. */
  .swipe-hint {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin: 0 0 0.85rem;
  }

  /* Vertex / case-section image -- was full-bleed at the
     natural aspect, takes ~340px of vertical space on phone.
     Cap height and crop top to surface the hero/title area. */
  .rd-case-shot,
  .rd-case-shot img {
    max-height: 280px;
    object-fit: cover;
    object-position: top center;
  }

  /* Contact section meta -- 5 rows is too many on phone.
     Hide the two lowest-signal rows (Hours + Based) so the
     form is reachable sooner. Email/Response/Guarantee stay. */
  .rd-cm-row.rd-cm-hide-mobile {
    display: none;
  }

  /* Contact meta rows -- tighter k/v label column on phone. */
  .rd-contact-meta .rd-cm-row {
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    padding: 0.6rem 0;
  }
  .rd-cm-k {
    font-size: 0.62rem;
  }
  .rd-cm-v {
    font-size: 0.85rem;
  }

  /* Footer -- single-column stack added 1,061px to every page.
     Switch to a 2-col compact grid on phone: links pair up
     (Studio + Sectors), Contact runs full-width below. */
  .rd-footer {
    padding: 2.5rem 1.25rem 2rem;
    margin-top: 0;
  }
  .rd-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
    padding-bottom: 1.5rem;
  }
  .rd-footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }
  .rd-footer-brand .wordmark {
    font-size: 1.3rem;
  }
  .rd-footer-tag {
    margin-top: 0.4rem;
    font-size: 0.62rem;
  }
  .rd-footer-col {
    gap: 0.5rem;
  }
  .rd-fc-title {
    font-size: 0.62rem;
    margin-bottom: 0.25rem;
  }
  .rd-footer-col a {
    font-size: 0.82rem;
  }
  /* Last footer col (Contact) spans full width so its 4 links
     line up rather than wrapping awkwardly under Sectors. */
  .rd-footer-col:last-of-type {
    grid-column: 1 / -1;
  }
  .rd-footer-bottom {
    padding-top: 1.25rem;
    font-size: 0.65rem;
  }

  /* About hero -- meta rows were 140px label column, too wide
     on a 390px screen leaving the value cramped. */
  .ahc-meta-row {
    grid-template-columns: 90px 1fr;
    gap: 0.75rem;
    padding: 0.6rem 0;
  }

  /* FAQ items on /contact -- the bespoke .faq-item shows all
     answers always, which is fine but the padding compounds.
     Tighten so 6 questions don't fill 2 screens. */
  .faq-item {
    padding: 1rem 0;
  }
  .faq-q {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
  }
  .faq-a {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* Swipe hint is mobile-only -- hide above 640px so it doesn't
   appear over the desktop 3-card grid. */
@media (min-width: 641px) {
  .swipe-hint {
    display: none;
  }
}
