/* Ferrule Bay — lake-port collar shop. Ice, navy, ferrule-black, amber.
   Concentric ring geometry. Not clapboard, not a turf plate. System faces only. */

:root {
  --fb-ice: #eef3f6;
  --fb-ice-bright: #f8fbfd;
  --fb-navy: #0c2744;
  --fb-navy-mid: #163a5c;
  --fb-lake: #1e5078;
  --fb-black: #111416;
  --fb-amber: #c9891f;
  --fb-amber-hot: #e0a63a;
  --fb-slate: #3a4a58;
  --fb-mist: #7d8b96;
  --fb-line: rgba(12, 39, 68, 0.11);
  --fb-display: Baskerville, Palatino, "Palatino Linotype", "Book Antiqua", serif;
  --fb-body: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Calibri, sans-serif;
  --fb-max: 1140px;
  --fb-gutter: 22px;
  --fb-piling: 18px;
  --fb-shadow: 0 28px 56px -32px rgba(12, 39, 68, 0.55);
}

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

html { scroll-behavior: smooth; }

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

body.fb-body {
  background-color: var(--fb-ice);
  background-image:
    radial-gradient(circle at 92% 12%, rgba(201, 137, 31, 0.09) 0 90px, transparent 160px),
    radial-gradient(circle at 8% 78%, rgba(12, 39, 68, 0.06) 0 140px, transparent 220px),
    repeating-radial-gradient(circle at 108% 42%, transparent 0 18px, rgba(12, 39, 68, 0.025) 18px 19px);
  color: var(--fb-black);
  font-family: var(--fb-body);
  font-size: 17px;
  line-height: 1.64;
  padding-right: var(--fb-piling);
}

body.fb-locked { overflow: hidden; }

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

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

a:hover { color: var(--fb-amber); }

h1, h2, h3, h4 {
  font-family: var(--fb-display);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--fb-navy);
  margin: 0 0 0.48em;
}

h1 { font-size: clamp(2.35rem, 6.4vw, 4.05rem); }
h2 { font-size: clamp(1.42rem, 3.1vw, 2.12rem); }
h3 { font-size: 1.16rem; }

p { margin: 0 0 1em; }

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

address { font-style: normal; }

.fb-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fb-navy);
  color: var(--fb-ice-bright);
  padding: 0.6rem 1rem;
  z-index: 80;
}

.fb-skip:focus { left: 12px; top: 12px; }

.fb-piling {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--fb-piling);
  height: 100%;
  background:
    linear-gradient(180deg, var(--fb-navy) 0%, var(--fb-lake) 55%, var(--fb-navy) 100%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  pointer-events: none;
}

.fb-piling__ring {
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(243, 246, 248, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201, 137, 31, 0.35);
}

.fb-harbor {
  background: var(--fb-navy);
  color: var(--fb-ice);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
}

.fb-harbor a { color: var(--fb-amber-hot); text-decoration: none; }
.fb-harbor a:hover { color: var(--fb-ice-bright); }

.fb-harbor__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
  padding: 0.45rem 0;
}

.fb-harbor__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fb-amber);
  display: inline-block;
}

.fb-dock {
  width: min(var(--fb-max), calc(100% - 2 * var(--fb-gutter)));
  margin-left: auto;
  margin-right: auto;
}

.fb-mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 251, 253, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fb-line);
  transition: box-shadow 0.25s ease;
}

.fb-mast.is-pinned { box-shadow: var(--fb-shadow); }

.fb-mast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.fb-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--fb-navy);
}

.fb-mark:hover { color: var(--fb-navy); }

.fb-mark__ring {
  color: var(--fb-navy);
  display: grid;
  place-items: center;
  animation: fb-spin-slow 28s linear infinite;
}

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

.fb-mark__place {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fb-mist);
  margin-top: 0.18rem;
}

.fb-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--fb-line);
  background: var(--fb-ice-bright);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.fb-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  background: var(--fb-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fb-toggle span:nth-child(1) { top: 15px; }
.fb-toggle span:nth-child(2) { top: 21px; }
.fb-toggle span:nth-child(3) { top: 27px; }

.fb-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fb-toggle.is-open span:nth-child(2) { opacity: 0; }
.fb-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.fb-slip { display: flex; align-items: center; gap: 1.1rem; }

.fb-slip__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem 0.95rem;
}

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

.fb-slip__list a:hover { color: var(--fb-amber); }

.fb-slip__list li.is-here a {
  color: var(--fb-amber);
  box-shadow: 0 2px 0 var(--fb-amber);
}

.fb-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fb-amber);
  color: var(--fb-navy);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.72rem 1.2rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 10px 24px -16px rgba(12, 39, 68, 0.8);
  transition: background 0.18s ease, transform 0.18s ease;
}

.fb-act:hover {
  background: var(--fb-amber-hot);
  color: var(--fb-navy);
  transform: translateY(-1px);
}

.fb-act--ghost {
  background: transparent;
  color: var(--fb-navy);
  border: 1.5px solid var(--fb-navy);
  box-shadow: none;
}

.fb-act--ghost:hover {
  background: var(--fb-navy);
  color: var(--fb-ice-bright);
}

.fb-act--ice {
  background: var(--fb-ice-bright);
  color: var(--fb-navy);
}

.fb-act--block { width: 100%; }

.fb-act--mast { padding: 0.55rem 0.95rem; font-size: 0.86rem; white-space: nowrap; }

.fb-hero {
  position: relative;
  padding: 3.2rem 0 2.6rem;
  overflow: hidden;
}

.fb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 2.4rem;
  align-items: center;
}

.fb-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fb-amber);
  margin: 0 0 0.7rem;
}

.fb-lede {
  font-size: 1.12rem;
  color: var(--fb-slate);
  max-width: 38rem;
}

.fb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.fb-rings {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin-left: auto;
}

.fb-rings__orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--fb-navy);
  animation: fb-spin-slow 36s linear infinite;
}

.fb-rings__orb:nth-child(2) {
  inset: 12%;
  border-width: 9px;
  border-color: var(--fb-amber);
  opacity: 0.92;
}

.fb-rings__orb:nth-child(3) {
  inset: 28%;
  border-width: 2px;
}

.fb-rings__orb:nth-child(4) {
  inset: 42%;
  background: var(--fb-navy);
  border: 0;
}

.fb-rings__cap {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 8px;
  height: 18%;
  background: var(--fb-amber);
  transform: translateX(-50%);
  border-radius: 2px;
}

.fb-rings__label {
  position: absolute;
  right: -8%;
  bottom: 18%;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fb-mist);
}

.fb-slab {
  padding: 3.2rem 0;
}

.fb-slab--navy {
  background: var(--fb-navy);
  color: var(--fb-ice);
}

.fb-slab--navy h2,
.fb-slab--navy h3 { color: var(--fb-ice-bright); }

.fb-slab--navy .fb-kicker { color: var(--fb-amber-hot); }

.fb-slab--navy p { color: rgba(238, 243, 246, 0.88); }

.fb-slab--ice {
  background: var(--fb-ice-bright);
}

.fb-offset {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  gap: 2rem 2.6rem;
  align-items: start;
}

.fb-ledger {
  display: grid;
  gap: 1.1rem;
}

.fb-ledger__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--fb-line);
}

.fb-ledger__row:last-child { border-bottom: 1px solid var(--fb-line); }

.fb-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.6px solid var(--fb-navy);
  display: grid;
  place-items: center;
  font-family: var(--fb-display);
  font-size: 1.05rem;
  color: var(--fb-navy);
  box-shadow: 0 0 0 4px rgba(201, 137, 31, 0.18);
}

.fb-slab--navy .fb-num {
  border-color: var(--fb-ice);
  color: var(--fb-ice);
  box-shadow: 0 0 0 4px rgba(201, 137, 31, 0.28);
}

.fb-quad {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fb-tile {
  background: var(--fb-ice-bright);
  border: 1px solid var(--fb-line);
  padding: 1.2rem 1.15rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.fb-tile::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 7px solid rgba(201, 137, 31, 0.22);
}

.fb-tile h3 { margin-bottom: 0.35em; }

.fb-tile p:last-child { margin-bottom: 0; }

.fb-twin {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.4rem;
  align-items: start;
}

.fb-folio {
  padding: 2.6rem 0 1.2rem;
}

.fb-folio h1 { max-width: 18ch; }

.fb-tariff {
  width: 100%;
  border-collapse: collapse;
  background: var(--fb-ice-bright);
}

.fb-tariff caption {
  text-align: left;
  font-family: var(--fb-display);
  font-size: 1.2rem;
  color: var(--fb-navy);
  padding: 0 0 0.8rem;
}

.fb-tariff th,
.fb-tariff td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--fb-line);
  vertical-align: top;
}

.fb-tariff th {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fb-mist);
  font-weight: 600;
}

.fb-tariff td:nth-child(2) {
  font-family: var(--fb-display);
  color: var(--fb-navy);
  white-space: nowrap;
}

.fb-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.fb-person {
  background: var(--fb-ice-bright);
  padding: 1.5rem 1.3rem 1.6rem;
  border-top: 4px solid var(--fb-amber);
}

.fb-person__ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 8px solid var(--fb-navy);
  box-shadow: 0 0 0 3px var(--fb-amber);
  margin-bottom: 1rem;
}

.fb-person__role {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fb-mist);
  margin: 0 0 0.6rem;
}

.fb-quotes {
  display: grid;
  gap: 1.1rem;
}

.fb-quote {
  background: var(--fb-ice-bright);
  padding: 1.3rem 1.4rem;
  border-left: 4px solid var(--fb-navy);
}

.fb-quote footer {
  font-size: 0.85rem;
  color: var(--fb-mist);
  margin-top: 0.6rem;
}

.fb-faq details {
  border-bottom: 1px solid var(--fb-line);
  padding: 0.9rem 0;
}

.fb-faq summary {
  cursor: pointer;
  font-family: var(--fb-display);
  font-size: 1.15rem;
  color: var(--fb-navy);
  list-style: none;
}

.fb-faq summary::-webkit-details-marker { display: none; }

.fb-faq summary::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--fb-amber);
  border-radius: 50%;
  margin-right: 0.55rem;
  vertical-align: middle;
}

.fb-faq details[open] summary::before { background: var(--fb-amber); }

.fb-faq details p { margin: 0.7rem 0 0.2rem; color: var(--fb-slate); }

.fb-form {
  background: var(--fb-ice-bright);
  padding: 1.4rem;
  border: 1px solid var(--fb-line);
}

.fb-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

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

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

.fb-field input,
.fb-field select,
.fb-field textarea {
  width: 100%;
  font: inherit;
  color: var(--fb-black);
  background: var(--fb-ice);
  border: 1px solid var(--fb-line);
  padding: 0.62rem 0.7rem;
  border-radius: 2px;
}

.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  outline: 2px solid var(--fb-amber);
  outline-offset: 1px;
}

.fb-form-note {
  font-size: 0.9rem;
  color: var(--fb-mist);
  margin-top: 0.9rem;
}

.fb-check {
  list-style: none;
  padding: 0;
}

.fb-check li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  border-bottom: 1px dashed var(--fb-line);
}

.fb-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--fb-amber);
}

.fb-pin {
  height: 180px;
  background:
    radial-gradient(circle at 42% 48%, var(--fb-amber) 0 7px, transparent 8px),
    linear-gradient(180deg, #c5d4de 0%, #8eacbf 100%);
  border: 1px solid var(--fb-line);
  position: relative;
}

.fb-pin__label {
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  background: var(--fb-navy);
  color: var(--fb-ice);
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
}

.fb-blog {
  display: grid;
  gap: 0;
}

.fb-blog a {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--fb-line);
  text-decoration: none;
  color: inherit;
}

.fb-blog a:hover strong { color: var(--fb-amber); }

.fb-blog time {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fb-mist);
}

.fb-article {
  max-width: 42rem;
}

.fb-article p { font-size: 1.02rem; }

.fb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.fb-lost {
  min-height: 56vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: left;
}

.fb-lost__code {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--fb-amber);
}

.fb-drift {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fb-drift.is-in {
  opacity: 1;
  transform: none;
}

.fb-keel {
  background: var(--fb-navy);
  color: var(--fb-ice);
  position: relative;
  padding: 3.2rem 0 0;
  overflow: hidden;
}

.fb-keel a { color: var(--fb-amber-hot); }
.fb-keel a:hover { color: var(--fb-ice-bright); }

.fb-keel h2 {
  color: var(--fb-ice-bright);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--fb-body);
  font-weight: 600;
}

.fb-keel__rings {
  position: absolute;
  right: 8%;
  top: -40px;
  width: 220px;
  height: 220px;
  pointer-events: none;
}

.fb-keel__rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(243, 246, 248, 0.12);
}

.fb-keel__rings span:nth-child(2) { inset: 18%; border-width: 8px; border-color: rgba(201, 137, 31, 0.28); }
.fb-keel__rings span:nth-child(3) { inset: 40%; }

.fb-keel__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding-bottom: 2.4rem;
}

.fb-keel__name {
  font-family: var(--fb-display);
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
  color: var(--fb-ice-bright);
}

.fb-keel__chips {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.fb-keel__chips li {
  padding: 0.35rem 0;
  border-top: 1px solid rgba(243, 246, 248, 0.12);
}

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

.fb-clock li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.28rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(243, 246, 248, 0.08);
}

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

.fb-keel__links {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
}

.fb-keel__links li { margin: 0.28rem 0; }

.fb-keel__plank {
  background: var(--fb-black);
  padding: 0.85rem 0;
}

.fb-keel__plank-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--fb-mist);
}

.fb-keel__plank p { margin: 0; }

@keyframes fb-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fb-mark__ring,
  .fb-rings__orb { animation: none; }
  .fb-drift { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .fb-toggle { display: block; }
  .fb-slip {
    position: fixed;
    inset: 0 var(--fb-piling) 0 0;
    background: var(--fb-navy);
    color: var(--fb-ice);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 4rem 1.6rem;
    transform: translateX(104%);
    transition: transform 0.28s ease;
    z-index: 35;
  }
  .fb-slip.is-open { transform: none; }
  .fb-slip__list { flex-direction: column; gap: 0.7rem; }
  .fb-slip__list a { color: var(--fb-ice-bright); font-size: 1.2rem; }
  .fb-act--mast { align-self: flex-start; }
}

@media (max-width: 900px) {
  .fb-hero__grid,
  .fb-offset,
  .fb-twin,
  .fb-quad,
  .fb-people,
  .fb-keel__grid {
    grid-template-columns: 1fr;
  }
  .fb-rings { margin: 0 auto; }
  .fb-fields { grid-template-columns: 1fr; }
  .fb-blog a { grid-template-columns: 1fr; gap: 0.3rem; }
  body.fb-body { padding-right: 10px; }
  .fb-piling { width: 10px; }
}

@media (max-width: 520px) {
  .fb-harbor { display: none; }
  h1 { font-size: 2.05rem; }
  .fb-tariff td:nth-child(2) { white-space: normal; }
}
