/* ==========================================================================
   The Sound Branch — calm, warm, spacious.
   Deliberately unlike esmilemalik.tech: paper ground, serif voice, soft edges.
   ========================================================================== */

:root {
  /* warm paper */
  --bg:        #faf7f1;
  --bg-1:      #f4efe6;
  --bg-2:      #ece5d8;
  --line:      #e0d7c8;
  --line-soft: #ebe3d6;

  --fg:        #1f1c17;
  --fg-dim:    #5d564c;
  --fg-mute:   #736858;

  --accent:      #9d5c37;   /* terracotta, darkened for text contrast */
  --accent-deep: #86492b;
  --accent-wash: rgba(164, 98, 60, 0.10);
  --btn-bg:      #9c5f3e;
  --btn-fg:      #ffffff;
  --sage:        #6f8279;
  --sage-wash:   rgba(111, 130, 121, 0.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1080px;
  --narrow: 720px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(31,28,23,.04), 0 8px 24px -12px rgba(31,28,23,.10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #17140f;
    --bg-1:      #1e1a14;
    --bg-2:      #262019;
    --line:      #322b22;
    --line-soft: #262019;

    --fg:        #f2ece1;
    --fg-dim:    #b8ae9e;
    --fg-mute:   #9a8e7c;

    --accent:      #d98d61;
    --accent-deep: #e0a17c;
    --accent-wash: rgba(217, 141, 97, 0.12);
    --btn-bg:      #d98d61;
    --btn-fg:      #201509;
    --sage:        #93a89d;
    --sage-wash:   rgba(147, 168, 157, 0.12);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --bg:        #17140f;
  --bg-1:      #1e1a14;
  --bg-2:      #262019;
  --line:      #322b22;
  --line-soft: #262019;
  --fg:        #f2ece1;
  --fg-dim:    #b8ae9e;
  --fg-mute:   #9a8e7c;
  --accent:      #d98d61;
  --accent-deep: #e0a17c;
  --accent-wash: rgba(217, 141, 97, 0.12);
  --btn-bg:      #d98d61;
  --btn-fg:      #201509;
  --sage:        #93a89d;
  --sage-wash:   rgba(147, 168, 157, 0.12);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent-wash); }

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

.skip { position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--btn-bg); color: var(--btn-fg); padding: .75rem 1.25rem; font-weight: 600; }
.skip:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
p { color: var(--fg-dim); }
strong { color: var(--fg); font-weight: 600; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.lede { font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--fg-dim); max-width: 60ch; line-height: 1.7; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, var(--narrow)); margin-inline: auto; }
@media (max-width: 640px) { .wrap, .narrow { width: min(100% - 1.75rem, var(--wrap)); } }

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: .9rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.soft-rule { height: 1px; background: var(--line-soft); border: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }

.brand { display: grid; gap: .1rem; flex: 0 1 auto; min-width: 0; }
.brand-name, .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.2; }
.brand-sub { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fg-mute); }

.site-nav { margin-left: auto; order: 2; }
@media (max-width: 620px) { .brand-sub { display: none; } }
.site-nav ul { display: flex; align-items: center; gap: 1.3rem; list-style: none; padding: 0; }
.site-nav a { font-size: .875rem; color: var(--fg-dim); padding-block: .3rem; position: relative;
  white-space: nowrap; transition: color .2s var(--ease); }
.site-nav a:hover { color: var(--fg); }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .28s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }
.site-nav a[aria-current="page"] { color: var(--fg); }

/* the header CTA is a button, not a nav link: .site-nav a (0,1,1) would
   otherwise beat .btn-primary (0,1,0) and wash out its label */
.site-nav a.btn-primary { color: var(--btn-fg); }
.site-nav a.btn-primary:hover { color: var(--btn-fg); }
.site-nav a.btn::after { content: none; }

/* ---------- theme toggle ---------- */
.theme-toggle {
  order: 3; flex: none;
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  background: none; cursor: pointer; color: var(--fg-dim);
  border: 1px solid var(--line); border-radius: 50%;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-wash); }
.theme-toggle svg { width: 17px; height: 17px; }

/* show the icon for the theme the button switches TO */
.theme-toggle .i-sun  { display: none; }
.theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun  { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

.nav-toggle { display: none; margin-left: auto; background: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .5rem .7rem; color: var(--fg); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; }
.nav-toggle span + span { margin-top: 4px; }

@media (max-width: 1090px) {
  /* on mobile the nav leaves the flow, so order these explicitly:
     brand … [theme toggle] [hamburger], both pinned right */
  .nav-toggle { display: block; margin-left: 0; order: 4; }
  .theme-toggle { margin-left: auto; order: 3; }
  .site-nav { position: absolute; inset: 76px 0 auto; margin: 0; background: var(--bg-1);
    border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease); }
  .site-nav[data-open="true"] { max-height: 30rem; }
  .site-nav a { white-space: normal; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .site-nav a { display: block; padding: .95rem 0; font-size: 1rem; }
  .site-nav .nav-cta { margin-top: 1rem; border: 0; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 100px; font-size: .92rem; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--accent-deep); color: var(--btn-fg); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-wash); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.tlink { color: var(--accent); font-size: .9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .4rem; justify-self: start; align-self: start;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding-bottom: 2px;
  transition: gap .2s var(--ease), border-color .2s var(--ease); }
.tlink:hover { gap: .65rem; border-color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 78% 12%, var(--accent-wash), transparent 70%),
    radial-gradient(ellipse 50% 55% at 12% 78%, var(--sage-wash), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { display: grid; gap: 1.6rem; max-width: 46rem; }
.hero h1 em { font-style: italic; color: var(--accent); }

.tagline {
  margin-top: .5rem; padding: 1.1rem 1.4rem;
  border-left: 2px solid var(--accent); background: var(--bg-1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.tagline p { font-family: var(--font-display); font-size: 1.08rem; color: var(--fg); margin: 0; font-style: italic; }

/* soft waveform motif */
.wave { width: 100%; height: 54px; color: var(--accent); opacity: .5; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.35rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  display: grid; gap: .7rem; align-content: start;
  padding: 1.6rem 1.55rem; background: var(--bg-1);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-2px); box-shadow: var(--shadow); }
.card p { font-size: .95rem; margin: 0; }
.card .c-tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); }
.card ul { margin: .3rem 0 0; padding-left: 1.05rem; display: grid; gap: .3rem; }
.card li { font-size: .9rem; color: var(--fg-dim); }
.card li::marker { color: var(--accent); }

/* ---------- the five moments ---------- */
.moment {
  display: grid; grid-template-columns: 12rem 1fr; gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--line-soft);
}
.moment:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 780px) { .moment { grid-template-columns: 1fr; gap: .9rem; } }
.moment-aside { display: grid; gap: .5rem; align-content: start; }
.moment-aside .m-num { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-mute); }
.moment-aside h3 { color: var(--fg); }
.moment-body { display: grid; gap: .9rem; }
.moment-body .situation { font-family: var(--font-display); font-style: italic;
  font-size: 1.08rem; color: var(--fg); }
.moment-body p { font-size: .97rem; }

/* ---------- journey detail ---------- */
.journey {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-soft);
  display: grid; gap: 1.25rem;
}
.journey:first-of-type { border-top: 0; padding-top: 0; }
.journey-head { display: grid; gap: .5rem; }
.journey-head .j-num {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.journey-head h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.journey-head .situation {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.08rem; color: var(--fg);
}
.journey-body { max-width: 70ch; }

.spec {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 860px) { .spec { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .spec { grid-template-columns: 1fr; } }
.spec > div { padding: 1rem 1.15rem; background: var(--bg-1); }
.spec > div + div { border-left: 1px solid var(--line-soft); }
@media (max-width: 860px) {
  .spec > div:nth-child(odd) { border-left: 0; }
  .spec > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 480px) {
  .spec > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
}
.spec dt {
  font-family: var(--font-mono); font-size: .63rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fg-mute); margin-bottom: .3rem;
}
.spec dd { margin: 0; font-size: .93rem; color: var(--fg); line-height: 1.5; }
.spec dd.tbd { color: var(--fg-mute); font-style: italic; }

details.prompt-reveal { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-1); }
details.prompt-reveal > summary {
  cursor: pointer; padding: .95rem 1.25rem; list-style: none;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: .6rem;
}
details.prompt-reveal > summary::-webkit-details-marker { display: none; }
details.prompt-reveal > summary::after { content: "+"; margin-left: auto; font-size: 1rem; }
details.prompt-reveal[open] > summary::after { content: "\2212"; }
details.prompt-reveal .promptbox { border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; background: var(--bg-2); }

/* ---------- method stages ---------- */
.stages { display: grid; gap: 1.35rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr; } }
.stage {
  padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius);
  background: var(--bg-1); border: 1px solid var(--line-soft);
  display: grid; gap: .75rem; align-content: start; position: relative;
}
.stage .s-num { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); }
.stage h3 { font-size: 1.5rem; }
.stage p { font-size: .95rem; margin: 0; }
.stage .s-design {
  margin-top: .35rem; padding-top: .85rem; border-top: 1px solid var(--line);
  font-size: .87rem; color: var(--fg-mute);
}

/* ---------- notice / discipline ---------- */
.notice {
  border-left: 2px solid var(--sage); background: var(--sage-wash);
  padding: 1.15rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.notice p { font-size: .92rem; margin: 0; color: var(--fg-dim); }
.notice strong { color: var(--fg); }
.notice + .notice { margin-top: .9rem; }

.pending {
  border: 1px dashed var(--line); background: var(--bg-1);
  border-radius: var(--radius); padding: 1.3rem 1.5rem; display: grid; gap: .45rem;
}
.pending .p-tag { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-mute); }
.pending p { font-size: .93rem; margin: 0; }

/* ---------- tiers ---------- */
.tiers { display: grid; gap: 0; border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; }
.tier { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.6rem 1.6rem; background: var(--bg-1); transition: background .25s var(--ease); }
.tier:hover { background: var(--bg-2); }
.tier + .tier { border-top: 1px solid var(--line-soft); }
.tier h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.tier p { font-size: .93rem; margin: 0; max-width: 62ch; }
@media (max-width: 700px) { .tier { grid-template-columns: 1fr; gap: .9rem; } }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1.1rem; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent);
  font-family: var(--font-mono); font-size: .82rem;
}
.step h4 { margin-bottom: .2rem; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- prompt block ---------- */
.promptbox {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; overflow-x: auto;
}
.promptbox pre { font-family: var(--font-mono); font-size: .84rem; line-height: 1.75;
  color: var(--fg-dim); white-space: pre-wrap; margin: 0; }
.promptbox .ph { color: var(--accent); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 500; color: var(--fg); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .95rem; font-size: .95rem; width: 100%;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); outline: none;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field .hint { font-size: .82rem; color: var(--fg-mute); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  padding: 1.1rem 1.25rem; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-sm); }
.check input { width: 1.05rem; height: 1.05rem; margin-top: .35rem; accent-color: var(--accent); }
.check label { font-size: .9rem; color: var(--fg-dim); line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--bg-1);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, var(--accent-wash), transparent 70%); }
.cta-band .wrap { position: relative; z-index: 1; text-align: center;
  display: grid; gap: 1.3rem; justify-items: center; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 52ch; }

/* ---------- page hero ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 90% at 80% 0%, var(--accent-wash), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 1.1rem; max-width: 52rem; }
.crumbs { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg-mute); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); }

/* ---------- definition list ---------- */
.deflist { display: grid; gap: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.deflist > div { padding: 1.2rem 1.4rem; background: var(--bg-1); }
.deflist > div + div { border-top: 1px solid var(--line-soft); }
.deflist dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fg-mute); margin-bottom: .3rem; }
.deflist dd { margin: 0; font-size: .96rem; color: var(--fg); }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: .9rem; align-content: start; }
.footer-brand p { font-size: .9rem; max-width: 36ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-mute); margin-bottom: .9rem; font-weight: 400; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-col a { font-size: .9rem; color: var(--fg-dim); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .82rem; color: var(--fg-mute); margin: 0; }

/* ---------- misc ---------- */
.stack { display: grid; gap: 1.2rem; }
.stack-lg { display: grid; gap: 2rem; }
.muted { color: var(--fg-mute); }
.center { text-align: center; }
.mt-lg { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.prose p + p { margin-top: 1.1rem; }
.prose { max-width: 68ch; }
