/* ===========================================================================
   Total Wellness Clinic — V2  "First Light"
   ---------------------------------------------------------------------------
   The idea: the practice's promise is moving out of a stressful dark into
   balance. So the site opens at night — a slow breathing field of light — and
   scrolling resolves it into daylight. The motion is the message, not decoration.

   Two rules here are load-bearing for the smooth scroller and must not change:
     html { scroll-behavior: auto }   — 'smooth' fights Lenis and the page catches
     overflow-anchor: none            — Chrome/Firefox scroll anchoring does the same
   Both are documented in cpanel-web-design-dev/references/cross-browser-traps.md.
   =========================================================================== */

:root {
  /* Night — the hero */
  --night-0:   #04101d;
  --night-1:   #071a2f;
  --night-2:   #0b2545;

  /* Brand, carried over from the logo */
  --navy:      #0e3f86;
  --navy-deep: #143361;

  /* The single accent. Used sparingly and never for large body copy. */
  --leaf:      #8ccc64;
  --leaf-lit:  #a8e08a;
  --leaf-deep: #5f9e35;

  /* Day — the body */
  --day:       #f8faf9;
  --day-warm:  #f2f6f4;
  --paper:     #ffffff;
  --ink:       #11212e;
  --ink-soft:  #43596b;
  --rule:      #d9e3e0;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  /* Tight tracking on display sizes — the opposite of V1's wide-set caps,
     which is most of why V1 reads dated. */
  --fs-hero:  clamp(2.9rem, 1.4rem + 6.4vw, 7.2rem);
  --fs-h1:    clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem);
  --fs-h2:    clamp(1.7rem, 1.2rem + 2.1vw, 3rem);
  --fs-h3:    clamp(1.15rem, 1rem + .7vw, 1.5rem);
  --fs-lede:  clamp(1.05rem, .98rem + .5vw, 1.3rem);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

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

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

html {
  /* MUST stay auto — see header. Anchor links are animated in JS instead. */
  scroll-behavior: auto;
  overflow-anchor: none;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-anchor: none;
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .16vw, 1.08rem);
  font-weight: 350;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }
.mid { max-width: 980px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--night-1); color: #fff; padding: .8em 1.4em;
}
.skip:focus { left: 0; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; }

.display {
  font-size: var(--fs-hero);
  line-height: .96;
  letter-spacing: -.028em;
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
}
.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.022em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1;  letter-spacing: -.018em; }
.h3 { font-size: var(--fs-h3); line-height: 1.28; letter-spacing: -.008em; font-weight: 400; }

.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--ink-soft); font-weight: 300; }
em { font-style: italic; }

/* Editorial section marker — a number and a hairline. Cheap, and it does more
   for "considered" than another icon in another rounded card would. */
.marker {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--leaf-deep);
  margin-bottom: clamp(1.4rem, 2vw, 2.4rem);
}
.marker::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.on-night .marker { color: var(--leaf); }
.on-night .marker::after { background: rgba(255,255,255,.16); }

/* ---------------------------------------------------------------- header */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1rem var(--gut);
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease),
              border-color .5s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head[data-solid="true"] {
  background: rgba(248,250,249,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--rule);
  padding-block: .6rem;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif); font-size: 1.06rem; letter-spacing: -.01em;
  color: var(--paper);
}
.brand-sub {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 600;
}
.site-head[data-solid="true"] .brand-name { color: var(--ink); }
.site-head[data-solid="true"] .brand-sub { color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.9rem); }
.nav a {
  font-size: .82rem; letter-spacing: .01em; text-decoration: none;
  color: rgba(255,255,255,.82); padding: .4em 0; position: relative; white-space: nowrap;
}
.site-head[data-solid="true"] .nav a { color: var(--ink-soft); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--leaf); transition: right .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--leaf); }

.cta {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .78em 1.5em; border-radius: 2px; text-decoration: none;
  background: var(--leaf); color: #08240a; font-weight: 700;
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.cta:hover { background: var(--leaf-lit); transform: translateY(-1px); }
.cta--ghost {
  background: transparent; color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
}
.cta--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--leaf); }
.cta--ink { background: var(--night-1); color: var(--paper); }
.cta--ink:hover { background: var(--navy); }

.menu-btn {
  background: none; border: 0; cursor: pointer;
  color: var(--paper);
  /* 44x44 is the floor, not a preference: it is Apple's HIG minimum and WCAG
     2.5.5. The bars themselves are 22px wide, which measured 35x38 with padding
     alone — under the floor for the one control that opens navigation on a
     phone. Size the button explicitly and centre the bars inside it. */
  width: 44px; height: 44px; padding: 0;
  display: none; place-items: center; align-content: center;
}
.site-head[data-solid="true"] .menu-btn { color: var(--ink); }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--night-0); color: var(--paper); overflow: hidden;
  padding: 0 0 clamp(3rem, 8vh, 7rem);
  isolation: isolate;
}
canvas[data-hero-canvas] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
/* Vignette + a warm horizon lift. Two gradients do most of the cinematic work. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 108%, rgba(140,204,100,.20), transparent 62%),
    radial-gradient(100% 70% at 50% 0%,  rgba(14,63,134,.42), transparent 70%),
    radial-gradient(140% 100% at 50% 50%, transparent 38%, rgba(4,16,29,.82) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow {
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--leaf); font-weight: 600; margin: 0 0 clamp(1rem,2vh,1.8rem);
}
.hero h1 { max-width: 15ch; }
.hero h1 .soft { color: rgba(255,255,255,.55); font-style: italic; }
.hero-sub {
  margin: clamp(1.4rem,3vh,2.4rem) 0 0; max-width: 46ch;
  font-size: var(--fs-lede); color: rgba(255,255,255,.74); font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.8rem,4vh,2.8rem); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: clamp(2rem,5vh,3.4rem) 0 0;
  padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .8rem; color: rgba(255,255,255,.6);
}
.hero-meta b { color: var(--paper); font-weight: 600; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 3; transform: translateX(-50%);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.42); display: flex; flex-direction: column; align-items: center; gap: .55rem;
}
.scroll-hint i { display: block; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.5), transparent); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(4.5rem, 11vh, 9.5rem) 0; position: relative; }
.section--warm { background: var(--day-warm); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night-1); color: var(--paper); }
.section--night .lede { color: rgba(255,255,255,.68); }

/* the daylight arriving out of the hero */
.dawn { height: clamp(60px, 12vh, 140px); background: linear-gradient(var(--night-0), var(--day)); }

/* ---------------------------------------------------------------- reveal */
/* Set by JS only when motion is allowed, so no-JS and reduced-motion users
   always see fully-rendered content rather than a blank page. */
[data-reveal] { will-change: opacity, transform; }
.motion-on [data-reveal] { opacity: 0; transform: translateY(24px); }
.motion-on [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* ---------------------------------------------------------------- tracks */
.tracks { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
@media (min-width: 800px) { .tracks { grid-template-columns: repeat(3, 1fr); } }
.track {
  background: var(--paper); padding: clamp(1.8rem, 3.4vw, 3.2rem);
  display: flex; flex-direction: column; gap: 1rem; position: relative; overflow: hidden;
  transition: background .5s var(--ease);
}
.track:hover { background: var(--day-warm); }
.track-img { aspect-ratio: 16 / 11; overflow: hidden; margin: -.4rem 0 .6rem; }
.track-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.track:hover .track-img img { transform: scale(1.045); }
.track h3 { margin: 0; }
.track p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.track .more {
  margin-top: auto; padding-top: .8rem; font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; color: var(--leaf-deep); text-decoration: none;
  display: inline-flex; align-items: center; gap: .5em;
}
.track .more span { transition: transform .3s var(--ease); }
.track:hover .more span { transform: translateX(4px); }

/* ---------------------------------------------------------------- editorial split */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--wide { grid-template-columns: .9fr 1.1fr; }
  .split--flip .split-media { order: -1; }
}
.split-media { position: relative; }
.split-media img { width: 100%; }

/* ---------------------------------------------------------------- quote */
.quote { max-width: 22ch; }
.quote blockquote {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.35rem, 1rem + 1.7vw, 2.5rem); line-height: 1.24;
  letter-spacing: -.018em; max-width: 20ch;
}
.quote-full { max-width: 34ch; }
.quote cite {
  display: block; margin-top: 1.8rem; font-style: normal; font-family: var(--sans);
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf);
  font-weight: 700;
}

/* ---------------------------------------------------------------- list of concerns */
.concerns { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.concerns li {
  font-size: .88rem; padding: .5em 1.05em; border: 1px solid var(--rule);
  border-radius: 999px; color: var(--ink-soft); background: var(--paper);
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.concerns li:hover { border-color: var(--leaf); color: var(--ink); }
.section--night .concerns li { background: transparent; border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.76); }
.section--night .concerns li:hover { border-color: var(--leaf); color: #fff; }

/* ---------------------------------------------------------------- expect list */
.expect { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.expect li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.expect .n {
  font-family: var(--serif); font-size: 1.05rem; color: var(--leaf-deep);
  line-height: 1.5; min-width: 1.6em;
}
.expect p { margin: 0; color: var(--ink-soft); }
.expect strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- portrait */
.portrait-wrap { position: relative; width: min(420px, 100%); margin-inline: auto; }
.portrait-wrap img { width: 100%; border-radius: 50%; position: relative; z-index: 2; }
/* Soft aura — two slow counter-rotating rings. Reads as calm, not busy. */
.portrait-wrap::before,
.portrait-wrap::after {
  content: ""; position: absolute; inset: -7%; border-radius: 50%; z-index: 1;
  border: 1px solid var(--leaf); opacity: .34;
}
.portrait-wrap::after { inset: -15%; border-color: var(--navy); opacity: .16; }
.motion-ok .portrait-wrap::before { animation: drift 26s linear infinite; }
.motion-ok .portrait-wrap::after  { animation: drift 34s linear infinite reverse; }
@keyframes drift { to { transform: rotate(360deg); } }
.portrait-glow {
  position: absolute; inset: -22%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(140,204,100,.24), transparent 66%);
  filter: blur(18px);
}

/* ---------------------------------------------------------------- credentials */
.creds { display: grid; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.cred {
  display: grid; gap: .2rem .5rem; padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 700px) { .cred { grid-template-columns: 1.2fr 1fr; align-items: baseline; } }
.cred b { font-weight: 500; font-family: var(--serif); font-size: 1.06rem; }
.cred span { color: var(--ink-soft); font-size: .88rem; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); }
@media (min-width: 780px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: .9rem; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.card ul { margin: .2rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .94rem; }
.card li { margin-bottom: .3rem; }

/* ---------------------------------------------------------------- hotlines */
.hotlines { display: grid; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
@media (min-width: 700px) { .hotlines { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .hotlines { grid-template-columns: repeat(3, 1fr); } }
.hotline { background: var(--night-1); padding: 1.7rem; display: flex; flex-direction: column; gap: .5rem; }
.hotline h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.58); font-weight: 700; }
.hotline a { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; color: var(--paper); letter-spacing: -.01em; }
.hotline a:hover { color: var(--leaf); }

/* ---------------------------------------------------------------- tips */
.tips { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
@media (min-width: 760px) { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tip { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem); }
.tip h3 { margin-bottom: .7rem; }
.tip p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------------------------------------------------------------- posts */
.posts { display: grid; gap: clamp(1.8rem, 3vw, 3rem); }
@media (min-width: 820px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-img { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1.1rem; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post:hover .post-img img { transform: scale(1.04); }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--leaf-deep); }
.post-meta { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: .5rem 0 .7rem; }

/* ---------------------------------------------------------------- form */
.form-grid { display: grid; gap: 1.1rem 1.4rem; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 0; border-bottom: 1px solid var(--rule); padding: .7em .1em; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--leaf); }
.section--night .field input, .section--night .field textarea {
  background: transparent; color: var(--paper); border-bottom-color: rgba(255,255,255,.24);
}
.section--night .field label { color: rgba(255,255,255,.6); }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 1.2rem; }
.section--night .form-note { color: rgba(255,255,255,.55); }
.alert { padding: 1em 1.2em; margin-bottom: 1.6em; font-size: .95rem; border: 1px solid; border-radius: 2px; }
.alert--ok  { background: #eef7e8; border-color: #bcdfa6; color: #33611c; }
.alert--err { background: #fdeeee; border-color: #eec4c0; color: #8d2b20; }
.alert a { color: inherit; }
/* Honeypot — the rule ships with the field in botguard, this is belt and braces. */
.bg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- contact band */
.band { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .band { grid-template-columns: 1.1fr .9fr; } }
.band-lines { display: grid; gap: .4rem; margin-top: 1.6rem; }
.band-lines a { font-family: var(--serif); font-size: clamp(1.2rem,1rem+1vw,1.7rem); text-decoration: none; color: var(--paper); }
.band-lines a:hover { color: var(--leaf); }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--night-0); color: rgba(255,255,255,.6); padding: clamp(3rem,7vh,5rem) 0 2.5rem; font-size: .85rem; }
.foot-grid { display: grid; gap: 2.4rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.42); margin: 0 0 1rem; font-weight: 700; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-foot a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-foot a:hover { color: var(--leaf); }
.foot-base { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.42); }
.foot-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.foot-brand img { width: 44px; }

/* ---------------------------------------------------------------- banner */
.pagehead { position: relative; background: var(--night-1); color: var(--paper); padding: clamp(8rem,18vh,12rem) 0 clamp(3.5rem,8vh,6rem); overflow: hidden; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 90% at 78% 12%, rgba(140,204,100,.16), transparent 58%); pointer-events: none; }
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { max-width: 18ch; }
.pagehead .lede { color: rgba(255,255,255,.7); margin-top: 1.4rem; max-width: 52ch; }

/* ---------------------------------------------------------------- responsive nav */
@media (max-width: 940px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--night-1); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.4rem; padding: 2rem var(--gut);
    transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav[data-open="true"] { transform: none; }
  .nav a { color: rgba(255,255,255,.86); font-size: 1.05rem; }
  .site-head[data-solid="true"] .nav a { color: rgba(255,255,255,.86); }
  .nav .cta { margin-top: .6rem; }
}

/* ---------------------------------------------------------------- motion off */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .motion-on [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-head, .scroll-hint, canvas[data-hero-canvas], .cta { display: none; }
  body { background: #fff; color: #000; }
}

/* Large, quiet watermark of the mark in the contact band. One repeat of the
   brand at low opacity reads as confidence; three at full strength reads as
   a template. */
.band-mark { display: flex; justify-content: center; }
.band-mark img { width: min(340px, 78%); opacity: .30; filter: saturate(.7); }
.motion-ok .band-mark img { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .26; } 50% { transform: scale(1.035); opacity: .36; } }

/* ---------------------------------------------------------------- 404 */
.notfound-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; max-width: 40ch; }
.notfound-list a {
  display: block; padding: .7rem 0; border-bottom: 1px solid var(--rule);
  font-size: 1.05rem;
}
