/* ==========================================================================
   BRISK WALNUT STUDIO — warm paper design system
   Direction: a quiet home-studio notebook. Warm paper ground, walnut-brown
   type and bands, deep teal as the single accent. Audio motifs throughout:
   level-meter micro-labels, a waveform rule under headings, a running
   record-clock readout in the hero.
   Fonts: DM Serif Display (display) / Work Sans (body) / system mono (readouts)

   Contrast (WCAG, measured):
     body  #1C2742 on paper #FBF3EF ........ 12.11:1
     muted #545C78 on paper #FBF3EF ........  6.22:1  (on #F6E6DF: 5.61:1)
     teal  #A3456A on paper #FBF3EF ........  6.85:1
     cream #F3E1DA on walnut #0D1A3A ....... 12.03:1
     teal-lit #F4B6C2 on walnut #0D1A3A ....  9.18:1
     paper #FBF3EF on teal #A3456A .........  6.85:1
   ========================================================================== */

:root {
  /* paper grounds */
  --paper:      #FBF3EF;   /* page ground */
  --paper-2:    #F6E6DF;   /* alternate band */
  --paper-3:    #F0D5CB;   /* footer, deeper band */
  --card:       #FFFBF9;   /* raised card face */
  /* walnut type and bands */
  --ink:        #1C2742;   /* body copy */
  --ink-strong: #0D1A3A;   /* headings */
  --muted:      #545C78;   /* secondary copy */
  --walnut:     #2A3A66;   /* fills, rules */
  --walnut-mid: #1A2850;   /* dark card on dark band */
  --walnut-dark:#0D1A3A;   /* dark bands */
  --on-dark:    #F3E1DA;   /* copy on walnut */
  --on-dark-2:  #CDB4BC;   /* muted copy on walnut */
  /* teal accent */
  --teal:       #A3456A;
  --teal-deep:  #84334F;
  --teal-lit:   #F4B6C2;   /* accent on walnut / teal grounds */
  --teal-pale:  #F6DDE3;

  --line:       rgba(28, 39, 66, .14);
  --line-2:     rgba(28, 39, 66, .26);
  --line-dark:  rgba(243, 225, 218, .16);

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body:    "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink-strong);
  line-height: 1.1;
  letter-spacing: -.005em;
  font-weight: 400;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.38rem); }
p  { margin: 0 0 1.15em; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--teal); color: var(--paper); padding: .7rem 1.1rem;
  font-family: var(--mono); font-size: .8rem;
}
.skip:focus { left: 0; }

/* ---------- shared micro-typography ---------- */

/* level-meter micro-label: five rising bars before the text */
.slug {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}
.slug::before {
  content: "";
  width: 26px; height: 12px; flex: none;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 100% / 3px 35% no-repeat,
    linear-gradient(var(--teal), var(--teal)) 5px 100% / 3px 60% no-repeat,
    linear-gradient(var(--teal), var(--teal)) 10px 100% / 3px 100% no-repeat,
    linear-gradient(var(--teal), var(--teal)) 15px 100% / 3px 70% no-repeat,
    linear-gradient(var(--teal), var(--teal)) 20px 100% / 3px 45% no-repeat;
}
.slug--light { color: var(--teal-lit); }
.slug--light::before {
  background:
    linear-gradient(var(--teal-lit), var(--teal-lit)) 0 100% / 3px 35% no-repeat,
    linear-gradient(var(--teal-lit), var(--teal-lit)) 5px 100% / 3px 60% no-repeat,
    linear-gradient(var(--teal-lit), var(--teal-lit)) 10px 100% / 3px 100% no-repeat,
    linear-gradient(var(--teal-lit), var(--teal-lit)) 15px 100% / 3px 70% no-repeat,
    linear-gradient(var(--teal-lit), var(--teal-lit)) 20px 100% / 3px 45% no-repeat;
}

/* readout caption */
.tc {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--muted);
}
.tc b { color: var(--teal); font-weight: 600; }

/* icon defaults */
.ic {
  width: 1.25em; height: 1.25em; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.wm {
  position: absolute; pointer-events: none;
  stroke: var(--walnut); fill: none; stroke-width: 1.1;
  opacity: .08;
  width: 190px; height: 190px;
}
.wm--light { stroke: var(--teal-lit); opacity: .12; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar { background: var(--walnut-dark); color: var(--on-dark-2); }
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .35rem 1.4rem;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-block: .45rem;
}
.topbar p { margin: 0; }
.topbar-l {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.topbar-l .ic { color: var(--teal-lit); }
.topbar-r { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--on-dark-2); }
.rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal-lit);
  display: inline-block; margin-right: .45rem; vertical-align: middle;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ==========================================================================
   HEADER — static, no nav, logo directly on the paper ground
   ========================================================================== */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .8rem;
}
.logo { display: inline-flex; line-height: 0; }
.logo img { height: 74px; width: auto; }
.header-tag {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); text-align: right; margin: 0;
}
.header-tag b { display: block; color: var(--ink-strong); letter-spacing: .12em; font-weight: 600; }
@media (max-width: 560px) { .header-tag { display: none; } .logo img { height: 48px; } }

/* ==========================================================================
   HERO — copy column + framed photograph with an offset teal block and a
   live record readout beneath it
   ========================================================================== */
.hero {
  position: relative;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  /* faint waveform watermark across the band */
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(163, 69, 106, .07) 0 3px, transparent 3px 11px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
          mask-image: linear-gradient(180deg, transparent, #000);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.6rem, 7vw, 5rem);
}
.hero h1 { margin-bottom: .6rem; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero-kicker { font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--ink); max-width: 34rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: 1.5rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line-2);
  max-width: 34rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .ic { color: var(--teal); width: 1rem; height: 1rem; }

.hero-media { position: relative; }
.hero-photo {
  position: relative; z-index: 1;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 18px 40px -22px rgba(13, 26, 58, .55);
}
.hero-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.hero-media::before {
  content: ""; position: absolute; z-index: 0;
  inset: 22px -18px -18px 22px;
  background: var(--teal); border-radius: var(--radius);
}
.hero-readout {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
  margin: -1.6rem 1.2rem 0 1.2rem;
  background: var(--walnut-dark); color: var(--on-dark);
  border-radius: 10px; padding: .7rem 1rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
}
.hero-readout p { margin: 0; }
.hero-readout b { color: var(--teal-lit); font-weight: 600; }
.hero-readout .rec-dot { background: #E89AAA; }
.meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; margin-left: auto; }
.meter i {
  display: block; width: 4px; height: 100%; border-radius: 2px;
  background: var(--teal-lit); transform-origin: bottom;
  animation: meter 1.1s ease-in-out infinite;
}
.meter i:nth-child(2n) { animation-duration: .9s; animation-delay: -.3s; }
.meter i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -.6s; }
.meter i:nth-child(5n) { animation-duration: .8s; animation-delay: -.2s; }
@keyframes meter { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media::before { inset: 14px -8px -10px 14px; }
}

/* ==========================================================================
   EDITORIAL NOTE
   ========================================================================== */
.note .wrap { padding-block: clamp(1.6rem, 4vw, 2.4rem) 0; }
.note-inner {
  display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.1rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}
.note-inner .ic { color: var(--teal); width: 1.5rem; height: 1.5rem; margin-top: .2rem; grid-row: span 2; }
.note h2 {
  font-size: .78rem; font-family: var(--mono); letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .3rem; font-weight: 600;
}
.note p { margin: 0; font-size: .96rem; color: var(--ink); max-width: 80ch; }

/* ==========================================================================
   ARTICLE — magazine grid with a varying column rhythm
   ========================================================================== */
.article { padding-block: clamp(3rem, 7vw, 5rem); }
.article-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.article-head p { font-size: 1.16rem; color: var(--ink); }

.band { margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.band > h2 {
  column-span: all; -webkit-column-span: all;
  position: relative; padding-top: 1.5rem;
}
/* waveform rule above each section heading */
.band > h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 84px; height: 12px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 3px, transparent 3px 7px);
  clip-path: polygon(0 40%, 12% 20%, 24% 45%, 36% 0, 48% 35%, 60% 10%, 72% 50%, 84% 25%, 100% 45%, 100% 55%, 84% 75%, 72% 50%, 60% 90%, 48% 65%, 36% 100%, 24% 55%, 12% 80%, 0 60%);
}

.band--two   { columns: 2; column-gap: clamp(1.6rem, 3vw, 2.8rem); }
.band--three { columns: 3; column-gap: clamp(1.4rem, 2.4vw, 2.2rem); font-size: 1rem; }
.band--two p, .band--three p, .band--two ul, .band--three ul { break-inside: avoid-column; }
.band--single p, .band--single ul { max-width: 68ch; }
.band--rule { border-top: 1px solid var(--line); padding-top: clamp(1.4rem, 3vw, 2.2rem); }

.band--split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.5rem, 3.4vw, 3rem);
  align-items: start;
}
.band--split > h2 { grid-column: 1 / -1; }
.band--split .b-text, .band--split .b-fig { min-width: 0; }
.band--split.flip .b-text { order: 2; }
.band--split.flip .b-fig  { order: 1; }

figure { margin: 0; }
.frame {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 14px 34px -22px rgba(13, 26, 58, .55);
}
.frame img { width: 100%; }
figcaption {
  margin-top: .75rem; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .08em; color: var(--muted); line-height: 1.65;
}
figcaption b { color: var(--teal); font-weight: 600; }

/* drawn panels used as figures */
.panel {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.panel h3 { margin-bottom: .8rem; }
.panel .wm { right: -46px; bottom: -46px; }
.panel > *:not(.wm) { position: relative; z-index: 1; }
.panel--dark { background: var(--walnut-dark); border-color: var(--walnut-dark); color: var(--on-dark); }
.panel--dark h3 { color: var(--paper); }

.speclist { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.speclist li {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem;
  padding: .62rem 0; border-top: 1px solid var(--line); margin: 0;
}
.speclist li:first-child { border-top: 0; padding-top: 0; }
.speclist .ic { color: var(--teal); width: 1.1rem; height: 1.1rem; margin-top: .3rem; }
.speclist b { color: var(--ink-strong); font-weight: 600; }
.speclist span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.panel--dark .speclist li { border-top-color: var(--line-dark); }
.panel--dark .speclist .ic { color: var(--teal-lit); }
.panel--dark .speclist b { color: var(--paper); }
.panel--dark .speclist span { color: var(--on-dark-2); }

/* level strip (replaces the old slate strip) */
.meter-strip {
  display: flex; align-items: center; gap: .9rem;
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  border-radius: 8px;
  padding: .55rem .85rem;
  margin-bottom: 1.1rem;
}
.meter-strip .bars {
  flex: none; width: 64px; height: 12px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal) 0 62%, #C9A04A 62% 82%, #B85868 82% 100%);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px);
          mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px);
}
.meter-strip span {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

/* pull quote */
.pull {
  column-span: all; -webkit-column-span: all;
  margin: 1.6rem 0;
  border-left: 4px solid var(--teal);
  padding: .2rem 0 .2rem 1.3rem;
  font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.35; color: var(--ink-strong);
}

.article ul.plain { margin: 0 0 1.15em; padding-left: 1.15rem; }
.article ul.plain li { margin-bottom: .5rem; }
.article ul.plain li::marker { color: var(--teal); }
.article strong, .article b { color: var(--ink-strong); font-weight: 600; }

@media (max-width: 880px) {
  .band--two, .band--three { columns: 1; }
  .band--split { grid-template-columns: 1fr; }
  .band--split.flip .b-text, .band--split.flip .b-fig { order: 0; }
}

/* ==========================================================================
   STEPS — dark walnut band, numbered track cards
   ========================================================================== */
.steps {
  background: var(--walnut-dark);
  color: var(--on-dark);
  padding-block: clamp(3.2rem, 7vw, 5.4rem);
}
.steps h2, .steps h3 { color: var(--paper); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.sec-head p { color: var(--muted); margin-bottom: 0; }
.steps .sec-head p { color: var(--on-dark-2); }

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
  list-style: none; margin: 0; padding: 0;
}
.step {
  position: relative;
  background: var(--walnut-mid);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  overflow: hidden;
}
.step-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.step-num {
  font-family: var(--display);
  font-size: 2.6rem; line-height: 1;
  color: var(--teal-lit);
}
.step-ic {
  margin-left: auto;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: var(--paper);
}
.step-ic .ic { width: 1.2rem; height: 1.2rem; }
.step-body { position: relative; }
.step .wm { right: -40px; bottom: -46px; width: 155px; height: 155px; }
.step h3 { margin-bottom: .5rem; position: relative; z-index: 1; }
.step p { margin: 0; font-size: .95rem; color: var(--on-dark-2); position: relative; z-index: 1; }
.step .tc { display: block; margin-bottom: .5rem; color: var(--on-dark-2); }
.step .tc b { color: var(--teal-lit); }

/* ==========================================================================
   FEATURES — bento grid
   ========================================================================== */
.features { padding-block: clamp(3.2rem, 7vw, 5.4rem); }
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.3rem);
}
.bcard {
  position: relative; overflow: hidden;
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.45rem;
}
.bcard--wide { grid-column: span 3; }
.bcard--full { grid-column: span 4; }
.bcard > *:not(.wm) { position: relative; z-index: 1; }
.bcard .wm { right: -54px; top: -34px; width: 168px; height: 168px; }
.bcard-ic {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 10px; color: var(--paper); background: var(--teal); margin-bottom: 1rem;
}
.bcard-ic .ic { width: 1.25rem; height: 1.25rem; }
.bcard h3 { margin-bottom: .45rem; }
.bcard p { margin: 0; font-size: .95rem; color: var(--muted); }
.bcard ul { margin: .8rem 0 0; padding-left: 1.05rem; font-size: .93rem; color: var(--muted); }
.bcard ul li { margin-bottom: .35rem; }
.bcard ul li::marker { color: var(--teal); }
.bcard .tc { display: block; margin-bottom: .7rem; }
.bcard--teal { background: var(--teal); border-color: var(--teal); }
.bcard--teal h3 { color: var(--paper); }
.bcard--teal p, .bcard--teal ul, .bcard--teal .tc { color: var(--teal-pale); }
.bcard--teal .tc b { color: var(--paper); }
.bcard--teal ul li::marker { color: var(--teal-lit); }
.bcard--teal .bcard-ic { background: var(--paper); color: var(--teal); }
.bcard--teal .wm { stroke: var(--paper); opacity: .12; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard, .bcard--wide, .bcard--full { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ — two-column card grid, one row open at a time
   ========================================================================== */
.faq {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(3.2rem, 7vw, 5.4rem);
}
.faq-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem clamp(.9rem, 2vw, 1.3rem);
  align-items: start;
}
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-list details[open] { border-color: var(--teal); box-shadow: 0 10px 26px -20px rgba(163, 69, 106, .7); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; gap: .8rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
  font-weight: 600;
  font-size: clamp(.98rem, 1.4vw, 1.06rem);
  color: var(--ink-strong);
  line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal); }
.faq-q {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  color: var(--paper); background: var(--teal); border-radius: 999px;
  padding: .2rem .5rem; margin-top: .12rem; font-weight: 500;
}
.faq-chev {
  width: 1.35rem; height: 1.35rem; flex: none;
  color: var(--teal);
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .22s ease;
  margin-top: .1rem;
}
.faq-list details[open] .faq-chev { transform: rotate(45deg); }
.faq-a { padding: 0 1.1rem 1.2rem; border-top: 1px dashed var(--line-2); padding-top: .9rem; margin-inline: 1.1rem; padding-inline: 0; }
.faq-a p { margin: 0 0 .8em; color: var(--ink); font-size: .97rem; }
.faq-a p:last-child { margin-bottom: 0; }

@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   NEWSLETTER — teal panel
   ========================================================================== */
.news { padding-block: clamp(3.2rem, 7vw, 5rem); }
.news-frame {
  position: relative;
  background: var(--teal);
  color: var(--teal-pale);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.7rem, 4vw, 3rem);
  overflow: hidden;
}
.news-frame .wm { right: -40px; bottom: -54px; width: 210px; height: 210px; stroke: var(--paper); opacity: .1; }
.news-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center;
}
.news-grid h2 { margin-bottom: .5rem; color: var(--paper); }
.news-grid > div > p { color: var(--teal-pale); margin-bottom: 0; }
.news .slug { color: var(--paper); }
.news .slug::before { filter: brightness(0) invert(1); opacity: .85; }
.news-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.news-form label {
  flex: 1 1 100%; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-pale);
}
.news-form input[type="email"] {
  flex: 1 1 14rem; min-width: 0;
  background: var(--card);
  border: 2px solid transparent; border-radius: 8px;
  color: var(--ink-strong);
  font-family: var(--body); font-size: 1rem;
  padding: .72rem .9rem;
}
.news-form input::placeholder { color: var(--muted); }
.news-form input:focus-visible { border-color: var(--teal-lit); outline-color: var(--paper); }
.news-note { flex: 1 1 100%; font-size: .86rem; color: var(--teal-pale); margin: .2rem 0 0; }
.news-note a, .news-ok a { color: var(--paper); }
.news-ok { flex: 1 1 100%; margin: .3rem 0 0; font-size: .92rem; color: var(--paper); }
.news :focus-visible { outline-color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  padding: .76rem 1.35rem; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer;
  background: var(--walnut-dark); color: var(--paper);
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--walnut); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink-strong); border-color: var(--line-2); }
.btn-line:hover { background: var(--paper-2); color: var(--ink-strong); }

@media (max-width: 820px) { .news-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER — deeper paper band so the walnut logo reads directly on it
   ========================================================================== */
.site-footer { background: var(--paper-3); color: #4A5170; border-top: 4px solid var(--walnut); }
.site-footer .wrap { padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
}
.footer-brand img { height: 66px; width: auto; margin-bottom: .9rem; }
.footer-brand p { font-size: .93rem; color: #4A5170; max-width: 38ch; margin: 0; }
.site-footer h3 {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: .9rem; font-weight: 600;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: var(--ink-strong); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--teal-deep); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .93rem; color: #4A5170; line-height: 1.6; }
.site-footer address b { color: var(--ink-strong); display: block; margin-bottom: .25rem; }
.site-footer address span { display: block; margin-bottom: .2rem; overflow-wrap: anywhere; }
.site-footer address a { color: var(--teal-deep); }
.footer-bottom {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-2);
}
.footer-bottom p { font-size: .86rem; color: #4A5170; margin: 0 0 .5rem; max-width: 92ch; }
.footer-bottom .cprt { font-family: var(--mono); letter-spacing: .08em; color: var(--ink-strong); }
.site-footer :focus-visible { outline-color: var(--teal-deep); }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 3px, transparent 3px 8px);
  opacity: .35;
}
.page-hero .wrap { padding-block: clamp(2.6rem, 6vw, 4.2rem); position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.page-hero p { color: var(--ink); max-width: 60ch; margin: 0; font-size: 1.08rem; }
.page-hero .wm { right: -30px; top: -34px; width: 235px; height: 235px; }

.prose { padding-block: clamp(2.4rem, 6vw, 4rem); }
.prose h2, .prose h3, .prose p, .prose ul, .prose ol,
.prose .callout, .prose .table-scroll { max-width: 58rem; }
.prose h2 { margin-top: 2.4rem; position: relative; padding-top: 1.2rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 3px; border-radius: 2px; background: var(--teal);
}
.prose h3 { margin-top: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--teal); }
.prose b, .prose strong { color: var(--ink-strong); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.2rem 0; background: var(--card); }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line-2); vertical-align: top; }
.prose th { background: var(--paper-2); color: var(--ink-strong); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  background: var(--card);
  padding: 1.1rem 1.25rem;
  margin: 1.6rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .tc { display: block; margin-bottom: .5rem; }

.contact-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 1.1rem; margin: 1.6rem 0 0; padding: 0; list-style: none;
}
.contact-cards li {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--teal); border-radius: 12px;
  padding: 1.3rem 1.2rem; margin: 0;
}
.contact-cards li > *:not(.wm) { position: relative; z-index: 1; }
.contact-cards .wm { right: -46px; bottom: -50px; width: 150px; height: 150px; }
.contact-cards h3 { margin-bottom: .35rem; margin-top: 0; }
.contact-cards p { margin: 0; font-size: .95rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-cards li::marker { content: none; }

/* ==========================================================================
   CONTACT FORM — contact.html. No back end: a valid submit composes the
   message in the visitor's own email app.
   ========================================================================== */
.cform {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.cform-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}
.cform-intro h2 { position: relative; padding-top: 1.2rem; }
.cform-intro h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 3px; border-radius: 2px; background: var(--teal);
}
.cform-steps {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  border-top: 1px solid var(--line-2);
}
.cform-steps li {
  display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .9rem;
  align-items: baseline;
  padding: .7rem 0; margin: 0;
  border-bottom: 1px solid var(--line-2);
  font-size: .95rem; line-height: 1.5; color: var(--muted);
}
.cform-step-txt b { color: var(--ink-strong); font-weight: 600; }

.cform-frame {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
}
.cform-frame .wm { right: -40px; bottom: -54px; width: 210px; height: 210px; }
.cform-form { position: relative; z-index: 1; }
.cform-form > * { margin: 0; }
.cform-form > * + * { margin-top: 1.2rem; }
.cform-form > .cform-status:empty { margin-top: 0; }

.cform-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.cform-field { display: grid; gap: .45rem; min-width: 0; align-content: start; }
.cform-field label {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem;
  font-family: var(--mono); font-size: .7rem; line-height: 1.3;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  cursor: pointer;
}
.cform-field:focus-within label { color: var(--teal); }
.cform-req { color: var(--teal); font-size: .62rem; letter-spacing: .14em; }

.cform-input {
  display: block; width: 100%; min-width: 0; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: var(--paper);
  color: var(--ink-strong);
  caret-color: var(--teal);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--body); font-size: 1rem; line-height: 1.5;
  padding: .72rem .9rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cform-input::placeholder { color: var(--muted); opacity: 1; }
.cform-input:hover { border-color: var(--muted); }
.cform-input:focus { border-color: var(--teal); }
.cform-input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.cform-input[aria-invalid="true"] { border-color: #A3456A; box-shadow: inset 4px 0 0 #A3456A; }
textarea.cform-input { min-height: 10.5rem; resize: vertical; }

.cform-select { position: relative; }
.cform-select select { padding-right: 2.8rem; cursor: pointer; }
.cform-select::after {
  content: ""; position: absolute; top: 50%; right: 1.05rem;
  width: .5rem; height: .5rem; margin-top: -.38rem;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); pointer-events: none;
}

.cform-err {
  display: flex; align-items: flex-start; gap: .5rem;
  margin: 0; font-size: .92rem; line-height: 1.45; color: #84334F;
}
.cform-err::before {
  content: "!"; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  display: grid; place-items: center; margin-top: .12em;
  background: #84334F; color: var(--paper); font-size: .72rem; font-weight: 700;
}
.cform-err[hidden] { display: none; }

.cform-under {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: .3rem 1rem;
}
.cform-under .cform-err { flex: 1 1 14rem; }
.cform-count { margin: 0 0 0 auto; white-space: nowrap; line-height: 1.45; padding-top: .1rem; }
.cform-count b { color: var(--ink-strong); font-weight: 600; }
.cform-count.is-near b { color: #84334F; }

.cform-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .9rem 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line-2);
}
.cform-actions .btn { flex: none; }
.cform-note { flex: 1 1 15rem; margin: 0; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.cform-note b { color: var(--ink-strong); font-weight: 600; }

.cform-ok {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  background: var(--paper);
  padding: 1rem 1.15rem;
  overflow-wrap: anywhere;
}
.cform-ok p { margin: 0; }
.cform-ok p + p { margin-top: .55rem; }
.cform-ok-lead { font-weight: 600; font-size: 1.04rem; line-height: 1.4; color: var(--ink-strong); }
.cform-ok-alt { font-size: .95rem; line-height: 1.55; color: var(--ink); }
.cform-ok--fail { border-left-color: #84334F; }

@media (max-width: 880px) { .cform-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cform-pair { grid-template-columns: 1fr; }
  .cform-actions .btn { width: 100%; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .topbar, .news, .meter, .hero-readout, .cform-frame { display: none; }
  body { background: #fff; color: #000; }
}
