/* ============================================================
   ASSURANCE READY LIMITED — Stylesheet V2
   Palette: Deep Navy · Warm Amber · Off-White
   Fonts: Fraunces (display) · DM Sans (body)
   V2: Glow card effect on service cards, fixed FAQ accordion
   ============================================================ */


/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --navy:        #0B1A2C;
  --navy-mid:    #162B46;
  --navy-light:  #1E3A5F;
  --amber:       #C97B2A;
  --amber-light: #E8953A;
  --amber-pale:  #FDF0E0;
  --teal:        #2A8D82;
  --bg:          #F7F3EE;
  --bg-alt:      #EDE8E0;
  --bg-dark:     #0B1A2C;
  --text:        #1A2535;
  --text-muted:  #6B7589;
  --text-light:  #A0ACBC;
  --border:      #DDD8CE;
  --border-dark: rgba(255,255,255,0.10);
  --white:       #FFFFFF;

  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body:    'DM Sans', -apple-system, sans-serif;

  --sh-sm:  0 1px 4px rgba(11,26,44,0.08);
  --sh-md:  0 4px 20px rgba(11,26,44,0.12);
  --sh-lg:  0 12px 48px rgba(11,26,44,0.18);
  --sh-xl:  0 24px 80px rgba(11,26,44,0.24);
  /* Solid amber glow for information cards — the gap-analysis-box look.
     A crisp 1px amber ring plus a soft amber bloom. Steady, not animated
     (that circling trace is reserved for clickable buttons). */
  --sh-glow: 0 0 0 1px var(--amber), 0 20px 60px rgba(201,123,42,0.18);

  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.55, 0, 1, 0.45);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── Layout Utilities ───────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 9rem 0; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              padding 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(11, 26, 44, 0.97);
  backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), var(--sh-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-logo-mark svg { width: 40px; height: 40px; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text .brand-name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-text .brand-sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.btn-nav {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy) !important;
  background: var(--amber);
  padding: 0.55rem 1.25rem !important;
  border-radius: 6px !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.btn-nav:hover {
  background: var(--amber-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(201,123,42,0.35) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem;
  background: rgba(11,26,44,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-dark);
}

.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,123,42,0.38);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--amber);
  border-color: transparent;
  padding-left: 0; padding-right: 0;
  font-size: 0.875rem;
}
.btn-ghost::after {
  content: '→';
  transition: transform 0.2s;
}
.btn-ghost:hover { color: var(--amber-light); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: var(--r-lg); }
.section-cta { margin-top: 1rem; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid::before {
  content: '';
  position: absolute;
  left: -20%; right: -20%;
  bottom: -10%;
  height: 60%;
  background-image:
    linear-gradient(rgba(201,123,42,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,123,42,0.12) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(500px) rotateX(72deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.hero-diamond {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  height: 440px;
  perspective: 900px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(201,123,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,123,42,0.15);
  border: 1px solid rgba(201,123,42,0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--amber-light);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 { color: var(--white); max-width: 700px; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--amber-light); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.hero-link:hover { color: var(--white); }

.social-proof-strip {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.proof-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(255,255,255,0.78);
  max-width: 400px;
  line-height: 1.6;
}

.proof-attribution {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-style: normal;
}

/* ── Section Headers ────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }

.section-header.centered {
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ── Problem Section ────────────────────────────────────── */
.problem-section {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease-out);
  transform-style: preserve-3d;
  cursor: default;
}

.problem-card:hover {
  box-shadow: var(--sh-glow);
  border-color: var(--amber);
  transform: translateY(-4px);
}

.problem-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── How It Works ───────────────────────────────────────── */
.steps-section { background: var(--bg); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  z-index: 0;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease-out);
  transform-style: preserve-3d;
}

.step-card:hover {
  box-shadow: var(--sh-glow);
  border-color: var(--amber);
  transform: translateY(-4px);
}

.step-number {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.step-card:hover .step-number { background: var(--amber); }

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--ff-body);
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Gap Analysis & SoA Card ────────────────────────────── */
.gap-section {
  background: var(--navy);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.gap-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,123,42,0.08) 0%, transparent 70%);
}

.gap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.gap-card:hover {
  border-color: var(--amber);
  box-shadow: var(--sh-glow);
  transform: translateY(-4px);
}

.gap-label {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.gap-card h2 { color: var(--white); margin-bottom: 1rem; }

.gap-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.gap-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.price-amount {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
}

.price-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

.deliverables-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  background: var(--amber);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* ── Testimonial ────────────────────────────────────────── */
.testimonial-section {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 3rem;
  position: relative;
  border-left: 4px solid var(--amber);
  box-shadow: var(--sh-md);
  max-width: 760px;
  margin: 0 auto;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  transform-style: preserve-3d;
}

/* Quote boxes: lift with a plain neutral shadow — no amber glow */
.testimonial-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem; left: 2rem;
  font-family: var(--ff-display);
  font-size: 6rem;
  color: var(--amber-pale);
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-author strong { color: var(--text); font-weight: 600; }

/* ── Footer CTA Band ────────────────────────────────────── */
.footer-cta {
  background: linear-gradient(135deg, var(--amber) 0%, #A85F1A 100%);
  padding: 5rem 0;
  text-align: center;
}

.footer-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

.footer-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #07101C;
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 240px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* ── Page Header (inner pages) ──────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 9rem 0 5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,123,42,0.4), transparent);
}

.page-header h1 { color: var(--white); max-width: 620px; }
.page-header p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-top: 1.25rem;
  max-width: 520px;
}

/* ── Card border + hover (replaces the pointer-tracked glow) ──
   Cards never move on hover — they take the shared solid amber
   glow (--sh-glow), matching the homepage gap-analysis box.   */
.service-card {
  border: 1.5px solid rgba(201, 123, 42, 0.14);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.service-card:hover {
  border-color: var(--amber);
  box-shadow: var(--sh-glow);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: rgba(201, 123, 42, 0.22);
}

.service-card.featured:hover {
  border-color: var(--amber);
  box-shadow: var(--sh-glow);
  transform: translateY(-4px);
}


/* ── Service Tier Cards ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  position: relative;
  /* No 3D transforms — glow handles all interactivity */
}

.service-card.featured {
  background: var(--navy);
  color: var(--white);
}

.service-card.featured .service-card-body p { color: rgba(255,255,255,0.7); }

.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.badge-amber { background: var(--amber-pale); color: var(--amber); }
.badge-navy { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.badge-teal { background: rgba(42,141,130,0.12); color: var(--teal); }

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.service-card.featured h3 { color: var(--white); }

.service-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.25rem 0;
}

.service-price .amount {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.service-price .period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-card.featured .service-price .period { color: rgba(255,255,255,0.5); }

.service-timeline {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-card.featured .service-features li { color: rgba(255,255,255,0.72); }

.service-features li::before {
  content: '✓';
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FAQ — modern numbered list ──────────────────────────── */
.faq-section { background: var(--bg-alt); }

/* Two-col layout wrapper */
.faq-layout { align-items: start; }

.faq-label-col { position: sticky; top: 7rem; }

/* The list container */
.faq-list {
  display: flex;
  flex-direction: column;
}

/* Each row */
.faq-row {
  position: relative;
  border-top: 1px solid var(--border);
  /* Left amber bar: starts at 0 height, expands when open */
  --bar-h: 0%;
}

.faq-row:last-child { border-bottom: 1px solid var(--border); }

/* Animated left bar */
.faq-row-bar {
  position: absolute;
  left: 0; top: 0;
  width: 2px;
  height: var(--bar-h);
  background: var(--amber);
  transition: height 0.45s var(--ease-out);
  border-radius: 0 2px 2px 0;
}

.faq-row.open { --bar-h: 100%; }

/* Trigger button */
.faq-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 2.5rem 1fr 2rem;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0 1.5rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-body);
}

.faq-num {
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.3s;
  letter-spacing: 0.04em;
  align-self: start;
  padding-top: 0.2rem;
}

.faq-row.open .faq-num { color: var(--amber); }

.faq-trigger-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  transition: color 0.3s;
}

.faq-row.open .faq-trigger-text { color: var(--amber); }
.faq-trigger:hover .faq-trigger-text { color: var(--amber); }
.faq-trigger:hover .faq-num { color: var(--amber); }

/* SVG icon — plus morphs to × */
.faq-toggle {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.faq-row.open .faq-toggle,
.faq-trigger:hover .faq-toggle {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--white);
}

.faq-toggle-icon {
  width: 14px; height: 14px;
}

/* Vertical line of the + collapses to 0 when open */
.faq-toggle-icon .t-v {
  transform-origin: center;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.faq-row.open .faq-toggle-icon .t-v {
  transform: scaleY(0);
  opacity: 0;
}

/* Horizontal line rotates slightly for a dash feel */
.faq-toggle-icon .t-h {
  transition: transform 0.35s var(--ease-out);
}

/* Answer panel — clip-path reveal from top */
.faq-panel {
  overflow: hidden;
  /* clip-path slides in from top */
  clip-path: inset(0 0 100% 0);
  max-height: 0;
  transition:
    clip-path 0.45s var(--ease-out),
    max-height 0.45s var(--ease-out);
}

.faq-row.open .faq-panel {
  clip-path: inset(0 0 0% 0);
  max-height: 400px;
}

.faq-panel-inner {
  padding: 0 0 1.75rem 3.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s var(--ease-out) 0.1s,
    transform 0.35s var(--ease-out) 0.1s;
}

.faq-row.open .faq-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.faq-panel-inner p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 600px;
}

/* Responsive: stack the two-col layout */
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .faq-label-col { position: static; }
  .faq-panel-inner { padding-left: 2rem; }
  .faq-trigger { padding-left: 0.75rem; }
}

/* ── About Page ─────────────────────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.headshot-placeholder {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-radius: var(--r-xl);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
  transform-style: preserve-3d;
  box-shadow: var(--sh-xl);
}

.headshot-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,123,42,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(42,141,130,0.10) 0%, transparent 50%);
}

.headshot-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.headshot-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.headshot-note strong {
  display: block;
  color: var(--amber-light);
  font-style: normal;
  margin-bottom: 0.25rem;
}

.bio-content h2 { margin-bottom: 1.5rem; }

.bio-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.bio-block:last-child { border-bottom: none; margin-bottom: 0; }

.bio-block p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.bio-block p + p { margin-top: 1rem; }

/* Credentials */
.credentials-section { background: var(--bg-alt); }

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.credential-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  transform-style: preserve-3d;
}

.credential-card:hover {
  box-shadow: var(--sh-glow);
  border-color: var(--amber);
  transform: translateY(-4px);
}

.credential-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.credential-card h4 {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.credential-card p { font-size: 0.78rem; color: var(--text-muted); }

/* ── Resources Page ─────────────────────────────────────── */
.lead-magnet-section {
  background: var(--navy);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.lead-magnet-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.lead-magnet-card:hover {
  border-color: var(--amber);
  box-shadow: var(--sh-glow);
  transform: translateY(-4px);
}

.lead-magnet-card h2 { color: var(--white); margin-bottom: 1.25rem; }

.lead-magnet-card .desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.checklist-preview {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  transform: perspective(600px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s var(--ease-out);
}

.checklist-header {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checklist-header-logo { width: 28px; height: 28px; }

.checklist-header-text .title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.checklist-header-text .sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
}

.checklist-body { padding: 1.25rem 1.5rem; }

.checklist-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checklist-row:last-child { border-bottom: none; }

.check-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: #4CAF50; }
.dot-amber { background: var(--amber); }
.dot-red   { background: #E53935; }

/* Email Form */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.form-input {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  border-radius: var(--r);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-input::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,255,255,0.10);
}

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

/* Article Cards */
.articles-section { background: var(--bg); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  transform-style: preserve-3d;
}

.article-card:hover {
  box-shadow: var(--sh-glow);
  border-color: var(--amber);
  transform: translateY(-4px);
}

.article-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.article-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-body { padding: 1.75rem; }

.article-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--ff-body);
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* ── Contact Page ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

.enquiry-content {
  max-width: 600px;
  margin: 0 auto;
}

.enquiry-intro { margin-bottom: 2.5rem; }

.enquiry-intro p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.enquiry-intro p:last-child { margin-bottom: 0; }

.process-steps {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.step-num {
  font-weight: 700;
  color: #1E5FA8;
  flex-shrink: 0;
  min-width: 1.75rem;
}

.step-text { color: var(--text); }

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--ff-body);
}

.field-required {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input-enquiry {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input-enquiry::placeholder { color: var(--text-light); }

.form-input-enquiry:focus {
  outline: none;
  border-color: #1E5FA8;
  box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.12);
}

.form-textarea-enquiry {
  resize: vertical;
  min-height: 130px;
}

.enquiry-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-success-msg {
  padding: 1.25rem 1.5rem;
  background: rgba(42, 141, 130, 0.08);
  border: 1px solid rgba(42, 141, 130, 0.3);
  border-radius: var(--r);
  color: var(--teal);
  font-size: 0.925rem;
  line-height: 1.65;
  margin: 0;
}

.form-error-msg {
  padding: 1.25rem 1.5rem;
  background: rgba(229, 57, 53, 0.06);
  border: 1px solid rgba(229, 57, 53, 0.25);
  border-radius: var(--r);
  color: #C62828;
  font-size: 0.925rem;
  line-height: 1.65;
  margin: 0;
}

.form-error-msg a { color: inherit; text-decoration: underline; }

/* Honeypot — off-screen for people, visible and tempting to bots.
   Not display:none, which some bots detect and skip. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.contact-info { padding-top: 1rem; }
.contact-info h3 { margin-bottom: 1.75rem; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  margin-bottom: 1rem;
  transition: all 0.3s var(--ease-out);
}

.contact-method:hover {
  background: var(--white);
  box-shadow: var(--sh-md);
}

.contact-method-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-method-text p { font-size: 0.875rem; color: var(--text-muted); }
.contact-method-text a { color: var(--amber); font-weight: 500; }
.contact-method-text a:hover { text-decoration: underline; }

.response-note {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(201,123,42,0.06);
  border: 1px solid rgba(201,123,42,0.15);
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Scroll Reveal Animations ─────────────────────────────
   V6X: every pre-reveal state is gated behind html.js so the
   page is fully readable when JavaScript is unavailable.
   Variants: (default rise) · left · right · scale · wipe.
   [data-reveal-stagger] containers cascade their children.  */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.js [data-reveal="left"]  { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="scale"] { transform: scale(0.96) translateY(18px); }

.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Soft-wipe — the card unmasks upward while rising */
.js [data-reveal="wipe"] {
  opacity: 0;
  transform: translateY(36px);
  clip-path: inset(4% 3% 14% 3% round var(--r-xl));
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out),
              clip-path 0.95s var(--ease-out);
}

.js [data-reveal="wipe"].revealed {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round var(--r-xl));
}

/* Staggered children — JS assigns --i per child */
.js [data-reveal-stagger] .stagger-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out) calc(var(--i, 0) * 90ms),
              transform 0.7s var(--ease-out) calc(var(--i, 0) * 90ms);
}

.js [data-reveal-stagger].revealed .stagger-child {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ── Why Assurance Ready — vertical list ────────────────── */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.why-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-list-icon {
  width: 40px;
  height: 40px;
  background: #EF9F27;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-list-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.why-list-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Step card price label ───────────────────────────────── */
.step-card-price {
  margin: 0.4rem 0 0.5rem;
  line-height: 1;
}

.step-price-amount {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.step-price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--ff-body);
}

/* ── Service price tag badge (inline beneath heading) ────── */
.service-price-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber-light);
  border: 1px solid rgba(201,123,42,0.4);
  background: rgba(201,123,42,0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin: 0.5rem 0 0.75rem;
}

/* ── Misc ────────────────────────────────────────────────── */
.pricing-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--r);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .gap-card { grid-template-columns: 1fr; gap: 2.5rem; }
  .lead-magnet-card { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 7rem 0 5rem; min-height: auto; }
  .hero-diamond { display: none; }
  .hero-glow { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .social-proof-strip { flex-direction: column; gap: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 2rem; }
  .gap-card { padding: 2rem; }
  .lead-magnet-card { padding: 2rem; }
  .section-cta .btn { display: flex; width: 100%; justify-content: center; }
}

/* ── Scroll Indicator ────────────────────────────────────────
   Double amber chevron, fixed bottom-right.
   Visibility is controlled entirely via JS (opacity + pointer-
   events). The inline style="display:none" on the element is
   overridden by JS once the page loads.
   ──────────────────────────────────────────────────────────── */
#scroll-indicator {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.scroll-chevron {
  display: block;
  animation: si-pulse 1s ease-in-out infinite;
}

.scroll-chevron--top    { animation-delay: 0s;    }
.scroll-chevron--bottom { animation-delay: 0.25s; }

@keyframes si-pulse {
  0%, 100% { opacity: 0.25; transform: translateY(-3px); }
  50%       { opacity: 1;   transform: translateY(4px);  }
}

@media (max-width: 768px) {
  #scroll-indicator { display: none !important; }
}

/* ════════════════════════════════════════════════════════════
   V6X MOTION LAYER
   3D diamond hero · load choreography · logo outline redraw ·
   border-trace buttons · nav polish · film grain · ambient orbs
   All pre-animation hidden states are gated behind html.js.
   ════════════════════════════════════════════════════════════ */

/* ── Hero load choreography ─────────────────────────────── */
.js [data-hero-seq] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.js.hero-loaded [data-hero-seq] {
  opacity: 1;
  transform: none;
}

.js [data-hero-seq="1"] { transition-delay: 0.12s; }
.js [data-hero-seq="2"] { transition-delay: 0.95s; }
.js [data-hero-seq="3"] { transition-delay: 1.12s; }
.js [data-hero-seq="4"] { transition-delay: 1.35s; }
.js [data-hero-seq="5"] { transition-delay: 1.5s; }

/* H1 line-by-line mask rise — words on the same visual line
   share a --line index, so each line rises as one unit.
   Padding gives ascenders/descenders room inside the mask;
   negative margins cancel it out of the layout. */
.js .hero h1 .split-word,
.js .page-header h1 .split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.05em 0.14em 0;
  margin: -0.06em -0.05em -0.14em 0;
}

.js .hero h1 .split-word-inner,
.js .page-header h1 .split-word-inner {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 0.95s var(--ease-out);
  transition-delay: calc(0.3s + var(--line, 0) * 0.13s);
}

.js.hero-loaded .hero h1 .split-word-inner,
.js.hero-loaded .page-header h1 .split-word-inner { transform: none; }

.hero h1.split-done .split-word,
.page-header h1.split-done .split-word { overflow: visible; }

/* Particle canvas fades in behind the headline sequence */
.js .hero-diamond {
  opacity: 0;
  transition: opacity 1.8s ease 0.55s;
}

.js.hero-loaded .hero-diamond { opacity: 1; }

/* ── Self-drawing diamond ────────────────────────────────── */
/* The brand diamond's outlines draw themselves in sequence,
   hold, then softly fade and redraw on a slow loop — the same
   motion language as the logo's outline redraw. Each SVG
   element carries pathLength="100" so one dash setting fits
   all. Pure CSS: runs without JS, static under reduced motion. */
.dd {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: diamond-draw 11s ease-in-out infinite;
}

.dd-1 { animation-delay: 0s; }
.dd-2 { animation-delay: 0.4s; }
.dd-3 { animation-delay: 0.8s; }
.dd-4 { animation-delay: 1.15s; }
.dd-5 { animation-delay: 1.3s; }
.dd-6 { animation-delay: 1.5s; }
.dd-7 { animation-delay: 1.65s; }
.dd-8 { animation-delay: 1.8s; }
.dd-9 { animation-delay: 1.95s; }

/* Smaller, fainter self-drawing diamond for inner page headers */
.header-diamond {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
  pointer-events: none;
}

.header-diamond svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.11;
}

@media (max-width: 768px) {
  .header-diamond { display: none; }
}

@keyframes diamond-draw {
  0%    { stroke-dashoffset: 100; stroke-opacity: 1; }
  30%   { stroke-dashoffset: 0;   stroke-opacity: 1; }
  72%   { stroke-dashoffset: 0;   stroke-opacity: 1; }
  84%   { stroke-dashoffset: 0;   stroke-opacity: 0; }
  84.1% { stroke-dashoffset: 100; stroke-opacity: 0; }
  96%   { stroke-dashoffset: 100; stroke-opacity: 0; }
  100%  { stroke-dashoffset: 100; stroke-opacity: 1; }
}

/* ── Logo — outline redraw on hover ─────────────────────── */
/* The amber diamond outline erases and redraws itself around
   the mark in ~0.65s. Outer polygon perimeter ≈ 136 units.  */
.logo-outline {
  stroke-dasharray: 136;
  stroke-dashoffset: 0;
}

.nav-logo:hover .logo-outline {
  animation: logo-redraw 0.65s var(--ease-out);
}

@keyframes logo-redraw {
  from { stroke-dashoffset: 136; }
  to   { stroke-dashoffset: 0; }
}

/* ── Nav — entrance + sliding underline ─────────────────── */
.js .nav {
  opacity: 0;
  transform: translateY(-14px);
}

.js .nav.nav-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out) 0.1s, transform 0.7s var(--ease-out) 0.1s,
              background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              padding 0.4s var(--ease-out);
}

.nav-links { position: relative; }

.nav-links a.active::after { content: none; }

.nav-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--amber);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out), opacity 0.25s;
}

/* ── Buttons — border light trace ────────────────────────── */
/* The button stays perfectly still; on hover a band of warm
   light traces around its border. The ::before ring is masked
   to the border strip; the conic angle animates via @property. */
@property --trace {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.btn { position: relative; }

/* Buttons no longer lift — all hover feedback is colour + light */
.btn-primary:hover,
.btn-outline-light:hover,
.btn-outline-dark:hover {
  transform: none;
}

.btn-primary::before,
.btn-outline-light::before,
.btn-outline-dark::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--trace),
    transparent 0deg 264deg,
    rgba(232, 149, 58, 0.85) 306deg,
    rgba(255, 224, 178, 0.95) 330deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.btn-primary:hover::before,
.btn-outline-light:hover::before,
.btn-outline-dark:hover::before {
  opacity: 1;
  animation: border-trace 1.2s linear infinite;
}

@keyframes border-trace {
  to { --trace: 360deg; }
}

.btn:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 3px;
}


/* ── Film grain — dark sections only ─────────────────────── */
.grain {
  position: relative;
  overflow: hidden;
}

.grain::after {
  content: '';
  position: absolute;
  inset: -100%;
  z-index: 4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.05;
  animation: grain-shift 0.9s steps(1, end) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-1.5%, 1%); }
  40%  { transform: translate(1%, -1.5%); }
  60%  { transform: translate(-1%, -1%); }
  80%  { transform: translate(1.5%, 0.5%); }
  100% { transform: translate(0, 0); }
}

/* Keep section content above the grain-adjacent layers */
.footer-cta .container { position: relative; z-index: 2; }

/* ── Ambient orbs — light sections stay quietly alive ────── */
.orb-field { position: relative; overflow: hidden; }

.orb-field > .container { position: relative; z-index: 1; }

.ambient-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.orb-a {
  width: 460px; height: 460px;
  left: -140px; top: -160px;
  background: radial-gradient(circle, rgba(201,123,42,0.09), transparent 70%);
  animation: orb-a 46s ease-in-out infinite alternate;
}

.orb-b {
  width: 520px; height: 520px;
  right: -180px; bottom: -200px;
  background: radial-gradient(circle, rgba(30,58,95,0.08), transparent 70%);
  animation: orb-b 58s ease-in-out infinite alternate;
}

.orb-c {
  width: 360px; height: 360px;
  right: 8%; top: -120px;
  background: radial-gradient(circle, rgba(201,123,42,0.07), transparent 70%);
  animation: orb-c 44s ease-in-out infinite alternate;
}

@keyframes orb-a { to { transform: translate(110px, 70px) scale(1.12); } }
@keyframes orb-b { to { transform: translate(-90px, -60px) scale(1.18); } }
@keyframes orb-c { to { transform: translate(-70px, 80px) scale(1.1); } }

/* ── Reduced motion — calm, instant, fully readable ──────── */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal="wipe"],
  .js [data-reveal-stagger] .stagger-child,
  .js [data-hero-seq] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .js .hero h1 .split-word-inner {
    transform: none !important;
    transition: none !important;
  }

  .js .hero-diamond { opacity: 1; transition: none; }

  /* Static, fully-drawn diamonds */
  .dd {
    animation: none !important;
    stroke-dashoffset: 0;
  }

  .js .nav { opacity: 1; transform: none; }

  .orb,
  .grain::after,
  .hero-badge::before,
  .scroll-chevron {
    animation: none !important;
  }

  .nav-underline { transition: none; }

  .btn-primary:hover::before,
  .btn-outline-light:hover::before,
  .btn-outline-dark:hover::before,
  .nav-logo:hover .logo-outline {
    animation: none;
  }
}

/* ── V6X responsive fixes ─────────────────────────────────
   The stats strip and Why grid previously used inline styles
   with no mobile override, and long nowrap CTA labels clipped
   at narrow widths (present in V5 too). Fixed here.        */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .btn { white-space: normal; }

  .btn-lg {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES (privacy-policy.html, terms.html)
   ══════════════════════════════════════════════════════════════ */

.legal { max-width: 46rem; }

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* "At a glance" summary card */
.legal-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--r);
  padding: 1.75rem 1.85rem;
  margin-bottom: 3rem;
  box-shadow: var(--sh-sm);
}

.legal .legal-summary h2 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
  padding-top: 0;
  border-top: none;
  color: var(--navy);
}

.legal .legal-summary ul { list-style: none; margin: 0; padding: 0; }

.legal .legal-summary li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text);
}

.legal .legal-summary li:last-child { margin-bottom: 0; }

.legal .legal-summary li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  background: var(--amber);
  transform: rotate(45deg);
}

.legal h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin: 3rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.legal h3 {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.9rem 0 0.6rem;
}

.legal p,
.legal li { color: var(--text); line-height: 1.75; }

.legal p { margin-bottom: 1.1rem; }

.legal ul, .legal ol { margin: 0 0 1.3rem 1.2rem; }
.legal li { margin-bottom: 0.5rem; padding-left: 0.3rem; }

.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--amber-light); }

.legal strong { color: var(--navy); font-weight: 600; }

/* Lawful-basis / retention tables */
.legal-table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }

.legal-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table th {
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-table td { color: var(--text); }

/* Unmissable marker for details the business must supply before launch.
   Every occurrence must be replaced — see the pre-launch checklist. */
.todo {
  display: inline-block;
  background: #FFF3D6;
  border: 1px dashed #C9932A;
  border-radius: 3px;
  padding: 0.1em 0.5em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  font-weight: 600;
  color: #8A5A12;
  white-space: nowrap;
}

.legal-contact {
  background: var(--bg-alt);
  border-radius: var(--r);
  padding: 1.6rem 1.75rem;
  margin-top: 1.25rem;
}

.legal-contact p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .legal h2 { font-size: 1.22rem; margin-top: 2.4rem; }
  .legal-summary { padding: 1.4rem 1.35rem; }
}

/* Footer legal block — company disclosures + policy links */
.footer-legal-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 46ch;
  line-height: 1.55;
}

.footer-legal { display: flex; gap: 1.5rem; flex-shrink: 0; }

/* Same pre-launch marker as the legal pages, toned for the dark footer. */
.todo-inline {
  background: rgba(201,123,42,0.18);
  border: 1px dashed rgba(232,149,58,0.7);
  border-radius: 3px;
  padding: 0.05em 0.4em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.94em;
  color: #E8953A;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .todo-inline { white-space: normal; }
}

/* Article cards whose content is not yet published — a clear, honest
   non-interactive state in place of a link that goes nowhere. */
.article-soon {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 2px;
  padding: 0.5rem 0.9rem;
}
