@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/lora-500.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/lora-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/karla-400.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/karla-600.woff2") format("woff2");
}

:root {
  --stone: #ebe6dc;
  --ink: #241c16;
  --mute: #6a5e52;
  --copper: #a65b32;
  --river: #2c4a52;
  --foam: #f7f3ec;
  --line: #d3c9ba;
  --max: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--stone);
  color: var(--ink);
  font-family: "Karla", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--river); text-decoration: none; }
a:hover { color: var(--copper); text-decoration: underline; }
button, input, textarea { font: inherit; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--copper); color: #fff; padding: 8px; z-index: 50; }

.fathom-bar {
  background: var(--river);
  color: var(--foam);
  border-bottom: 6px solid var(--copper);
}
.fathom-bar .inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0 16px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--foam);
  text-decoration: none;
}
.brand:hover { color: #f0d2c0; text-decoration: none; }
.brand b {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
}
.brand small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9b8a4;
}
.mark {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid #c9b8a4;
  padding: 6px 10px;
  color: #f0d2c0;
}
.staff {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding-top: 8px;
}
.pole {
  background:
    repeating-linear-gradient(
      to bottom,
      var(--copper) 0 3px,
      transparent 3px 28px
    );
  min-height: 100%;
  opacity: 0.85;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 0 0;
}
.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 7px 10px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}
.nav a {
  color: var(--mute);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--copper); text-decoration: none; font-weight: 600; }
.drawer {
  display: none;
  padding: 12px 0 20px;
  border-bottom: 1px solid var(--line);
}
.drawer.open { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.drawer a { color: var(--river); }

main { padding-bottom: 40px; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 540px;
  margin: 18px 0 0;
  background: var(--foam);
  border: 1px solid var(--line);
}
.hero-copy { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.kicker {
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero h1, .board h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.lede { color: var(--mute); font-size: 1.05rem; max-width: 36rem; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 14px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: #8c4726; color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--river); border: 1px solid var(--river); }
.hero figure { margin: 0; min-height: 540px; position: relative; }
.hero figure img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.hero figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(36, 28, 22, 0.62);
  color: #f0d2c0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
}

.soundings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}
.depth-card {
  background: var(--foam);
  border-top: 4px solid var(--copper);
  padding: 22px 20px;
  min-height: 188px;
  color: inherit;
  text-decoration: none;
}
.depth-card:hover { box-shadow: 0 8px 0 var(--river); text-decoration: none; }
.depth-card .no { color: var(--copper); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.depth-card h3 {
  font-family: "Lora", Georgia, serif;
  font-size: 1.55rem;
  margin: 16px 0 8px;
  font-weight: 500;
}
.depth-card p { color: var(--mute); margin: 0; font-size: 0.95rem; }

.board { padding: 8px 0 20px; }
.prose h2 {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  margin: 1.4em 0 0.5em;
}
.prose h3 { font-size: 1.1rem; margin: 1.2em 0 0.4em; }
.prose p { max-width: 42rem; }
.prose ul, .prose ol { max-width: 42rem; }
.prose code { font-size: 0.9em; }
.plate { margin: 24px 0; }
.plate figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
table.sound {
  width: 100%;
  max-width: 42rem;
  border-collapse: collapse;
  font-size: 15px;
  margin: 18px 0;
}
table.sound th, table.sound td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 9px 8px 9px 0;
  vertical-align: top;
}
table.sound th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.pull {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.28;
  color: var(--river);
  max-width: 36rem;
  margin: 22px 0;
}
.file-stamp {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px;
}
.trust-note {
  border-left: 4px solid var(--copper);
  background: var(--foam);
  padding: 16px 18px;
  margin: 22px 0;
}
.src-list { margin: 0; padding-left: 1.15em; }
.src-list li { margin: 0 0 8px; }
.log { font-size: 13px; color: var(--mute); }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; max-width: 42rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.related a {
  border: 1px solid var(--line);
  background: var(--foam);
  padding: 16px;
  color: inherit;
  text-decoration: none;
}
.related a span { display: block; color: var(--copper); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.related a strong { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: 1.15rem; }

.marks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--mute);
}
.marks b { color: var(--copper); display: block; font-size: 1.05rem; margin-top: 4px; }
.marks a { color: var(--copper); }

form.sheet { display: grid; gap: 14px; max-width: 32rem; }
form.sheet label { font-size: 13px; color: var(--mute); }
form.sheet input, form.sheet textarea {
  width: 100%;
  background: var(--foam);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px;
}
form.sheet textarea { min-height: 140px; }

.site-foot {
  background: var(--ink);
  color: #cfc4b6;
  padding: 48px 0 28px;
  font-size: 14px;
  margin-top: 24px;
}
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot a { color: #e3b394; }
.site-foot strong {
  font-family: "Lora", Georgia, serif;
  color: var(--foam);
  font-size: 1.3rem;
  font-weight: 500;
}
.site-foot nav { display: grid; gap: 7px; }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid #3a322a; font-size: 12px; color: #8a7d70; }

.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  max-width: 340px;
  background: var(--foam);
  color: var(--ink);
  border: 1px solid var(--copper);
  padding: 14px;
  display: none;
  z-index: 40;
}
.cookie.open { display: block; }
.cookie[hidden] { display: none !important; }
.cookie p { margin: 0 0 10px; font-size: 13px; }
.cookie .row { display: flex; gap: 8px; }

::selection { background: var(--copper); color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 820px) {
  .burger { display: inline-block; }
  .nav { display: none; }
  .staff { grid-template-columns: 1fr; }
  .pole { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 22px; }
  .hero figure, .hero figure img { min-height: 280px; }
  .soundings { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
}
