/* ==========================================================================
   Saltwind Grazing Co. — concept build. Rebuilt 8 Sep 2026.

   The idea: a grazing table is LONG, DENSE and OVERFLOWING. The first version
   of this site was a three-card grid with generous whitespace, which is the
   opposite of what the business makes and the shape every template lands on.
   This version is built the way the product is — edge to edge, tightly packed,
   photographs at the size they deserve.

   Palette measured from the business's own photographs. Derivation and the
   contrast law: _claude/reference/brand-saltwind-grazing-co.md §5.
   ========================================================================== */

@font-face{
  font-family:"Fraunces";
  src:url("../../fonts/fraunces-var.woff2") format("woff2-variations");
  font-weight:300 800; font-stretch:normal; font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212;
}
@font-face{
  font-family:"Karla";
  src:url("../../fonts/karla-var.woff2") format("woff2-variations");
  font-weight:300 700; font-stretch:normal; font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212;
}

:root{
  /* grounds — their brand mauve #8C8084, lifted */
  --porcelain:#FCF7F4;
  --linen:#F5EBE6;
  --blush:#F0DDDE;
  --mauve:#8C8084;

  /* ink — their mauve darkened. Never black. */
  --ink:#33262B;
  --ink-2:#241A1E;
  --ink-soft:#6A575D;

  /* lights — measured out of their food */
  --gold:#D98F27;        /* DECORATION ONLY — 2.50:1, never text          */
  --honey:#DDAB65;       /* DECORATION ONLY                               */
  --coral:#DD5B44;       /* 3.49:1 — display sizes only, never body copy  */
  --coral-deep:#B8432F;  /* 5.09:1 — safe for text                        */
  --berry:#A8375A;
  --berry-deep:#8E2B49;  /* 7.62:1 on porcelain; white on it is 8.10:1    */
  --herb:#7F8329;        /* DECORATION ONLY — 3.81:1                      */
  --herb-deep:#5E6220;   /* 6.09:1 — safe for text                        */
  --gold-deep:#8A5A11;   /* 5.56:1 — use when gold must carry words       */

  /* glass — --ink is the ONLY colour allowed on it. Worst case measured
     9.41:1 against a saturated berry behind the panel. */
  --glass:rgba(252,247,244,.80);
  --glass-line:rgba(140,128,132,.26);

  --shadow-s:0 1px 2px rgba(51,38,43,.05), 0 3px 10px rgba(51,38,43,.05);
  --shadow-m:0 2px 8px rgba(51,38,43,.07), 0 16px 38px rgba(51,38,43,.09);
  --shadow-l:0 6px 16px rgba(51,38,43,.09), 0 34px 70px rgba(51,38,43,.13);

  --radius:14px;
  --radius-s:9px;

  --measure:60ch;
  --pad:clamp(1.15rem,4.5vw,3.75rem);
  --gap:clamp(1.1rem,2.2vw,2rem);
  --section:clamp(4rem,8.5vw,7.5rem);

  --s--2:clamp(.7rem, .68rem + .08vw, .76rem);
  --s--1:clamp(.8rem, .78rem + .1vw, .875rem);
  --s-0:clamp(1rem, .96rem + .2vw, 1.1rem);
  --s-1:clamp(1.18rem, 1.08rem + .45vw, 1.5rem);
  --s-2:clamp(1.5rem, 1.24rem + 1.2vw, 2.3rem);
  --s-3:clamp(2rem, 1.44rem + 2.6vw, 3.8rem);
  --s-4:clamp(2.6rem, 1.6rem + 4.7vw, 6.1rem);
  --s-5:clamp(3.2rem, 1.5rem + 8vw, 9rem);

  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  font-family:"Karla",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:var(--s-0);
  line-height:1.62;
  color:var(--ink);
  background:var(--porcelain);
  -webkit-font-smoothing:antialiased;
  /* clip, NOT hidden: overflow-x:hidden makes <body> a scroll container and
     silently breaks position:sticky on the nav. clip does not. */
  overflow-x:clip;
}

/* Paper grain over the whole document. Replaces the full-screen animated
   gradient the first version wore — a blurred colour field is the single most
   generic thing a page can have, and this business's own photographs are far
   more interesting than anything drawn behind them. */
body::after{
  content:"";position:fixed;inset:0;z-index:60;pointer-events:none;
  opacity:.045;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------------------------------------------------------- */
h1,h2,h3,.display{
  font-family:"Fraunces",Georgia,"Times New Roman",serif;
  font-optical-sizing:auto;
  font-weight:600;
  line-height:1.03;
  letter-spacing:-.026em;
  margin:0 0 .48em;
  color:var(--ink);
  text-wrap:balance;
}
h1{font-size:var(--s-4);font-weight:660;letter-spacing:-.032em}
h2{font-size:var(--s-3)}
h3{font-size:var(--s-1);line-height:1.18;letter-spacing:-.012em}
p{margin:0 0 1.1em;max-width:var(--measure);text-wrap:pretty}
a{color:var(--berry-deep);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--coral-deep)}
strong,b{font-weight:600}

.eyebrow{
  font-size:var(--s--1); font-weight:600; letter-spacing:.17em;
  text-transform:uppercase; color:var(--herb-deep); margin:0 0 1.15rem;
  display:flex; align-items:center; gap:.8rem;
}
.eyebrow::after{content:"";height:1px;flex:1;max-width:4.5rem;background:var(--gold);opacity:.75}
.eyebrow.center-x::before{content:"";height:1px;flex:1;max-width:4.5rem;background:var(--gold);opacity:.75}
.lede{font-size:var(--s-1);line-height:1.48;color:var(--ink-soft);max-width:52ch}
.fine{font-size:var(--s--1);color:var(--ink-soft)}

/* ---------- shell --------------------------------------------------------- */
.wrap{width:min(100% - (var(--pad) * 2),1300px);margin-inline:auto}
.wrap-narrow{width:min(100% - (var(--pad) * 2),780px);margin-inline:auto}
section{padding-block:var(--section);position:relative}

.bleed{width:100vw;margin-left:calc(50% - 50vw)}

.band-porcelain{background:var(--porcelain)}
.band-linen{background:var(--linen)}
.band-blush{background:var(--blush)}
.band-ink{background:var(--ink);color:var(--porcelain)}
.band-ink h1,.band-ink h2,.band-ink h3{color:var(--porcelain)}
.band-ink .lede,.band-ink .fine{color:#E4D6D2}
.band-ink .eyebrow{color:var(--honey)}
.band-ink .eyebrow::after,.band-ink .eyebrow::before{background:var(--honey)}
.band-ink a{color:var(--honey)}

.skip{
  position:absolute;left:-9999px;top:0;z-index:99;
  background:var(--ink);color:#fff;padding:.75rem 1.1rem;border-radius:0 0 var(--radius-s) 0;
}
.skip:focus{left:0}

:where(a,button,summary,input,textarea,select):focus-visible{
  outline:3px solid var(--berry-deep); outline-offset:3px; border-radius:4px;
}

/* ---------- the demo notice — deliberately unmissable --------------------- */
.demobar{
  background:var(--ink-2); color:#F6EAE6;
  font-size:var(--s--1); line-height:1.5;
  padding:.7rem var(--pad); text-align:center;
}
.demobar b{color:var(--honey);font-weight:600}
.demobar a{color:#F6EAE6;text-underline-offset:.2em;display:inline-block;padding:.2rem 0}

/* ---------- nav ----------------------------------------------------------- */
.nav{
  position:sticky; top:0; z-index:40;
  background:var(--glass);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);
  backdrop-filter:blur(16px) saturate(1.3);   /* budget: 1 of max 2 per page */
  border-bottom:1px solid var(--glass-line);
}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.75rem}
.brand{display:flex;align-items:baseline;gap:.6rem;text-decoration:none;color:var(--ink)}
.brand-name{
  font-family:"Fraunces",Georgia,serif;font-weight:660;font-size:1.24rem;
  letter-spacing:-.022em;line-height:1;
}
.brand-sub{font-size:.68rem;letter-spacing:.15em;text-transform:uppercase;color:var(--ink-soft)}
.nav ul{display:flex;gap:clamp(.9rem,2.1vw,1.9rem);list-style:none;margin:0;padding:0;align-items:center;flex-wrap:wrap}
.nav a{
  color:var(--ink);text-decoration:none;font-size:var(--s--1);font-weight:500;
  letter-spacing:.02em;padding:.45rem 0;position:relative;
}
.nav a::after{
  content:"";position:absolute;left:0;right:100%;bottom:.15rem;height:1.5px;
  background:var(--coral-deep);transition:right .38s var(--ease-out);
}
.nav a:hover::after,.nav a[aria-current="page"]::after{right:0}
.nav a[aria-current="page"]{font-weight:600}

/* ---------- buttons ------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:inherit;font-size:var(--s-0);font-weight:600;letter-spacing:.005em;
  padding:.86em 1.6em;border-radius:100px;border:1.5px solid transparent;
  text-decoration:none;cursor:pointer;
  transition:transform .3s var(--ease-out),box-shadow .3s var(--ease-out),background-color .25s var(--ease);
}
.btn-primary{background:var(--berry-deep);color:#fff;box-shadow:var(--shadow-s)}  /* 8.10:1 */
.btn-primary:hover{background:#7C2440;color:#fff;transform:translateY(-2px);box-shadow:var(--shadow-m)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--mauve)}
.btn-ghost:hover{color:var(--ink);border-color:var(--ink);background:rgba(255,255,255,.55);transform:translateY(-2px)}
.band-ink .btn-ghost{color:var(--porcelain);border-color:rgba(240,221,222,.45)}
.band-ink .btn-ghost:hover{color:var(--ink);background:var(--porcelain);border-color:var(--porcelain)}
.btn:active{transform:translateY(0) scale(.985)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2.2rem}

/* ==========================================================================
   HERO — type at full scale, then the table itself, edge to edge
   ========================================================================== */
.hero{padding-block:clamp(3.5rem,8vw,7rem) 0;overflow:hidden}
.hero h1{max-width:13ch;margin-bottom:.32em}
.hero .lede{max-width:46ch}
.hero-rule{width:clamp(52px,7vw,84px);height:2px;background:var(--gold);margin:0 0 1.9rem;border-radius:2px}

/* the home page headline runs at the top of the scale and fills the measure */
.hero-xl h1{font-size:var(--s-5);max-width:14ch;line-height:.97;letter-spacing:-.038em}
.hero-foot{
  display:grid;gap:clamp(1.4rem,3.5vw,4rem);grid-template-columns:1fr;
  align-items:start;margin-bottom:clamp(2.5rem,6vw,4.5rem);
}
@media (min-width:56rem){.hero-foot{grid-template-columns:1.05fr .95fr}}
.hero-act .btn-row{margin-top:0}

.hero-meta{
  margin:clamp(2.2rem,5vw,3.4rem) 0 clamp(2.4rem,5vw,3.6rem);
  display:flex;flex-wrap:wrap;gap:.55rem clamp(1.1rem,2.6vw,2.4rem);
  font-size:var(--s--1);color:var(--ink-soft);
}
.hero-act .hero-meta{margin:1.7rem 0 0;flex-direction:column;gap:.6rem}
.hero-meta span{display:flex;align-items:center;gap:.5rem}
.hero-meta span::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--coral);flex:none}

/* the laid table: a dense, full-bleed run of photographs, tight gaps, no
   rounding, running off both edges. Every frame is shown BELOW its native
   height, so nothing is ever upscaled. */
.strip{display:flex;gap:5px;height:clamp(190px,29vw,430px);align-items:stretch}
.strip figure{margin:0;flex:0 0 auto;height:100%;overflow:hidden;background:var(--linen)}
.strip img{display:block;height:100%;width:auto;max-width:none;object-fit:cover}
.strip-edge{
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 3.5%,#000 96.5%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 3.5%,#000 96.5%,transparent 100%);
}

/* ==========================================================================
   MARQUEE — what actually goes on the table, in their own words
   ========================================================================== */
.marquee{
  overflow:hidden;padding-block:clamp(1.1rem,2.2vw,1.7rem);
  border-block:1px solid rgba(140,128,132,.3);
  background:var(--linen);
}
.marquee-track{
  display:flex;width:max-content;gap:0;
  animation:drift 78s linear infinite;
  will-change:transform;
}
.marquee:hover .marquee-track,.marquee:focus-within .marquee-track{animation-play-state:paused}
@keyframes drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.marquee-set{display:flex;flex:0 0 auto;align-items:center}
.marquee-set span{
  font-family:"Fraunces",Georgia,serif;font-optical-sizing:auto;
  font-size:clamp(1.05rem,2.1vw,1.65rem);font-weight:500;letter-spacing:-.012em;
  color:var(--ink);white-space:nowrap;padding-inline:clamp(.7rem,1.6vw,1.3rem);
}
/* the separator is a drawn dot, not a character: nothing for a screen reader
   to announce between every ingredient, and no text node for the contrast
   audit to judge */
.marquee-set span{position:relative}
.marquee-set span::after{
  content:"";position:absolute;right:-3px;top:50%;translate:0 -50%;
  width:5px;height:5px;border-radius:50%;background:var(--coral);
}

/* ==========================================================================
   SPREADS — one service, full width, giant numeral, photo off the page edge
   ========================================================================== */
.spread{
  display:grid;gap:clamp(1.5rem,3.5vw,3.5rem);align-items:center;
  grid-template-columns:1fr;
  padding-block:clamp(2.4rem,5vw,4.2rem);
  border-top:1px solid rgba(140,128,132,.26);
}
.spread:first-of-type{border-top:0;padding-top:0}
.spread-text{position:relative}
.spread-num{
  font-family:"Fraunces",Georgia,serif;font-optical-sizing:auto;
  font-size:clamp(4.5rem,11vw,11.5rem);line-height:.72;font-weight:300;
  color:#EBD3D4;letter-spacing:-.06em;
  display:block;margin:0 0 -.34em -.06em;user-select:none;
}
.band-linen .spread-num{color:#E4CFCB}
.spread-title{margin-top:0}
.spread-text > *{position:relative}
.spread-title{font-size:var(--s-3);margin-bottom:.34em;position:relative;line-height:1.03;letter-spacing:-.026em}
.spread p{font-size:var(--s-0);color:var(--ink-soft);max-width:46ch}
.spread-media{overflow:hidden;background:var(--linen);border-radius:var(--radius)}
.spread-media img{display:block;width:100%;height:auto;transition:transform 1.1s var(--ease-out)}
.spread:hover .spread-media img{transform:scale(1.035)}

@media (min-width:56rem){
  .spread{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .spread.flip .spread-text{order:2}
  .spread.flip .spread-media{order:1}
  /* let the photograph run off the page edge — a grazing table does not stop
     politely at a margin */
  .spread-media{margin-right:calc(var(--pad) * -1);border-radius:var(--radius) 0 0 var(--radius)}
  .spread.flip .spread-media{margin-right:0;margin-left:calc(var(--pad) * -1);border-radius:0 var(--radius) var(--radius) 0}
}
@media (min-width:82rem){
  .spread-media{margin-right:clamp(-9rem,-6vw,-2rem)}
  .spread.flip .spread-media{margin-right:0;margin-left:clamp(-9rem,-6vw,-2rem)}
}

/* ==========================================================================
   QUOTE
   ========================================================================== */
.quote-wrap{display:grid;gap:clamp(1.8rem,4vw,3.5rem);grid-template-columns:1fr;align-items:center}
@media (min-width:56rem){.quote-wrap{grid-template-columns:1.15fr .85fr}}
.quote{margin:0;position:relative}
.quote blockquote{
  margin:0;font-family:"Fraunces",Georgia,serif;font-optical-sizing:auto;
  font-size:var(--s-3);line-height:1.13;font-weight:500;letter-spacing:-.028em;
  color:var(--ink);text-indent:-.42em;
}
.quote cite{
  display:block;margin-top:1.7rem;font-style:normal;font-size:var(--s--1);
  color:var(--ink-soft);letter-spacing:.06em;text-transform:uppercase;font-weight:600;
}
.quote-media{overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow-m);background:var(--linen)}
.quote-media img{display:block;width:100%;height:auto}

/* ==========================================================================
   VENUES
   ========================================================================== */
.venues{list-style:none;margin:0;padding:0;columns:1}
@media (min-width:44rem){.venues{columns:2;column-gap:clamp(2rem,5vw,4.5rem)}}
.venues li{
  break-inside:avoid;display:flex;flex-wrap:wrap;align-items:baseline;
  gap:.35rem .8rem;padding:1rem 0;border-bottom:1px solid rgba(140,128,132,.3);
}
.venues b{
  font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:var(--s-1);
  letter-spacing:-.015em;
}
.venues span{font-size:var(--s--1);color:var(--ink-soft);letter-spacing:.03em}

/* ==========================================================================
   TESTIMONIALS — placeholder, and it says so
   ========================================================================== */
.tgrid{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}
.tcard{
  background:var(--glass);border:1px solid var(--glass-line);
  border-radius:var(--radius);padding:clamp(1.35rem,2.6vw,2rem);
  display:flex;flex-direction:column;gap:1rem;
}
.tcard .ph-tag{
  align-self:flex-start;font-size:.66rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:#fff;background:var(--berry-deep);
  padding:.32rem .66rem;border-radius:100px;
}
.tcard p{
  font-family:"Fraunces",Georgia,serif;font-size:var(--s-1);line-height:1.32;
  color:var(--ink);margin:0;   /* --ink is the only colour allowed on glass */
}
.tcard footer{font-size:var(--s--1);color:var(--ink-soft)}
.ph-line{
  display:block;height:.7em;border-radius:4px;
  background:repeating-linear-gradient(-45deg,rgba(140,128,132,.32) 0 7px,rgba(140,128,132,.15) 7px 14px);
  margin:.5em 0;
}
.linenband{background:var(--linen)}

/* ==========================================================================
   GALLERY — a laden table, not a tidy grid
   ========================================================================== */
.mosaic{
  display:grid;gap:6px;
  grid-template-columns:repeat(2,1fr);
  grid-auto-rows:clamp(88px,14vw,140px);
  grid-auto-flow:dense;   /* mixed spans leave holes; dense packs them */
}
@media (min-width:44rem){.mosaic{grid-template-columns:repeat(4,1fr)}}
@media (min-width:76rem){.mosaic{grid-template-columns:repeat(6,1fr)}}
.mosaic figure{margin:0;overflow:hidden;background:var(--linen);grid-row:span 2;position:relative}
.mosaic img{
  display:block;width:100%;height:100%;object-fit:cover;
  transition:transform 1s var(--ease-out);
}
.mosaic figure:hover img{transform:scale(1.06)}
/* Two tile sizes only, and their areas are multiples of each other (1x2 and
   2x4), so dense packing tiles them without leaving holes or a ragged tail.
   Wide slots are only ever given to the 800px-wide sources — the four narrow
   frames (369-429px) stay in single-column slots where they are still 2x. */
/* .mosaic figure is (0,1,1); a bare .m-feature is (0,1,0) and loses to it, so
   the span silently never applied. Scoped to beat it. */
.mosaic .m-feature{grid-column:span 2;grid-row:span 4}
@media (max-width:44rem){.mosaic .m-feature{grid-column:span 2;grid-row:span 3}}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{max-width:var(--measure)}
.faq details{border-bottom:1px solid rgba(140,128,132,.3)}
.faq summary{
  cursor:pointer;list-style:none;padding:1.15rem 2.2rem 1.15rem 0;position:relative;
  font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:var(--s-1);
  letter-spacing:-.014em;line-height:1.24;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:.4rem;top:1.55rem;width:11px;height:11px;
  border-right:2px solid var(--coral-deep);border-bottom:2px solid var(--coral-deep);
  transform:rotate(45deg);transition:transform .3s var(--ease);
}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq details > div{padding:0 0 1.4rem}
.faq p:last-child{margin-bottom:0}

/* ==========================================================================
   FORM — it sends nothing and says so
   ========================================================================== */
.formnote{
  display:flex;gap:.85rem;align-items:flex-start;
  border:1.5px dashed var(--berry-deep);border-radius:var(--radius-s);
  padding:1rem 1.15rem;margin:0 0 2rem;background:rgba(240,221,222,.55);
}
.formnote svg{flex:none;margin-top:.15rem}
.formnote p{margin:0;font-size:var(--s--1);color:var(--ink);max-width:none}
.field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.1rem}
.field label{font-size:var(--s--1);font-weight:600;letter-spacing:.02em}
.field input,.field textarea,.field select{
  font:inherit;font-size:var(--s-0);color:var(--ink);
  background:rgba(255,255,255,.75);border:1px solid var(--mauve);
  border-radius:var(--radius-s);padding:.72rem .9rem;width:100%;
}
.field textarea{min-height:8rem;resize:vertical}
.field input:disabled,.field textarea:disabled,.field select:disabled{
  opacity:1;color:var(--ink-soft);background:rgba(255,255,255,.45);cursor:not-allowed;
}
.field-row{display:grid;gap:0 1.1rem;grid-template-columns:1fr}
@media (min-width:40rem){.field-row{grid-template-columns:1fr 1fr}}

.contact-list{list-style:none;margin:0;padding:0;display:grid;gap:1.35rem}
.contact-list dt{font-size:var(--s--1);font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--herb-deep);margin-bottom:.28rem}
.contact-list dd{margin:0;font-size:var(--s-1);font-family:"Fraunces",Georgia,serif;letter-spacing:-.012em}
.contact-list dd.placeholder{font-family:"Karla",sans-serif;font-size:var(--s-0);color:var(--ink-soft);font-style:italic}
.contact-list dd a{display:inline-block;padding:.15rem 0}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot{background:var(--ink-2);color:#E4D6D2;padding-block:clamp(3rem,6vw,4.5rem) 2rem}
.foot h2,.foot h3{color:var(--porcelain)}
.foot a{color:#F0DDDE}
.foot a:hover{color:var(--honey)}
.foot-grid{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));margin-bottom:2.6rem}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.foot ul a{display:inline-block;padding:.3rem 0}
.foot .ft{font-size:var(--s--1);letter-spacing:.14em;text-transform:uppercase;color:var(--honey);margin:0 0 1rem;font-weight:600}
.foot-brand .brand-name{color:var(--porcelain);font-size:1.5rem}
/* --ink-soft and --mauve are LIGHT-GROUND colours: on this ink they measure
   2.15:1 and 3.81:1 and both fail AA. Scoped so it cannot recur. */
.foot .fine,.foot .lede,.foot p.fine{color:#C9B8B4}
.foot-brand .brand-sub{color:#B9ABAF}

.disclosure{
  border-top:1px solid rgba(240,221,222,.22);
  border-bottom:1px solid rgba(240,221,222,.22);
  padding:1.5rem 0;margin-bottom:1.4rem;
}
.disclosure p{font-size:var(--s--1);color:#EFDFDB;margin:0 0 .6rem;max-width:78ch;line-height:1.6}
.disclosure p:last-child{margin-bottom:0}
.disclosure b{color:var(--honey);font-weight:600}
.foot-base{display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;justify-content:space-between;font-size:var(--s--1);color:#C9B8B4}
.foot-base a{color:#C9B8B4;display:inline-block;padding:.25rem 0}

/* ---------- motion -------------------------------------------------------- */
.rise{opacity:0;transform:translateY(20px)}
.rise.in{opacity:1;transform:none;transition:opacity .85s var(--ease-out),transform .85s var(--ease-out)}
.rise:nth-child(2){transition-delay:.06s}
.rise:nth-child(3){transition-delay:.12s}
.rise:nth-child(4){transition-delay:.18s}

/* ---------- utilities ------------------------------------------------------
   The CSP is `style-src 'self'`, which blocks inline style="" attributes
   outright. The first deploy shipped ~75 of them and Chrome dropped every one
   on the live site — invisible locally, invisible to Lighthouse. Everything
   that would have been an inline style is a class.
   -------------------------------------------------------------------------- */
.mt-1{margin-top:1rem}
.mt-25{margin-top:2.5rem}
.mt-3{margin-top:3rem}
.mt-35{margin-top:3.5rem}
.mb-2{margin-bottom:2rem}
.mb-3{margin-bottom:3rem}
.mi-auto{margin-inline:auto}
.tac{text-align:center}
.center-x{justify-content:center}
.mw-14{max-width:14ch}
.mw-16{max-width:16ch}
.mw-20{max-width:20ch}
.mw-24{max-width:24ch}
.h-sub{font-size:var(--s-2)}
.note-own{margin-top:1.4rem;max-width:60ch}
.pt-0{padding-top:0}
.pt-tight{padding-top:clamp(2rem,4.5vw,3rem)}
.pb-tight{padding-bottom:clamp(2rem,4.5vw,3rem)}
.tcard-plain{font-family:"Karla",ui-sans-serif,system-ui,sans-serif;font-size:var(--s-0);line-height:1.6}
.tcard-dashed{border-style:dashed;border-width:1.5px;border-color:var(--berry-deep)}
.w52{width:52%}.w64{width:64%}.w71{width:71%}.w88{width:88%}
.w92{width:92%}.w94{width:94%}.w96{width:96%}.w97{width:97%}

/* ---------- small phones -------------------------------------------------- */
@media (max-width:30rem){
  .nav .brand-sub{display:none}
  .nav-in{flex-direction:column;align-items:flex-start;gap:.45rem;padding-block:.65rem}
  .nav ul{gap:.8rem}
  .nav a{font-size:.8rem}
  .brand-name{font-size:1.1rem}
}

/* ---------- tap targets ----------------------------------------------------
   Measured at 360px before this: nav links were 43x18, footer links 18px tall.
   Lighthouse scored accessibility 100 throughout — target size is not one of
   the things it checks.
   -------------------------------------------------------------------------- */
@media (pointer:coarse){
  .nav a{padding:.72rem 0}
  .foot ul a{padding:.55rem 0}
  .demobar a{padding:.4rem 0}
  .foot-base a{padding:.45rem 0}
  .faq summary{padding-block:1.35rem}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;animation-iteration-count:1 !important;
    transition-duration:.001ms !important;scroll-behavior:auto !important;
  }
  .rise{opacity:1;transform:none}
  .marquee-track{animation:none}
  .mosaic figure:hover img,.spread:hover .spread-media img{transform:none}
}

@media print{
  body::after,.nav,.demobar,.strip,.marquee{display:none}
  body{background:#fff;color:#000}
}
