/* ============================================================
   Full Kit Marketing — styles
   Warm, senior, high-trust: plum anchor, rust energy,
   steel-blue calm, sage grounding, cream canvas.
   Display: EB Garamond (serif) · Body: Avenir / Nunito Sans
   ============================================================ */

:root {
  /* palette — from the Full Kit brand identity system */
  --plum:       #3b1c32;   /* primary · brand anchor — text & dark sections */
  --plum-soft:  #573049;   /* lighter plum — secondary text on light */
  --slate:      #6a5560;   /* muted body text (warm) */
  --slate-2:    #8a7681;   /* softest muted text */
  --line:       #e8ddd6;   /* warm hairlines / borders */
  --line-steel: #c3d6de;   /* soft steel hairline */
  --bg:         #ffffff;   /* page canvas */
  --bg-alt:     #f8f4f0;   /* warm white — alt sections & print */

  --rust:       #9b3d12;   /* secondary · accent & energy — primary accent (light bg) */
  --rust-dk:    #82330e;   /* deeper rust — links & hover */
  --rust-br:    #c75e30;   /* brighter rust — accent on plum/dark backgrounds */
  --rust-soft:  #f5e7df;   /* soft rust / cream tint — fills */

  --steel:      #7ca5b8;   /* secondary · contrast & calm — data, badges, support */
  --steel-soft: #e6eef2;
  --steel-dk:   #4f7d92;   /* readable steel for text on light */

  --sage:       #627264;   /* secondary · grounding & natural — section accents */
  --sage-soft:  #e7ebe7;

  --white:      #ffffff;

  /* type */
  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Avenir Next', 'Avenir', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* layout */
  --maxw: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(59,28,50,.05), 0 12px 32px rgba(59,28,50,.09);
  --shadow-sm: 0 1px 3px rgba(59,28,50,.07);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--plum);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
img { max-width: 100%; display: block; }
a { color: var(--rust-dk); text-decoration: none; }

/* Visible keyboard focus indicator on every interactive element (WCAG 2.4.7). */
:focus-visible {
  outline: 3px solid var(--rust-br);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Inline prose links carry an underline so they're never colour-only (WCAG 1.4.1). */
.legal a, .contact-or a, .form-status a, .contact-done a, main p a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--plum); margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--rust);
  margin: 0 0 0.9rem;
}
.muted { color: var(--slate-2); font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--rust); color: var(--white); box-shadow: 0 6px 18px rgba(155,61,18,.28); }
.btn-primary:hover { background: var(--rust-dk); box-shadow: 0 10px 24px rgba(155,61,18,.34); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust-dk); background: var(--rust-soft); }
.btn-lg { font-size: 1.15rem; padding: 1.05rem 2rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(59,28,50,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(248,244,240,.14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--bg-alt); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; color: var(--white); }
.brand-sub { font-family: var(--font-sans); font-size: 0.7rem; color: rgba(248,244,240,.85); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: inline-block; padding: 0.5rem 0.85rem; border-radius: 8px;
  color: var(--white); font-weight: 600; font-size: 0.95rem;
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,.1); text-decoration: none; }
.nav-menu .nav-cta { background: var(--rust); color: var(--white); font-weight: 700; margin-left: 0.4rem; }
.nav-menu .nav-cta:hover { background: var(--rust-dk); color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--bg-alt); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
 background:
  radial-gradient(1100px 480px at 80% -10%, rgba(124,165,184,.22), transparent 60%),
  radial-gradient(900px 520px at 6% 0%, rgba(155,61,18,.08), transparent 55%),
  url('/images/hero.jpg') top right / 78% auto no-repeat;
}
.hero-inner { max-width: 900px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub {
  display: block; margin-top: 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 500; line-height: 1.18; letter-spacing: 0;
  color: var(--plum-soft);
}
.hero-lead { font-size: clamp(1.1rem, 2.1vw, 1.4rem); color: var(--slate); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1.1rem; }
.hero-note {
  font-size: 0.98rem; color: var(--plum-soft); font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0;
}
.hero-note::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rust); box-shadow: 0 0 0 4px var(--rust-soft);
}


@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(900px 520px at 6% 0%, rgba(155,61,18,.08), transparent 55%),
      url('/images/hero.jpg') top right / 170% auto no-repeat;
  }
}
/* ============================================================
   Positioning strip (differentiators)
   ============================================================ */
.strip { background: var(--steel-dk); color: var(--white); }
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(2rem, 4vw, 2.75rem) var(--gutter);
}
.strip-item { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; text-align: center; }
.strip-num { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; color: var(--white); line-height: 1.05; }
.strip-label { font-size: 0.92rem; color: var(--bg-alt); max-width: 26ch; }
.strip-item { padding: 0 clamp(1rem, 3vw, 2rem); }
.strip-item + .strip-item { border-left: 1px solid rgba(255, 255, 255, 0.4); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-sage { background: var(--sage-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-intro { font-size: 1.12rem; color: var(--slate); }
.section-graphic {
  background: url('/images/arrows-up.jpg') right 5% center / auto 60% no-repeat;
}
@media (max-width: 900px) {
  .section-graphic { background: none; }
}
/* is / is-not two-up */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.dual-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.8rem; box-shadow: var(--shadow-sm);
}
.dual-card.is { border-top: 3px solid var(--rust); }
.dual-card.isnt { border-top: 3px solid var(--steel); }
.dual-card h3 { margin-bottom: 0.6rem; }
.dual-card p { color: var(--slate); margin: 0; }
.dual-tag { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; margin-bottom: 0.4rem; display: block; }
.dual-card.is .dual-tag { color: var(--rust); }
.dual-card.isnt .dual-tag { color: var(--steel-dk); }

/* steps */
 .steps {
  list-style: none; margin: 0; padding: 0;
  max-width: 640px;
}
.step {
  position: relative; background: none; border: none; box-shadow: none;
  border-radius: 0; padding: 0 0 1.75rem 3.4rem;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 18px; top: 46px; bottom: 10px;
  width: 2px; background: rgba(98, 114, 100, 0.35);
}
.step-num {
  position: absolute; left: 0; top: 0;
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--sage-soft);
  border: 1.5px solid rgba(98, 114, 100, 0.55); color: var(--plum);
  font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem;
}
#how { border-bottom: 1px solid rgba(98, 114, 100, 0.25); }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--slate); margin: 0; font-size: 0.99rem; }
.step em { font-style: normal; color: var(--rust-dk); font-weight: 700; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
}
.pillar h4 { margin-bottom: 0.4rem; color: var(--plum); }
.pillar p { margin: 0; color: var(--slate); font-size: 0.97rem; }

/* ============================================================
   Services cards
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem); box-shadow: var(--shadow); display: flex; flex-direction: column; 
}
.card-icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  color: var(--steel-dk);
align-self: center;
  margin-bottom: 0.5rem;
}
.card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.card h3 { margin-bottom: 0.6rem; text-align: center; }
.card-lead { color: var(--slate); font-size: 0.99rem; margin: 0; }
.card-list { list-style: none; margin: 0.5rem 0 1.5rem; padding: 0; }
.card-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.6rem; color: var(--plum-soft); font-size: 0.99rem; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--rust); border-bottom: 2px solid var(--rust);
  transform: rotate(-45deg); border-radius: 1px;
}
.card-foot {
  margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: 0.96rem; color: var(--slate);
}
.card-foot strong { color: var(--plum); }

/* engagement model cards */
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.model {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.4rem); box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.model.feature { background: var(--plum); color: var(--white); border-color: var(--plum); }
.model.feature .card-foot { color: var(--white); border-color: rgba(255,255,255,.18); }
.model.feature .card-foot strong { color: var(--white); }
.model.feature h3, .model.feature .model-price { color: var(--white); }
.model.feature .model-desc { color: #e2d3db; }
.model.feature .model-meta { color: var(--steel); }
.model-price { font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; color: var(--plum); margin: 0.4rem 0 0.2rem; }
.model-price span { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--slate-2); }
.model.feature .model-price span { color: var(--steel); }
.model-desc { color: var(--slate); margin: 0.6rem 0 1.1rem; }
.model-meta { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rust); margin: 0; }

/* ============================================================
   Segments / audience table
   ============================================================ */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.matrix { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.96rem; min-width: 560px; }
table.matrix th, table.matrix td { text-align: left; padding: 0.95rem 1.15rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.matrix thead th { background: var(--bg-alt); font-family: var(--font-sans); font-weight: 700; color: var(--plum); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix td:first-child { font-weight: 700; color: var(--plum); }
table.matrix .em { color: var(--rust-dk); font-weight: 700; }

/* ============================================================
   Who it's for (target traits)
   ============================================================ */
.traits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.25rem; list-style: none; margin: 0; padding: 0; }
.traits li { display: flex; gap: 0.8rem; align-items: flex-start; }
.traits .tk { font-family: var(--font-serif); font-weight: 700; color: var(--steel-dk); font-size: 1.05rem; flex: none; min-width: 8.5rem; }
.traits .tv { color: var(--slate); }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-intro { position: sticky; top: 100px; }
.about-intro p { color: var(--slate); }
.about-intro h2 { margin-bottom: 1rem; }
.about-aside { font-size: 0.95rem; color: var(--slate-2); font-style: italic; margin-top: 1rem; }

/* Founder portrait placeholder / image */
.headshot {
  width: 100%; max-width: 320px; aspect-ratio: 4 / 5; height: auto;
  border-radius: var(--radius); object-fit: cover; margin: 0 0 1.5rem; box-shadow: var(--shadow);
}
.headshot-ph {
  width: 100%; max-width: 320px; aspect-ratio: 4 / 5;
  border-radius: var(--radius); margin: 0 0 1.5rem; box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--plum), #5a2d4a 70%, var(--rust) 130%);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 3.4rem; color: #f3e4dd; letter-spacing: 0.02em;
}
.headshot {
  width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); margin: 0 0 1.5rem;
  box-shadow: var(--shadow); display: block;
}
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin-bottom: 2.25rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -1.75rem; top: 7px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--white);
  border: 3px solid var(--rust); box-shadow: 0 0 0 4px var(--bg);
}
.tl-item h3 { margin-bottom: 0.2rem; }
.tl-meta { font-size: 0.86rem; font-weight: 700; color: var(--rust-dk); margin-bottom: 0.6rem; letter-spacing: 0.01em; }
.tl-item p:last-child { color: var(--slate); margin: 0; }

/* ============================================================
   Quote band
   ============================================================ */
.quote-band {
  background: var(--sage); color: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.quote-band blockquote {
  margin: 0 auto; max-width: 880px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.45rem, 3.2vw, 2.2rem); line-height: 1.34; color: var(--white);
  text-align: center; letter-spacing: 0;
}
.quote-attr { text-align: center; margin: 1.4rem 0 0; color: var(--steel); font-weight: 700; letter-spacing: 0.02em; }

/* ============================================================
   Mission / vision / values
   ============================================================ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.75rem; }
.mv-block { background: var(--rust-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.mv-block h3 { font-family: var(--font-serif); color: var(--rust-dk); margin: 0 0 0.5rem; }
.mv-block p { color: var(--slate); margin: 0; }
.mv-values-title { margin: 0 0 1.2rem; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.25rem; }
.values-list li { display: flex; flex-direction: column; border-left: 3px solid var(--rust); padding-left: 0.95rem; }
.values-list li strong { color: var(--plum); font-weight: 700; }
.values-list li span { color: var(--slate); font-size: 0.97rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.18rem; color: var(--plum);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--rust); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--rust-dk); }
.faq-item p { margin: 0 0 1.15rem; color: var(--slate); max-width: 66ch; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* FAQ items are always visible; the reveal animation is unreliable this low on the page */
.faq-item.reveal { opacity: 1; transform: none; }
/* ============================================================
   Contact
   ============================================================ */
.section-contact { text-align: center; background: #f8f4f0; border-block: 1px solid var(--line); }
.contact-inner { max-width: 700px; margin-inline: auto; }
.contact-inner .eyebrow { display: block; }
.contact-lead { font-size: 1.12rem; color: var(--plum-soft); margin-bottom: 2rem; }
.section-contact h2 { margin-bottom: 1rem; }

.contact-form { max-width: 560px; margin: 0 auto; text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin: 0 0 1rem; }
.contact-form label { display: block; font-weight: 700; font-size: 0.92rem; color: var(--plum); margin-bottom: 0.4rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; box-sizing: border-box;
  font-family: var(--font-sans); font-size: 1rem; color: var(--plum);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.85rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(155,61,18,.16);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { margin-top: 0.4rem; }
.hp { position: absolute !important; left: -9999px !important; width: 0; height: 0; opacity: 0; }
.form-status { margin: 0.9rem 0 0; font-size: 0.95rem; min-height: 1.2em; }
.form-consent { margin: 0.85rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--slate); }
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-status.ok { color: var(--rust-dk); font-weight: 700; }
.form-status.err { color: #b3261e; }
.contact-or { margin-top: 1.15rem; color: var(--slate); font-size: 0.95rem; }
.contact-done {
  max-width: 560px; margin: 0 auto; padding: 1.4rem 1.5rem; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--rust);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--plum); font-size: 1.02rem;
}
.contact-done strong { display: block; color: var(--rust-dk); margin-bottom: 0.2rem; }
.contact-fit { max-width: 560px; margin: 0 auto 1.75rem; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; }
.contact-fit-head { margin: 0 0 0.5rem; font-weight: 700; color: var(--plum); }
.contact-fit-list { margin: 0; padding-left: 1.2rem; color: var(--slate); }
.contact-fit-list li { margin-bottom: 0.35rem; }
.cf-turnstile-box:not(:empty) { margin: 0.5rem 0 0.2rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--plum); color: #d8c8d2; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.footer-brand .brand-name { color: var(--white); font-size: 1.3rem; }
.footer-legal { font-size: 0.84rem; margin: 0.25rem 0 0; color: #b49aa8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: #d8c8d2; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--white); }
.footer-copy { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.85rem; color: #b49aa8;}
.footer-social { grid-column: 2; justify-self: end; display: flex; gap: 1rem; }
.footer-social a { color: #d8c8d2; display: inline-flex; }
.footer-social a:hover { color: var(--white); }

/* ============================================================
   Subpages (about / services detail)
   ============================================================ */

.page-lead { font-size: clamp(1.1rem, 2.1vw, 1.35rem); color: var(--slate); max-width: 52ch; }
.page-note {
  margin: 1.1rem 0 0; padding-left: 0.9rem; max-width: 54ch;
  border-left: 2px solid var(--rust-soft);
  font-size: 0.92rem; font-style: italic; line-height: 1.5; color: var(--slate-2);
}
/* Areas of expertise — starred index rows */
.expertise-list { margin-top: 0.5rem; }
.expertise-row {
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line-steel);
}
.expertise-row:last-child { border-bottom: none; }
.expertise-star {
  flex: 0 0 auto; width: 18px; height: 18px;
  margin-top: 0.25rem; color: var(--rust);
}
.expertise-star svg { width: 100%; height: 100%; display: block; }
.expertise-row h3 { margin: 0 0 0.35rem; font-size: 1.3rem; line-height: 1.25; }
.expertise-row p { margin: 0; color: var(--slate); font-size: 0.98rem; }
@media (max-width: 700px) {
  .expertise-row { gap: 0.85rem; padding: 1.3rem 0; }
}

/* CTA band on subpages */
.cta-band { background: var(--bg-alt); border-block: 1px solid var(--line); text-align: center; }
.cta-band .container { max-width: 680px; }
.cta-band h2 { margin-bottom: 0.8rem; }
.cta-band p { color: var(--plum-soft); margin: 0 auto 1.6rem; max-width: 52ch; }
.card-more { display: inline-block; margin-top: 0.4rem; font-weight: 700; }

/* ============================================================
   Nav dropdown (Services submenu)
   ============================================================ */
.nav-has-sub { position: relative; }
.nav-submenu {
  list-style: none; margin: 0; padding: 0.4rem;
  position: absolute; top: 100%; left: 0; min-width: 244px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 120;
}
.nav-has-sub:hover .nav-submenu, .nav-has-sub:focus-within .nav-submenu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.nav-submenu li { margin: 0; }
.nav-submenu a { display: block; white-space: nowrap; padding: 0.6rem 0.85rem; border-radius: 8px; font-size: 0.95rem; color: var(--plum-soft); }
.nav-submenu a:hover { background: var(--bg-alt); color: var(--plum); text-decoration: none; }

/* Skip-to-content link (visible only when focused) */
.skip-link {
  position: absolute; left: 0; top: -100%;
  background: var(--plum); color: var(--white);
  padding: 0.7rem 1.1rem; border-radius: 0 0 var(--radius) 0;
  z-index: 200; font-weight: 700;
}
.skip-link:focus-visible { top: 0; }

/* legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0.3rem 0 0.3rem; }
.legal-updated { color: var(--slate-2); font-size: 0.9rem; margin: 0 0 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: var(--slate); line-height: 1.7; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--rust-dk); text-decoration: underline; }
.legal-note { font-size: 0.88rem; color: var(--slate-2); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 2rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .steps, .pillars, .cards, .cards-2, .models, .dual, .detail-grid, .traits { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-intro { position: static; }
  .traits .tk { min-width: 0; }
   .strip-item + .strip-item { border-left: 0; }
.strip-item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.4); }
.strip-item { padding: 0.5rem 1rem; }

  .nav-submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
   background: transparent; box-shadow: none; border: 0; border-radius: 0; min-width: 0;
    padding: 0 0 0.2rem 0.6rem; margin: 0; transition: none;
  }
  .nav-submenu a { padding: 0.65rem 0.9rem; color: rgba(248,244,240,.75); }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--plum); border-bottom: 1px solid rgba(248,244,240,.14);
    padding: 0.75rem var(--gutter) 1.1rem; box-shadow: var(--shadow);
    transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-menu.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 0.8rem 0.9rem; }
  .nav-menu .nav-cta { margin: 0.3rem 0 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .mv-grid, .values-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .strip-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social { grid-column: 1; justify-self: start; }
   .strip-item { border-left: 0 !important; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* ============================================================
   Scroll fade — text dims as it slides under the sticky nav
   ============================================================ */
:root { --nav-h: 96px; }   /* must match .header-inner height */

@keyframes fk-nav-fade {
  from { opacity: 1; }
  to   { opacity: .2; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    main :is(h1, h2, h3, h4, p, li, blockquote, figcaption):not(.about-intro *) {
      animation-name: fk-nav-fade;
      animation-duration: 1ms;           /* Firefox needs a duration; the timeline overrides it */
      animation-timing-function: linear;
      animation-fill-mode: none;         /* deliberate — see note below */
      animation-timeline: view(block var(--nav-h));
      animation-range: exit 0% exit 100%;
    }
  }
}
