/* =====================================================================
   JC PACKS — design system  (jcpacks.com)
   Mood: workshop floor, founder energy, human-centered. Editorial + warm.
   Palette: cream canvas · warm graphite · workshop-steel blue · copper.
   Type:    Source Serif 4 (display) + Source Sans 3 (body humanist).
   Posture: narrative-first, generous whitespace, soft radii, spec tables
            live quietly at the bottom.
   ===================================================================== */

:root {
  /* ---- color ---- */
  --bg:        #FAF7F2;   /* warm cream canvas */
  --surface:   #FFFCF7;   /* card / lifted */
  --surface-2: #F3ECE0;   /* warm fill / wells */
  --fg:        #1F1B16;   /* warm graphite */
  --fg-soft:   #3A332A;
  --muted:     #6B6258;   /* warm grey */
  --border:    #E6DFD3;   /* warm hairline */
  --border-2:  #D8CFBE;

  --blue:      #3D5A6C;   /* workshop steel */
  --blue-tint: #E8EEF1;
  --blue-dark: #2E4654;

  --copper:    #B07A4A;   /* warm patina — primary action */
  --copper-dark:#946239;
  --copper-tint:#F0E4D6;

  /* ---- typography ---- */
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans:  "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* fluid type scale (editorial, generous) */
  --fs-display: clamp(38px, 5.8vw, 66px);
  --fs-h1:      clamp(34px, 4.6vw, 52px);
  --fs-h2:      clamp(28px, 3.2vw, 42px);
  --fs-h3:      clamp(21px, 2vw, 26px);
  --fs-lead:    clamp(19px, 1.6vw, 22px);
  --fs-body:    18px;
  --fs-small:   15px;
  --fs-meta:    13px;

  /* spacing (8px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius:    12px;
  --radius-sm: 7px;
  --shadow:    0 1px 2px rgba(31,27,22,.04), 0 10px 30px rgba(31,27,22,.06);
  --shadow-sm: 0 1px 2px rgba(31,27,22,.05);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---- typography helpers ---- */
.serif { font-family: var(--font-serif); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; color: var(--fg); letter-spacing: -.005em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { color: var(--fg-soft); }
p + p { margin-top: 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg-soft); }
.eyebrow {
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-meta);
  letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark);
}
strong { color: var(--fg); font-weight: 600; }
::selection { background: var(--copper-tint); color: var(--fg); }

/* ---- layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--alt { background: var(--surface-2); }
.stack > * + * { margin-top: var(--s-5); }
.measure { max-width: 68ch; }
.measure-narrow { max-width: 54ch; }
.center { text-align: center; margin-inline: auto; }

/* section heading block */
.s-head { max-width: 760px; margin-bottom: var(--s-7); }
.s-head h2 { margin-top: var(--s-3); }
.s-head .lead { margin-top: var(--s-4); }

/* ---- header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: var(--s-5); height: 76px;
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-serif); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; align-self: center;
  background: linear-gradient(150deg, var(--copper) 0%, var(--copper-dark) 100%);
  color: var(--surface); display: grid; place-items: center;
  font-weight: 700; font-family: var(--font-serif); font-size: 17px; letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.brand__name { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.brand__name b { color: var(--copper-dark); font-weight: 600; }
.brand__sub { font-family: var(--font-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; gap: var(--s-5); justify-content: center; }
.nav__links a {
  font-size: var(--fs-small); font-weight: 600; color: var(--fg-soft); position: relative;
  padding: 6px 2px; transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--copper); transition: right .25s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: var(--copper-dark); }

.nav__cta { display: flex; align-items: center; gap: var(--s-3); }

/* mobile slide-down panel — hidden on desktop, revealed under 760px via .nav.open */
.nav__panel { display: none; }

/* header tagline removed per request — keep mark + wordmark, hide only the subtitle line */
.site-header .brand__sub { display: none; }

/* hamburger */
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { position: absolute; top: -7px; left: 0; }
.nav__toggle span::after  { position: absolute; top: 7px;  left: 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-small);
  padding: 13px 22px; border-radius: var(--radius); line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 18px rgba(176,122,74,.28); }
.btn--primary:hover { background: var(--copper-dark); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--blue); border: 1.5px solid var(--border-2); }
.btn--secondary:hover { border-color: var(--blue); background: var(--blue-tint); }
.btn--ghost { color: var(--blue); padding-inline: 4px; }
.btn--ghost:hover { color: var(--copper-dark); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-8); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.015em; }
.hero h1 em { font-style: italic; color: var(--copper-dark); }
.hero .lead { margin-top: var(--s-5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--surface-2);
}
.hero__media .ph { width: 100%; height: 100%; }
.hero__tag {
  position: absolute; left: 16px; bottom: 16px; background: rgba(31,27,22,.78); color: #fff;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* generic photo placeholder (art-direction cue baked in) */
.ph {
  background: linear-gradient(135deg, #c9b89a 0%, #8a7558 40%, #5a4a38 100%);
  position: relative; display: grid; place-items: center; color: rgba(255,255,255,.82);
  font-family: var(--font-sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.ph::after { content: attr(data-label); padding: 10px 14px; text-align: center; max-width: 80%; line-height: 1.5; }

/* ---- trust strip ---- */
.trust {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding-block: var(--s-4); background: var(--surface);
}
.trust__row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: center; }
.trust__item { display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-small); color: var(--muted); font-weight: 500; }
.trust__item b { color: var(--fg); font-family: var(--font-serif); font-size: 17px; font-weight: 600; }
.trust__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

/* ---- pillar cards (How we work / Production-grade) ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-6); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-2); }
.card__num { font-family: var(--font-serif); font-style: italic; color: var(--copper); font-size: 22px; }
.card h3 { margin-top: var(--s-3); }
.card p { margin-top: var(--s-3); font-size: var(--fs-small); line-height: 1.6; }
.card__ic { width: 40px; height: 40px; border-radius: 9px; background: var(--copper-tint); color: var(--copper-dark); display: grid; place-items: center; margin-bottom: var(--s-4); }

/* ---- machine family cards ---- */
.fam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.fam-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.fam-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--copper); }
.fam-card__top { padding: var(--s-5) var(--s-5) var(--s-4); }
.fam-card__kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fam-card__name { font-family: var(--font-serif); font-size: 24px; font-weight: 600; margin-top: 4px; line-height: 1.15; }
.fam-card__line { color: var(--fg-soft); font-size: var(--fs-small); margin-top: var(--s-3); line-height: 1.55; }
.fam-card__speed {
  margin-top: var(--s-4); display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--font-serif); color: var(--copper-dark);
}
.fam-card__speed b { font-size: 22px; font-weight: 600; }
.fam-card__speed span { font-size: 13px; color: var(--muted); font-family: var(--font-sans); }
.fam-card__runs {
  padding: var(--s-4) var(--s-5); border-top: 1px solid var(--border); background: var(--bg);
  font-size: var(--fs-small); color: var(--muted);
}
.fam-card__runs b { color: var(--fg-soft); font-weight: 600; display: block; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.fam-card__link {
  padding: var(--s-4) var(--s-5); border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--blue); font-size: var(--fs-small);
}
.fam-card:hover .fam-card__link { color: var(--copper-dark); }

/* ---- industries strip ---- */
.industries { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.industries a {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; font-size: var(--fs-small); font-weight: 600; color: var(--fg-soft);
  transition: all .2s var(--ease);
}
.industries a:hover { border-color: var(--copper); color: var(--copper-dark); background: var(--copper-tint); }

/* ---- case / recent builds ---- */
.case-card {
  border-left: 3px solid var(--copper); padding: 6px 0 6px var(--s-5);
}
.case-card__loc { font-family: var(--font-serif); font-size: 13px; color: var(--copper-dark); font-weight: 600; letter-spacing: .02em; }
.case-card h3 { font-size: 19px; margin-top: 4px; }
.case-card p { font-size: var(--fs-small); margin-top: var(--s-3); }

/* ---- founder quote ---- */
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden;
}
.quote::before {
  content: "\201C"; position: absolute; top: -30px; left: 18px;
  font-family: var(--font-serif); font-size: 160px; color: var(--copper-tint); line-height: 1;
}
.quote__text {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35; color: var(--fg); position: relative; max-width: 30ch;
}
.quote__by { margin-top: var(--s-5); display: flex; align-items: center; gap: var(--s-3); }
.quote__by b { font-family: var(--font-serif); font-size: 17px; }
.quote__by span { font-size: var(--fs-small); color: var(--muted); }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); flex: none; }

/* ---- final CTA band ---- */
.cta-band {
  background: var(--fg); color: var(--bg); border-radius: var(--radius);
  padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(176,122,74,.5), transparent 70%);
}
.cta-band .eyebrow { color: var(--copper); }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: rgba(250,247,242,.78); }
.cta-band .lead { color: rgba(250,247,242,.82); }
.cta-band__inner { position: relative; z-index: 1; max-width: 60ch; }
.cta-band__cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---- machine detail: at-a-glance card ---- */
.glance {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-5) var(--s-6); box-shadow: var(--shadow-sm);
}
.glance h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--copper-dark); font-family: var(--font-sans); margin-bottom: var(--s-3); }
.glance dl { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-2) var(--s-4); }
.glance dt { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.glance dd { font-size: var(--fs-small); color: var(--fg); font-weight: 500; }

/* prose / best-fit / configs / self-check */
.prose p { font-size: var(--fs-body); }
.prose .pull-note {
  background: var(--surface-2); border-radius: var(--radius); padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--copper); margin: var(--s-6) 0;
}
.bestfit { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.bestfit li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--s-4); font-size: var(--fs-small); }
.bestfit li b { display: block; color: var(--fg); font-family: var(--font-serif); font-size: 17px; margin-bottom: 2px; }
.bestfit li span { color: var(--copper-dark); font-weight: 600; }

.config-list { columns: 2; column-gap: var(--s-6); }
.config-list li { break-inside: avoid; padding: var(--s-2) 0 var(--s-2) 24px; position: relative; font-size: var(--fs-small); border-bottom: 1px solid var(--border); }
.config-list li::before { content: "+"; position: absolute; left: 0; top: 6px; color: var(--copper); font-weight: 700; }
.config-list li b { color: var(--fg); font-weight: 600; }

.checklist li { padding: var(--s-3) 0 var(--s-3) 30px; position: relative; border-bottom: 1px solid var(--border); font-size: var(--fs-small); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border: 1.5px solid var(--copper); border-radius: 4px; }

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s-5) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--fg); transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--copper-dark); }
.faq summary .pm { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--copper); border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary .pm::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq summary .pm::after  { top: 2px; left: 10px; width: 2px; height: 18px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq__a { padding: 0 0 var(--s-5); color: var(--fg-soft); font-size: var(--fs-small); max-width: 72ch; }

/* ---- spec table (simple, bottom) ---- */
.spec {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: var(--fs-small);
}
.spec caption { text-align: left; padding: var(--s-4) var(--s-5); font-family: var(--font-serif); font-size: 18px; font-weight: 600; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.spec th, .spec td { padding: 12px var(--s-5); text-align: left; border-bottom: 1px solid var(--border); }
.spec thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.spec tbody th { font-family: var(--font-serif); font-weight: 600; color: var(--copper-dark); width: 1%; white-space: nowrap; }
.spec tbody tr:last-child td, .spec tbody tr:last-child th { border-bottom: 0; }
.spec tbody td:first-child { font-weight: 600; color: var(--fg); }
.spec tbody td { color: var(--fg-soft); }

/* download row */
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin-top: var(--s-4); }

/* cross-links between machine families */
.xlinks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.xlink { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); transition: all .2s var(--ease); }
.xlink:hover { border-color: var(--copper); background: var(--copper-tint); }
.xlink__k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.xlink h4 { font-family: var(--font-serif); font-size: 19px; margin-top: 4px; }
.xlink p { font-size: var(--fs-small); margin-top: 6px; }

/* breadcrumbs */
.crumbs { font-size: var(--fs-small); color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: var(--s-5); }
.crumbs a:hover { color: var(--copper-dark); }
.crumbs span { opacity: .5; }

/* ---- contact form ---- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--fg); }
.field .hint { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-small); padding: 12px 14px; border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--fg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-tint); }
.field textarea { resize: vertical; min-height: 96px; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); }
.contact-card h4 { font-family: var(--font-serif); font-size: 17px; }
.contact-card a, .contact-card p { font-size: var(--fs-small); color: var(--fg-soft); }

/* sample-test callout */
.callout {
  background: linear-gradient(150deg, var(--copper-tint), #f7eede);
  border: 1px solid #e6d2b4; border-radius: var(--radius); padding: var(--s-6);
}
.callout .eyebrow { color: var(--copper-dark); }
.callout h3 { font-size: 24px; margin-top: var(--s-2); }

/* ---- footer ---- */
.site-footer { background: #211C15; color: #c9c0b1; padding-block: var(--s-8) var(--s-6); margin-top: var(--s-9); }
.site-footer a { color: #c9c0b1; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--copper); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-6); }
.footer-brand .brand__name { color: #f3ece0; }
.footer-col h5 { color: #f3ece0; font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--s-3); }
.footer-col li { margin-bottom: 9px; font-size: var(--fs-small); }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: 13px; color: #8c8273; }
.certs { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.cert { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.15); padding: 5px 10px; border-radius: 4px; }

/* mobile sticky CTA bar */
.mobile-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 10px; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__media { aspect-ratio: 16/11; order: -1; }
  .grid-3, .fam-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --fs-body: 17px; }
  .section { padding-block: var(--s-8); }
  .nav__links, .nav__cta .btn--secondary { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__toggle { display: inline-flex; }
  .nav.open .nav__panel { display: flex; }
  .nav__panel {
    display: none; position: fixed; inset: 76px 0 0; background: var(--bg);
    flex-direction: column; padding: var(--s-7) var(--gutter); gap: var(--s-2); z-index: 40;
  }
  .nav.open .nav__panel a { font-family: var(--font-serif); font-size: 26px; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .grid-3, .fam-grid, .bestfit, .xlinks, .contact-cards { grid-template-columns: 1fr; }
  .config-list { columns: 1; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; }
  .mobile-cta .btn { flex: 1; justify-content: center; }
  body { padding-bottom: 76px; }
  .glance dl { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust__item { font-size: 13px; }
}
