/* ============================================================
   Variant 01 — Swiss minimalism / restrained editorial
   Print-grade precision: hairline rules, no cards, no shadows,
   one restrained accent. Neo-grotesque sans everywhere;
   serif italic reserved for pull-quotes only; mono for figures.
   ============================================================ */

:root {
  --paper:  #ffffff;
  --ink:    #111111;
  --ink-2:  #3b3b3b;
  --muted:  #646464;
  --hairline: #e3e3e3;
  --accent: #002fa7;
  --sans:   -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --serif:  Georgia, "Times New Roman", serif;
  --mono:   ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw:   44rem;
}

*, *::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(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

/* ---------- accessibility helpers ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.6rem 1rem;
  color: var(--ink);
  text-decoration: none;
}

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

::selection { background: var(--accent); color: var(--paper); }

/* ---------- layout shell ---------- */

.wrap {
  width: min(100% - 2 * var(--gutter), 72rem);
  margin-inline: auto;
}

.col {
  width: min(100%, var(--maxw));
}

/* ---------- fixed slim inline text nav (no hamburger, any size) ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  column-gap: 1.25rem;
  padding: 0 var(--gutter);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.25rem 0;
}
.nav__brand:hover { color: var(--accent); }

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left calc(100% - 6px);
  transition: background-size 0.2s ease, color 0.2s ease;
}
.nav__link:hover, .nav__link:focus-visible { background-size: 100% 1px; }
.nav__link[aria-current="page"] {
  color: var(--accent);
  background-size: 100% 1px;
}

.nav__lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem;
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: background-size 0.2s ease;
}
.nav__lang a:hover, .nav__lang a:focus-visible { background-size: 100% 1px; }
.nav__lang .is-here {
  color: var(--accent);
  background-size: 100% 1px;
  font-weight: 700;
}

/* ---------- typographic masthead (hero = type only) ---------- */

.masthead {
  padding: 8.5rem 0 3.5rem;
}
.masthead--tight {
  padding: 7.5rem 0 2.75rem;
}

.masthead__grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.5rem;
}
@media (min-width: 700px) {
  .masthead__grid {
    grid-template-columns: minmax(0, 9rem) minmax(0, 36rem);
    column-gap: 2.5rem;
  }
  .masthead__grid--flip {
    grid-template-columns: minmax(0, 36rem) minmax(0, 9rem);
  }
  .masthead__grid--flip .masthead__meta { order: 2; }
}

.masthead__meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--ink);
  padding-top: 0.6rem;
}

.masthead h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 650;
  max-width: 34rem;
}

.masthead__stmt {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1.07rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.masthead__line {
  margin-top: 1.7rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  max-width: 34rem;
}

/* ---------- editorial sections: hairline rules, index numbers ---------- */

.sec {
  border-top: 1px solid var(--hairline);
  padding: 2.6rem 0;
}
.sec--ink { border-top-color: var(--ink); }

.sec__head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin: 0 0 1.4rem;
}
.sec__idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}
.sec__lab {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.sec h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 1.6rem 0 0.5rem;
}

.sec p { max-width: 44rem; }
.sec ul, .sec ol { max-width: 44rem; }

/* rule-list — hairline rows instead of cards */
.rlist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}
.rlist li {
  border-top: 1px solid var(--hairline);
  padding: 0.65rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  min-width: 0;
}
.rlist li:last-child { border-bottom: 1px solid var(--hairline); }
.rlist__a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; min-height: 44px; }
.rlist__a:hover { color: var(--accent); }
.rlist__m { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

.rlist--cols { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .rlist--cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.5rem; }
  .rlist--cols li:nth-child(odd) { border-top: 1px solid var(--hairline); }
  .rlist--cols .rlist__m { white-space: normal; text-align: right; }
}

/* ---------- inline text links (hairline underline reveal) ---------- */

.tlink {
  color: var(--accent);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: background-size 0.2s ease;
  padding-bottom: 1px;
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 1px; }

/* ---------- typographic buttons (print-grade) ---------- */

.btnrow { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--ghost { border-color: var(--muted); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ---------- typographic price table ---------- */

.tablewrap { max-width: 62rem; overflow-x: auto; }

table.pricetable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pricetable caption {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.6rem;
}
.pricetable th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
}
.pricetable td {
  padding: 0.72rem 0.75rem 0.72rem 0;
  border-top: 1px solid var(--hairline);
  vertical-align: top;
}
.pricetable tbody tr:last-child td { border-bottom: 1px solid var(--hairline); }
.pricetable .num {
  font-family: var(--mono);
  font-size: 0.95rem;
  white-space: nowrap;
}
.pricetable .onreq {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricetable .onreq::before { content: "\00b7\00a0"; }
.pricetable td[data-label]::before { display: none; }

@media (max-width: 600px) {
  .pricetable thead { display: none; }
  .pricetable, .pricetable tbody, .pricetable tr, .pricetable td { display: block; width: 100%; }
  .pricetable tr { border-top: 1px solid var(--ink); padding: 0.4rem 0 0.7rem; }
  .pricetable td { border-top: none; padding: 0.15rem 0; }
  .pricetable td[data-label]::before {
    display: block;
    content: attr(data-label);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .pricetable tbody tr:last-child td { border-bottom: none; }
}

/* ---------- interactive pricing finder (same typographic table idiom) ---------- */

.finder { max-width: 62rem; }

.finder__selgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .finder__selgrid { grid-template-columns: repeat(3, 1fr); }
}

.field { display: block; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.field select {
  width: 100%;
  min-height: 44px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.4rem 0.15rem;
}
.field select:focus-visible { outline-offset: 2px; }

.finder__state { display: none; margin-top: 1.6rem; }

.finder[data-state="loading"] .st-loading,
.finder[data-state="empty"]   .st-empty,
.finder[data-state="no-data"] .st-nodata,
.finder[data-state="resolved"] .st-resolved,
.finder[data-state="error"]   .st-error { display: block; }

.st-loading {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.st-empty {
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.st-nodata {
  border-top: 1px solid var(--ink);
  padding-top: 1.1rem;
}
.st-nodata .st-nodata__head {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.st-nodata p { max-width: 40rem; }
.st-error {
  border-top: 1px solid var(--ink);
  padding-top: 1.1rem;
}
.st-error .st-error__head {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.st-resolved { border-top: 1px solid var(--ink); padding-top: 1.1rem; }

.finder__note {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- pull-quote: the ONLY serif italic ---------- */

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.45;
  margin: 2.6rem 0;
  max-width: 34rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 1.5rem 0;
  color: var(--ink);
}

/* ---------- testimonials ---------- */

.quotes { max-width: 44rem; }
.quote { border-top: 1px solid var(--hairline); padding: 1.5rem 0 1.4rem; }
.quote:last-child { border-bottom: 1px solid var(--hairline); }
.quote blockquote { margin: 0; font-size: 1rem; }
.quote blockquote p { margin: 0; max-width: none; }
.quote figcaption {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote .stars {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-top: 0.35rem;
}

/* ---------- breadcrumbs ---------- */

.crumbs {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.2rem;
  padding-top: 2.2rem;
  overflow-x: auto;
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li::after { content: "\2192"; margin-left: 0.4rem; color: var(--hairline); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--muted); }

/* ---------- hours table (plain rule rows) ---------- */

.hours { max-width: 26rem; }
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hairline);
  padding: 0.5rem 0;
}
.hours__row:last-child { border-bottom: 1px solid var(--hairline); }
.hours__d { font-size: 0.95rem; }
.hours__t { font-family: var(--mono); font-size: 0.88rem; color: var(--ink-2); }

/* ---------- contact NAP ---------- */

.nap { max-width: 26rem; }
.nap__item { border-top: 1px solid var(--hairline); padding: 0.85rem 0; display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; }
.nap__item:last-child { border-bottom: 1px solid var(--hairline); }
.nap__k { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nap__v { text-align: right; }
.nap .bigphone {
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: background-size 0.2s ease;
}
.nap .bigphone:hover { background-size: 100% 1px; color: var(--accent); }

/* ---------- mailto form (assembles a mailto:, never a fake success) ---------- */

.mailform { max-width: 36rem; }
.mailform .field { margin-bottom: 1.1rem; }
.mailform input[type="text"], .mailform textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.5rem 0.1rem;
  min-height: 44px;
}
.mailform textarea { min-height: 120px; resize: vertical; }
.mailform__note {
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- footer (consistent NAP on every page) ---------- */

.footer {
  border-top: 1px solid var(--ink);
  margin-top: 4.5rem;
  padding: 2.6rem 0 3rem;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
.footer h2 {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 0.18rem 0; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__base {
  margin-top: 2.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* ---------- legal pages ---------- */

.legal { max-width: 44rem; }
.legal h2 {
  font-size: 1rem;
  margin: 1.8rem 0 0.5rem;
  letter-spacing: 0.01em;
}
.legal p, .legal li { font-size: 0.95rem; }
.note-review {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 0.9rem 0;
  margin: 1.6rem 0;
  font-size: 0.85rem;
  color: var(--ink-2);
}

/* ---------- misc ---------- */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; max-width: 44rem; }
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--hairline);
  padding: 0.9rem 0;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
}
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 0.25rem;
}
.steps strong { display: block; font-size: 1rem; }
.steps p { margin: 0.15rem 0 0; }

.deflist { max-width: 44rem; }
.deflist dt {
  border-top: 1px solid var(--hairline);
  padding: 0.8rem 0 0.2rem;
  font-weight: 600;
  font-size: 1rem;
}
.deflist dt:first-of-type { border-top: none; }
.deflist dd { margin: 0 0 0.7rem; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}