/* =========================================================
   Grand Line Frenchies — Ace Stud Services
   "Maritime" design system — fog-white ground, deep-navy ink,
   one warm brass/tan accent (Ace's coat + the "Grand Line" name).
   Editorial / Swiss-print typography: Fraunces display × Inter.
   ========================================================= */

:root {
  /* ---- Color (maritime) ---- */
  --ground: #F4F5F3;      /* fog-white page background */
  --surface: #FFFFFF;     /* raised surfaces / imagery */
  --ink: #16273A;         /* deep navy — primary text & headlines */
  --slate: #5A6B7A;       /* muted secondary text */
  --mist: #DDE2E1;        /* hairline borders / dividers */
  --signal: #2C5A8C;      /* signal navy — links, active nav */
  --brass: #C0894E;       /* warm brass/tan — primary CTA */
  --brass-deep: #A6733D;  /* brass hover/pressed */
  --ink-soft: #35495F;    /* lighter navy for gradients */
  --on-dark: #9DB0C2;     /* muted text on navy */

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1312px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(22, 39, 58, 0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
ul { padding-left: 1.1em; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 64px; }
.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--ground { background: var(--ground); }
.section--surface { background: var(--surface); border-top: 1px solid var(--mist); }
.section--ink { background: var(--ink); color: #fff; }
.center { text-align: center; }
.muted { color: var(--slate); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 56px; }
.maxw-640 { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px;
  color: var(--brass);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--brass);
}
.eyebrow--plain::before { display: none; }

h1 { font-size: clamp(48px, 6.4vw, 88px); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.2vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
.lead { font-size: clamp(18px, 1.4vw, 20px); color: var(--slate); line-height: 1.6; }
.serif-italic { font-style: italic; font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  padding: 16px 30px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--gold { background: var(--brass); color: #fff; }
.btn--gold:hover { background: var(--brass-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-soft); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,245,243,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand .dot::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--brass); }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--signal); text-decoration: none; }
.nav-links a.active { color: var(--signal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-links .active-cta { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; }
.hero-grid { display: flex; align-items: stretch; gap: 64px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; width: 660px; flex-shrink: 0; }
.hero-copy h1 { margin-top: 28px; }
.hero-copy .lead { margin-top: 28px; max-width: 520px; }
.hero-ctas { display: flex; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 28px; margin-top: 36px; font-size: 15px; font-weight: 500; color: var(--ink); flex-wrap: wrap; }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mist); }

.hero-media {
  position: relative; flex: 1; min-height: 560px;
  background: linear-gradient(155deg, var(--ink-soft) 0%, var(--ink) 100%);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.photo-tag {
  position: absolute; top: 28px; left: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: rgba(255,255,255,.12); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: #fff;
}
.photo-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.pedigree-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; background: rgba(244,245,243,.94); border-radius: var(--radius-md);
}
.pedigree-card .name { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); }
.pedigree-card .sub { font-size: 14px; font-weight: 500; color: var(--slate); }
.pedigree-card .price { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--brass); text-align: right; }
.pedigree-card .price-label { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--slate); text-align: right; }

/* ---------- Stats strip ---------- */
.stats { display: flex; align-items: stretch; }
.stat { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 40px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat .big { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: #fff; line-height: 1; }
.stat .big.brass { color: var(--brass); }
.stat .label { font-size: 14px; font-weight: 500; color: var(--on-dark); }

/* ---------- Feature (two-column) ---------- */
.feature { display: flex; align-items: stretch; gap: 64px; }
.feature__media {
  position: relative; width: 520px; flex-shrink: 0; min-height: 560px;
  border-radius: var(--radius-lg); overflow: hidden; padding: 24px;
  display: flex; align-items: flex-end;
}
.feature__media--navy { background: linear-gradient(160deg, var(--ink-soft), var(--ink)); }
.feature__media--light { background: linear-gradient(160deg, #E7EAE8, #D3DAD9); }
.feature__media .tag { position: absolute; top: 24px; left: 24px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--slate); }
.feature__media--navy .tag { color: rgba(255,255,255,.7); }
.feature__body { display: flex; flex-direction: column; justify-content: center; flex: 1; }
.feature__body h2 { margin-top: 20px; }
.feature__body .lead { margin-top: 24px; max-width: 560px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-tag { padding: 8px 14px; background: var(--surface); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); }

/* ---------- Facts grid ---------- */
.facts { display: flex; flex-wrap: wrap; margin-top: 44px; border-top: 1px solid var(--mist); }
.fact { display: flex; flex-direction: column; gap: 6px; width: 50%; padding: 24px 24px 24px 0; }
.fact:nth-child(2n) { padding: 24px 0 24px 24px; border-left: 1px solid var(--mist); }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--mist); }
.fact .k { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--slate); text-transform: uppercase; }
.fact .v { font-size: 17px; font-weight: 500; color: var(--ink); }

/* ---------- DNA / locus table ---------- */
.loci { display: flex; flex-direction: column; border-top: 1px solid var(--mist); }
.locus { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--mist); }
.locus .name { width: 150px; flex-shrink: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.locus .geno { width: 90px; flex-shrink: 0; font-size: 15px; font-weight: 600; color: var(--signal); }
.locus .desc { flex: 1; font-size: 16px; color: var(--slate); }

/* ---------- Steps ---------- */
.steps { display: flex; align-items: stretch; gap: 24px; }
.step { display: flex; flex-direction: column; flex: 1; padding: 36px 32px; background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-lg); }
.step .num { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--brass); }
.step h3 { margin-top: 20px; }
.step p { margin-top: 12px; color: var(--slate); font-size: 16px; }

/* ---------- Price card ---------- */
.price-card { display: flex; flex-direction: column; flex: 1; padding: 36px; background: var(--ink); border-radius: var(--radius-lg); color: #fff; }
.price-card .k { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--on-dark); }
.price-card .amt { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.price-card .amt .num { font-family: var(--font-display); font-size: 60px; font-weight: 600; color: #fff; line-height: 1; }
.price-card .amt .cur { font-size: 16px; font-weight: 500; color: var(--on-dark); }
.price-card .fine { font-size: 14px; color: var(--on-dark); margin-top: 16px; text-align: center; }

/* ---------- Checklist ---------- */
.checklist { display: flex; flex-wrap: wrap; }
.check { display: flex; align-items: flex-start; gap: 16px; width: 50%; padding: 24px 40px 24px 0; border-top: 1px solid var(--mist); }
.check:nth-child(2n) { padding: 24px 0 24px 40px; border-left: 1px solid var(--mist); }
.check .tick { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: rgba(192,137,78,.16); display: flex; align-items: center; justify-content: center; }
.check .h { font-size: 18px; font-weight: 600; color: var(--ink); }
.check .p { font-size: 15px; color: var(--slate); line-height: 1.55; margin-top: 4px; }

/* ---------- Shipping cards ---------- */
.ship-cards { display: flex; gap: 24px; }
.ship-card { display: flex; flex-direction: column; flex: 1; padding: 40px; background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-lg); }
.ship-card h3 { font-size: 28px; }
.ship-card p { margin-top: 14px; color: var(--slate); font-size: 17px; line-height: 1.65; }

/* ---------- Litter Predictor ---------- */
.predictor-panel {
  display: flex; align-items: stretch;
  background: var(--ground); border: 1px solid var(--mist);
  border-radius: var(--radius-lg); overflow: hidden;
}
.predictor-form { display: flex; flex-direction: column; width: 420px; flex-shrink: 0; padding: 40px; background: var(--surface); border-right: 1px solid var(--mist); }
.predictor-form h3 { font-size: 24px; }
.predictor-form .hint { font-size: 14px; color: var(--slate); margin: 6px 0 28px; }
.field-block { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.field-block > label { font-size: 14px; font-weight: 600; color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; padding: 9px 16px; border: 1px solid var(--mist); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--slate); cursor: pointer; transition: all .12s ease; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill:hover { border-color: var(--slate); }
.pill:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

.predictor-results { display: flex; flex-direction: column; flex: 1; padding: 40px; }
.result-empty { color: var(--slate); font-size: 15px; }
.result-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 8px; }
.result-head .k { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--slate); text-transform: uppercase; }
.headline-stat { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--ink); margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: rgba(192,137,78,.14); color: var(--brass-deep); border-radius: 999px; font-size: 13px; font-weight: 600; }

.outcome-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.outcome { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1 1 130px; min-width: 130px; padding: 22px 10px; background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-md); }
.frenchie { width: 78px; height: 74px; }
.outcome .pct { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); }
.outcome .nm { font-size: 14px; font-weight: 500; color: var(--slate); text-align: center; }
.outcome .nm .fluffy-hl { color: var(--brass-deep); font-weight: 700; }

.carries-line { background: rgba(255,255,255,.6); border-left: 3px solid var(--brass); padding: 14px 18px; border-radius: var(--radius-md); font-size: 14px; color: var(--ink); margin-top: 24px; }
.safety-note { display: flex; gap: 12px; margin-top: 20px; padding: 20px 22px; background: var(--surface); border-left: 3px solid var(--signal); border-radius: var(--radius-md); }
.safety-note .h { font-size: 16px; font-weight: 600; color: var(--ink); }
.safety-note .p { font-size: 14px; color: var(--slate); line-height: 1.6; margin-top: 4px; }
.disclaimer { font-size: 13px; color: var(--slate); margin-top: 22px; line-height: 1.55; }

/* email capture */
.capture { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.capture input { flex: 1; min-width: 220px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-sm); font: inherit; font-size: 15px; color: var(--ink); }
.capture input::placeholder { color: #9AA6B0; }

/* ---------- FAQ ---------- */
.faq-layout { display: flex; align-items: flex-start; gap: 80px; }
.faq-aside { width: 380px; flex-shrink: 0; }
.faq-aside h1 { margin-top: 24px; font-size: clamp(40px, 5vw, 60px); }
.faq-aside p { margin-top: 24px; color: var(--slate); font-size: 17px; }
.faq-list { flex: 1; }
.faq-item { display: flex; flex-direction: column; gap: 12px; padding: 28px 0; border-top: 1px solid var(--mist); }
.faq-item:last-child { border-bottom: 1px solid var(--mist); }
.faq-q { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.faq-q h3 { font-size: 22px; }
.faq-q .plus { font-size: 24px; color: var(--brass); transition: transform .2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { font-size: 16px; color: var(--slate); line-height: 1.65; max-width: 720px; max-height: 0; overflow: hidden; transition: max-height .3s ease, margin .3s ease; margin: 0; }
.faq-item.open .faq-a { max-height: 900px; margin-top: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: flex; align-items: stretch; gap: 64px; }
.contact-info { width: 520px; flex-shrink: 0; }
.contact-info h1 { margin-top: 24px; font-size: clamp(44px, 5.4vw, 64px); }
.contact-info p { margin: 24px 0 40px; color: var(--slate); font-size: 18px; max-width: 440px; }
.detail-list { border-top: 1px solid var(--mist); }
.detail { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--mist); }
.detail .k { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--slate); text-transform: uppercase; }
.detail .v { font-size: 19px; font-weight: 500; color: var(--ink); }
.contact-form { display: flex; flex-direction: column; flex: 1; padding: 44px; background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-lg); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.row2 { flex-direction: row; gap: 20px; }
.field.row2 > .field { flex: 1; margin-bottom: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { padding: 14px 16px; background: var(--ground); border: 1px solid var(--mist); border-radius: var(--radius-sm); font: inherit; font-size: 15px; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #9AA6B0; }
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- Terms ---------- */
.terms-layout { display: flex; align-items: flex-start; gap: 80px; }
.terms-head { width: 360px; flex-shrink: 0; }
.terms-head h1 { margin-top: 24px; font-size: clamp(40px, 5vw, 56px); }
.terms-head p { margin-top: 20px; color: var(--slate); font-size: 16px; }
.terms-content { flex: 1; max-width: 760px; }
.term { display: flex; flex-direction: column; gap: 12px; padding: 28px 0; border-top: 1px solid var(--mist); }
.term:last-child { border-bottom: 1px solid var(--mist); }
.term h3 { font-size: 24px; }
.term p { font-size: 16px; color: var(--slate); line-height: 1.7; }

/* ---------- Gallery ---------- */
.gallery { display: flex; gap: 20px; }
.gallery .col { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.gallery .tile { border-radius: var(--radius-md); min-height: 200px; background: linear-gradient(160deg, #E7EAE8, #D3DAD9); }
.gallery .tile.big { min-height: 420px; flex: 2; }
.gallery .tile.warm { background: linear-gradient(160deg, #E9E4DC, #DBCFBF); }
.gallery .tile.cool { background: linear-gradient(160deg, #DDE3E6, #C6D0D6); }

/* ---------- Closing CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 120px 64px;
  background: linear-gradient(160deg, var(--ink-soft) 0%, var(--ink) 100%);
  border-radius: var(--radius-lg);
}
.cta-band::after { content: ""; position: absolute; top: -60px; right: -40px; width: 280px; height: 280px; border-radius: 50%; background: rgba(192,137,78,.16); }
.cta-band .eyebrow { color: var(--brass); position: relative; }
.cta-band h2 { color: #fff; margin: 20px 0; max-width: 760px; font-size: clamp(40px, 5vw, 60px); position: relative; }
.cta-band p { color: var(--on-dark); max-width: 520px; margin-bottom: 40px; font-size: 19px; position: relative; }
.cta-band .actions { display: flex; gap: 16px; position: relative; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ground); border-top: 1px solid var(--mist); padding: 72px 0 40px; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 56px; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 15px; color: var(--slate); line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.footer-col a { font-size: 15px; font-weight: 500; color: var(--ink); }
.footer-col a:hover { color: var(--signal); text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--mist); font-size: 13px; color: var(--slate); gap: 20px; flex-wrap: wrap; }

/* ---------- Sticky buy bar (Stud Service) ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; background: var(--ink); color: #fff;
  transform: translateY(120%); transition: transform .3s ease;
}
.buybar.show { transform: translateY(0); }
.buybar .price { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.buybar .price span { font-size: 13px; font-weight: 400; color: var(--on-dark); font-family: var(--font-sans); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--radius-md);
  font-size: 15px; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease; z-index: 80; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Blog index ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--mist); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.blog-card__media { height: 150px; background: linear-gradient(160deg, var(--ink-soft), var(--ink)); display: flex; align-items: flex-end; padding: 16px 22px; }
.blog-card__media.warm { background: linear-gradient(160deg, #C8A06B, var(--brass-deep)); }
.blog-card__media.light { background: linear-gradient(160deg, #E7EAE8, #C6D0D6); }
.blog-card__media .k { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: rgba(255,255,255,.85); text-transform: uppercase; }
.blog-card__media.light .k { color: var(--slate); }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.blog-card__body h3 { font-size: 21px; line-height: 1.2; }
.blog-card__body p { font-size: 15px; color: var(--slate); line-height: 1.55; flex: 1; }
.blog-card__body .more { font-size: 14px; font-weight: 600; color: var(--brass-deep); }

/* ---------- Blog article ---------- */
.post { max-width: 760px; margin: 0 auto; }
.post-head { max-width: 760px; margin: 0 auto; }
.post-head .meta { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--slate); margin-top: 20px; flex-wrap: wrap; }
.post-head h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 20px; }
.post h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 16px; }
.post h3 { margin: 32px 0 12px; }
.post p { margin: 0 0 18px; color: #2A3B4E; line-height: 1.75; }
.post ul, .post ol { margin: 0 0 18px; color: #2A3B4E; line-height: 1.75; }
.post li { margin-bottom: 8px; }
.post strong { color: var(--ink); }
.post table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.post th, .post td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--mist); }
.post th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.table-scroll { overflow-x: auto; }

/* inline CTA (top + bottom of each post) */
.post-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; margin: 28px 0 40px;
  background: var(--surface); border: 1px solid var(--mist);
  border-left: 4px solid var(--brass); border-radius: var(--radius-md); flex-wrap: wrap;
}
.post-cta .t { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.post-cta .s { font-size: 14px; color: var(--slate); margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .wrap { padding: 0 40px; }
  .hero-grid, .feature, .faq-layout, .contact-layout, .terms-layout { flex-direction: column; }
  .hero-copy, .feature__media, .faq-aside, .contact-info, .terms-head, .predictor-form { width: 100%; }
  .feature__media, .hero-media { min-height: 360px; }
  .steps, .ship-cards, .stats, .predictor-panel { flex-direction: column; }
  .stat { padding: 20px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .predictor-form { border-right: 0; border-bottom: 1px solid var(--mist); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--mist);
    padding: 8px 24px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links .active-cta { display: block; border-top: 1px solid var(--mist); margin-top: 8px; }
  .nav-links .active-cta a { color: var(--brass-deep); font-weight: 600; }
  .facts .fact, .check { width: 100%; padding: 20px 0; border-left: 0; }
  .fact:nth-child(2n), .check:nth-child(2n) { padding: 20px 0; border-left: 0; }
  .field.row2 { flex-direction: column; }
  .footer-grid { flex-direction: column; }

  /* Hero & media panels */
  .hero-media { min-height: 320px; padding: 20px; }
  .feature__media { min-height: 320px !important; } /* overrides per-page inline min-heights */
  .pedigree-card { padding: 16px 18px; gap: 12px; }
  .pedigree-card .name, .pedigree-card .price { font-size: 21px; }

  /* Cards & panels lose desktop-scale padding */
  .step, .price-card, .ship-card { padding: 26px 22px; }
  .contact-form { padding: 24px 18px; }
  .predictor-form, .predictor-results { padding: 24px 18px; }
  .cta-band { padding: 64px 24px; }
  .headline-stat { font-size: 27px; }

  /* DNA locus table: stack the description under name + genotype */
  .locus { flex-wrap: wrap; row-gap: 4px; }
  .locus .name { width: auto; margin-right: 12px; }
  .locus .geno { width: auto; }
  .locus .desc { flex: 1 1 100%; font-size: 15px; }

  /* Gallery stacks vertically */
  .gallery { flex-direction: column; }
  .gallery .tile.big { min-height: 280px; }
  .gallery .tile { min-height: 180px; }

  /* Buttons: full-width tap targets in hero and CTA band */
  .hero-ctas .btn, .cta-band .actions .btn { flex: 1 1 auto; justify-content: center; }

  .blog-grid { grid-template-columns: 1fr; }
  .post-cta { padding: 20px; }

  /* Sticky buy bar fits small screens */
  .buybar { padding: 12px 16px; }
  .buybar .price { font-size: 18px; }
  .buybar .btn { padding: 12px 18px; font-size: 14px; }
}
