/* ============================================================
   FlowLocal DFW
   Palette, type and rhythm tokens
   ============================================================ */

:root{
  /* ground */
  --paper:      #FBF9F5;
  --paper-2:    #F3EEE5;
  --slab:       #12302A;   /* deep petrol green — hero + math band */
  --slab-2:     #0C231F;

  /* ink */
  --ink:        #16130F;
  --ink-2:      #433D35;
  --ink-mute:   #5E574D;

  /* signal */
  --brick:      #A2311B;   /* what the platform takes */
  --keep:       #1C6A4E;   /* what you keep */
  --keep-lite:  #7FD9B0;   /* keep, on dark ground */

  --line:       #DED6C8;
  --line-dark:  rgba(255,255,255,.16);

  /* type */
  --display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* rhythm */
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 40px);
  --sec-y: clamp(64px, 9vw, 120px);
  --r: 4px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--gut);
}

/* focus — visible everywhere, never removed */
:where(a,button,input,textarea,select):focus-visible{
  outline:3px solid var(--keep);
  outline-offset:2px;
  border-radius:2px;
}

.skip{
  position:absolute; left:-9999px;
  background:var(--ink); color:var(--paper);
  padding:12px 18px; z-index:100; text-decoration:none;
}
.skip:focus{ left:12px; top:12px; }

/* ============================================================
   Type scale
   ============================================================ */

h1,h2,h3{
  font-family:var(--display);
  line-height:1.05;
  letter-spacing:-.022em;
  margin:0;
  font-weight:800;
}

h1{ font-size:clamp(2.4rem, 6.2vw, 4.35rem); }
h2{ font-size:clamp(1.9rem, 4vw, 2.9rem); }
h3{ font-size:1.14rem; font-weight:700; letter-spacing:-.01em; line-height:1.25; }

p{ margin:0; }

.eyebrow{
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--ink-mute);
  margin-bottom:18px;
}
.eyebrow-light{ color:var(--keep-lite); }

.lede{
  font-size:clamp(1.02rem, 1.5vw, 1.15rem);
  color:var(--ink-2);
  max-width:52ch;
  line-height:1.65;
}

/* ============================================================
   Header
   ============================================================ */

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,249,245,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; min-height:68px;
}

.brand{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--display); font-weight:800; font-size:1.12rem;
  letter-spacing:-.02em; color:var(--ink); text-decoration:none;
  padding:11px 0;
}
/* Brand mark: a small receipt slip, echoing the hero's signature
   element. Deliberately not the brick red — that colour means
   "money the platform takes" everywhere else on this site. */
.brand-mark{
  width:11px; height:15px;
  background:var(--ink);
  clip-path:polygon(0 0,100% 0,100% 100%,75% 86%,50% 100%,25% 86%,0 100%);
  flex:none;
}
.site-footer .brand-mark,
.hero .brand-mark{ background:var(--paper); }
.brand-region{
  font-family:var(--mono); font-size:.64rem; font-weight:700;
  letter-spacing:.14em; color:var(--ink-mute);
  border:1px solid var(--line); border-radius:3px;
  padding:3px 5px; transform:translateY(-1px);
}

.site-nav{ display:flex; align-items:center; gap:4px; }
.site-nav a{
  display:inline-flex; align-items:center;
  min-height:44px; padding:0 13px;
  font-size:.92rem; font-weight:500;
  color:var(--ink-2); text-decoration:none;
  border-radius:var(--r);
}
.site-nav a:hover{ color:var(--ink); background:var(--paper-2); }

.nav-cta{
  background:var(--ink) !important;
  color:var(--paper) !important;
  font-weight:600;
  margin-left:8px;
  padding:0 18px !important;
}
.nav-cta:hover{ background:var(--slab) !important; }

@media (max-width:760px){
  .site-nav a:not(.nav-cta){ display:none; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero{
  background:var(--slab);
  color:var(--paper);
  padding-block:clamp(56px, 8vw, 104px);
  border-bottom:1px solid var(--slab-2);
}
.hero .eyebrow{ color:var(--keep-lite); }

.hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:clamp(40px, 6vw, 76px);
  align-items:center;
}
@media (max-width:940px){
  .hero-grid{ grid-template-columns:1fr; gap:52px; }
}

.hero h1{ color:var(--paper); max-width:15ch; }
.hero h1 .hl{
  display:block;
  color:var(--keep-lite);
}
.hero .lede{
  color:rgba(251,249,245,.80);
  margin-top:24px;
}

.hero-actions{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top:34px;
}

.hero-note{
  margin-top:22px;
  font-family:var(--mono); font-size:.74rem;
  letter-spacing:.05em;
  color:rgba(251,249,245,.58);
}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:0 26px;
  font-family:var(--body); font-size:1rem; font-weight:600;
  border-radius:var(--r); border:1px solid transparent;
  text-decoration:none; cursor:pointer;
  transition:background .16s ease, color .16s ease, transform .16s ease;
}
.btn-primary{ background:var(--keep-lite); color:var(--slab-2); }
.btn-primary:hover{ background:#9BE7C4; }
.btn-ghost{
  background:transparent; color:var(--paper);
  border-color:rgba(251,249,245,.34);
}
.btn-ghost:hover{ background:rgba(251,249,245,.09); }
.btn-block{ width:100%; }

/* ============================================================
   SIGNATURE: the audit card
   A miniature of the free audit that is the site's primary CTA.
   ============================================================ */

.audit-stage{ display:flex; flex-direction:column; align-items:center; }

.audit-card{
  width:min(100%, 400px);
  background:#FFFDF8;
  color:var(--ink);
  border-radius:var(--r);
  padding:26px 26px 22px;
  box-shadow:0 26px 50px -18px rgba(0,0,0,.55);
}

.audit-head{
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}
.audit-title{
  font-family:var(--display); font-weight:800;
  font-size:1.14rem; letter-spacing:-.02em;
}
.audit-sub{
  margin-top:4px;
  font-family:var(--mono); font-size:.7rem;
  letter-spacing:.05em; color:var(--ink-mute);
}

.audit-list{ list-style:none; margin:0; padding:0; }
.audit-list li{
  display:flex; gap:12px; align-items:flex-start;
  padding:13px 0;
  border-bottom:1px solid var(--paper-2);
}

.ac-mark{
  flex:none; width:17px; height:17px; border-radius:50%;
  margin-top:2px; position:relative;
}
.ac-pass .ac-mark{ background:var(--keep); }
.ac-fail .ac-mark{ background:var(--brick); }
/* check / cross drawn with borders so they need no icon font */
.ac-pass .ac-mark::after{
  content:""; position:absolute; left:5px; top:4px;
  width:5px; height:8px;
  border-right:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(42deg);
}
.ac-fail .ac-mark::after,
.ac-fail .ac-mark::before{
  content:""; position:absolute; left:7.5px; top:4px;
  width:2px; height:9px; background:#fff;
}
.ac-fail .ac-mark::after{ transform:rotate(45deg); }
.ac-fail .ac-mark::before{ transform:rotate(-45deg); }

.ac-body{ display:flex; flex-direction:column; gap:2px; }
.ac-label{ font-size:.92rem; font-weight:600; line-height:1.35; }
.ac-note{
  font-family:var(--mono); font-size:.71rem;
  line-height:1.4; color:var(--ink-mute);
}
.ac-fail .ac-note{ color:var(--brick); }

.audit-foot{
  margin-top:16px;
  font-family:var(--mono); font-size:.78rem;
  letter-spacing:.04em; color:var(--ink-mute);
}
.audit-score{
  font-weight:700; color:var(--brick);
}

.audit-caption{
  margin-top:24px;
  max-width:36ch; text-align:center;
  font-size:.78rem; line-height:1.5;
  color:rgba(251,249,245,.56);
}

/* ============================================================
   RESTAURANT VERTICAL — receipt comparison
   Not used on the homepage. Kept for a future /restaurants page.
   Markup: components/receipt-comparison.html   Logic: receipt.js
   ============================================================ */

.receipt-stage{ display:flex; flex-direction:column; align-items:center; }

.switch{
  display:inline-flex; padding:4px; margin-bottom:22px;
  background:rgba(0,0,0,.26);
  border:1px solid var(--line-dark);
  border-radius:var(--r);
}
.switch-btn{
  appearance:none; border:0; cursor:pointer;
  min-height:44px; padding:0 17px;
  background:transparent;
  font-family:var(--mono); font-size:.73rem; font-weight:700;
  letter-spacing:.07em; text-transform:uppercase;
  color:rgba(251,249,245,.66);
  border-radius:3px;
  transition:background .18s ease, color .18s ease;
}
.switch-btn:hover{ color:var(--paper); }
.switch-btn.is-active{ background:var(--paper); color:var(--slab-2); }

.receipt{
  position:relative;
  width:min(100%, 372px);
  background:#FFFDF8;
  color:var(--ink);
  padding:30px 28px 40px;
  font-family:var(--mono);
  font-size:.82rem;
  line-height:1.55;
  box-shadow:0 26px 50px -18px rgba(0,0,0,.55);
}
/* torn bottom edge */
.receipt-tear{
  position:absolute; left:0; right:0; bottom:-9px; height:10px;
  background:
    repeating-linear-gradient(135deg,#FFFDF8 0 7px, transparent 7px 14px),
    repeating-linear-gradient(45deg,#FFFDF8 0 7px, transparent 7px 14px);
}

.receipt-head{ text-align:center; }
.receipt-logo{
  font-weight:700; letter-spacing:.11em; font-size:.86rem;
}
.receipt-sub{
  font-size:.68rem; letter-spacing:.09em;
  color:var(--ink-mute); margin-top:5px;
}

.rule{ border-top:1px dashed #C9C0B0; margin:15px 0; }
.rule-heavy{ border-top:2px solid var(--ink); border-style:solid; margin:14px 0; }

.receipt-items{ list-style:none; margin:0; padding:0; }
.receipt-items li{
  display:grid; grid-template-columns:20px 1fr auto;
  gap:9px; padding:3px 0;
}
.receipt-items .v{ text-align:right; }
.receipt-items .q{ color:var(--ink-mute); }

.receipt-line{
  display:flex; justify-content:space-between; gap:14px;
  padding:3px 0;
}
.receipt-subtotal{ font-weight:700; }

.deduct{ color:var(--brick); }
.deduct em{ font-style:normal; opacity:.75; }
/* rows that only apply to the delivery-app mode */
.receipt[data-mode="direct"] .deduct[data-only="app"]{
  display:none;
}

.receipt-total{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:14px;
  font-weight:700; font-size:1.16rem;
  letter-spacing:-.01em;
}
.receipt-total .v{ font-size:1.5rem; }
.receipt[data-mode="direct"] .receipt-total{ color:var(--keep); }

.receipt-stamp{
  margin-top:16px;
  display:inline-block;
  font-size:.66rem; font-weight:700;
  letter-spacing:.15em; text-transform:uppercase;
  border:2px solid currentColor;
  padding:5px 9px;
  transform:rotate(-2.5deg);
  color:var(--brick);
}
.receipt[data-mode="direct"] .receipt-stamp{ color:var(--keep); }

.receipt-caption{
  margin-top:26px;
  max-width:36ch; text-align:center;
  font-size:.78rem; line-height:1.5;
  color:rgba(251,249,245,.56);
}

/* ============================================================
   Dark bands (pain points, audit CTA)
   ============================================================ */

.band{
  background:var(--slab-2);
  color:var(--paper);
  padding-block:var(--sec-y);
}
.band-head{ color:var(--paper); max-width:17ch; }
.band-lede{
  margin-top:22px; max-width:52ch;
  font-size:1.02rem; line-height:1.65;
  color:rgba(251,249,245,.80);
}
.band-foot{
  margin-top:38px; max-width:62ch;
  font-size:.94rem; line-height:1.65;
  color:rgba(251,249,245,.62);
}

/* the leaking funnel */
/* 3 columns × 2 rows fits the six conversion leaks exactly —
   keep this in step with the number of .leak items. */
.leak-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1px; margin-top:50px;
  background:var(--line-dark);
  border-block:1px solid var(--line-dark);
}
@media (max-width:900px){ .leak-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .leak-grid{ grid-template-columns:1fr; } }

.leak{ background:var(--slab-2); padding:28px 26px 32px; }
.leak-when{
  font-family:var(--mono); font-size:.71rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:#FF9E85; margin-bottom:12px;
}
.leak-what{
  font-size:.95rem; line-height:1.6;
  color:rgba(251,249,245,.82);
}

/* audit CTA layout */
.audit-cta-grid{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(36px, 5vw, 64px); align-items:start;
}
@media (max-width:900px){ .audit-cta-grid{ grid-template-columns:1fr; } }

.audit-includes{ list-style:none; margin:28px 0 0; padding:0; }
.audit-includes li{
  position:relative; padding-left:28px; margin-bottom:11px;
  font-size:.96rem; color:rgba(251,249,245,.86);
}
.audit-includes li::before{
  content:""; position:absolute; left:0; top:.5em;
  width:13px; height:7px;
  border-left:2.5px solid var(--keep-lite);
  border-bottom:2.5px solid var(--keep-lite);
  transform:rotate(-45deg);
}
.audit-terms{
  margin-top:26px; max-width:46ch;
  font-size:.88rem; line-height:1.6;
  color:rgba(251,249,245,.6);
}

/* ============================================================
   Sections
   ============================================================ */

.section{ padding-block:var(--sec-y); }
.section-alt{ background:var(--paper-2); }
.section h2{ max-width:18ch; }
.section .eyebrow + h2{ margin-bottom:0; }

/* cards */
.cards{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:26px; margin-top:52px;
}
@media (max-width:940px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .cards{ grid-template-columns:1fr; } }

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:26px 24px 28px;
}
.card h3{ margin-bottom:10px; }
.card p{ font-size:.94rem; color:var(--ink-2); line-height:1.6; }

.card-num{
  font-family:var(--mono); font-size:.71rem; font-weight:700;
  letter-spacing:.14em; color:var(--keep);
  margin-bottom:12px;
}

.card-cta{
  background:var(--slab);
  border-color:var(--slab);
}
.card-cta h3{ color:var(--paper); }
.card-cta p{ color:rgba(251,249,245,.78); }
.card-link{
  display:inline-flex; align-items:center;
  min-height:44px; margin-top:6px;
  font-family:var(--mono); font-size:.78rem; font-weight:700;
  letter-spacing:.04em;
  color:var(--keep-lite); text-decoration:none;
}
.card-link:hover{ text-decoration:underline; }

/* section intro paragraph */
.section-lede{
  margin-top:20px; max-width:56ch;
  font-size:1.02rem; line-height:1.65; color:var(--ink-2);
}

/* ---- industries: featured trades get real weight -------- */
.ind-grid{ display:grid; gap:22px; }

.ind-grid-lead{
  grid-template-columns:repeat(4,1fr);
  margin-top:48px;
}
@media (max-width:1000px){ .ind-grid-lead{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .ind-grid-lead{ grid-template-columns:1fr; } }

.ind-lead{
  background:#fff;
  border:1px solid var(--line);
  border-top:3px solid var(--keep);
  border-radius:var(--r);
  padding:24px 22px 26px;
}
.ind-lead h3{ font-size:1.1rem; margin-bottom:8px; }
.ind-eg{
  font-family:var(--mono); font-size:.7rem;
  letter-spacing:.03em; line-height:1.5;
  color:var(--keep); margin-bottom:11px;
}
.ind-blurb{ font-size:.92rem; color:var(--ink-2); line-height:1.58; }

.ind-also{
  margin-top:44px; margin-bottom:20px;
  font-family:var(--mono); font-size:.72rem; font-weight:700;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--ink-mute);
}
.ind-grid-sub{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .ind-grid-sub{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .ind-grid-sub{ grid-template-columns:1fr; } }

.ind-sub{ border-top:1px solid var(--line); padding-top:14px; }
.ind-sub h3{ font-size:.98rem; margin-bottom:6px; }
.ind-sub .ind-blurb{ font-size:.87rem; }

/* ---- the audit section ---------------------------------- */
.sub-head{
  font-size:1.06rem;
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}
.sub-head-gap{ margin-top:40px; }

.audit-split{
  display:grid; grid-template-columns:1.25fr .75fr;
  gap:clamp(32px, 4.5vw, 60px);
  margin-top:48px; align-items:start;
}
@media (max-width:900px){ .audit-split{ grid-template-columns:1fr; } }

.acat-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px 26px;
}
@media (max-width:560px){ .acat-grid{ grid-template-columns:1fr; } }
.acat h3{ font-size:.98rem; margin-bottom:6px; }
.acat p{ font-size:.88rem; color:var(--ink-2); line-height:1.55; }

.btn-audit{ margin-top:34px; }
.btn-dark{ background:var(--ink); color:var(--paper); }
.btn-dark:hover{ background:var(--slab); }

/* example scorecard — always labelled as an example */
.ex-card{
  background:var(--slab);
  border-radius:var(--r);
  padding:26px 24px 24px;
  color:var(--paper);
}
.ex-flag{
  display:inline-block;
  font-family:var(--mono); font-size:.64rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--slab-2); background:var(--keep-lite);
  padding:4px 8px; border-radius:2px;
  margin-bottom:20px;
}
.ex-overall{
  padding-bottom:20px; margin-bottom:20px;
  border-bottom:1px solid var(--line-dark);
}
.ex-overall-num{
  font-family:var(--display); font-weight:800;
  font-size:3.1rem; line-height:1; letter-spacing:-.03em;
  color:var(--keep-lite);
}
.ex-overall-num span{ font-size:1.1rem; opacity:.6; }
.ex-overall-lab{
  margin-top:6px;
  font-family:var(--mono); font-size:.72rem;
  letter-spacing:.09em; text-transform:uppercase;
  color:rgba(251,249,245,.66);
}

.ex-rows{ list-style:none; margin:0; padding:0; }
.ex-row{
  display:grid; grid-template-columns:1fr 68px 26px;
  align-items:center; gap:10px;
  padding:7px 0;
}
.ex-lab{ font-size:.85rem; color:rgba(251,249,245,.88); }
.ex-bar{
  height:5px; border-radius:3px;
  background:rgba(255,255,255,.16); overflow:hidden;
}
.ex-fill{ display:block; height:100%; border-radius:3px; }
.is-good .ex-fill{ background:var(--keep-lite); }
.is-mid  .ex-fill{ background:#E8C46A; }
.is-low  .ex-fill{ background:#FF9E85; }
.ex-val{
  font-family:var(--mono); font-size:.78rem; font-weight:700;
  text-align:right; color:rgba(251,249,245,.9);
}
.ex-note{
  margin-top:18px; padding-top:14px;
  border-top:1px solid var(--line-dark);
  font-size:.75rem; line-height:1.5;
  color:rgba(251,249,245,.55);
}

/* pricing */
.price-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; margin-top:50px;
}
@media (max-width:940px){ .price-grid{ grid-template-columns:1fr; } }

.price{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:30px 26px 32px;
  display:flex; flex-direction:column;
}
.price-featured{
  border-color:var(--keep);
  border-width:2px;
}
.price-flag{
  position:absolute; top:-11px; left:26px;
  background:var(--keep); color:#fff;
  font-family:var(--mono); font-size:.66rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  padding:4px 9px; border-radius:2px;
}
.price h3{ font-size:1.24rem; margin-bottom:10px; }
.price-amount{
  font-family:var(--display); font-weight:800;
  font-size:1.46rem; letter-spacing:-.025em; line-height:1.15;
  color:var(--ink); margin-bottom:14px;
}
.price-then{
  display:block; margin-top:3px;
  font-family:var(--mono); font-weight:400;
  font-size:.8rem; letter-spacing:.02em;
  color:var(--keep);
}
.price-for{
  font-size:.92rem; color:var(--ink-2); line-height:1.55;
  padding-bottom:18px; margin-bottom:18px;
  border-bottom:1px solid var(--line);
}
.price-list{ list-style:none; margin:0; padding:0; }
.price-list li{
  position:relative; padding-left:22px; margin-bottom:10px;
  font-size:.92rem; color:var(--ink-2); line-height:1.5;
}
.price-list li::before{
  content:""; position:absolute; left:0; top:.48em;
  width:11px; height:6px;
  border-left:2px solid var(--keep);
  border-bottom:2px solid var(--keep);
  transform:rotate(-45deg);
}
.price-cta{
  display:inline-flex; align-items:center;
  min-height:44px; margin-top:22px;
  font-family:var(--mono); font-size:.76rem; font-weight:700;
  letter-spacing:.04em;
  color:var(--keep); text-decoration:none;
}
.price-cta:hover{ text-decoration:underline; }
.price-list{ flex:1; }

.price-note{
  margin-top:34px; max-width:62ch;
  font-size:1rem; font-weight:600; line-height:1.6; color:var(--ink);
}
.price-sub{
  margin-top:12px; max-width:66ch;
  font-size:.92rem; line-height:1.6; color:var(--ink-mute);
}

/* ---- trust ---------------------------------------------- */
.trust-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:26px; margin-top:48px;
}
@media (max-width:960px){ .trust-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px){ .trust-grid{ grid-template-columns:1fr; } }

.trust{ border-top:2px solid var(--keep-lite); padding-top:16px; }
.trust h3{ font-size:1rem; color:var(--paper); margin-bottom:8px; }
.trust p{
  font-size:.9rem; line-height:1.58;
  color:rgba(251,249,245,.74);
}

/* ---- work / portfolio ----------------------------------- */
.section-quiet{ padding-block:clamp(48px,6vw,76px); }

.work-grid{ display:grid; gap:30px; margin-top:26px; }
.work-grid-empty{
  padding:26px 0 4px;
  border-top:1px solid var(--line);
}
.work-soon{
  font-family:var(--display); font-weight:700;
  font-size:1.16rem; letter-spacing:-.02em;
  color:var(--ink-2);
}
.work-soon-sub{
  margin-top:8px; max-width:56ch;
  font-size:.92rem; line-height:1.6; color:var(--ink-mute);
}

.proj{
  display:grid; grid-template-columns:1.1fr .9fr;
  gap:26px; align-items:start;
  background:#fff; border:1px solid var(--line);
  border-radius:var(--r); padding:22px;
}
@media (max-width:820px){ .proj{ grid-template-columns:1fr; } }

.proj-media{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.proj-shot{ margin:0; }
.proj-shot img{
  width:100%; height:auto; border-radius:3px;
  border:1px solid var(--line);
}
.proj-shot figcaption{
  margin-top:6px;
  font-family:var(--mono); font-size:.66rem;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-mute);
}

.proj-status{
  display:inline-block; margin-bottom:11px;
  font-family:var(--mono); font-size:.64rem; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase;
  padding:4px 8px; border-radius:2px;
}
.proj-status.is-client{ background:var(--keep); color:#fff; }
/* Concept work must always be visibly marked as a concept. */
.proj-status.is-concept{
  background:#F3EAD6; color:#7A5A16;
  border:1px solid #DFC998;
}
.proj-meta{
  font-family:var(--mono); font-size:.72rem;
  letter-spacing:.03em; color:var(--ink-mute);
  margin:6px 0 14px;
}
.proj-line{
  font-size:.92rem; line-height:1.58;
  color:var(--ink-2); margin-bottom:8px;
}
.proj-line strong{ color:var(--ink); font-weight:600; }

/* timeline */
.timeline{
  list-style:none; margin:52px 0 0; padding:0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:26px;
}
@media (max-width:940px){ .timeline{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .timeline{ grid-template-columns:1fr; } }

.timeline li{ border-top:2px solid var(--ink); padding-top:18px; }
.tl-when{
  font-family:var(--mono); font-size:.71rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--brick); margin-bottom:11px;
}
.timeline h3{ margin-bottom:9px; }
.timeline p:last-child{ font-size:.93rem; color:var(--ink-2); line-height:1.6; }

/* who */
.who-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:26px; margin-top:52px;
}
@media (max-width:840px){ .who-grid{ grid-template-columns:1fr; } }
.who-cell{ border-left:3px solid var(--keep); padding:4px 0 4px 20px; }
.who-cell h3{ margin-bottom:9px; }
.who-cell p{ font-size:.95rem; color:var(--ink-2); }

.who-foot{
  margin-top:46px; padding-top:22px;
  border-top:1px solid var(--line);
  font-family:var(--mono); font-size:.76rem;
  line-height:2.1;
  letter-spacing:.06em; color:var(--ink-mute);
  /* must wrap — this list grows as service-area pages are added */
  display:flex; flex-wrap:wrap; align-items:center;
  gap:0 8px;
}
.who-foot i{ font-style:normal; opacity:.45; }
.who-foot a{
  color:var(--keep); text-decoration:none;
  text-underline-offset:3px;
}
.who-foot a:hover{ text-decoration:underline; }

/* ============================================================
   Contact
   ============================================================ */

.section-contact{ background:var(--paper-2); }

.contact-grid{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(36px, 5vw, 64px);
  align-items:start;
}
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-copy h2 + .lede{ margin-top:20px; }

.contact-alt{
  margin-top:26px; padding-top:20px;
  border-top:1px solid var(--line);
  font-size:.94rem; line-height:1.6; color:var(--ink-2);
}
.contact-alt a{
  color:var(--keep); font-weight:600;
  text-decoration:none; text-underline-offset:3px;
  word-break:break-word;
}
.contact-alt a:hover{ text-decoration:underline; }

.ticks{ list-style:none; margin:30px 0 0; padding:0; }
.ticks li{
  position:relative; padding-left:28px; margin-bottom:11px;
  font-size:.96rem; color:var(--ink-2);
}
.ticks li::before{
  content:""; position:absolute; left:0; top:.52em;
  width:13px; height:7px;
  border-left:2.5px solid var(--keep);
  border-bottom:2.5px solid var(--keep);
  transform:rotate(-45deg);
}

.form-card{
  background:#fff;
  /* the card can sit on a dark band, so it must set its own ink
     rather than inheriting the band's light text colour */
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:clamp(24px, 3.4vw, 34px);
}

.field{ margin-bottom:19px; }
.row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:520px){ .row{ grid-template-columns:1fr; } }

.field label{
  display:block; margin-bottom:7px;
  font-size:.88rem; font-weight:600; color:var(--ink);
}
.req{ color:var(--brick); }
.opt{
  font-weight:400; font-size:.78rem; color:var(--ink-mute);
}

.form-head{
  font-family:var(--display); font-weight:800;
  font-size:1.22rem; letter-spacing:-.02em;
  color:var(--ink);
  margin-bottom:20px; padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.field input,
.field textarea,
.field select{
  width:100%;
  min-height:50px;
  padding:13px 14px;
  font-family:var(--body); font-size:1rem; color:var(--ink);
  background:var(--paper);
  border:1.5px solid var(--line);
  border-radius:var(--r);
  transition:border-color .15s ease, background .15s ease;
}
.field select{
  appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--ink-mute) 50%),
                   linear-gradient(135deg,var(--ink-mute) 50%,transparent 50%);
  background-position:calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
  padding-right:38px;
}
.field textarea{ min-height:110px; resize:vertical; line-height:1.55; }
.field input:hover,
.field textarea:hover,
.field select:hover{ border-color:#C6BCA9; }
.field input:focus,
.field textarea:focus,
.field select:focus{ background:#fff; border-color:var(--keep); }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"]{
  border-color:var(--brick);
  background:#FFF7F5;
}

.hint{ margin-top:6px; font-size:.81rem; color:var(--ink-mute); }
.err{
  margin-top:6px; font-size:.83rem; font-weight:500;
  color:var(--brick);
}

.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px; height:1px; opacity:0;
}

.form-status{
  margin-top:16px; font-size:.92rem; line-height:1.5;
  padding:0;
}
.form-status.is-ok{
  color:var(--keep); font-weight:600;
  background:#EAF6F0; border:1px solid #BFE3D0;
  border-radius:var(--r); padding:13px 15px;
}
.form-status.is-bad{
  color:var(--brick); font-weight:500;
  background:#FDF1EE; border:1px solid #F0CDC3;
  border-radius:var(--r); padding:13px 15px;
}

#submitBtn[disabled]{ opacity:.6; cursor:progress; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer{
  background:var(--slab-2); color:var(--paper);
  padding-block:52px;
}
.footer-inner{
  display:flex; flex-wrap:wrap; gap:28px;
  align-items:flex-start; justify-content:space-between;
}

/* three-column footer */
.footer-cols{
  display:grid; grid-template-columns:1.6fr 1fr 1fr;
  gap:40px;
}
@media (max-width:760px){ .footer-cols{ grid-template-columns:1fr 1fr; gap:32px; } }
@media (max-width:480px){ .footer-cols{ grid-template-columns:1fr; } }
.fcol-brand{ grid-column:1; }
@media (max-width:760px){ .fcol-brand{ grid-column:1 / -1; } }

.fcol{ display:flex; flex-direction:column; align-items:flex-start; }
.fcol-head{
  font-family:var(--mono); font-size:.68rem; font-weight:700;
  letter-spacing:.15em; text-transform:uppercase;
  color:rgba(251,249,245,.5);
  margin-bottom:6px;
}
.fcol a,
.fcol #footer-services a{
  display:inline-flex; align-items:center;
  min-height:44px; padding:0 2px;
  font-size:.9rem;
  color:rgba(251,249,245,.78); text-decoration:none;
}
.fcol a:hover{ color:var(--paper); text-decoration:underline; }
.fcol #footer-services{ display:flex; flex-direction:column; align-items:flex-start; }

.footer-area{
  margin-top:12px;
  font-family:var(--mono); font-size:.74rem;
  line-height:1.6; letter-spacing:.02em;
  color:rgba(251,249,245,.5);
  max-width:34ch;
}
.brand-footer{ color:var(--paper); display:inline-flex; align-items:center; gap:9px; }
.brand-footer .brand-region{
  color:rgba(251,249,245,.72); border-color:var(--line-dark);
}
.footer-note{
  margin-top:11px; font-size:.9rem;
  color:rgba(251,249,245,.62); max-width:34ch;
}
.footer-nav{ display:flex; flex-wrap:wrap; gap:4px; }
.footer-nav a{
  display:inline-flex; align-items:center; min-height:44px;
  padding:0 12px; font-size:.9rem;
  color:rgba(251,249,245,.78); text-decoration:none;
  border-radius:var(--r);
}
.footer-nav a:hover{ color:var(--paper); background:rgba(255,255,255,.08); }
/* ============================================================
   Legal pages (privacy, terms)
   ============================================================ */

.legal{ padding-block:clamp(48px, 7vw, 88px); }
.legal-wrap{ max-width:720px; }

.legal-title{
  font-size:clamp(2.1rem, 5vw, 3.1rem);
  margin-bottom:12px;
}
.legal-meta{
  font-family:var(--mono); font-size:.75rem;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--ink-mute);
}
.legal-lede{
  margin-top:28px; padding:20px 22px;
  background:var(--paper-2);
  border-left:3px solid var(--keep);
  border-radius:0 var(--r) var(--r) 0;
  font-size:1.02rem; line-height:1.65; color:var(--ink-2);
}

/* review / placeholder notice on legal pages */
.legal-flag{
  margin-top:28px;
  background:#FFF8EC;
  border:1px solid #E8D5AA;
  border-left:3px solid #C99A2E;
  border-radius:0 var(--r) var(--r) 0;
  padding:18px 22px;
}
.legal-flag p{
  font-size:.92rem; line-height:1.6;
  color:#5C4A20; margin-bottom:10px;
}
.legal-flag p:last-child{ margin-bottom:0; }
.legal-flag strong{ color:#3F3212; }
.legal-flag code{
  font-family:var(--mono); font-size:.85em;
  background:#F3E7CC; padding:1px 5px; border-radius:2px;
}

.legal h2{
  font-size:1.42rem;
  margin-top:46px; margin-bottom:14px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.legal h3{
  font-size:1.02rem;
  margin-top:26px; margin-bottom:9px;
}
.legal p{
  margin-bottom:15px;
  color:var(--ink-2); line-height:1.68;
}
.legal p strong{ color:var(--ink); font-weight:600; }

.legal a{
  color:var(--keep); font-weight:500;
  text-underline-offset:3px;
}
.legal a:hover{ color:var(--ink); }

.legal-list{ margin:0 0 15px; padding-left:22px; }
.legal-list li{
  margin-bottom:10px; color:var(--ink-2); line-height:1.65;
}
.legal-list li strong{ color:var(--ink); font-weight:600; }

.legal-back{
  margin-top:52px; padding-top:26px;
  border-top:1px solid var(--line);
}
.legal-back a{
  display:inline-flex; align-items:center;
  min-height:44px;
  font-family:var(--mono); font-size:.8rem;
  letter-spacing:.04em;
}

/* ---- reusable legal footer -------------------------------
   Themed to this site: inherits the mono utility face, the
   footer's paper-on-slab palette, and the 44px target rule. */

#legal-footer{
  margin-top:38px;
  padding-top:24px;
  border-top:1px solid var(--line-dark);
  display:flex; flex-wrap:wrap;
  align-items:center; justify-content:space-between;
  gap:10px 26px;
}

.lf-legal{
  display:flex; flex-wrap:wrap; align-items:center;
  gap:4px 18px;
}

.lf-copy{
  font-family:var(--mono);
  font-size:.75rem; line-height:1.6;
  letter-spacing:.03em;
  color:rgba(251,249,245,.56);
}
.lf-loc{ color:rgba(251,249,245,.54); }

.lf-links{ display:flex; flex-wrap:wrap; gap:2px; }
.lf-links a,
.lf-social a{
  display:inline-flex; align-items:center;
  min-height:44px; padding:0 10px;
  font-family:var(--mono); font-size:.75rem;
  letter-spacing:.03em;
  color:rgba(251,249,245,.72);
  text-decoration:none; border-radius:var(--r);
}
.lf-links a:hover,
.lf-social a:hover{
  color:var(--paper);
  background:rgba(255,255,255,.08);
  text-decoration:underline;
}

.lf-contact{
  font-family:var(--mono); font-size:.75rem;
  color:rgba(251,249,245,.6);
}
.lf-contact a{ color:inherit; }
.lf-sep{ opacity:.5; }

.lf-social{ display:flex; flex-wrap:wrap; gap:2px; }

.lf-licensing{
  flex-basis:100%;
  font-size:.74rem; line-height:1.55;
  color:rgba(251,249,245,.56);
  max-width:70ch;
}

@media (max-width:620px){
  #legal-footer{ flex-direction:column; align-items:flex-start; gap:4px; }
  .lf-links{ margin-left:-10px; }
}
