/* ===========================================================
   Mediant Partners — site styles
   Brand: warm slate, cream and amber (EB Garamond / Inter / JetBrains Mono).
   Light paper is the page; slate is used for the hero, "what we do",
   "why Mediant" and the footer. Project panels carry each product's own colour.
   =========================================================== */
:root {
  --slate:        #0d0e10;
  --slate-2:      #16181b;
  --slate-3:      #1f2226;
  --cream:        #f0e3c0;
  --cream-quiet:  rgb(240 227 192 / 0.72);
  --cream-rule:   rgb(240 227 192 / 0.18);
  --paper:        #f7f3e9;
  --paper-2:      #efe8d6;
  --paper-3:      #e4dac1;
  --ink:          #17130c;
  --ink-2:        #4a4234;
  --ink-rule:     rgb(23 19 12 / 0.16);
  --amber:        #e69649;
  --amber-ink:    #9a4a0c;   /* amber for text on paper, AA */
  --amber-strong: #b85e1a;

  --font-display: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --max: 76rem;
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--amber-strong); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--amber); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 50rem; }

.label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin: 0 0 1.25rem;
}
.dark .label, .hero .label { color: var(--amber); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--slate);
  color: var(--cream);
  border-bottom: 1px solid var(--cream-rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand svg { width: 1.6rem; height: 2.4rem; color: var(--amber); }
.brand span { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav a { text-decoration: none; font-size: 1rem; font-weight: 500; color: var(--cream-quiet); padding: .5rem 0; transition: color .15s; }
.nav a:hover { color: var(--cream); }
.nav a.cta {
  color: var(--slate); background: var(--amber); padding: .65rem 1.2rem; border-radius: 999px; font-weight: 600;
  transition: background .15s, transform .15s var(--ease);
}
.nav a.cta:hover { background: var(--cream); }

/* ---------- hero ---------- */
.hero { background: var(--slate); color: var(--cream); padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: 1.04; letter-spacing: -0.015em; font-weight: 400; margin-bottom: 1.75rem; }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero .lede { font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.55; color: var(--cream-quiet); max-width: 38em; margin-bottom: 2.25rem; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6em; text-decoration: none;
  font-weight: 600; font-size: 1.0625rem; padding: 1rem 1.7rem; border-radius: 999px;
  background: var(--amber); color: var(--slate); transition: background .15s, transform .15s var(--ease);
  min-height: 3.25rem;
}
.btn:hover { background: var(--cream); transform: translateY(-1px); }
.text-link { font-weight: 500; color: var(--cream); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.text-link:hover { color: var(--amber); }
.hero-mark { color: var(--cream); justify-self: center; width: min(100%, 22rem); }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
.hero-mark .mp-line { stroke: currentColor; fill: none; }
.hero-mark .mp-finial, .hero-mark .mp-reticle-dot { fill: var(--amber); }
.hero-mark .mp-node { fill: var(--amber); }
.hero-mark .mp-node-halo, .hero-mark .mp-reticle { stroke: var(--amber); }

.facts { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--cream-rule); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.facts dt { font-family: var(--font-display); font-size: clamp(2.5rem, 4.5vw, 3.75rem); line-height: 1; color: var(--cream); }
.facts dd { margin: .5rem 0 0; color: var(--cream-quiet); font-size: 1rem; line-height: 1.5; max-width: 20em; }
.facts dt small { font-size: .5em; color: var(--amber); margin-left: .15em; font-style: italic; }

/* ---------- section scaffolding ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head { max-width: 56rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.section-head p { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); color: var(--ink-2); max-width: 40em; margin: 0; }
.dark { background: var(--slate); color: var(--cream); }
.dark .section-head p { color: var(--cream-quiet); }

/* ---------- projects ---------- */
.projects { background: var(--paper); }
.project {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--ink-rule);
}
.project:last-child { border-bottom: 1px solid var(--ink-rule); }
.project.flip .project-copy { order: 2; }
.project-num { font-family: var(--font-mono); font-size: .875rem; letter-spacing: .12em; color: var(--amber-ink); margin-bottom: 1rem; }
.project h3 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.01em; margin-bottom: .6rem; }
.project .tag { font-family: var(--font-display); font-style: italic; font-size: clamp(1.375rem, 2.2vw, 1.75rem); color: var(--ink-2); margin-bottom: 1.4rem; line-height: 1.25; }
.project .desc { color: var(--ink-2); max-width: 34em; }
.project ul { list-style: none; margin: 1.5rem 0 1.9rem; padding: 0; display: grid; gap: .7rem; }
.project li { position: relative; padding-left: 1.6rem; max-width: 34em; }
.project li::before { content: ""; position: absolute; left: 0; top: .72em; width: .8rem; height: 2px; background: var(--amber-strong); }
.project .links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55em; text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  padding: .85rem 1.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); min-height: 3rem;
  transition: background .15s, transform .15s var(--ease);
}
.pill:hover { background: var(--amber-ink); transform: translateY(-1px); }
.arrow-link { font-weight: 600; text-decoration-color: var(--amber-strong); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.arrow-link:hover { color: var(--amber-ink); }

/* project art panels */
.panel { border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.75rem); position: relative; overflow: hidden; min-height: 26rem; display: flex; flex-direction: column; justify-content: center; gap: .9rem; }
.panel .cap { position: absolute; right: 1.25rem; bottom: .9rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }

/* TyreStack */
.panel-ts { background: #0f1216; color: #eef1f5; font-family: var(--font-body); }
.panel-ts .bubble { background: #1d222a; border-radius: 4px 18px 18px 18px; padding: .9rem 1.15rem; max-width: 24rem; font-size: 1rem; line-height: 1.45; }
.panel-ts .bubble small { display: block; color: #7a9dff; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; margin-bottom: .25rem; text-transform: uppercase; }
.panel-ts .arrow { color: #7a9dff; font-family: var(--font-mono); font-size: .875rem; padding-left: 1rem; }
.panel-ts .quote { background: #fff; color: #1b1f26; border-radius: 16px; padding: 1.1rem 1.3rem; max-width: 26rem; margin-left: auto; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.panel-ts .quote b { display: block; font-family: "Barlow Semi Condensed", var(--font-body); font-weight: 800; font-size: 1.25rem; margin-bottom: .35rem; }
.panel-ts .quote span { display: flex; justify-content: space-between; font-size: .9375rem; color: #4d5562; padding: .2rem 0; border-top: 1px solid rgba(27,31,38,.1); }
.panel-ts .van { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; align-items: center; background: #161a20; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 1rem 1.2rem; max-width: 30rem; }
.panel-ts .van i { display: block; height: .8rem; border-radius: 4px; background: #2457e6; }
.panel-ts .van i.b { background: #2f9e5f; }
.panel-ts .van i.c { background: #7a9dff; opacity: .5; }
.panel-ts .van em { font-style: normal; font-family: var(--font-mono); font-size: .8125rem; color: #b3bac4; }

/* TipBop */
.panel-tb { background: #f70378; color: #fff; align-items: center; }
.panel-tb .phone { background: #fff; color: #1a0a12; width: min(100%, 19rem); border-radius: 28px; padding: 1.6rem 1.5rem 1.5rem; box-shadow: 0 30px 60px rgba(60,0,30,.35); text-align: center; }
.panel-tb .phone .who { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; margin-bottom: .25rem; }
.panel-tb .phone .sub { font-size: .9375rem; color: #6b5560; margin-bottom: 1.2rem; }
.panel-tb .amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.1rem; }
.panel-tb .amounts span { border: 2px solid #f3dce6; border-radius: 12px; padding: .75rem 0; font-weight: 600; font-size: 1.125rem; }
.panel-tb .amounts span.on { border-color: #f70378; background: #fff0f6; color: #c1015f; }
.panel-tb .pay { background: #1a0a12; color: #fff; border-radius: 999px; padding: .95rem 0; font-weight: 600; font-size: 1.0625rem; }
.panel-tb .badge { position: absolute; left: clamp(1rem, 3vw, 2.5rem); top: clamp(1rem, 3vw, 2.5rem); width: 5.25rem; height: 5.25rem; border-radius: 50%; border: 2px solid rgb(255 255 255 / .85); display: grid; place-items: center; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.2; }
.panel-tb .badge::after { content: ""; position: absolute; inset: -.7rem; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); }

/* ZooLog */
.panel-zl { background: #08160c; color: #e8f2da; }
.panel-zl .row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; background: #0f2415; border: 1px solid rgb(166 222 43 / .22); border-radius: 14px; padding: .95rem 1.2rem; max-width: 32rem; }
.panel-zl .row:nth-child(2) { margin-left: clamp(0rem, 4vw, 2.5rem); }
.panel-zl .row:nth-child(3) { margin-left: clamp(0rem, 8vw, 5rem); }
.panel-zl .row b { display: block; font-weight: 600; font-size: 1.0625rem; }
.panel-zl .row span { font-size: .9375rem; color: #a9bf94; }
.panel-zl .row em { font-style: normal; font-family: var(--font-mono); font-size: .8125rem; background: #a6de2b; color: #08160c; padding: .3rem .65rem; border-radius: 999px; font-weight: 500; }
.panel-zl .row em.due { background: transparent; color: #a6de2b; border: 1px solid #a6de2b; }
.panel-zl .title { font-family: var(--font-display); font-size: 1.75rem; color: #a6de2b; margin-bottom: .2rem; }

/* ---------- what we do ---------- */
.dark.what { background: var(--slate); }
.do-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cream-rule); }
.do-list li { display: grid; grid-template-columns: 5.5rem minmax(0, 14rem) minmax(0, 1fr); gap: 1rem 2.5rem; align-items: baseline; padding: clamp(1.75rem, 3.5vw, 2.75rem) 0; border-bottom: 1px solid var(--cream-rule); }
.do-list .n { font-family: var(--font-mono); color: var(--amber); font-size: .9375rem; letter-spacing: .1em; }
.do-list h3 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1; }
.do-list p { margin: 0; color: var(--cream-quiet); font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); max-width: 36em; }

/* ---------- partners ---------- */
.partners { background: var(--paper-2); }
.partner-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.partner { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.partner:nth-child(2) { margin-top: 3rem; }
.partner:nth-child(3) { margin-top: 6rem; }
.partner .yrs { font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; color: var(--amber-ink); }
.partner .yrs small { font-size: .35em; font-style: italic; margin-left: .2em; color: var(--ink-2); }
.partner h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin: .75rem 0 .25rem; }
.partner .role { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.partner p { color: var(--ink-2); margin: 0; }
.together { margin-top: clamp(3rem, 6vw, 5rem); max-width: 48rem; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); color: var(--ink-2); }

/* ---------- why mediant ---------- */
.why { text-align: left; }
.why .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.why h2 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.05; margin-bottom: 1.5rem; }
.why p { color: var(--cream-quiet); font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); }
.why blockquote { margin: 2rem 0 0; padding-left: 1.5rem; border-left: 2px solid var(--amber); font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.3; color: var(--cream); }
.interval { width: 100%; color: var(--cream); }
.interval line, .interval path { stroke: currentColor; fill: none; }

/* ---------- contact ---------- */
.contact { background: var(--amber); color: var(--slate); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.contact .label { color: var(--slate); opacity: .75; }
.contact h2 { font-size: clamp(2.75rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 14em; margin-bottom: 2rem; font-weight: 400; }
.contact p { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); max-width: 34em; margin-bottom: 2rem; }
.contact .mail { font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, 3.75rem); color: var(--slate); text-decoration-thickness: 3px; text-underline-offset: .15em; word-break: break-word; }
.contact .mail:hover { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: var(--cream-quiet); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; font-size: 1rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand { margin-bottom: 1.25rem; color: var(--cream); }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; color: var(--cream); }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.site-footer .legal { max-width: 28em; font-size: .9375rem; line-height: 1.6; margin: 0; }
.site-footer .base { grid-column: 1 / -1; border-top: 1px solid var(--cream-rule); padding-top: 1.5rem; font-size: .9375rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* ---------- sub-pages (privacy, complaint) ---------- */
.subpage-head { background: var(--slate); color: var(--cream); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.subpage-head h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1.05; font-weight: 400; margin-bottom: 1.25rem; }
.crumbs { font-family: var(--font-mono); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1.5rem; color: var(--cream-quiet); display: flex; flex-wrap: wrap; gap: .5rem 0; }
.crumbs a, .crumbs span { text-decoration: none; }
.crumbs a::after, .crumbs span:not(:last-child)::after { content: "/"; margin: 0 .75em; color: var(--amber); }
.crumbs span { color: var(--cream); }
.standfirst { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4rem); color: var(--cream-quiet); max-width: 38em; margin: 0 0 1rem; }
.page-meta { font-family: var(--font-mono); font-size: .875rem; color: var(--cream-quiet); margin: 0; }
.subpage { padding: clamp(3rem, 6vw, 5rem) 0; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 2.75rem 0 1rem; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.4rem; margin: 1.75rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--amber-ink); text-decoration-thickness: 2px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-weight: 600; margin-bottom: .45rem; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--ink-rule); border-radius: var(--r-sm);
  padding: .85rem 1rem; min-height: 3rem;
}
input:focus, textarea:focus { outline: 2px solid var(--amber-strong); outline-offset: 1px; border-color: var(--amber-strong); }
.consent-row { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 2rem; }
.consent-row input { margin-top: .4rem; width: 1.15rem; height: 1.15rem; accent-color: var(--amber-strong); flex: none; }
.consent-row label { font-weight: 400; margin: 0; color: var(--ink-2); }
button[type=submit] { font: inherit; font-weight: 600; cursor: pointer; border: 0; background: var(--ink); color: var(--paper); padding: 1rem 1.8rem; border-radius: 999px; min-height: 3.25rem; transition: background .15s; }
button[type=submit]:hover { background: var(--amber-ink); }
.form-note { margin: 1rem 0 0; color: var(--ink-2); font-size: 1rem; }
.alert { border: 1.5px solid var(--ink-rule); border-radius: var(--r-md); padding: 1.1rem 1.3rem; margin-bottom: 1.75rem; background: #fff; }
.alert strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: .3rem; }
.alert p { margin: 0; color: var(--ink-2); }
.alert.ok { border-color: #2f7d4f; }
.alert.err { border-color: #b3261e; }
.side-card { background: var(--paper-2); border-radius: var(--r-md); padding: 1.6rem; margin-bottom: 1.25rem; }
.side-card .label { margin-bottom: .6rem; }
.side-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.side-card p, .side-card ol { margin: 0; color: var(--ink-2); font-size: 1rem; }
.side-card ol { padding-left: 1.2em; }
.side-card li { margin-bottom: .5em; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > div > *, .hero-mark { animation: rise .8s var(--ease) both; }
  .hero .wrap > div > :nth-child(1) { animation-delay: .05s; }
  .hero .wrap > div > :nth-child(2) { animation-delay: .15s; }
  .hero .wrap > div > :nth-child(3) { animation-delay: .25s; }
  .hero .wrap > div > :nth-child(4) { animation-delay: .35s; }
  .hero-mark { animation-delay: .3s; }
  .hero-mark .mp-node-halo { transform-origin: 75px -40px; animation: pulse 3.2s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.7); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .hero .wrap, .why .wrap, .project, .two-col { grid-template-columns: 1fr; }
  .hero-mark { order: -1; width: 7.5rem; justify-self: start; }
  .project.flip .project-copy { order: 0; }
  .panel { min-height: 0; }
  .do-list li { grid-template-columns: 3.5rem 1fr; }
  .do-list p { grid-column: 2; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner:nth-child(2), .partner:nth-child(3) { margin-top: 0; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .nav a:not(.cta) { display: none; }
  .brand span { font-size: 1.2rem; }
  .facts { grid-template-columns: 1fr; }
  .site-header .wrap { min-height: 4rem; }
  .panel-tb .badge { display: none; }
}

/* ---------- fixes from render review ---------- */
.section-head p.label { color: var(--amber-ink); font-size: .875rem; max-width: none; margin-bottom: 1.25rem; }
.dark .section-head p.label { color: var(--amber); }
.panel-ts .quote { min-width: min(100%, 18rem); }
.panel-ts .quote span { gap: 1.5rem; }
.panel-tb { align-items: flex-end; }
.panel-tb .badge { top: 50%; transform: translateY(-50%); left: clamp(1.25rem, 4vw, 2.75rem); }
.why h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
@media (max-width: 40rem) { .panel-tb { align-items: center; } }
.panel .cap { position: static; align-self: flex-end; margin-top: .6rem; }
.brand svg { flex: none; }
.nav a.cta { white-space: nowrap; }
@media (max-width: 40rem) { .brand span { font-size: 1.05rem; letter-spacing: .04em; } .nav a.cta { padding: .55rem 1rem; font-size: .9375rem; } .site-header .wrap { gap: .75rem; } }
