/* package fonts (woff2, copied into dist/assets/fonts) */
@font-face { font-family: 'Saira Stencil One'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/saira-stencil-one-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/saira-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/saira-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/saira-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/saira-latin-700-normal.woff2") format("woff2"); }
/* generated block: satellite design tokens (light) */
:root {
  --bg-light-base: #f8faf7;
  --fg-light-base-body: #10264a;
  --fg-light-base-heading: #10264a;
  --fg-light-base-muted: #3a5373;
  --fg-light-base-link: #17508f;
  --fg-light-base-inverse: #10264a;
  --bg-light-card: #e2eef4;
  --fg-light-card-body: #10264a;
  --fg-light-card-heading: #10264a;
  --fg-light-card-muted: #3a5373;
  --fg-light-card-link: #17508f;
  --fg-light-card-inverse: #10264a;
  --bg-light-elevated: #cbe0ea;
  --fg-light-elevated-body: #10264a;
  --fg-light-elevated-heading: #10264a;
  --fg-light-elevated-muted: #3a5373;
  --fg-light-elevated-link: #17508f;
  --fg-light-elevated-inverse: #10264a;
  --brand-light-accent: #17508f;
  --brand-light-accent-hover: #0b3266;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #17508f;
  --border-light-default: #4d6683;
  --border-light-subtle: #b4ccd9;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
/* component rules: semantic carriers and renderer-owned behaviours */
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* package stylesheet (verbatim; model-owned rules win by source order) */
/* Lakeshore nautical chart: chart paper, water tints, navy ink, buoy orange. */

:root {
  --paper: var(--bg-light-base);
  --water: var(--bg-light-card);
  --shoal: var(--bg-light-elevated);
  --ink: var(--brand-light-accent);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --buoy: #e4561c;
  --stencil: 'Saira Stencil One', 'Arial Narrow', Arial, sans-serif;
  --sans: 'Saira', 'Segoe UI', Arial, sans-serif;
  --rail: 17rem;
  --measure: 40rem;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --ticks-x: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 1.5rem);
  --ticks-x-major: repeating-linear-gradient(90deg, var(--rule) 0 2px, transparent 2px 7.5rem);
  --ticks-y: repeating-linear-gradient(180deg, var(--rule) 0 1px, transparent 1px 1.5rem);
  --ticks-y-major: repeating-linear-gradient(180deg, var(--rule) 0 2px, transparent 2px 7.5rem);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "tnum";
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--stencil);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.25rem);
}

a {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link:focus {
  position: absolute;
  left: var(--gutter);
  top: 0.5rem;
  z-index: 30;
  background: var(--paper);
}

/* ---------- Chart frame: sticky index rail beside the sheet ---------- */

.chart-frame {
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.6rem var(--gutter);
  border-bottom: 2px solid var(--rule);
}

.bracket {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-family: var(--stencil);
  font-size: 1.05rem;
  line-height: 1.15;
  text-decoration: none;
}

.bracket::before,
.bracket::after {
  font-size: 2.1em;
  line-height: 1;
  color: var(--ink);
}

.bracket::before {
  content: "[";
}

.bracket::after {
  content: "]";
}

.bracket .site-logo {
  width: 2.1rem;
  height: auto;
  flex: none;
}

.bracket-name {
  max-width: 13rem;
}

.rail-strap,
.rail-fix {
  display: none;
}


.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.9rem;
  font-weight: 600;
  border: 2px solid var(--rule);
  background: var(--water);
}

.site-menu ul {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 100%;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  counter-reset: section;
  background: var(--paper);
  border: 2px solid var(--rule);
}

.site-menu li {
  counter-increment: section;
}

.site-menu li a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.site-menu li a::before {
  content: counter(section);
  font-family: var(--stencil);
  font-weight: 400;
  color: var(--ink);
}

.site-menu li a:hover {
  text-decoration: underline;
}

.sheet {
  min-width: 0;
  padding: 0 var(--gutter) 0;
}

/* Coordinate ticks along the top edge of the sheet. */
.neatline {
  height: 0.9rem;
  margin: 0 calc(-1 * var(--gutter));
  background:
    var(--ticks-x-major) 0 0 / 100% 0.9rem no-repeat,
    var(--ticks-x) 0 0 / 100% 0.45rem no-repeat;
}

@media (min-width: 64rem) {
  .chart-frame {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
  }

  .rail {
    height: 100vh;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.25rem;
    padding: 2rem 1.75rem 1.5rem 1.5rem;
    border-bottom: 0;
    border-right: 2px solid var(--rule);
    background-image: var(--ticks-y-major), var(--ticks-y);
    background-size: 0.9rem 100%, 0.45rem 100%;
    background-position: right top, right top;
    background-repeat: no-repeat;
    overflow-y: auto;
  }

  .bracket {
    align-items: flex-start;
    font-size: 1.2rem;
  }

  .bracket::before,
  .bracket::after {
    font-size: 2.6em;
    margin-top: -0.12em;
  }

  .rail-strap {
    display: block;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .rail-fix {
    display: block;
    margin: auto 0 0;
    font-size: 0.85rem;
    font-style: italic;
    letter-spacing: 0.02em;
  }

  .sheet {
    padding: 0 clamp(2rem, 4.5vw, 4.5rem);
  }

  .neatline {
    margin: 0 calc(-1 * clamp(2rem, 4.5vw, 4.5rem));
  }
}

@supports selector(::details-content) {
  @media (min-width: 64rem) {
    .site-menu > summary {
      display: none;
    }

    .site-menu::details-content {
      content-visibility: visible;
      display: contents;
    }

    .site-menu ul {
      position: static;
      width: auto;
      padding: 0;
      background: none;
      border: 0;
      border-top: 2px solid var(--rule);
    }

    .site-menu li {
      border-bottom: 1px solid var(--rule-soft);
    }

    .site-menu li a {
      grid-template-columns: 2.25rem 1fr;
      padding: 0.55rem 0;
      font-size: 1.02rem;
    }

    .site-menu li a::before {
      font-size: 1.15rem;
    }
  }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  margin: 1.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

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

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

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Footer: one sitemap sentence ---------- */

.colophon {
  max-width: 52rem;
  margin: 5rem 0 0;
  padding: 1.5rem 0 2.5rem;
  border-top: 2px solid var(--rule);
  background-image: var(--ticks-x);
  background-size: 100% 0.45rem;
  background-repeat: no-repeat;
}

.colophon-line {
  margin: 0;
  font-size: 0.98rem;
  line-height: 2;
}

/* ---------- Shared prose ---------- */

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

.prose > * {
  margin: 0 0 1.1em;
}

.prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
}

.prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1.3rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li {
  margin: 0 0 0.55em;
}

.prose li::marker {
  color: var(--buoy);
}

.prose strong {
  font-weight: 600;
}

.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 0.9rem 1.1rem;
  background: var(--water);
  border: 2px solid var(--buoy);
}

.prose figure {
  margin: 2.25rem 0;
}

.prose .photo-hero,
.prose .photo-inline {
  padding: 0.5rem;
  background: var(--paper);
  border: 2px solid var(--rule);
  outline: 1px solid var(--rule-soft);
  outline-offset: 4px;
}

.prose figure img {
  display: block;
  width: 100%;
}

.prose section[data-section] {
  margin: 2.25rem 0;
  padding: 7rem 0.75rem 0.75rem;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--rule);
}

.prose section[data-section] > div {
  padding: 0.25rem 1.1rem 0.5rem;
}

.prose section[data-section] > div > h2:first-child {
  margin-top: 0.6em;
}

/* ---------- Home: chart sheet ---------- */

.water {
  position: relative;
  margin: 2rem 0 0;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  border: 2px solid var(--rule);
  background-image:
    var(--ticks-x-major), var(--ticks-x),
    var(--ticks-y-major), var(--ticks-y);
  background-size: 100% 0.8rem, 100% 0.4rem, 0.8rem 100%, 0.4rem 100%;
  background-position: left top, left top, left top, left top;
  background-repeat: no-repeat;
}

.water::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: clamp(1rem, 4vw, 2rem);
  width: 2.1rem;
  height: 2.8rem;
  background: var(--buoy);
  clip-path: polygon(20% 100%, 35% 0, 65% 0, 80% 100%);
}

.water-title h1 {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.3;
  border: 2px solid var(--rule);
  background: var(--paper);
}

.water-lead {
  max-width: 15ch;
  margin: 1.5rem 0 1.5rem;
  font-family: var(--stencil);
  font-size: clamp(2.5rem, 7.5vw, 4.6rem);
  line-height: 1.02;
}

.water-lines {
  max-width: 36rem;
  margin: 0;
  padding: 0 3rem 0 0;
  list-style: none;
}

.water-lines li {
  position: relative;
  margin: 0 0 0.6rem;
  padding-left: 1.6rem;
  font-size: 1.08rem;
  line-height: 1.5;
}

.water-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.9rem;
  height: 2px;
  background: var(--ink);
}

.plot {
  max-width: 52rem;
  margin: 3.5rem 0 0;
  counter-reset: mark;
}

.plot-head {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
}

.plot-note {
  margin: 0.35rem 0 1.5rem;
  font-size: 0.95rem;
}

.plot-group {
  padding: 1.1rem 0 0.4rem;
  border-top: 2px solid var(--rule);
  background-image: var(--ticks-x);
  background-size: 100% 0.45rem;
  background-repeat: no-repeat;
}

.plot-topic {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.25rem;
}

.plot-topic a {
  text-decoration-thickness: 1px;
}

.plot-list {
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
}

.plot-mark {
  counter-increment: mark;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: center;
  column-gap: 0.75rem;
  padding: 0.25rem 0;
}

.plot-mark::before {
  content: counter(mark);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--buoy);
  border-radius: 50%;
  background: var(--paper);
}

.plot-mark a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  line-height: 1.3;
}

.home-prose {
  margin-top: 3.5rem;
}

/* ---------- Topic hub: legend list ---------- */

.hub-head,
.leg-head,
.key-head {
  margin: 1.5rem 0 0;
}

.hub-head {
  padding: 1.75rem clamp(1.1rem, 3vw, 2rem) 1.6rem;
  border: 2px solid var(--rule);
  background-image: var(--ticks-x-major), var(--ticks-x);
  background-size: 100% 0.8rem, 100% 0.4rem;
  background-repeat: no-repeat;
}

.hub-title h1 {
  max-width: 20ch;
}

.hub-prose {
  margin-top: 2rem;
}

.legend {
  max-width: var(--measure);
  margin: 2.5rem 0 0;
  padding: 1.4rem clamp(1.1rem, 3vw, 1.75rem) 1rem;
  border: 2px solid var(--rule);
}

.legend-head {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.legend-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legend;
}

.legend-list li {
  counter-increment: legend;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: center;
  border-top: 1px solid var(--rule-soft);
}

.legend-list li:first-child {
  border-top: 2px solid var(--rule);
}

.legend-list li::before {
  content: counter(legend);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 2.3rem;
  font-family: var(--stencil);
  font-size: 1.05rem;
  background:
    linear-gradient(var(--buoy), var(--buoy)) center bottom / 70% 0.35rem no-repeat;
  border-bottom: 2px solid var(--rule);
}

.legend-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.4rem 0;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Article ---------- */

.leg-head {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 2px solid var(--rule);
  background-image: var(--ticks-x);
  background-size: 100% 0.45rem;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.leg-title h1 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
}

.leg-prose {
  margin-top: 2rem;
}

.chart-note {
  max-width: var(--measure);
  margin: 2.5rem 0 0;
  padding: 1rem 1.2rem;
  border: 2px solid var(--buoy);
  border-left-width: 0.6rem;
}

.chart-note p {
  margin: 0;
  line-height: 1.55;
}

/* ---------- About: legend panel ---------- */

.key-head {
  padding: 1.5rem 0 0;
}

.key-panel {
  max-width: var(--measure);
  margin: 2rem 0 0;
  padding: 1.4rem clamp(1.1rem, 3vw, 1.75rem) 1.1rem;
  border: 2px solid var(--rule);
}

.key-panel-head {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
}

.key-lines {
  margin: 0;
}

.key-line {
  display: grid;
  grid-template-columns: 1.5rem 7rem 1fr;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule-soft);
}

.key-line::before {
  content: "";
  align-self: center;
  width: 1.1rem;
  height: 1.1rem;
}

.key-sources::before {
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.key-test::before {
  background: var(--ticks-x);
  background-size: 0.35rem 100%;
  border-bottom: 2px solid var(--ink);
  height: 0.8rem;
}

.key-reader::before {
  background: var(--ink);
  border-radius: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.2rem;
}

.key-handoff::before {
  background: var(--buoy);
  clip-path: polygon(20% 100%, 35% 0, 65% 0, 80% 100%);
}

.key-area::before {
  border: 2px solid var(--ink);
}

.key-line dt {
  font-family: var(--stencil);
  font-size: 1.05rem;
}

.key-line dd {
  margin: 0;
  line-height: 1.5;
}

.key-prose {
  margin-top: 2.25rem;
}

@media (max-width: 30rem) {
  .key-line {
    grid-template-columns: 1.5rem 1fr;
  }

  .key-line dd {
    grid-column: 2;
  }
}

/* ---------- Contact: logbook ---------- */

.logbook-grid {
  display: grid;
  gap: 2.25rem;
  margin: 1.5rem 0 0;
}

.logbook-prose {
  margin-top: 1.5rem;
}

.logbook-sheet {
  align-self: start;
  padding: 1.5rem clamp(1.1rem, 3vw, 1.75rem);
  border: 2px solid var(--rule);
  background-image: var(--ticks-y-major), var(--ticks-y);
  background-size: 0.8rem 100%, 0.4rem 100%;
  background-repeat: no-repeat;
}

.logbook-head {
  font-size: 1.4rem;
}

.logbook-help {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.logbook-form {
  display: grid;
  gap: 1.15rem;
}

.entry {
  display: grid;
  gap: 0.35rem;
}

.entry-label {
  font-family: var(--stencil);
  font-size: 1.05rem;
}

.entry-field {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem 0.75rem;
  font: inherit;
  border: 0;
  border-bottom: 2px solid var(--rule);
  background-image: var(--ticks-x);
  background-size: 100% 0.45rem;
  background-position: left bottom;
  background-repeat: no-repeat;
  border-radius: 0;
}

.entry-area {
  resize: vertical;
}

.entry-field:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.logbook-close {
  margin: 1.5rem 0 0;
}

.logbook-done {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--buoy);
  background: var(--paper);
}

.logbook-done:hover {
  text-decoration: underline;
}

@media (min-width: 52rem) {
  .logbook-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

/* ---------- Thank you and not found: mooring panel ---------- */

.mooring-panel {
  max-width: 38rem;
  margin: 2.5rem 0 0;
  padding: 2rem clamp(1.2rem, 4vw, 2.25rem) 1.5rem;
  border: 2px solid var(--rule);
}

.buoy {
  display: block;
  width: 1.9rem;
  height: 2.5rem;
  margin: 0 0 1.1rem;
  background: var(--buoy);
  clip-path: polygon(20% 100%, 35% 0, 65% 0, 80% 100%);
}

.mooring-title h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.5rem);
}

.mooring-prose {
  margin-top: 1.25rem;
}

.mooring-link {
  margin: 1rem 0 0;
  font-weight: 600;
}

.mooring-link a,
.mooring-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.mooring-head {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.3rem;
}

.mooring-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--rule);
}

.mooring-list li {
  border-bottom: 1px solid var(--rule-soft);
  font-weight: 600;
}

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