/* Maritime product system. See docs/DESIGN.md for the skill, brief and rationale. */
@font-face { font-family:Manrope; font-weight:400; font-display:swap; src:url('../assets/fonts/manrope-400.ttf'); }
@font-face { font-family:Manrope; font-weight:500; font-display:swap; src:url('../assets/fonts/manrope-500.ttf'); }
@font-face { font-family:Manrope; font-weight:600; font-display:swap; src:url('../assets/fonts/manrope-600.ttf'); }
@font-face { font-family:Manrope; font-weight:700; font-display:swap; src:url('../assets/fonts/manrope-700.ttf'); }
@font-face { font-family:Manrope; font-weight:800; font-display:swap; src:url('../assets/fonts/manrope-800.ttf'); }
:root {
  --navy:#102f43; --ink:#17374b; --muted:#526776; --teal:#087f78; --line:#dbe5e9;
  --bg:#f5f7f9; --radius:20px; --sidebar:232px; --shadow:0 4px 18px #102f4304;
  --control-font:Manrope,system-ui,sans-serif; --control-surface:#f8fafb; --control-border:#cddce2;
}
body,button,input,select,textarea { font-family:Manrope,system-ui,sans-serif; }
body { background:var(--bg); color:var(--ink); -webkit-font-smoothing:antialiased; }
button,a { touch-action:manipulation; }
a:focus-visible,button:focus-visible { outline:3px solid #087f78; outline-offset:4px; }
[hidden] { display:none!important; }
h1,h2,h3 { color:var(--ink); }
p { line-height:1.7; }
.page { max-width:1460px; padding:34px 40px 44px; }
.page-heading h1,.wizard-heading h1,.trip-heading h1 { font-size:clamp(27px,2.3vw,36px); font-weight:800; letter-spacing:-1.1px; line-height:1.25; }
.page-heading p,.wizard-heading p,.trip-heading p { color:var(--muted); font-size:14px; line-height:1.7; max-width:65ch; }
.page-heading > .eyebrow { display:none; }
.eyebrow { font-size:11px; font-weight:600; letter-spacing:.2px; }
.panel { border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.btn-main { background:var(--teal); border:1px solid var(--teal); min-height:50px; border-radius:12px; font-size:14px; font-weight:750; gap:12px; }
.btn-main:hover { background:#06655f; border-color:#06655f; }
.btn-secondary { min-height:46px; border-radius:11px; font-size:13px; }
.btn-main:active,.btn-secondary:active { transform:scale(.99); }
.link { font-size:13px; color:#076f69; }
.sidebar { border:0; padding:0 18px; background:var(--navy); }
.brand { display:flex; align-items:center; justify-content:flex-start; padding:27px 6px 30px; gap:10px; height:auto; margin:0; }
.brand img { width:44px; height:44px; object-fit:contain; border-radius:12px; }
.brand-wordmark { display:flex; flex-direction:column; gap:4px; }
.brand-wordmark strong { font-size:17px; letter-spacing:-.6px; color:#fff; }
.brand-wordmark strong span { color:#8fe0cb; }
.brand-wordmark small { font-size:10px; color:#b4cbd5; }
.nav-label { display:none; }
.side-nav { gap:7px; margin-top:16px; }
.sidebar .nav-item { padding:14px; min-height:51px; border-radius:12px; color:#c5d6df; font-size:13px; gap:13px; }
.sidebar .nav-item:hover { background:#ffffff0d; color:#fff; }
.sidebar .nav-item.active { background:#ffffff15; color:#fff; font-weight:750; box-shadow:inset 3px 0 #77d8bf; }
.sidebar .nav-item.active:after { display:none; }
.sidebar .nav-item .icon { width:21px; height:21px; color:inherit; }
.sidebar a:focus-visible { outline-color:#8fe0cb; }
.sidebar .island-note { border:1px solid #ffffff20; background:transparent; border-radius:14px; padding:20px 17px; margin:20px 0 18px; }
.sidebar .island-note > .icon { color:#8fe0cb; }
.sidebar .island-note h3 { color:#f1f7fa; font-size:14px; line-height:1.6; }
.sidebar .island-note p { font-size:12px; color:#b4cbd5; }
.sidebar-footer { font-size:11px; color:#b4cbd5; letter-spacing:0; }
.topbar { height:80px; padding:0 40px; border-bottom:1px solid var(--line); background:#fffffff5; }
.workspace-title { display:flex; align-items:center; gap:15px; }
.workspace-title small { font-size:12px; color:var(--muted); padding-right:15px; border-right:1px solid var(--line); }
.workspace-title strong { font-size:14px; font-weight:700; }
.demo-chip { font-size:11px; background:#f2f6f8; border-color:#dbe5e9; color:#526776; border-radius:7px; letter-spacing:0; }
.icon-button { width:44px; height:44px; border-color:var(--line); border-radius:12px; }
.top-actions { gap:20px; }
.profile-link strong { font-size:12px; }
.profile-link small { font-size:11px; }
.avatar { background:#e5f0f0; color:#23605e; }
.field > label:not(.sr-only),.field-label { font-size:13px; letter-spacing:0; font-weight:700; color:#365365; }
.field input:not([type=radio]):not([type=checkbox]),.field select,.field textarea { font-size:15px; background-color:var(--control-surface); }
.field input::placeholder,.field textarea::placeholder { color:#657985; font-weight:400; }
.field .location-control input[role=combobox] { font-size:16px; font-weight:650; }
.field .location-address { color:#526776; font-size:12px; }
.location-results small,.location-result-status { font-size:12px; color:#526776; }
.location-results strong { font-size:14px; }
.segment { border-radius:12px; padding:5px; background:#edf2f4; border:1px solid #e2e9ec; }
.segment button { min-height:44px; font-size:13px; border-radius:8px; color:#526776; }
.segment button.active { background:#fff; color:#076f69; box-shadow:0 2px 6px #17374b0b; }
.segment button:focus-visible { outline-offset:-3px; }

/* Home: booking is first in document order and at every breakpoint. */
.home-welcome { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:28px; }
.home-welcome h1 { font-size:clamp(28px,2.7vw,40px); letter-spacing:-1.5px; margin:0 0 10px; line-height:1.2; }
.home-welcome p { color:var(--muted); font-size:14px; }
.home-region { display:flex; align-items:center; gap:8px; font-size:13px; color:#365b6b; white-space:nowrap; }
.home-region .icon { color:var(--teal); }
.home-grid { display:grid; grid-template-columns:minmax(0,1.13fr) minmax(0,1fr); grid-template-rows:1fr auto; gap:22px; align-items:stretch; }
.home-booking { grid-column:1; grid-row:1/3; padding:30px; border-color:#d2dfe4; box-shadow:0 5px 25px #18394e06; }
.home-booking .section-head { margin-bottom:24px; align-items:center; }
.home-booking h2 { font-size:25px; letter-spacing:-.8px; }
.home-booking .section-head p { font-size:13px; color:var(--muted); margin-top:6px; }
.quick-symbol { display:grid; place-items:center; width:46px; height:46px; background:#e8f3f1; border-radius:50%; color:var(--teal); flex:none; }
.home-booking .segment { margin-bottom:24px; }
.home-booking .route-fields { display:block; position:relative; }
.home-booking .field { margin-bottom:19px; }
.home-booking .quick-footer { display:flex; align-items:center; justify-content:center; gap:7px; font-size:11px; line-height:1.6; margin-top:15px; color:#526776; text-align:left; }
.home-booking .quick-footer .icon { flex:none; }
.home-booking .btn-main { min-height:54px; }
.island-hero { position:relative; overflow:hidden; border-radius:20px; min-height:320px; grid-column:2; grid-row:1; color:white; background:#15526b; }
.island-hero > img { position:absolute; width:100%; height:100%; object-fit:cover; object-position:57% center; }
.island-hero-shade { position:absolute; inset:0; background:linear-gradient(180deg,#102f4350,transparent 32%,#102f43e8); }
.island-hero-copy { position:relative; padding:28px; height:100%; display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; }
.hero-location { display:inline-flex; align-items:center; gap:8px; font-size:12px; color:#fff; background:#102f43c7; padding:8px 12px; border-radius:8px; }
.island-hero-copy > div { margin-top:auto; padding-top:60px; }
.island-hero-copy h2 { color:#fff; font-size:clamp(30px,3vw,42px); letter-spacing:-1.5px; line-height:1.15; max-width:290px; margin:0 0 12px; }
.island-hero-copy p { color:#e1edf3; font-size:13px; line-height:1.7; }
.hero-photo-note { position:absolute; top:28px; right:20px; font-size:10px; padding:7px; color:#fff; background:#102f437d; border-radius:6px; }
.home-services { grid-column:2; grid-row:2; display:grid; gap:0; background:#fff; border:1px solid var(--line); border-radius:16px; }
.home-service { display:flex; align-items:center; gap:14px; padding:18px 20px; min-width:0; transition:background .16s; }
.home-service:first-child { border-bottom:1px solid var(--line); border-radius:16px 16px 0 0; }
.home-service:last-child { border-radius:0 0 16px 16px; }
.home-service:hover { background:#f1f7f8; }
.home-service-icon { width:40px; height:42px; display:grid; place-items:center; color:var(--teal); flex:none; }
.home-service-icon.cargo { color:#365d79; }
.home-service > div { flex:1; }
.home-service h2 { font-size:14px; font-weight:750; margin:0 0 5px; }
.home-service p { font-size:12px; color:var(--muted); line-height:1.5; }
.home-service > .icon { color:#476878; flex:none; }
.home-destinations { margin-top:36px; }
.home-destinations h2 { font-size:23px; letter-spacing:-.6px; }
.home-destinations .section-head p { font-size:13px; color:var(--muted); margin-top:6px; }
.destination-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.destination-tile { display:grid; grid-template-columns:1fr; min-width:0; border:1px solid var(--line); border-radius:16px; background:#fff; overflow:hidden; transition:border-color .16s; }
.destination-tile:hover { border-color:#6b9f9c; }
.destination-art { display:block; height:100px; background:#e9f3f4; border-bottom:1px solid #deebed; }
.destination-art svg { width:100%; height:100%; }
.destination-copy { display:flex; flex-direction:column; gap:7px; padding:20px 20px 18px; }
.destination-copy > small { font-size:11px; color:#536c7b; }
.destination-copy strong { font-size:19px; letter-spacing:-.5px; }
.destination-copy > span { font-size:12px; color:var(--muted); line-height:1.5; }
.destination-fare { display:flex; align-items:center; gap:7px; margin:0 20px; border-top:1px dashed #cbdce2; padding:14px 0; }
.destination-fare small { color:var(--muted); font-size:12px; }
.destination-fare strong { font-size:15px; color:var(--navy); }
.destination-fare > span { margin-left:auto; color:var(--teal); }
.home-fare-note { font-size:11px; color:var(--muted); margin-top:14px; }
.home-bottom { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding-top:22px; margin-top:28px; gap:12px; }
.home-bottom > span { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:12px; }

/* Shared working surfaces: booking, trips, activity and account. */
.wizard { max-width:1120px; }
.wizard-heading { margin:0 0 27px; max-width:720px; }
.wizard-panel { padding:30px; }
.boat-type,.result-boat { border-color:#cddde3; }
.boat-type.selected { background:#f0f8f6; border-color:var(--teal); box-shadow:inset 0 0 0 1px var(--teal); }
.boat-type .type-icon { background:#e8f3f1; color:var(--teal); }
.boat-type p,.wizard-tip,.boat-spec > p { font-size:13px; color:var(--muted); }
.boat-type .pill { font-size:11px; letter-spacing:0; }
.type-foot { font-size:12px; }
.wizard-tip { background:#eef5f6; }
.route-intro { background:#e8f2f3; }
.route-intro h3 { font-size:25px; }
.route-intro p { font-size:14px; }
.route-intro .pill { font-size:11px; }
.wizard-controls { border-color:#d5e2e7; box-shadow:0 8px 30px #102f4310; }
.wizard-controls > .btn-main { background:var(--teal); }
.wizard-price small { font-size:11px; letter-spacing:0; }
.wizard-price > span { font-size:13px; }
.result-boat:hover,.result-boat.selected { border-color:var(--teal); background:#f3f9f8; }
.result-boat.selected { box-shadow:inset 0 0 0 1px var(--teal); }
.result-description > span:not(.pill),.result-description > .pill { font-size:12px; }
.result-price > strong { font-size:20px; letter-spacing:-.6px; }
.result-price small,.select-boat-label { font-size:12px; }
.boat-spec > .eyebrow { display:none; }
.facility-list > span { border-color:#d6e3e7; background:#f8fafb; color:#3f6473; font-size:12px; }
.capacity-grid > div,.onboard-panel { background:#eef5f5; }
.capacity-grid strong { font-size:14px; }
.capacity-grid small,.captain-card p,.schedule-note { font-size:12px; }
.captain-card { background:#f7f9fa; border-color:var(--line); }
.captain-card small,.sailing-times small { font-size:11px; letter-spacing:0; }
.sailing-times span { font-size:13px; }
.counter-row small,.payment-option small { font-size:12px; line-height:1.6; }
.payment-option strong { font-size:14px; }
.checkout-summary { background:#f5f8fa; border-color:#d5e2e7; }
.checkout-meta > span,.checkout-consent { font-size:13px; }
.activity-toolbar { background:#fff; border:1px solid var(--line); padding:15px; border-radius:16px; }
.activity-card { border-radius:16px; padding:24px; }
.filter { min-height:42px; font-size:12px; }
.trip-sheet { border-color:var(--line); box-shadow:var(--shadow); }
.boat-rating small { font-size:12px; color:var(--muted); }
.trip-estimate small,.trip-captain small,.trip-route small { font-size:11px; letter-spacing:0; color:var(--muted); }
.trip-captain div > span,.trip-route span > span,.map-instruction small { font-size:12px; color:var(--muted); }
.map-instruction strong { font-size:14px; }
.trip-float { background:var(--navy); border-color:#406175; box-shadow:0 10px 35px #102f4326; }
.notification-copy p { font-size:13px; line-height:1.7; }
.auth-shell { background:#edf3f6; }
.auth-visual { background:var(--navy); }
.auth-form-panel .field > label { font-size:13px; }

/* Startup and route loading share the app palette. */
.boot-screen { min-height:100dvh; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px; background:var(--bg); padding:30px; text-align:center; }
.boot-screen > img { object-fit:contain; border-radius:15px; }
.boot-screen > strong { font-size:23px; letter-spacing:-.6px; }
.boot-screen > span { font-size:13px; color:var(--muted); }
.loading-line { display:block; position:relative; overflow:hidden; height:3px; width:95px; background:#d3e4e5; border-radius:5px; margin-top:18px; }
.loading-line:after { content:''; position:absolute; width:40%; height:100%; left:-40%; background:var(--teal); border-radius:5px; animation:loading 1.2s ease-in-out infinite; }
@keyframes loading { to { left:100%; } }
.page-loader { background:#f5f7f9ed; backdrop-filter:blur(8px); }
.page-loader img { width:54px; height:54px; object-fit:contain; }
.page-loader span { font-size:13px; color:var(--muted); }
@media(max-width:1199px) {
  .page { padding:28px; }
  .brand { justify-content:center; padding-inline:0; }
  .brand-wordmark { display:none; }
  .sidebar { padding:0 12px; }
  .sidebar .nav-item { justify-content:center; padding:14px 10px; }
  .home-grid { gap:20px; }
  .home-booking { padding:25px; }
  .home-booking h2 { font-size:22px; }
  .quick-symbol { display:none; }
  .hero-photo-note { top:auto; bottom:12px; right:12px; font-size:9px; }
  .home-service { padding:17px 14px; gap:8px; }
  .home-service p { font-size:11px; }
  .home-service > .icon { width:15px; }
  .island-hero-copy { padding:24px; }
}
@media(min-width:600px) and (max-width:1199px) { :root { --sidebar:84px; } }
@media(max-width:899px) {
  .home-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; }
  .home-booking { grid-column:1; grid-row:1; }
  .island-hero { min-height:260px; grid-column:1; grid-row:2; }
  .island-hero-copy { min-height:260px; }
  .home-services { grid-column:1; grid-row:3; }
  .home-service { padding:18px 20px; gap:14px; }
  .home-service p { font-size:12px; }
  .destination-grid { gap:12px; }
  .destination-copy { padding:17px 14px; }
  .destination-copy strong { font-size:17px; }
  .destination-fare { margin:0 14px; }
  .home-region { display:none; }
  .quick-symbol { display:grid; }
}
@media(max-width:599px) {
  :root { --sidebar:0px; --radius:18px; }
  .page { padding:25px 18px 35px; }
  .topbar { height:calc(72px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) 18px 0; }
  .workspace-title { display:none; }
  .top-actions { gap:10px; }
  .mobile-brand strong { font-size:16px; letter-spacing:-.6px; }
  .mobile-brand small { font-size:10px; color:var(--muted); }
  .mobile-brand img { width:38px; height:40px; }
  .icon-button { width:42px; height:42px; border-radius:12px; }
  .mobile-account { width:38px; height:38px; font-size:12px; }
  .bottom-nav { border-color:var(--line); box-shadow:0 -4px 18px #102f4306; }
  .bottom-nav a { font-size:10px; gap:4px; min-height:48px; color:#526776; }
  .bottom-nav a.active { background:#e7f2f0; color:#076d66; }
  .home-welcome { margin-bottom:23px; }
  .home-welcome h1 { font-size:30px; letter-spacing:-1.1px; max-width:310px; margin:0 0 10px; }
  .home-welcome p { font-size:13px; max-width:290px; }
  .home-grid { gap:18px; }
  .home-booking { padding:23px 20px; }
  .home-booking .section-head { margin-bottom:21px; }
  .home-booking h2 { font-size:22px; }
  .home-booking .section-head p { font-size:12px; max-width:220px; }
  .quick-symbol { display:none; }
  .home-booking .segment { margin-bottom:22px; }
  .home-booking .quick-footer { font-size:11px; }
  .island-hero,.island-hero-copy { min-height:250px; border-radius:18px; }
  .island-hero-copy { padding:23px; }
  .island-hero-copy > div { padding-top:45px; }
  .island-hero-copy h2 { font-size:32px; }
  .island-hero-copy p { font-size:12px; }
  .hero-location { font-size:11px; }
  .home-service { padding:18px 15px; gap:10px; }
  .home-service h2 { font-size:14px; }
  .home-service p { font-size:11px; }
  .home-service-icon { width:34px; }
  .home-destinations { margin-top:30px; }
  .home-destinations h2 { font-size:21px; }
  .home-destinations .section-head p { font-size:12px; }
  .home-destinations .link { font-size:12px; }
  .destination-grid { grid-template-columns:1fr; gap:13px; }
  .destination-tile { grid-template-columns:86px minmax(0,1fr); }
  .destination-art { height:100%; grid-row:1/3; border:0; border-right:1px solid #deebed; display:grid; place-items:center; overflow:hidden; }
  .destination-art svg { width:145px; max-width:none; height:100px; margin-left:-29px; }
  .destination-copy { padding:17px 16px 13px; gap:5px; }
  .destination-copy strong { font-size:18px; }
  .destination-copy > small { font-size:11px; }
  .destination-copy > span { font-size:11px; }
  .destination-fare { margin:0 16px; padding:12px 0; }
  .destination-fare strong { font-size:14px; }
  .home-bottom { align-items:flex-start; flex-direction:column; gap:14px; }
  .home-bottom > span { font-size:12px; }
  .page-heading h1,.wizard-heading h1,.trip-heading h1 { font-size:28px; letter-spacing:-.9px; }
  .wizard-panel { padding:21px; }
  .wizard-heading { margin-bottom:24px; }
  .wizard-heading p { font-size:13px; }
  .field input:not([type=radio]):not([type=checkbox]),.field select,.field textarea,.field .location-control input[role=combobox] { font-size:16px; }
  .field .location-address,.location-results small,.location-result-status { font-size:11px; }
  .boat-type p { font-size:12px; }
  .type-foot { font-size:0; }
  .boat-type .pill { font-size:10px; }
  .result-description > span:not(.pill),.result-description > .pill { font-size:11px; }
  .result-price small,.select-boat-label { font-size:11px; }
  .result-price > strong { font-size:18px; }
  .facility-list > span { font-size:11px; }
  .wizard-price small { font-size:11px; }
  .wizard-price > span { font-size:12px; }
  .wizard-panel .counter-row strong { font-size:13px; }
  .wizard-panel .counter-row small { font-size:11px; }
  .wizard-panel .counter button { width:40px; height:42px; }
  .captain-card small { font-size:10px; }
  .captain-card p,.schedule-note { font-size:11px; }
  .activity-toolbar { padding:12px; }
  .activity-card { padding:18px; }
  .filter { font-size:12px; }
  .notification-copy p { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
  .loading-line:after { animation:none; left:30%; }
  .btn-main:active,.btn-secondary:active { transform:none; }
}
