/* Stay the Boat — shared styles */
@font-face { font-family: 'Big Shoulders Display'; src: url('/assets/fonts/big-shoulders-display-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Big Shoulders Display'; src: url('/assets/fonts/big-shoulders-display-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Red Hat Text'; src: url('/assets/fonts/red-hat-text-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Red Hat Text'; src: url('/assets/fonts/red-hat-text-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Red Hat Text'; src: url('/assets/fonts/red-hat-text-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --snow: #f6f8f9;
  --frost: #dce5e8;
  --spruce: #1f3b36;
  --night: #142029;
  --slate: #56666e;
  --amber: #e5a03a;
  --amber-ink: #3a2405;
  --alert: #b42318;
  --ok: #1f7a4d;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Red Hat Text', system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 6px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--snow); color: var(--night);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--spruce); text-underline-offset: 3px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: 26px; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.muted { color: var(--slate); }
.small { font-size: 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--snow); }
.site-header.solid { position: static; background: var(--night); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 26px; color: inherit; text-decoration: none; }
.site-header nav { display: flex; gap: 24px; align-items: center; }
.site-header nav a { color: inherit; text-decoration: none; font-size: 15px; }
.site-header nav a:hover { text-decoration: underline; }
@media (max-width: 720px) { .site-header nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--body); padding: 14px 22px; border-radius: var(--radius-sm);
  border: 0; cursor: pointer; text-decoration: none; background: var(--amber); color: var(--amber-ink);
}
.btn:hover { background: #f0b456; color: var(--amber-ink); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.dark { background: var(--spruce); color: var(--snow); }
.btn.dark:hover { background: var(--night); }
.btn.sm { padding: 9px 14px; font-size: 14px; }
.btn.full { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--spruce); text-decoration: underline; cursor: pointer; }

/* ---------- Photos with graceful fallback ---------- */
.photo { position: relative; overflow: hidden; background: linear-gradient(160deg, #2b4a52, #142029); border-radius: var(--radius-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.missing img { display: none; }
.photo.missing::after {
  content: attr(data-label); position: absolute; inset: auto 16px 14px; color: #c9d6da; font-size: 14px;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); color: var(--snow); display: flex; align-items: flex-end; }
.hero .photo { position: absolute; inset: 0; border-radius: 0; }
.hero .photo.missing { background:
  radial-gradient(ellipse at 70% 0%, rgba(229,160,58,.18), transparent 55%),
  linear-gradient(180deg, #0f1a22 0%, #1d3440 55%, #3b5864 100%); }
.hero .photo.missing::before {
  content: ''; position: absolute; inset: auto 0 0; height: 26%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300" preserveAspectRatio="none"><path d="M0 220 L140 150 L230 190 L360 90 L470 170 L600 60 L720 150 L820 110 L960 190 L1080 130 L1200 180 L1200 300 L0 300Z" fill="%23dce5e8"/><path d="M0 260 L180 210 L320 240 L470 200 L640 245 L820 215 L1000 250 L1200 225 L1200 300 L0 300Z" fill="%23f6f8f9"/></svg>') bottom/100% 100% no-repeat;
}
.hero .photo::after { background: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,41,.55) 0%, rgba(20,32,41,.05) 35%, rgba(20,32,41,.15) 60%, rgba(20,32,41,.72) 100%); }
.hero .wrap { position: relative; width: 100%; padding-bottom: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: end; }
.hero h1 { max-width: 11ch; text-wrap: balance; }
.hero .lede { font-size: 20px; max-width: 34ch; margin-top: 18px; color: #e6eef0; }
.hero .proof { margin-top: 22px; font-size: 15px; color: #d3dee2; text-shadow: 0 1px 8px rgba(20,32,41,.6); }
.hero .proof a { color: inherit; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 120px; }
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Booking widget ---------- */
.widget { background: var(--snow); color: var(--night); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 18px 50px rgba(10,20,26,.35); }
.widget h2 { font-size: 30px; margin-bottom: 4px; }
.widget .from { color: var(--slate); font-size: 15px; margin-bottom: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--frost); border-radius: var(--radius-sm); }
.field { padding: 10px 12px; text-align: left; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.field + .field { border-left: 1.5px solid var(--frost); }
.field.wide { grid-column: 1 / -1; border-left: 0; border-top: 1.5px solid var(--frost); display: flex; justify-content: space-between; align-items: center; cursor: default; }
.field .k { display: block; font-size: 13px; color: var(--slate); }
.field .v { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field[aria-expanded="true"] { background: #eef3f5; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--frost); background: #fff; font: 700 18px/1 var(--body); cursor: pointer; color: var(--night); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.widget .btn { margin-top: 14px; }
.quote { margin-top: 14px; font-size: 15px; }
.quote table { width: 100%; border-collapse: collapse; }
.quote td { padding: 4px 0; }
.quote td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.quote tr.total td { border-top: 1.5px solid var(--frost); padding-top: 8px; font-weight: 700; }
.quote .schedule { color: var(--slate); margin: 10px 0 0; }
.msg { margin-top: 12px; font-size: 15px; }
.msg.error { color: var(--alert); }

/* ---------- Calendar ---------- */
.cal { margin-top: 12px; border: 1.5px solid var(--frost); border-radius: var(--radius-sm); padding: 12px; background: #fff; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head button { background: none; border: 1.5px solid var(--frost); border-radius: var(--radius-sm); width: 34px; height: 34px; cursor: pointer; font-size: 18px; color: var(--night); }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(var(--months, 1), 1fr); gap: 20px; }
.cal-month h4 { margin: 0 0 6px; font-size: 15px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 12px; color: var(--slate); text-align: center; padding: 2px 0; }
.cal-day { aspect-ratio: 1 / 1.05; border: 0; background: none; border-radius: 6px; font: inherit; font-size: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; color: var(--night); padding: 0; }
.cal-day small { font-size: 10px; color: var(--slate); }
.cal-day:hover:not(:disabled) { background: #e7eef1; }
.cal-day:disabled { cursor: default; color: #aab6bb; }
.cal-day.booked { text-decoration: line-through; }
.cal-day.booked small { visibility: hidden; }
.cal-day.in-range { background: #e6eff0; border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--spruce); color: var(--snow); }
.cal-day.start small, .cal-day.end small { color: #c9d9d5; }
.cal-day.start { border-radius: 6px 0 0 6px; }
.cal-day.end { border-radius: 0 6px 6px 0; }
.cal-day.start.end { border-radius: 6px; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; color: var(--slate); gap: 10px; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro .photo { aspect-ratio: 4 / 3.3; }
.intro h2 { margin-bottom: 20px; max-width: 14ch; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* The ride: transit-map strip, the page's signature element */
.ride { background: var(--spruce); color: var(--snow); }
.ride h2 { max-width: 16ch; }
.ride .lede { color: #cfe0dc; max-width: 56ch; margin-top: 16px; }
.route { margin-top: 56px; position: relative; display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: start; }
.route::before { content: ''; position: absolute; left: 6px; right: 6px; top: 13px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--amber) 0 50%, #cfe0dc 50% 100%); }
.stop { position: relative; padding-top: 44px; }
.stop::before { content: ''; position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--spruce); border: 7px solid var(--snow); box-sizing: border-box; }
.stop.home::before { border-color: var(--amber); background: var(--amber); }
.stop.mid { justify-self: center; text-align: center; }
.stop.mid::before { left: 50%; transform: translateX(-50%); }
.stop.end { justify-self: end; text-align: right; }
.stop.end::before { left: auto; right: 0; }
.stop b { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1.05; }
.stop span { color: #cfe0dc; font-size: 15px; }
.leg { position: absolute; top: -30px; font-size: 14px; color: #cfe0dc; }
.ride .facts { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid rgba(207,224,220,.25); padding-top: 28px; }
.ride .facts p { margin: 0; color: #cfe0dc; }
.ride .facts b { color: var(--snow); display: block; }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: 34px; padding-left: 52px; }
  .route::before { left: 13px; right: auto; top: 6px; bottom: 6px; width: 8px; height: auto;
    background: linear-gradient(180deg, var(--amber) 0 48%, #cfe0dc 48% 100%); }
  .stop, .stop.mid, .stop.end { padding-top: 0; justify-self: start; text-align: left; }
  .stop::before, .stop.mid::before, .stop.end::before { left: -52px; right: auto; top: 0; transform: none; }
  .leg { position: static; display: block; margin-bottom: 2px; }
  .ride .facts { grid-template-columns: 1fr; }
}

/* The condo */
.condo-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.condo-head p { max-width: 48ch; margin: 0; }
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.groups h3 { border-bottom: 2px solid var(--night); padding-bottom: 8px; margin-bottom: 12px; }
.groups ul { list-style: none; margin: 0; padding: 0; }
.groups li { padding: 6px 0; border-bottom: 1px solid var(--frost); font-size: 16px; }
@media (max-width: 960px) { .groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .groups { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 10px; margin-top: 56px; }
.gallery .photo { border-radius: var(--radius-sm); }
.gallery .a { grid-column: span 4; grid-row: span 3; }
.gallery .b, .gallery .c, .gallery .d { grid-column: span 2; grid-row: span 1; }
.gallery .e, .gallery .f, .gallery .g { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery .a { grid-column: span 2; grid-row: span 2; }
  .gallery .b, .gallery .c, .gallery .d, .gallery .e, .gallery .f, .gallery .g { grid-column: span 1; grid-row: span 1; }
}

/* Proof */
.proof-band { background: var(--frost); }
.proof-band .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.score { font-family: var(--display); font-weight: 800; font-size: clamp(88px, 13vw, 150px); line-height: .85; color: var(--spruce); }
.proof-band p { max-width: 54ch; }
@media (max-width: 640px) { .proof-band .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); }
.faq details { border-bottom: 1px solid var(--frost); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--slate); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: #2f3d44; max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Closing CTA */
.closing { background: var(--night); color: var(--snow); text-align: left; }
.closing .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.closing h2 { max-width: 14ch; }

/* Footer */
footer { background: var(--night); color: #9fb0b7; font-size: 14px; padding: 28px 0 40px; border-top: 1px solid #22323d; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #cfdade; }

/* ---------- Inner pages ---------- */
.page { padding: 48px 0 96px; }
.page h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; margin-top: 32px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1.5px solid var(--frost); border-radius: var(--radius-lg); padding: 24px; }
.panel h2 { font-size: 30px; margin-bottom: 12px; }
.panel + .panel { margin-top: 20px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label.input { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 700; }
label.input input, label.input textarea, label.input select {
  display: block; width: 100%; margin-top: 6px; font: 400 16px/1.4 var(--body); padding: 11px 12px;
  border: 1.5px solid var(--frost); border-radius: var(--radius-sm); background: #fff; color: var(--night);
}
label.input input:focus, label.input textarea:focus { outline: none; border-color: var(--spruce); box-shadow: 0 0 0 3px rgba(31,59,54,.15); }
label.input .hint { display: block; font-weight: 400; color: var(--slate); font-size: 14px; margin-top: 4px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 6px 0 16px; }
label.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--spruce); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: #eef3f5; margin-bottom: 20px; }
.notice.good { background: #e6f3ec; color: #14532d; }
.notice.bad { background: #fdecea; color: #7a1a12; }
.status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--frost); }
.status.confirmed, .status.paid { background: #dcefe4; color: #14532d; }
.status.cancelled, .status.failed { background: #fbe1de; color: #7a1a12; }
.status.pending { background: #fff1d6; color: #6b4300; }

.prose h2 { font-size: 34px; margin: 40px 0 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

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