/* Hosel Bay — gulf clapboard. System faces only. */
:root {
  --hb-tide: #14685c;
  --hb-tide-deep: #0b3d36;
  --hb-tide-foam: #d7ebe6;
  --hb-clapboard: #f6f1e6;
  --hb-white: #fffdf8;
  --hb-navy: #0e2238;
  --hb-navy-soft: #1a3a56;
  --hb-shrimp: #c94a34;
  --hb-shrimp-hot: #e06a52;
  --hb-ink: #132018;
  --hb-ink-soft: #3c4e47;
  --hb-ink-faint: #6a7a73;
  --hb-line: rgba(14, 34, 56, 0.12);
  --hb-display: Baskerville, Palatino, "Palatino Linotype", "Book Antiqua", serif;
  --hb-body: "Avenir Next", "Gill Sans", "Gill Sans MT", "Century Gothic", sans-serif;
  --hb-mark: "Avenir Next Condensed", "Gill Sans", "Gill Sans MT", sans-serif;
  --hb-max: 1180px;
  --hb-gutter: 20px;
  --hb-rail: 22px;
  --hb-shadow: 0 22px 48px -28px rgba(14, 34, 56, 0.55);
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body.hb-body {
  background:
    linear-gradient(90deg, rgba(20, 104, 92, 0.07) 0 var(--hb-rail), transparent var(--hb-rail)),
    repeating-linear-gradient(
      180deg,
      var(--hb-clapboard) 0 13px,
      rgba(14, 34, 56, 0.05) 13px 14px
    );
  color: var(--hb-ink);
  font-family: var(--hb-body);
  font-size: 17px;
  line-height: 1.62;
}

body.hb-locked { overflow: hidden; }

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

a {
  color: var(--hb-tide);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--hb-shrimp); }

h1, h2, h3, h4 {
  font-family: var(--hb-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--hb-navy);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.85rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.05rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding: 0 0 0 1.1em; }

address { font-style: normal; }

.hb-pier {
  width: min(var(--hb-max), calc(100% - (var(--hb-gutter) * 2) - var(--hb-rail)));
  margin-left: calc(var(--hb-rail) + var(--hb-gutter));
  margin-right: var(--hb-gutter);
}

.hb-skip {
  position: absolute;
  left: 14px;
  top: -52px;
  background: var(--hb-navy);
  color: var(--hb-white);
  padding: 8px 14px;
  z-index: 90;
  font-size: 0.84rem;
}

.hb-skip:focus { top: 10px; }

.hb-siding {
  display: none;
}

.hb-tidebar {
  background: var(--hb-navy);
  color: var(--hb-tide-foam);
  font-family: var(--hb-mark);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hb-tidebar a {
  color: var(--hb-shrimp-hot);
  text-decoration: none;
}

.hb-tidebar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  padding: 0.42rem 0;
  justify-content: flex-start;
}

.hb-tidebar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hb-shrimp);
  display: inline-block;
}

.hb-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 230, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hb-line);
}

.hb-mast.is-stuck {
  box-shadow: 0 12px 30px -20px rgba(14, 34, 56, 0.5);
}

.hb-mast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.hb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--hb-navy);
}

.hb-brand:hover { color: var(--hb-tide); }

.hb-brand__mark {
  color: var(--hb-tide);
  display: flex;
}

.hb-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hb-brand__name {
  font-family: var(--hb-display);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hb-brand__place {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-ink-faint);
}

.hb-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hb-navy);
  background: var(--hb-white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.hb-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hb-navy);
}

.hb-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.05rem;
}

.hb-sheet__list a {
  color: var(--hb-navy);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.hb-sheet__list a:hover,
.hb-sheet__list li.is-here a {
  color: var(--hb-shrimp);
}

.hb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hb-shrimp);
  color: var(--hb-white);
  text-decoration: none;
  padding: 0.72rem 1.2rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--hb-shrimp);
  min-height: 44px;
}

.hb-cta:hover {
  background: var(--hb-navy);
  border-color: var(--hb-navy);
  color: var(--hb-white);
}

.hb-cta--ghost {
  background: transparent;
  color: var(--hb-navy);
  border-color: var(--hb-navy);
}

.hb-cta--ghost:hover {
  background: var(--hb-navy);
  color: var(--hb-white);
}

.hb-cta--block { width: 100%; }

.hb-kicker {
  font-family: var(--hb-mark);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hb-tide);
  margin: 0 0 0.55rem;
}

.hb-lede {
  font-size: 1.08rem;
  color: var(--hb-ink-soft);
  max-width: 42rem;
}

.hb-hero {
  padding: 1.6rem 0 0.4rem;
}

.hb-hero__grid {
  display: grid;
  gap: 1.4rem;
}

.hb-cut {
  background:
    linear-gradient(180deg, var(--hb-navy) 0 42%, var(--hb-tide-deep) 100%);
  color: var(--hb-clapboard);
  padding: 1.2rem 1rem 1rem;
  position: relative;
  min-height: 280px;
}

.hb-cut svg {
  width: 100%;
  height: auto;
  display: block;
}

.hb-cut__cap {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-shrimp-hot);
}

.hb-hero__copy {
  padding-top: 0.4rem;
}

.hb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.hb-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hb-gauge {
  background: var(--hb-white);
  border: 1px solid var(--hb-line);
  padding: 0.75rem 0.85rem;
  border-left: 4px solid var(--hb-tide);
}

.hb-gauge b {
  display: block;
  font-family: var(--hb-display);
  font-size: 1.05rem;
  color: var(--hb-navy);
}

.hb-gauge span {
  font-size: 0.78rem;
  color: var(--hb-ink-faint);
}

.hb-band {
  padding: 2.4rem 0;
}

.hb-band--tide {
  background: var(--hb-tide-deep);
  color: var(--hb-clapboard);
}

.hb-band--tide h2,
.hb-band--tide h3 { color: var(--hb-white); }

.hb-band--tide .hb-kicker { color: var(--hb-shrimp-hot); }

.hb-band--tide p { color: var(--hb-tide-foam); }

.hb-band--navy {
  background: var(--hb-navy);
  color: var(--hb-clapboard);
}

.hb-band--navy h2 { color: var(--hb-white); }

.hb-band--foam {
  background: var(--hb-tide-foam);
}

.hb-split {
  display: grid;
  gap: 1.6rem;
}

.hb-split--flip { direction: ltr; }

.hb-wake {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hb-wake.is-in,
.hb-ready .hb-wake.is-in {
  opacity: 1;
  transform: none;
}

.hb-slips {
  display: grid;
  gap: 1rem;
}

.hb-slip {
  background: var(--hb-white);
  border: 1px solid var(--hb-line);
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: var(--hb-shadow);
}

.hb-slip--featured {
  background: var(--hb-navy);
  color: var(--hb-clapboard);
  border-color: var(--hb-navy);
}

.hb-slip--featured h2,
.hb-slip--featured h3 { color: var(--hb-white); }

.hb-slip--featured .hb-kicker { color: var(--hb-shrimp-hot); }

.hb-sum {
  font-family: var(--hb-display);
  font-size: 1.85rem;
  color: var(--hb-shrimp);
  margin: 0 0 0.5rem;
}

.hb-sum small {
  font-size: 0.85rem;
  color: var(--hb-ink-faint);
  font-family: var(--hb-body);
}

.hb-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hb-checklist li {
  padding: 0.45rem 0 0.45rem 1.35rem;
  position: relative;
  border-bottom: 1px dashed var(--hb-line);
}

.hb-checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hb-shrimp);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

.hb-quote {
  border-top: 3px solid var(--hb-shrimp);
  padding: 1.1rem 0 0;
  font-family: var(--hb-display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--hb-navy);
}

.hb-quote footer {
  font-family: var(--hb-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-ink-faint);
  margin-top: 0.7rem;
}

.hb-people {
  display: grid;
  gap: 1rem;
}

.hb-person {
  background: var(--hb-white);
  border: 1px solid var(--hb-line);
  display: grid;
  grid-template-columns: 8px 1fr;
}

.hb-person__bar {
  background: var(--hb-tide);
}

.hb-person__bar--coral { background: var(--hb-shrimp); }

.hb-person__bar--navy { background: var(--hb-navy); }

.hb-person__body { padding: 1rem 1.05rem 1.15rem; }

.hb-notes {
  display: grid;
  gap: 1rem;
}

.hb-note {
  background: var(--hb-white);
  padding: 1.1rem 1.15rem;
  border-bottom: 4px solid var(--hb-tide);
}

.hb-faq details {
  background: var(--hb-white);
  border: 1px solid var(--hb-line);
  margin-bottom: 0.55rem;
  padding: 0.7rem 0.95rem;
}

.hb-faq summary {
  cursor: pointer;
  font-family: var(--hb-display);
  font-size: 1.08rem;
  color: var(--hb-navy);
}

.hb-faq details p { margin: 0.7rem 0 0.2rem; }

.hb-form {
  background: var(--hb-white);
  border: 1px solid var(--hb-line);
  padding: 1.15rem;
}

.hb-fields {
  display: grid;
  gap: 0.8rem;
}

.hb-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--hb-ink-soft);
}

.hb-field input,
.hb-field select,
.hb-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--hb-navy-soft);
  background: var(--hb-clapboard);
  color: var(--hb-ink);
  min-height: 44px;
}

.hb-field textarea { min-height: 110px; }

.hb-field--full { grid-column: 1 / -1; }

.hb-form-note {
  font-size: 0.86rem;
  color: var(--hb-ink-faint);
  margin-top: 0.8rem;
}

.hb-pin {
  height: 180px;
  background:
    radial-gradient(circle at 62% 48%, var(--hb-shrimp) 0 7px, transparent 8px),
    linear-gradient(180deg, #b7d4ce 0 38%, #8fb7ae 38% 62%, #14685c 62%);
  border: 1px solid var(--hb-line);
  position: relative;
}

.hb-pin__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  background: var(--hb-navy);
  color: var(--hb-white);
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
}

.hb-folio {
  padding: 2rem 0 0.4rem;
}

.hb-article p { max-width: 40.5rem; }

.hb-article h2 { margin-top: 1.4rem; }

.hb-lost {
  padding: 3.4rem 0 4rem;
  text-align: left;
}

.hb-lost__code {
  font-family: var(--hb-mark);
  letter-spacing: 0.2em;
  color: var(--hb-shrimp);
}

.hb-dock {
  background: var(--hb-navy);
  color: var(--hb-tide-foam);
  margin-top: 1.2rem;
  position: relative;
}

.hb-wave {
  display: block;
  width: 100%;
  height: 42px;
  color: var(--hb-tide);
}

.hb-dock__grid {
  display: grid;
  gap: 1.4rem;
  padding: 0.4rem 0 1.8rem;
}

.hb-dock__name {
  font-family: var(--hb-display);
  font-size: 1.6rem;
  color: var(--hb-white);
  margin: 0 0 0.5rem;
}

.hb-dock a { color: var(--hb-shrimp-hot); }

.hb-dock h2 {
  color: var(--hb-white);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--hb-mark);
}

.hb-clock {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hb-clock li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(247, 243, 230, 0.12);
  padding: 0.28rem 0;
  font-size: 0.86rem;
}

.hb-clock li.is-shut { opacity: 0.55; }

.hb-dock__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hb-dock__links a {
  color: var(--hb-clapboard);
  text-decoration: none;
  font-size: 0.9rem;
}

.hb-dock__links a:hover { color: var(--hb-shrimp-hot); }

.hb-dock__keel {
  border-top: 1px solid rgba(247, 243, 230, 0.12);
  font-size: 0.78rem;
  color: rgba(247, 243, 230, 0.7);
}

.hb-dock__keel-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.7rem 0 1.1rem;
}

.hb-dock__keel p { margin: 0; }

.hb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.1rem 0 0;
}

@media (min-width: 720px) {
  :root { --hb-rail: 28px; }

  .hb-siding {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--hb-rail);
    background:
      repeating-linear-gradient(
        180deg,
        #efe6d4 0 10px,
        #e4d8c2 10px 11px
      );
    border-right: 1px solid rgba(14, 34, 56, 0.18);
    z-index: 60;
  }

  .hb-hero__grid {
    grid-template-columns: 0.9fr 1.15fr;
    align-items: start;
  }

  .hb-hero__copy { padding-top: 2.4rem; }

  .hb-gauges { grid-template-columns: repeat(4, 1fr); }

  .hb-split {
    grid-template-columns: 0.42fr 0.58fr;
    align-items: start;
  }

  .hb-split--wide {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hb-split--stack-left {
    grid-template-columns: 0.58fr 0.42fr;
  }

  .hb-slips {
    grid-template-columns: 1fr 1fr;
  }

  .hb-people {
    grid-template-columns: 1fr 1fr;
  }

  .hb-notes {
    grid-template-columns: 1fr 1fr;
  }

  .hb-fields {
    grid-template-columns: 1fr 1fr;
  }

  .hb-dock__grid {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  }
}

@media (min-width: 980px) {
  .hb-burger { display: none; }

  .hb-sheet {
    display: flex;
    align-items: center;
    gap: 1.1rem;
  }

  .hb-slips {
    grid-template-columns: 1fr 1.15fr 1fr;
  }

  .hb-cut { min-height: 360px; }
}

@media (max-width: 979px) {
  .hb-sheet {
    position: fixed;
    inset: 0 0 0 var(--hb-rail);
    background: var(--hb-navy);
    color: var(--hb-white);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    padding: 5.5rem 1.4rem 2rem;
    z-index: 45;
    overflow: auto;
  }

  .hb-sheet.is-open { transform: none; }

  .hb-sheet__list {
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
  }

  .hb-sheet__list a {
    color: var(--hb-clapboard);
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hb-wake { opacity: 1; transform: none; transition: none; }
  .hb-sheet { transition: none; }
}
