@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/lora-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/lora-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lora-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lora-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #f6f2e9;
  --paper: #fcfaf5;
  --ink: #1f1d18;
  --soft: #5c5749;
  --rule: #e2daca;
  --field-border: #8e8267;
  --teal: #0e4a42;
  --teal-hover: #126156;
  --teal-wash: #eaf0ed;
  --brass: #a8823f;
  --teal-fg-soft: #d5e3df;
  --error: #97382d;
  --shell: 68rem;
  --prose: 40rem;
  --gap: 1.25rem;
  --pad-y: 3.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

main, footer, header, section { overflow-x: clip; }

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.4rem); font-weight: 400; line-height: 1.14; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.35vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem); }
h4 { font-size: 1.0625rem; font-family: 'Source Sans 3', sans-serif; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

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

main:focus { outline: none; }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gap);
  min-width: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 60;
}
.skip:focus { left: 0; }

.section { padding-block: var(--pad-y); }
.section--tinted { background: var(--teal-wash); }
.section--paper { background: var(--paper); border-block: 1px solid var(--rule); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}
.eyebrow::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
  min-width: 1rem;
}

.lead {
  font-size: clamp(1.1rem, 1.03rem + 0.35vw, 1.28rem);
  line-height: 1.62;
  color: var(--soft);
  max-width: 34em;
}

.muted { color: var(--soft); }
.stack-top { margin-top: 2rem; }
.measure { max-width: 44rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.72rem 1.35rem;
  border: 1px solid var(--teal);
  border-radius: 2px;
  background: var(--teal);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: var(--paper); }
.btn--quiet { background: transparent; color: var(--teal); }
.btn--quiet:hover { background: var(--teal); color: var(--paper); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  color: var(--teal);
  width: fit-content;
}
.arrow-link .ico { transition: transform 0.28s var(--ease); }
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover .ico { transform: translateX(4px); }

.ico { width: 1.05rem; height: 1.05rem; flex: none; }
.ico--lg { width: 1.6rem; height: 1.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.wordmark-name {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(0.98rem, 0.88rem + 0.42vw, 1.18rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.wordmark-since {
  font-size: 0.63rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--field-border);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  flex: none;
}
.nav-toggle .ico { width: 1.3rem; height: 1.3rem; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

.nav-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-block: 1px solid var(--rule);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.nav-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--gap) 1.25rem;
  display: flex;
  flex-direction: column;
}
.nav-list a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.22s var(--ease), transform 0.28s var(--ease);
}
.nav-list a:hover { color: var(--teal); transform: translateX(4px); }
.nav-list a[aria-current="page"] { color: var(--teal); font-weight: 600; }

.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--pad-y); }
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
.hero-title { max-width: 16ch; }
.hero-title em { font-style: italic; color: var(--teal); }
.hero-copy { min-width: 0; }

.hero-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.5rem;
  min-width: 0;
}
.hero-panel h2 {
  font-size: 0.72rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 1.1rem;
}
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li { padding: 0.85rem 0; border-top: 1px solid var(--rule); min-width: 0; }
.panel-list li:first-child { border-top: 0; padding-top: 0; }
.panel-list li:last-child { padding-bottom: 0; }
.panel-list a {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.08rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  transition: color 0.22s var(--ease), transform 0.28s var(--ease);
}
.panel-list a:hover { color: var(--teal); transform: translateX(3px); }
.panel-foot {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.93rem;
  color: var(--soft);
}
.panel-price { display: block; font-size: 0.9rem; color: var(--soft); margin-top: 0.15rem; }

.grid { display: grid; gap: 1.25rem; min-width: 0; }
.grid--2 { grid-template-columns: minmax(0, 1fr); }
.grid--3 { grid-template-columns: minmax(0, 1fr); }
.grid--4 { grid-template-columns: minmax(0, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.25s var(--ease);
}
.card:hover { border-color: var(--teal); }
.card h2, .card h3 {
  font-size: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.h-label {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}
.card .ico--lg { margin-bottom: 1rem; }
.card-body { flex: 1 1 auto; min-width: 0; }
.card-foot { margin-top: 1.25rem; }

.tag {
  align-self: flex-start;
  width: fit-content;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--teal-wash);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.price-line {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.12rem;
  color: var(--teal);
  padding-top: 0.9rem;
  margin-top: 1rem;
  border-top: 1px solid var(--rule);
}

.factlist { list-style: none; margin: 0; padding: 0; }
.factlist li { padding: 0.7rem 0; border-top: 1px solid var(--rule); display: grid; gap: 0.15rem; min-width: 0; }
.factlist li:first-child { border-top: 0; }
.fact-key { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--soft); }
.fact-val { min-width: 0; }

.rail { margin: 2rem 0 0; }
.rail-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.6rem;
  position: relative;
  display: grid;
  gap: 1.6rem;
}
.rail-track::before {
  content: '';
  position: absolute;
  left: 0.32rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--rule);
}
.rail-node { position: relative; min-width: 0; }
.rail-node::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 0.42rem;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--teal);
  border: 1px solid var(--teal);
}
.rail-node--between::before { background: var(--paper); }
.rail-week {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  display: block;
}
.rail-title { font-family: 'Lora', Georgia, serif; font-size: 1.1rem; display: block; margin: 0.1rem 0 0.3rem; }
.rail-node p { font-size: 0.97rem; color: var(--soft); margin: 0; }

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--teal);
  border-radius: 3px;
  padding: 1.5rem;
  min-width: 0;
}
.quote p {
  flex: 1 1 auto;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.quote figcaption { font-size: 0.86rem; color: var(--soft); font-weight: 600; letter-spacing: 0.03em; }

.quote--feature { border: 0; border-left: 2px solid var(--brass); background: transparent; padding: 0 0 0 1.5rem; }
.quote--feature p { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); }

.article-list { list-style: none; margin: 0; padding: 0; }
.article-item { border-top: 1px solid var(--rule); padding: 1.4rem 0; min-width: 0; }
.article-item:first-child { border-top: 0; padding-top: 0; }
.article-date { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--soft); }
.article-item h3 { margin: 0.35rem 0 0.45rem; }
.article-item h3 a {
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  transition: color 0.22s var(--ease), transform 0.28s var(--ease);
}
.article-item h3 a:hover { color: var(--teal); transform: translateX(3px); }
.article-item p { color: var(--soft); margin-bottom: 0.7rem; }

.prose { max-width: var(--prose); min-width: 0; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ol, .prose ul { padding-left: 1.2rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.5em; }

.page-head { padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) 0; }
.page-head .lead { margin-top: 1rem; }

.next-step { background: var(--teal); color: var(--paper); }
.next-step h2 { color: var(--paper); max-width: 22ch; }
.next-step p { color: var(--teal-fg-soft); max-width: 46ch; }
.next-step a { color: var(--paper); }
.next-step .btn {
  background: var(--paper);
  color: var(--teal);
  border-color: var(--paper);
}
.next-step .btn:hover { background: var(--teal-wash); border-color: var(--teal-wash); color: var(--teal); }
.next-step .arrow-link { color: var(--paper); }

.field { display: grid; gap: 0.4rem; margin-bottom: 1.35rem; min-width: 0; }
.field > label, .fieldset-legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}
.field input, .field textarea {
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--field-border);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.22s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 9rem; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }

.field-hint { font-size: 0.86rem; color: var(--soft); }
.field-error {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--error);
}
.field.has-error .field-error { display: flex; }

.choice-set { border: 0; margin: 0 0 1.35rem; padding: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.55rem; }
.choice { position: relative; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: block;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--soft);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.choice input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }

.form-note {
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  border-left: 2px solid var(--teal);
  background: var(--paper);
  border-radius: 3px;
  font-size: 0.94rem;
}
.form-note.is-shown { display: flex; }
.form-note .ico { margin-top: 0.22rem; }

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding-block: var(--pad-y) 2rem;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 2rem; }
.footer-col { min-width: 0; }
.footer-col h2 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  transition: color 0.22s var(--ease), transform 0.28s var(--ease);
}
.footer-col a:hover { color: var(--teal); transform: translateX(3px); }

.footer-mark { font-family: 'Lora', Georgia, serif; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--soft);
  font-size: 0.87rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (min-width: 40rem) {
  :root { --gap: 2rem; --pad-y: 4.5rem; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .hero-panel, .quote { padding: 1.75rem; }
}

@media (min-width: 48rem) {
  .rail-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 1.6rem 0 0;
  }
  .rail-track::before {
    left: 0;
    right: 0;
    top: 0.32rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .rail-node::before { left: 0; top: -1.6rem; }
}

@media (min-width: 56rem) {
  :root { --pad-y: 5.5rem; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; }
  .split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .nav-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    transition: none;
  }
  .nav-list { flex-direction: row; gap: 1.6rem; padding: 0; }
  .nav-list a { padding: 0; border-bottom: 0; font-size: 0.95rem; }
  .nav-list a:hover { transform: none; }
  .nav-list a[aria-current="page"] { box-shadow: inset 0 -1px 0 0 var(--teal); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .nav-list a:hover, .footer-col a:hover, .panel-list a:hover,
  .article-item h3 a:hover, .arrow-link:hover .ico { transform: none; }
}
