@font-face { font-family: 'Special Gothic'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/special-gothic-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Special Gothic'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/special-gothic-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Special Gothic'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/special-gothic-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Special Gothic'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/special-gothic-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Brawler'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/brawler-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Brawler'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/brawler-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f3f6ef;
  --fg-light-base-body: #1d2a21;
  --fg-light-base-heading: #1d2a21;
  --fg-light-base-muted: #4a5a4f;
  --fg-light-base-link: #2a6f38;
  --fg-light-base-inverse: #1d2a21;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #1d2a21;
  --fg-light-card-heading: #1d2a21;
  --fg-light-card-muted: #4a5a4f;
  --fg-light-card-link: #2a6f38;
  --fg-light-card-inverse: #1d2a21;
  --bg-light-elevated: #e3ecdc;
  --fg-light-elevated-body: #1d2a21;
  --fg-light-elevated-heading: #1d2a21;
  --fg-light-elevated-muted: #4a5a4f;
  --fg-light-elevated-link: #2a6f38;
  --fg-light-elevated-inverse: #1d2a21;
  --brand-light-accent: #2a6f38;
  --brand-light-accent-hover: #1d532a;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #2a6f38;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #6c7d70;
  --border-light-subtle: #c9d7c3;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-ring); }

:root {
  --font-head: 'Special Gothic', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body: 'Brawler', Georgia, serif;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --wide: 68rem;
  --measure: 38rem;
  --rail: 15.5rem;
  --soft: 1.1rem;
  --tape: #d3e6cb;
  --tape-tick: #5d8a5a;
  --rule: 1px solid var(--border-light-subtle);
  --rule-strong: 1.5px solid var(--border-light-default);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 1rem; max-width: 20ch; }

a.text-role-link { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a.text-role-link:hover { color: var(--brand-light-accent-hover); text-decoration-thickness: 2px; }

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- header: phone top bar, desktop side rail with flyouts ---------- */

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: var(--rule);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  word-break: normal;
}

.brand .site-logo { width: 2.1rem; height: 2.1rem; flex: none; }
.brand .wordmark { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.brand:hover .wordmark { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.site-menu { flex: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem 0.5rem;
  border: 0;
  border-bottom: 3px dashed var(--tape-tick);
  border-radius: 0.3rem 0.3rem 0 0;
  background: var(--tape);
  color: var(--fg-heading);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover { background: var(--bg-light-elevated); text-decoration: underline; }
.site-menu[open] > summary { background: var(--bg-light-elevated); border-bottom-style: solid; }

.menu-icon {
  display: inline-block;
  width: 1rem;
  height: 0.7rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  border-radius: 1px;
}

.site-menu[open] > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 1rem var(--gutter) 1.4rem;
  list-style: none;
  counter-reset: menu-step;
  background: var(--bg-light-elevated);
  border-top: 3px solid var(--tape-tick);
}

.site-menu ul ul { list-style: none; margin: 0.4rem 0 0 2.6rem; padding: 0; display: grid; gap: 0.3rem; }

.site-menu[open] > ul > li > a {
  counter-increment: menu-step;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.45rem;
  background: var(--tape);
  color: var(--fg-heading);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}

.site-menu[open] > ul > li > a::before {
  content: counter(menu-step, decimal-leading-zero);
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.3rem;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-size: 0.8rem;
  line-height: 1.8rem;
  text-align: center;
}

.site-menu ul ul a { display: block; padding: 0.4rem 0.6rem; color: var(--fg-heading); font-weight: 600; font-size: 0.98rem; text-decoration: none; }
.site-menu li a:hover { background: var(--bg-light-card); color: var(--fg-heading); text-decoration: underline; }

.rail { display: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav > ul > li { position: relative; }

.site-nav > ul > li > a.text-role-link,
.site-nav summary {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  text-decoration: none;
  color: var(--fg-heading);
}

.site-nav summary {
  position: relative;
  padding-right: 2rem;
  cursor: pointer;
  list-style: none;
}

.site-nav summary::-webkit-details-marker { display: none; }

.site-nav summary::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.site-nav summary:hover,
.site-nav > ul > li > a.text-role-link:hover {
  background: var(--bg-light-elevated);
  color: var(--fg-heading);
  text-decoration: underline;
}

.site-nav-group[open] > summary { background: var(--bg-light-elevated); }

/* ---------- page frame ---------- */

.page { padding-bottom: 4rem; min-width: 0; }

.breadcrumbs {
  max-width: var(--wide);
  padding: 1.25rem var(--gutter) 0;
  font-family: var(--font-head);
  font-size: 0.86rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before { content: "/"; margin-right: 0.55rem; color: var(--fg-muted); }

@media (min-width: 64rem) {
  body {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    min-height: 100vh;
  }

  .site-header {
    grid-column: 1;
    grid-row: 1 / span 2;
    border-bottom: 0;
    border-right: var(--rule);
  }

  .page { grid-column: 2; grid-row: 1; }
  .site-footer { grid-column: 2; grid-row: 2; }

  .topbar { display: block; padding: 1.75rem 1.25rem 1.5rem; }

  .brand { flex-direction: column; align-items: flex-start; gap: 0.7rem; font-size: 1.2rem; }
  .brand .site-logo { width: 3rem; height: 3rem; }

  .site-menu { display: none; }

  .rail { display: block; padding: 0 0.6rem 2rem; }

  .site-nav-group[open] > ul {
    position: absolute;
    top: -0.5rem;
    left: calc(100% + 0.9rem);
    width: 19rem;
    padding: 0.6rem;
    background: var(--bg-light-card);
    border: var(--rule-strong);
    border-radius: var(--soft);
    box-shadow: 0 0.6rem 1.6rem rgba(29, 42, 33, 0.14);
  }

  .site-nav-group > ul a.text-role-link {
    display: block;
    padding: 0.5rem 0.7rem;
    border-radius: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.35;
    text-decoration: none;
  }

  .site-nav-group > ul li:first-child a.text-role-link {
    font-family: var(--font-head);
    font-weight: 700;
    border-bottom: var(--rule);
    border-radius: 0.6rem 0.6rem 0 0;
    margin-bottom: 0.25rem;
  }

  .site-nav-group > ul a.text-role-link:hover {
    background: var(--bg-light-elevated);
    color: var(--brand-light-accent-hover);
    text-decoration: underline;
  }
}

/* ---------- body copy ---------- */

.prose { max-width: var(--measure); }

.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.5rem 0 0.75rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.5rem; }
.prose p { margin: 0 0 1.15rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.35rem; }
.prose li { margin-bottom: 0.45rem; }
.prose ul > li::marker { color: var(--brand-light-accent); }
.prose strong { font-weight: 700; }

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.9rem 1.1rem;
  background: var(--bg-light-elevated);
  border-radius: var(--soft);
}

.table-scroll { overflow-x: auto; margin: 1.5rem 0; }

.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; line-height: 1.45; }
.prose th, .prose td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: var(--rule); vertical-align: top; }
.prose thead th { font-family: var(--font-head); font-weight: 700; border-bottom: 2px solid var(--brand-light-accent); }

.photo-hero, .photo-inline { margin: 1.75rem 0; }
.photo-hero img, .photo-inline img { display: block; border-radius: var(--soft); }

/* ---------- home: stepped ---------- */

.home { padding-top: clamp(1rem, 3vw, 2.25rem); }

.cover {
  position: relative;
  max-width: var(--wide);
  margin: 0 var(--gutter);
  padding: clamp(3.25rem, 7vw, 4.75rem) clamp(1.5rem, 6vw, 4.5rem) clamp(4.5rem, 9vw, 6rem) clamp(2.5rem, 7vw, 5rem);
}

.cover-tape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.tape-band { fill: none; stroke: var(--tape); stroke-width: 20; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tape-ticks { fill: none; stroke: var(--tape-tick); stroke-width: 9; stroke-dasharray: 1.5 9; vector-effect: non-scaling-stroke; }

.cover-coil {
  position: absolute;
  right: clamp(0rem, 2vw, 1rem);
  bottom: clamp(0.25rem, 2vw, 1rem);
  width: clamp(3.75rem, 9vw, 5.5rem);
  height: auto;
  pointer-events: none;
}

.coil-case { fill: var(--brand-light-accent); }
.coil-ring { fill: none; stroke: var(--tape); stroke-width: 6; }
.coil-hub { fill: var(--tape); }
.coil-tick { stroke: var(--tape); stroke-width: 3; stroke-linecap: round; }

.cover-head { position: relative; max-width: 40rem; }
.cover h1 { max-width: 17ch; margin-bottom: 1.25rem; font-size: clamp(2.2rem, 5.6vw, 3.8rem); }

.cover-lines .display-line { margin: 0 0 0.8rem; max-width: 32rem; }
.cover-lines .display-line:first-child { font-size: 1.2rem; line-height: 1.5; }
.cover-lines .display-line + .display-line { color: var(--fg-muted); }

.path { max-width: var(--wide); padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter) 0; }

.path-title { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 2.8vw, 1.85rem); max-width: 24ch; }

.steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  border: var(--rule);
  border-radius: var(--soft);
  max-width: 34rem;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--tape);
  color: var(--fg-heading);
  stroke-width: 1.6;
}

.step-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
}

.step-note { margin: 0.25rem 0 0; font-size: 0.98rem; line-height: 1.5; }

@media (min-width: 48rem) {
  .steps { gap: 0.9rem; }
  .step:nth-child(2) { margin-left: 4rem; }
  .step:nth-child(3) { margin-left: 8rem; }
  .step:nth-child(4) { margin-left: 12rem; }
  .step + .step::before {
    content: "";
    position: absolute;
    left: -2.5rem;
    top: -2.2rem;
    width: 3.9rem;
    height: 3.5rem;
    border-left: 2px dashed var(--tape-tick);
    border-bottom: 2px dashed var(--tape-tick);
    border-bottom-left-radius: 1.2rem;
  }
}

.home-body { padding: clamp(2.25rem, 5vw, 3.25rem) var(--gutter) 0; max-width: calc(var(--measure) + 2 * var(--gutter)); }

/* ---------- topic hub: grid ---------- */

.hub { max-width: var(--wide); padding: 1.5rem var(--gutter) 0; }

.hub-title h1 { margin-bottom: 1.25rem; }

.tiles {
  margin: 0 0 2.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 46rem;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: var(--rule);
  border-radius: var(--soft);
}

.tile-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--tape);
  color: var(--fg-heading);
}

.tile-link { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: manual; }

@media (min-width: 52rem) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
  .tile { padding: 1.1rem; }
}

.filed {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--soft);
}

.filed-title { margin: 0 0 1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }

.filed-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 0.75rem;
}

.filed-items li { display: flex; }

.filed-items a {
  flex: 1;
  display: block;
  padding: 1rem 1.1rem;
  background: var(--bg-light-card);
  border-radius: 0.85rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
}

/* ---------- article: one column ---------- */

.note { max-width: calc(var(--measure) + 2 * var(--gutter)); padding: 1.5rem var(--gutter) 0; }

.note-title h1 { margin-bottom: 0.75rem; font-size: clamp(2rem, 4.6vw, 3rem); }

.note-icons { display: flex; gap: 0.5rem; margin: 0 0 1.5rem; }
.note-icons .icon { width: 1.75rem; height: 1.75rem; }

.timeline {
  margin: 0 0 2.25rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--soft);
}

.timeline-title { margin: 0 0 0.8rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }

.timeline-list {
  margin: 0;
  padding: 0 0 0 1.6rem;
  border-left: 3px dashed var(--tape-tick);
  list-style: none;
  counter-reset: mile;
}

.timeline-list li {
  position: relative;
  counter-increment: mile;
  margin: 0;
  padding: 0.3rem 0 0.55rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.timeline-list li::before {
  content: counter(mile);
  position: absolute;
  left: -2.55rem;
  top: 0.25rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.75rem;
  text-align: center;
}

/* ---------- about: one column ---------- */

.about { max-width: calc(var(--measure) + 2 * var(--gutter)); padding: 1.5rem var(--gutter) 0; }

.about-title h1 { margin-bottom: 1.25rem; }

.about-art { margin: 0 0 2rem; padding: 1rem; border: var(--rule); border-radius: var(--soft); }

.notebook { display: block; width: 100%; height: auto; }
.nb-page { fill: var(--bg-light-base); stroke: var(--fg-heading); stroke-width: 2.4; }
.nb-spine { stroke: var(--fg-heading); stroke-width: 2.4; }
.nb-ring { stroke: var(--fg-heading); stroke-width: 3; stroke-linecap: round; }
.nb-line { stroke: var(--border-light-default); stroke-width: 2; stroke-linecap: round; }
.nb-coil { fill: var(--brand-light-accent); }
.nb-coil-ring { fill: none; stroke: var(--tape); stroke-width: 6; }
.nb-coil-hub { fill: var(--tape); }
.nb-tape { fill: none; stroke: var(--tape); stroke-width: 14; stroke-linecap: round; }
.nb-tape-ticks { fill: none; stroke: var(--tape-tick); stroke-width: 7; stroke-dasharray: 1.4 7; }

/* ---------- contact: split ---------- */

.write { max-width: var(--wide); padding: 1.5rem var(--gutter) 0; }

.write-title h1 { margin-bottom: 1.5rem; }

.write-split { display: grid; gap: 2rem; }

.note-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: var(--rule);
  border-radius: var(--soft);
  max-width: var(--measure);
  margin-bottom: 2.25rem;
}

.field { display: grid; gap: 0.3rem; }

.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }

.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.8rem;
  color: var(--fg-body);
  background: var(--bg-light-card);
  border: 1.5px solid var(--border-light-default);
  border-radius: 0.7rem;
}

.field textarea { resize: vertical; min-height: 8rem; }

.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }

.note-form button {
  justify-self: start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  cursor: pointer;
}

.note-form button:hover { background: var(--brand-light-accent-hover); }

.consult { align-self: start; padding: 1.4rem; border-radius: var(--soft); }

.consult-vial { display: block; width: 3.5rem; height: auto; margin-bottom: 0.75rem; }
.vial-cap { fill: var(--brand-light-accent); }
.vial-neck { fill: var(--bg-light-card); stroke: var(--fg-heading); stroke-width: 2.2; }
.vial-glass { fill: var(--bg-light-card); stroke: var(--fg-heading); stroke-width: 2.4; stroke-linejoin: round; }
.vial-fill { fill: var(--tape); }
.vial-mark { stroke: var(--fg-heading); stroke-width: 2; stroke-linecap: round; }

.consult-title { margin: 0 0 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }

.consult-list { margin: 0; padding: 0; list-style: none; }

.consult-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-top: var(--rule);
  font-size: 0.98rem;
  line-height: 1.45;
}

.consult-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.95rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand-light-accent);
}

@media (min-width: 56rem) {
  .write-split { grid-template-columns: minmax(0, var(--measure)) 18rem; justify-content: space-between; gap: 3rem; }
}

/* ---------- thank you: one column ---------- */

.after { max-width: calc(var(--measure) + 2 * var(--gutter)); padding: 2.5rem var(--gutter) 0; }

.after-scale {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 50%;
  background: var(--tape);
  fill: none;
  stroke: var(--fg-heading);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guides { margin-top: 1.75rem; padding: 1.1rem 1.25rem; border: var(--rule); border-radius: var(--soft); }
.guides-title { margin: 0 0 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.guides ul { list-style: none; margin: 0; padding: 0; }
.guides li { border-top: var(--rule); }
.guides a { display: block; padding: 0.7rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.3; }

/* ---------- footer ---------- */

.footer-inner { max-width: var(--wide); padding: 2rem var(--gutter) 2.5rem; }

.footer-name { margin: 0 0 0.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.footer-line { margin: 0; max-width: 34rem; font-size: 0.95rem; }
