@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --rail: 17.75rem;
  --ink: #12202b;
  --paper: #f3efe6;
  --cream: #fbfaf7;
  --copper: #c56a32;
  --copper-deep: #8a3e16;
  --tide: #145650;
  --tide-mid: #1d6b66;
  --tide-soft: #d7ebe6;
  --gold: #f0d7a4;
  --line: rgba(18, 32, 43, 0.14);
  --muted: #314552;
  --text: #17262f;
  --serif: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", Candara, sans-serif;
  --shadow: 0 24px 50px rgba(18, 32, 43, 0.08);
  --radius: 1.6rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  top: -14rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(197, 106, 50, 0.18), transparent 68%);
  animation: drift 26s ease-in-out infinite alternate;
}

body::after {
  bottom: -18rem;
  left: 8rem;
  background: radial-gradient(circle, rgba(29, 107, 102, 0.16), transparent 68%);
  animation: drift 32s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-4%, 3%, 0); }
}

img, svg { max-width: 100%; height: auto; }
p, li, dd, h1, h2, h3, address { overflow-wrap: break-word; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { margin: 0 0 0.85rem; font-size: clamp(2.05rem, 4.8vw, 4.5rem); line-height: 1.12; }
h2 { margin: 0 0 0.7rem; font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { margin: 0 0 0.4rem; font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--tide); text-underline-offset: 0.16em; }
a:hover { color: var(--copper-deep); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--copper-deep);
  outline-offset: 3px;
}

::selection { background: #e7c9a4; color: var(--ink); }

.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;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
}

.skip:focus { top: 0.75rem; }

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.shell { position: relative; z-index: 1; min-height: 100vh; }

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #101c26;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; flex: 0 0 auto; }
.rail .brand img { width: 48px; height: 48px; }

.brand span { min-width: 0; }
.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f4efe6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 0.18rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 600;
}

.nav-toggle {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(243, 239, 230, 0.45);
  background: rgba(243, 239, 230, 0.08);
  color: #f4efe6;
  font-weight: 600;
  cursor: pointer;
}

.bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: #f4efe6;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #f4efe6;
}

.bars::before { top: -6px; }
.bars::after { top: 6px; }

.rail {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  background: #101c26;
  color: #e7eeea;
  padding: 1.25rem 1.1rem 1.5rem;
}

.rail a { color: #f4efe6; }
.rail-intro { margin: 0; color: #d5e0dc; font-size: 0.98rem; }

.rail-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.rail-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  color: #d7e3df;
  text-decoration: none;
}

.rail-nav a[aria-current="page"] {
  background: rgba(243, 239, 230, 0.1);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--copper);
}

.rail-nav a:hover { background: rgba(243, 239, 230, 0.06); color: #fff; }
.rail-meta { margin-top: auto; color: #d5e0dc; font-size: 0.95rem; }
.rail-meta a { text-underline-offset: 0.16em; overflow-wrap: anywhere; }
.rail-meta p { margin: 0 0 0.35rem; }

.nav-backdrop { display: none; }

.main { min-width: 0; }
.wrap { max-width: 1120px; padding: 0.4rem 1rem 3rem; }
body:has(#cookie-banner:not([hidden])) .wrap { padding-bottom: 13rem; }

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tide);
}

.lede { font-size: 1.15rem; line-height: 1.55; max-width: 40rem; color: var(--ink); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  align-items: center;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.crumb-sep { color: rgba(18, 32, 43, 0.35); }

.page-intro { padding: 1.1rem 0 0.4rem; }
.page-intro h1 { max-width: 14em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  max-width: 100%;
}

.btn:hover { background: var(--tide); color: #f4fffd; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 32, 43, 0.28);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.mast-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.35rem; }

.mast {
  display: grid;
  gap: 1.5rem;
  padding: 1.2rem 0 0.4rem;
}

.facts { margin: 0; }
.facts div { padding: 0.8rem 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tide);
}
.facts dd { margin: 0.15rem 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }

.board {
  display: grid;
  gap: 1.2rem;
  margin: 1.4rem 0 2.6rem;
  padding: 1.1rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background: rgba(251, 250, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
}

.ops-map { display: block; width: 100%; }
.ops-map .guide { fill: none; stroke: rgba(20, 86, 80, 0.35); stroke-width: 1.5; }
.ops-map .stream {
  fill: none;
  stroke: var(--copper);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 7 12;
  animation: flow 18s linear infinite;
}
.ops-map .node { fill: var(--ink); }
.ops-map .node-soft { fill: var(--tide-mid); }

@keyframes flow { to { stroke-dashoffset: -280; } }

.lane-list { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.lane-bar {
  display: block;
  height: 0.28rem;
  border-radius: 99px;
  margin-bottom: 0.35rem;
  background: linear-gradient(90deg, var(--tide-mid), #e0b15a 45%, var(--copper) 75%, var(--tide-mid));
  background-size: 200% 100%;
  animation: sheen 9s linear infinite;
}
.lane-list li:nth-child(2) .lane-bar { animation-duration: 12s; }
.lane-list li:nth-child(3) .lane-bar { animation-duration: 7s; }
.lane-list li:nth-child(4) .lane-bar { animation-duration: 11s; }

@keyframes sheen {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

.practice, .offer-glance, .charter, .contact-grid, .close-band {
  display: grid;
  gap: 1.25rem;
}

.practice { margin-bottom: 2.8rem; }
.practice-fit, .side-note, .path-side {
  background: var(--tide-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.practice-fit ul, .prose ul, .sheet ul, .offer-sheet ul { margin: 0.35rem 0 0; padding-left: 1.15rem; }
.practice-fit li, .prose li, .sheet li, .offer-sheet li { margin: 0.4rem 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  align-items: end;
  margin-bottom: 0.4rem;
}

.service-index { border-bottom: 1px solid var(--line); margin-bottom: 2.6rem; }
.service-row {
  display: grid;
  gap: 0.2rem 1rem;
  padding: 1.05rem 0.15rem;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.service-row span {
  color: var(--tide);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-row strong {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.service-row em { font-style: normal; color: var(--muted); }
.service-row:hover { background: rgba(255, 255, 255, 0.45); }
.service-row:hover strong { color: var(--copper-deep); }

.movements {
  display: grid;
  gap: 0.35rem 1.2rem;
  margin: 0 0 2.6rem;
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #f3efe6;
}
.movements h2, .movements h3, .movements p { color: #f3efe6; }
.movements h3 { color: var(--gold); }
.movements a { color: var(--gold); }
.movements article { padding: 0.85rem 0; border-top: 1px solid rgba(243, 239, 230, 0.14); }

.offer-glance { margin: 0 0 2.6rem; align-items: start; }
.side-note h2, .side-note h3 { font-size: 1.45rem; }

.faq-list { margin: 0.4rem 0 2.4rem; }
.faq-list details { border-top: 1px solid var(--line); padding: 0.85rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--ink);
}
.faq-list details p { max-width: 68ch; margin-top: 0.65rem; }

.close-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 0.5rem;
}
.close-invite, .close-visit { padding: 1.35rem 1.2rem; }
.close-invite { background: rgba(251, 250, 247, 0.9); }
.close-visit { background: var(--ink); color: #f3efe6; }
.close-visit h2, .close-visit p { color: #f3efe6; }
.close-visit a { color: var(--gold); }

.charter { margin: 0.4rem 0 1.6rem; align-items: start; }
.logo-lockup { width: min(100%, 24rem); height: auto; display: block; margin-bottom: 0.8rem; }

.principle {
  display: grid;
  gap: 0.35rem 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h2 { font-size: 1.55rem; margin: 0; }
.method { max-width: 68ch; margin: 1.6rem 0; }

.inpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  position: sticky;
  top: 4rem;
  z-index: 4;
  margin: 0.2rem 0 1rem;
  padding: 0.7rem 0;
  background: rgba(243, 239, 230, 0.94);
}
.inpage a { font-weight: 600; font-size: 0.95rem; }

.sheet, .offer-sheet {
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.78);
  scroll-margin-top: 5.5rem;
}
.sheet-alt { background: rgba(215, 235, 230, 0.55); }
.sheet-head, .sheet-body, .offer-sheet { padding: 1.15rem 1.1rem; }
.sheet-body { padding-top: 0; }
.sheet .purpose, .offer-sheet .purpose { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.spec { display: grid; gap: 0.75rem; margin: 1rem 0; }
.spec section {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 1rem;
  padding: 0.85rem 0.9rem;
}
.fit-line { margin-top: 0.3rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.guide { margin: 1.4rem 0 2rem; }
.guide ul { max-width: 68ch; }

.path { list-style: none; margin: 0.6rem 0 2rem; padding: 0; }
.path > article {
  display: grid;
  gap: 0.8rem;
  position: relative;
  margin: 0;
  padding: 0 0 1.7rem 1.25rem;
  border-left: 2px solid rgba(197, 106, 50, 0.55);
  scroll-margin-top: 5rem;
}
.path > article::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--copper);
  position: absolute;
  left: -0.44rem;
  top: 0.35rem;
  box-shadow: 0 0 0 4px var(--paper);
}
.path h2 { font-size: 1.7rem; }

.qa { padding: 1.05rem 0; border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.qa:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.qa h2 { font-size: 1.4rem; }
.qa p { max-width: 68ch; }

.prose h2 { font-size: 1.55rem; margin-top: 1.8rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.2rem; }
.prose p, .prose li { max-width: 68ch; }
.notice {
  background: var(--tide-soft);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
}

.contact-grid { align-items: start; margin-top: 0.4rem; }
.form-card {
  position: relative;
  background: rgba(251, 250, 247, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 0.95rem; }
.field label, .check span { font-weight: 600; }
.field label { display: block; margin-bottom: 0.35rem; }
.req { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(18, 32, 43, 0.24);
  border-radius: 0.8rem;
  padding: 0.75rem 0.8rem;
  min-height: 48px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field-error { color: #8a2b16; font-size: 0.95rem; margin: 0.35rem 0 0; }
.form-error, .form-success {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
}
.form-error { background: #f8e4dc; color: #5c2414; }
.form-success { background: var(--tide-soft); color: #123f3b; }
.check { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0.4rem 0 1rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.28rem; flex: 0 0 auto; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.table-wrap { overflow-x: auto; max-width: 100%; margin: 0.6rem 0 1rem; }
table { width: 100%; border-collapse: collapse; min-width: 36rem; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
th { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tide); }

.choice-card {
  background: rgba(251, 250, 247, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin: 1rem 0 1.5rem;
  scroll-margin-top: 5.5rem;
}
.choice-card .cookie-actions { margin-top: 0.8rem; }

.missing { min-height: 48vh; padding: 2.5rem 0 1rem; display: grid; align-content: center; gap: 0.4rem; }
.missing-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.6rem; }

.colophon { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.colophon-grid { display: grid; gap: 1.4rem; }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { margin: 0.3rem 0; }
.legal-line { margin-top: 1.4rem; color: var(--muted); font-size: 0.95rem; }

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  width: auto;
  max-width: 40rem;
  margin: 0 auto;
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.2rem;
  background: var(--ink);
  color: #f3efe6;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.cookie-banner[hidden], .cookie-panel[hidden], .cookie-form[hidden] { display: none !important; }
.cookie-banner p { color: #f3efe6; }
.cookie-banner .kicker { color: var(--gold); }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner .btn { background: #f3efe6; color: var(--ink); width: 100%; }
.cookie-banner .btn:hover { background: var(--gold); color: var(--ink); }
.cookie-banner .btn-ghost { background: transparent; color: #f3efe6; border-color: rgba(243, 239, 230, 0.4); }
.cookie-banner .btn-ghost:hover { background: rgba(243, 239, 230, 0.1); color: #fff; }
.cookie-panel { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid rgba(243, 239, 230, 0.16); }
.cookie-banner .check span { font-weight: 400; }

@media (max-width: 960px) {
  .rail {
    position: fixed;
    z-index: 50;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 20rem);
    height: 100vh;
    overflow: auto;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.2s ease;
  }
  .nav-check:checked ~ .shell .rail {
    transform: none;
    visibility: visible;
  }
  .nav-check:checked ~ .shell .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(16, 28, 38, 0.48);
    z-index: 40;
  }
  body:has(.nav-check:checked) { overflow: hidden; }
}

@media (min-width: 700px) {
  .cookie-banner .cookie-actions { flex-direction: row; }
  .cookie-banner .btn { width: auto; flex: 1 1 0; }
  .wrap { padding-left: 1.6rem; padding-right: 1.6rem; }
  .service-row { grid-template-columns: 8.5rem minmax(0, 1.2fr) minmax(0, 1fr); align-items: baseline; }
  .colophon-grid { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: 1fr 1fr; }
  .principle { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }
}

@media (min-width: 861px) {
  .mast, .board, .practice, .offer-glance, .close-band, .charter, .contact-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.8fr);
    gap: 1.5rem 2rem;
  }
  .board { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .path > article { grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.7fr); gap: 1rem 1.4rem; }
  .movements { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1fr); }
  .movements-intro { grid-row: 1 / span 2; padding-right: 0.4rem; }
  .movements article { border-top: 0; padding-top: 0.2rem; }
  .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 961px) {
  .topbar { display: none; }
  .shell { display: flex; align-items: stretch; }
  .rail {
    position: sticky;
    top: 0;
    height: 100vh;
    width: var(--rail);
    flex: 0 0 var(--rail);
    overflow: auto;
    transform: none;
    visibility: visible;
  }
  .main { flex: 1; }
  .wrap { padding: 0.6rem 2.4rem 4rem; }
  .inpage { top: 0; }
  .sheet, .qa, .path > article, .choice-card { scroll-margin-top: 1rem; }
  .nav-backdrop { display: none !important; }
}

@media (min-width: 1100px) {
  .colophon-grid { grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr; }
  .wrap { padding-left: 3rem; padding-right: 3rem; }
}

@media (max-width: 600px) {
  .mast-actions .btn, .form-card .btn, .choice-card .btn { width: 100%; }
}

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

@media print {
  body::before, body::after, .topbar, .rail, .cookie-banner, .nav-backdrop { display: none !important; }
  .shell { display: block; }
  .main, .wrap { width: auto; max-width: none; }
  a { text-decoration: underline; }
  .close-visit, .movements { background: #fff; color: #000; }
  .close-visit h2, .close-visit p, .movements h2, .movements h3, .movements p { color: #000; }
}
