/* ==========================================================================
   Roastworks Coffee Roasters
   A quiet, editorial system: stone, paper, indigo.
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--indigo);
  color: #fff;
}

/* ---------- Tokens ---------- */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Helvetica Neue", Arial, sans-serif;

  --paper: #f7f6f1;
  --white: #ffffff;
  --stone-50: #f2f0ea;
  --stone-100: #eae7df;
  --stone-200: #dcd8ce;
  --stone-300: #c4bfb2;
  --stone-400: #a39d90;
  --stone-500: #827d72;
  --stone-600: #656159;
  --stone-700: #48463f;

  --ink: #1e1f1d;
  --indigo: #2f4160;
  --indigo-600: #26354e;
  --indigo-deep: #1a2433;
  --ink-deep: #151a21;

  --line: #dcd8ce;
  --line-soft: rgba(30, 31, 29, 0.08);
  --line-light: rgba(255, 255, 255, 0.16);

  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --max: 1200px;
  --section-y: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base typography ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--white {
  background: var(--white);
}

.section--stone {
  background: var(--stone-50);
}

.section--tight {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section--ink {
  background: var(--indigo-deep);
  color: #f2f0ea;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--indigo);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.section--ink .eyebrow,
.cta .eyebrow {
  color: #b9c4d4;
}

.kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--indigo);
  padding-top: 0.4rem;
}

.display {
  font-size: clamp(2.4rem, 5.6vw, 4.35rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.display em {
  font-style: normal;
  color: var(--indigo);
}

.h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--stone-600);
  max-width: 62ch;
}

.muted {
  color: var(--stone-500);
}

.prose p {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--stone-700);
}

.prose p + p {
  margin-top: 1.15rem;
}

.prose strong {
  font-weight: 500;
  color: var(--ink);
}

.prose a {
  color: var(--indigo);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.small {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--stone-500);
}

.mt-sm {
  margin-top: 0.85rem;
}

.mt-md {
  margin-top: 1.25rem;
}

.mt-lg {
  margin-top: 2.5rem;
}

.hero-actions.actions-inline {
  margin-top: 0;
  justify-content: flex-start;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--indigo);
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.8rem 1.5rem;
  background: var(--indigo);
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  color: #fbfaf7;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  background: var(--indigo-600);
  border-color: var(--indigo-600);
}

.btn--ghost {
  background: transparent;
  border-color: var(--stone-300);
  color: var(--ink);
}

.btn--ghost:hover {
  background: transparent;
  border-color: var(--ink);
}

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
  border-color: #fff;
}

.btn .arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(47, 65, 96, 0.35);
  color: var(--indigo);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s var(--ease);
}

.link-arrow:hover {
  border-color: var(--indigo);
}

.link-arrow .arrow {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 241, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 246, 241, 0.98);
  box-shadow: 0 8px 30px rgba(24, 28, 34, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand svg {
  width: auto;
  height: 38px;
}

.brand svg text {
  font-family: var(--font);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--stone-600);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--indigo);
}

.nav-extra {
  display: none;
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.header-cta:hover {
  border-color: var(--ink);
  background: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.25rem, 4vw, 3.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy .display {
  margin: 1.35rem 0 1.5rem;
}

.hero-copy .lede {
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  gap: 0.15rem;
}

.hero-facts dt {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.hero-facts dd {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink);
}

.hero-media {
  position: relative;
  isolation: isolate;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--stone-300);
  z-index: -1;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 5.7;
  object-fit: cover;
  object-position: 58% 50%;
  background: var(--stone-100);
}

.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--stone-500);
}

.hero-media .side-note {
  display: none;
}

/* ---------- Fact strip ---------- */
.fact-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 1.15rem clamp(0.85rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line-soft);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact dt {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.fact dd {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}

.fact a {
  text-decoration: none;
}

.fact a:hover {
  color: var(--indigo);
}

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.section-head .h2 {
  max-width: 22ch;
}

.section-head .lede {
  margin-top: 1.1rem;
}

.section-head--wide .h2 {
  max-width: 30ch;
}

/* ---------- Split / media ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split--wide-right {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.media {
  margin: 0;
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--stone-100);
}

.media--tall img {
  aspect-ratio: 4 / 4.6;
}

.media--square img {
  aspect-ratio: 1 / 1;
}

.media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--stone-500);
}

.media figcaption span:last-child {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.media-inset .inset-card {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.inset-card .value {
  flex: 0 0 auto;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--indigo);
}

.inset-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--stone-500);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.stat {
  display: grid;
  gap: 0.15rem;
}

.stat .value {
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--indigo);
}

.stat .label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-500);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line-soft);
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  transition: background 0.25s var(--ease);
}

.card:hover {
  background: var(--white);
}

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.index {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--stone-400);
  font-variant-numeric: tabular-nums;
}

.tag {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--indigo);
}

.card .h3 {
  margin-bottom: 0.7rem;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--stone-600);
}

.card .price {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.card .price span {
  font-weight: 300;
  color: var(--stone-500);
}

.card-foot {
  margin-top: auto;
  padding-top: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------- Numbered list ---------- */
.numbered {
  list-style: none;
}

.numbered li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.numbered li:first-child {
  border-top: 0;
  padding-top: 0;
}

.numbered .num {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--indigo);
  padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.numbered h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.numbered p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--stone-600);
}

/* ---------- Quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.quote {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-300);
}

.quote::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.6rem;
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 0.7;
  color: var(--indigo);
  opacity: 0.5;
}

.quote blockquote {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
}

.quote footer {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--stone-500);
}

.quote footer strong {
  display: block;
  font-weight: 500;
  color: var(--stone-700);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--indigo-deep);
  color: var(--paper);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 28, 40, 0.94) 30%, rgba(20, 28, 40, 0.55));
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.cta .h2 {
  margin-top: 1.1rem;
  color: #f7f6f1;
  max-width: 24ch;
}

.cta .cta-copy p {
  margin-top: 1.1rem;
  max-width: 46ch;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: #c8ccd4;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.cta-contact {
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #cfd4db;
}

.cta-contact a {
  color: #f7f6f1;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  justify-self: start;
}

.cta-contact a:hover {
  border-color: #fff;
}

/* ---------- Page header ---------- */
.page-head {
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--indigo);
}

.breadcrumb span[aria-hidden] {
  color: var(--stone-300);
}

.page-head .display {
  max-width: 20ch;
  margin-top: 1.1rem;
}

.page-head .lede {
  margin-top: 1.5rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--stone-500);
}

.page-meta strong {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--stone-600);
  margin-right: 0.4rem;
}

.page-meta a {
  color: var(--stone-600);
  text-underline-offset: 3px;
}

.page-meta a:hover {
  color: var(--indigo);
}

.page-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.page-head-note {
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--stone-600);
}

.page-head-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
}

.page-head-note a {
  color: var(--indigo);
  text-underline-offset: 3px;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline .year {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}

.timeline h3 {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.3rem;
}

.timeline p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--stone-600);
  max-width: 62ch;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
}

.person {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--stone-300);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--indigo);
}

.person h3 {
  font-size: 1.02rem;
  font-weight: 500;
}

.person .role {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.person p {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--stone-600);
}

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.value .index {
  display: block;
  margin-bottom: 1.1rem;
}

.value h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.value p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--stone-600);
}

/* ---------- Service listings ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.service {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service:hover {
  border-color: var(--stone-300);
}

.service-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service .h3 {
  margin-bottom: 0.55rem;
}

.service > p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--stone-600);
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1.25rem 0;
  padding-block: 1rem;
  border-block: 1px solid var(--line-soft);
}

.service-price .amount {
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.service-price .unit {
  font-size: 0.78rem;
  color: var(--stone-500);
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--stone-600);
}

.service-list li {
  display: flex;
  gap: 0.6rem;
}

.service-list li::before {
  content: "";
  width: 9px;
  height: 1px;
  margin-top: 0.65rem;
  flex: 0 0 auto;
  background: var(--indigo);
  opacity: 0.6;
}

.service-note {
  margin-top: auto;
  padding-top: 1.35rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--stone-500);
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.price-table caption {
  caption-side: top;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  color: var(--stone-500);
  text-align: left;
}

.price-table th {
  padding: 0 1.5rem 0.85rem 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.price-table td {
  padding: 1.1rem 1.5rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone-600);
  vertical-align: top;
}

.price-table td:first-child {
  color: var(--ink);
  font-weight: 500;
}

.price-table td:last-child,
.price-table th:last-child {
  padding-right: 0;
  white-space: nowrap;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.steps li {
  counter-increment: step;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--stone-600);
}

.steps li::before {
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border: 1px solid var(--stone-300);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--indigo);
}

.steps h3 {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Notice ---------- */
.notice {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--stone-50);
  border-left: 2px solid var(--indigo);
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--stone-600);
}

.notice svg {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: var(--indigo);
}

.notice strong {
  font-weight: 500;
  color: var(--ink);
}

.notice p {
  margin: 0;
}

.notice a {
  color: var(--indigo);
  text-underline-offset: 3px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 800px);
  gap: clamp(2rem, 6vw, 5rem);
  justify-content: space-between;
  align-items: start;
}

/* ---------- FAQ ---------- */
.faq-group + .faq-group {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.faq-group-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1.25rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.45rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--indigo);
}

.faq-item[open] summary {
  color: var(--indigo);
}

.faq-q {
  flex: 1;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 0.28rem;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-a {
  max-width: 70ch;
  padding: 0 2.5rem 1.6rem 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--stone-600);
}

.faq-a p + p {
  margin-top: 0.75rem;
}

.faq-a a {
  color: var(--indigo);
}

/* ---------- Blog card grid ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card .media {
  margin-bottom: 1.2rem;
}

.post-card .media img {
  aspect-ratio: 16 / 11;
  transition: transform 0.6s var(--ease);
}

.post-card:hover .media img {
  transform: scale(1.015);
}

.post-card .media {
  overflow: hidden;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.post-meta .tag {
  color: var(--indigo);
}

.post-card h3 {
  margin: 0.7rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--indigo);
}

.post-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--stone-600);
}

.post-card .card-foot {
  padding-top: 1.1rem;
}

/* ---------- Article ---------- */
.article {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.article:last-of-type {
  border-bottom: 0;
}

.article-head {
  max-width: 760px;
}

.article-head .h2 {
  margin: 1rem 0 1.1rem;
}

.article-head .lede {
  max-width: 62ch;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--stone-500);
}

.byline span + span {
  position: relative;
}

.byline span + span::before {
  content: "";
  position: absolute;
  left: -0.65rem;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--stone-400);
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 2.25rem;
  align-items: start;
}

.article-body .media {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.article-body .media img {
  aspect-ratio: 4 / 5;
}

.article-copy {
  max-width: 66ch;
}

.article-copy > p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--stone-700);
}

.article-copy > p + p {
  margin-top: 1.15rem;
}

.article-copy h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.article-copy ul {
  margin: 1rem 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--stone-700);
}

.article-copy li + li {
  margin-top: 0.35rem;
}

.article-copy li::marker {
  color: var(--indigo);
}

.pullquote {
  margin: 2rem 0;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 1px solid var(--indigo);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
}

.article-copy .note {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--stone-500);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-block {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.contact-block + .contact-block {
  margin-top: 2.25rem;
}

.contact-block h2 {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 0.9rem;
}

.contact-address {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
}

.contact-lines {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-lines a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--stone-300);
  justify-self: start;
  padding-bottom: 1px;
}

.contact-lines a:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.hours {
  display: grid;
  gap: 0.35rem;
  font-size: 0.93rem;
  color: var(--stone-600);
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 280px;
}

.hours .day {
  color: var(--ink);
}

/* ---------- Form ---------- */
.form-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
}

.form-panel h2 {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.form-intro {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--stone-500);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.field label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.field label .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--stone-400);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--stone-300);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(47, 65, 96, 0.09);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.25rem 0 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--stone-600);
}

.checkbox input {
  width: 16px;
  height: 16px;
  margin: 0.18rem 0 0;
  accent-color: var(--indigo);
  flex: 0 0 auto;
}

.checkbox a {
  color: var(--indigo);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-status {
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  background: #eef1f4;
  border-left: 2px solid var(--indigo);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--indigo-deep);
}

.form-status[hidden] {
  display: none;
}

.form-footnote {
  margin-top: 1rem;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--stone-500);
}

/* ---------- Map ---------- */
.map-figure {
  margin-top: 1.5rem;
}

.map-frame {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.75rem;
}

.map-frame svg {
  width: 100%;
  height: auto;
}

.map-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  font-size: 0.7rem;
  color: var(--stone-500);
}

/* ---------- Legal ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 740px);
  gap: clamp(2rem, 6vw, 5rem);
  justify-content: start;
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--section-y);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  align-self: start;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.toc h2 {
  margin-bottom: 0.85rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.toc ol {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  counter-reset: toc;
  font-size: 0.8rem;
  line-height: 1.5;
}

.toc a {
  display: block;
  color: var(--stone-600);
  text-decoration: none;
}

.toc a:hover {
  color: var(--indigo);
}

.legal-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--stone-500);
}

.legal {
  max-width: 740px;
}

.legal-intro {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone-700);
}

.legal h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.98rem;
  font-weight: 500;
}

.legal p,
.legal li {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--stone-600);
}

.legal p + p {
  margin-top: 0.9rem;
}

.legal ul,
.legal ol {
  margin: 0.8rem 0;
  padding-left: 1.15rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal li::marker {
  color: var(--indigo);
}

.legal a {
  color: var(--indigo);
  text-underline-offset: 3px;
}

.legal strong {
  font-weight: 500;
  color: var(--ink);
}

.legal table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
  font-size: 0.86rem;
  line-height: 1.7;
}

.legal th {
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--stone-300);
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  vertical-align: top;
}

.legal td {
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--stone-600);
  vertical-align: top;
}

.legal th:first-child,
.legal td:first-child {
  width: 34%;
}

.legal-foot {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--stone-500);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: #c4c8ce;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-brand .brand {
  color: #f2f0ea;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  max-width: 30ch;
  font-size: 0.85rem;
  line-height: 1.75;
  color: #99a1ab;
}

.footer-reg {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #7f8994;
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8d97a2;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-list a {
  color: #d6dade;
  text-decoration: none;
}

.footer-list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-address {
  font-style: normal;
  color: #c4c8ce;
  line-height: 1.7;
  font-size: 0.85rem;
}

.footer-address a {
  color: #f2f0ea;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-address a:hover {
  border-color: #fff;
}

.footer-hours {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #8d97a2;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
  line-height: 1.6;
  color: #858f9a;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-legal a {
  color: #b3bac2;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #b3bac2;
  text-decoration: none;
}

.top-link:hover {
  color: #fff;
}

/* ---------- Responsive: 1100px ---------- */
@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }
}

/* ---------- Responsive: 900px ---------- */
@media (max-width: 899px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    gap: 1rem;
  }

  .brand svg {
    height: 34px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1.25rem var(--gutter) 2.5rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ink);
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a[aria-current="page"] {
    color: var(--indigo);
  }

  .nav-extra {
    display: block;
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--stone-500);
  }

  .nav-extra a {
    display: inline;
    padding: 0;
    border: 0;
    font-size: 0.82rem;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .nav-extra a:hover {
    color: var(--indigo);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-media {
    order: 2;
    margin-right: 18px;
  }

  .hero-media img {
    aspect-ratio: 16 / 12;
    object-position: 55% 55%;
  }

  .hero-media figcaption {
    margin-right: 0;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .split,
  .split--wide-left,
  .split--wide-right {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .split--media-second .media {
    order: 2;
  }

  .quotes {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .quote {
    max-width: 60ch;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .person {
    max-width: 60ch;
  }

  .article-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-body .media {
    position: static;
    max-width: 560px;
  }

  .article-body .media img {
    aspect-ratio: 16 / 10;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .page-head--row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-head-note {
    max-width: 460px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .toc {
    position: static;
  }

  .toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Responsive: 760px ---------- */
@media (max-width: 759px) {
  .card-grid,
  .service-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.25rem 0.9rem;
  }

  .steps li::before {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .post-card .media img {
    aspect-ratio: 16 / 10;
  }

  .hero-facts {
    gap: 1.1rem 2rem;
  }

  .section-head .h2 {
    max-width: 26ch;
  }
}

/* ---------- Responsive: 560px ---------- */
@media (max-width: 559px) {
  .display {
    font-size: clamp(2.15rem, 10.5vw, 2.9rem);
    letter-spacing: -0.03em;
  }

  .hero-media {
    margin-right: 10px;
  }

  .hero-media::before {
    inset: 10px -10px -10px 10px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3.4;
  }

  .fact {
    padding: 0.95rem 0.75rem;
  }

  .fact dd {
    font-size: 0.82rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .page-head .display {
    max-width: none;
  }

  .page-meta {
    gap: 0.7rem 1.5rem;
    font-size: 0.75rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .timeline .year {
    padding-top: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions .btn {
    width: 100%;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand p {
    max-width: 36ch;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-table {
    min-width: 540px;
  }

  .faq-a {
    padding-right: 0;
  }

  .article {
    padding-block: 2.5rem;
  }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
