
:root{
  --bg:#0f1115; --panel:#171a21; --panel2:#1e222b; --line:#2a2f3a;
  --fg:#e6e8ee; --muted:#98a0b3; --accent:#c8a24a; --ok:#3fb950;
  --warn:#d29922; --bad:#f85149; --link:#7cb7ff;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
header{background:linear-gradient(180deg,#1b1f27,#14171d);border-bottom:1px solid var(--line);
  padding:18px 28px 0}
.wrap{max-width:1100px;margin:0 auto;padding:0 4px}
.brand{font-size:22px;font-weight:650;letter-spacing:.2px}
.brand span{color:var(--accent)}
.sub{color:var(--muted);font-size:13px;margin-top:2px}
nav{margin-top:16px;display:flex;gap:4px;flex-wrap:wrap}
nav a{padding:9px 16px;border:1px solid var(--line);border-bottom:none;
  border-radius:8px 8px 0 0;background:#12151b;color:var(--muted);font-size:14px}
nav a.active{background:var(--bg);color:var(--fg);border-color:var(--line)}
nav a:hover{color:var(--fg);text-decoration:none}
main{padding:26px 28px 60px;max-width:1100px;margin:0 auto}
h1{font-size:26px;margin:0 0 6px}
h2{font-size:19px;margin:32px 0 10px;padding-bottom:6px;border-bottom:1px solid var(--line)}
h3{font-size:16px;margin:22px 0 8px;color:var(--fg)}
p,li{color:#d6dae3}
code{background:#0b0d11;border:1px solid var(--line);border-radius:5px;
  padding:1px 6px;font-size:13.5px;color:#ffd580;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
table{border-collapse:collapse;width:100%;margin:12px 0;font-size:14.5px}
th,td{border:1px solid var(--line);padding:8px 11px;text-align:left;vertical-align:top}
th{background:var(--panel2);color:var(--muted);font-weight:600;font-size:13px;
  text-transform:uppercase;letter-spacing:.05em}
tr:nth-child(even) td{background:#14171d}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:18px 0}
.card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px 18px}
.card h3{margin:0 0 6px;font-size:15px}
.card .big{font-size:22px;font-weight:650;color:var(--accent)}
.card .meta{color:var(--muted);font-size:13px;margin-top:6px}
.pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;
  border:1px solid var(--line);background:#12151b;color:var(--muted)}
.pill.ok{color:var(--ok);border-color:#1f4d28}
.pill.warn{color:var(--warn);border-color:#4d3d1a}
.pill.bad{color:var(--bad);border-color:#5a2220}
.note{background:var(--panel);border-left:3px solid var(--accent);padding:12px 16px;
  border-radius:0 8px 8px 0;margin:16px 0;color:#cfd4de;font-size:14.5px}
footer{border-top:1px solid var(--line);color:var(--muted);font-size:12.5px;
  padding:16px 28px 40px;max-width:1100px;margin:0 auto}
.switch-form{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.btn{font:inherit;font-size:15px;font-weight:600;padding:12px 26px;border-radius:9px;
  border:1px solid var(--line);background:var(--panel2);color:var(--fg);cursor:pointer}
.btn:hover{background:#252a35;border-color:#3a4150}
.btn-on{border-color:#1f4d28;color:#6ee787}
.btn-off{border-color:#5a2220;color:#ff9c94}
.state-on{color:var(--ok)}
.state-off{color:var(--muted)}
.state-bad{color:var(--bad)}
.note.ok{border-left-color:var(--ok)}
.note.bad{border-left-color:var(--bad)}
.note.warn{border-left-color:var(--warn)}
/* A card that is itself a link: the whole tile is clickable, so a click anywhere
   opens the target. Global `a{text-decoration:none}` means a bare link has no visual
   affordance, which is why the plain "Open ->" text was easy to miss. */
a.card-link{display:block;color:inherit;text-decoration:none;
  transition:border-color .15s ease,transform .15s ease}
a.card-link:hover{border-color:var(--accent);text-decoration:none;
  transform:translateY(-2px)}
a.card-link:hover .open{text-decoration:underline}
a.card-link .open{display:block;margin-top:10px;color:var(--link);
  font-weight:600;font-size:14.5px}
a.card-link h3{color:var(--fg)}
img.photo{width:100%;height:auto;border-radius:10px;border:1px solid var(--line);
  display:block;margin:14px 0 6px;background:var(--panel2)}
.credit{color:var(--muted);font-size:12.5px;margin:0 0 18px}
.credit a{color:var(--muted);text-decoration:underline}
.backlink{display:inline-block;margin:22px 0 0;font-size:14px}
.pager{display:flex;gap:12px;align-items:stretch;justify-content:space-between;
  margin:30px 0 0;padding-top:18px;border-top:1px solid var(--line)}
.pager a{flex:1 1 0;padding:12px 18px;border:1px solid var(--line);border-radius:9px;
  background:var(--panel);color:var(--fg);font-size:14.5px;font-weight:600;
  display:flex;align-items:center}
.pager a:hover{background:var(--panel2);border-color:#3a4150;text-decoration:none}
.pager a.pager-prev{justify-content:flex-start}
.pager a.pager-next{justify-content:flex-end}
.pager a.pager-home{flex:0 0 auto;justify-content:center;color:var(--muted);font-weight:500}
.pager .pager-empty{flex:1 1 0;visibility:hidden}
.tripmap{width:100%;height:auto;margin:14px 0 6px;border-radius:12px}
.mapbg{fill:#12151b;stroke:#2a2f3a;stroke-width:1}
.maproute{fill:none;stroke:#c8a24a;stroke-width:3;stroke-dasharray:9 6;
  stroke-linejoin:round;opacity:.95}
.mapcoast{fill:none;stroke:#2a2f3a;stroke-width:2;stroke-dasharray:3 7}
.mapdot{fill:#1e222b;stroke:#c8a24a;stroke-width:2.5}
.mapnum{fill:#e6e8ee;font-size:15px;font-weight:700;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.maplabel{fill:#d6dae3;font-size:15px;font-weight:600;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.mapscale{fill:#98a0b3;font-size:12.5px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.maplink{cursor:pointer}
.mapwrap{position:relative;width:100%;padding-top:62%;margin:14px 0 8px;
  border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.embeddedmap{position:absolute;inset:0;width:100%;height:100%;border:0}
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:18px;margin:18px 0}
.quote{margin:0;background:var(--panel);border:1px solid var(--line);
  border-radius:10px;padding:14px;display:flex;flex-direction:column}
.quote img.photo{margin:0 0 12px}
.quote figcaption{color:var(--muted);font-size:13.5px;line-height:1.5}
.quote figcaption strong{color:var(--fg)}
.quote .qn{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;
  border:1px solid var(--line);background:#12151b;font-size:11.5px}
.quote .qtext{display:block;margin-top:8px;font-style:italic;color:#cfd4de}
.tabbar{display:flex;gap:6px;margin:4px 0 18px;border-bottom:1px solid var(--line)}
.tabbar a.tab{padding:9px 18px;border:1px solid transparent;border-bottom:none;
  border-radius:8px 8px 0 0;color:var(--muted);font-size:14.5px;font-weight:600;
  margin-bottom:-1px}
.tabbar a.tab:hover{color:var(--fg);background:#12151b;text-decoration:none}
.tabbar a.tab.active{background:var(--panel);border-color:var(--line);
  border-bottom:1px solid var(--panel);color:var(--fg)}
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:10px;margin:18px 0}
.gallery figure{margin:0}
.gallery a{display:block;line-height:0;border-radius:9px;overflow:hidden;
  border:1px solid var(--line)}
.gallery img{width:100%;height:192px;object-fit:cover;display:block;
  transition:transform .3s ease}
.gallery a:hover img{transform:scale(1.05)}
.gallery .wide{grid-column:1/-1}
.gallery .wide img{height:360px}
/* Reference numbers under images, so a single photo can be named ("remove 7")
   without ambiguity. One figcaption per image, numbered in document order. */
figure.shot{margin:18px 0}
figure.shot img.photo{margin:0}
figcaption.imgno{display:block;text-align:center;padding-top:9px;
  font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--muted)}
figcaption.imgno::before{content:"#";opacity:.55;margin-right:1px}
@media (max-width:640px){
  .gallery{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
  .gallery img{height:150px}
  .gallery .wide img{height:215px}
}
.maplead{stroke:#3a4150;stroke-width:1.2}
.mapleads{opacity:.85}

/* ---------------------------------------------------------------- Sea Stream
   The two Sea Stream pages opt into a LIGHT look via <body class="ss">:
   a white ground with a green accent, larger lead type, uppercase section
   headings and much softer corners.

   Only the custom properties are redefined, plus the handful of base rules
   that carry hard-coded dark colours (code, nav, table stripes, pills). Every
   other rule above that uses var(--accent) / var(--panel) / var(--line) picks
   the new values up for free. Nothing outside body.ss is touched -- the rest of
   the site keeps the gold-on-dark palette. */
body.ss{
  --bg:#ffffff; --panel:#f6f9fb; --panel2:#eef3f7; --line:#d5dee6;
  --fg:#0d1a26; --muted:#55677a; --accent:#15803d; --link:#0b66c3;
  --ok:#15803d; --warn:#a2650a; --bad:#c0392b;
}
body.ss header{background:linear-gradient(180deg,#ffffff,#f2f6fa);
  border-bottom:1px solid #d5dee6}
body.ss nav a{background:#f2f5f8;border:1px solid #d5dee6;border-radius:999px;
  border-bottom:1px solid #d5dee6;margin-bottom:6px;color:#55677a}
body.ss nav a.active{background:rgba(21,128,61,.10);border-color:var(--accent);
  color:var(--accent)}
body.ss nav a:hover{background:#e9eef3;color:var(--fg)}

/* layout switcher strip in the masthead (public build) */
body.ss .layouts{margin-top:10px;font-size:12.5px;line-height:1.7;color:#55677a;
  max-width:90ch;padding-bottom:15px}
body.ss .layouts strong{color:#0b1620}
body.ss .layouts a{color:var(--link);text-decoration:none}
body.ss .layouts a:hover{text-decoration:underline}
body.ss footer{border-top:1px solid #d5dee6}

/* lead type and section headings */
body.ss h1{font-size:40px;line-height:1.12;letter-spacing:-.022em;font-weight:800;
  margin:4px 0 12px;color:#0d1a26}
body.ss h1 + .sub{font-size:16.5px;line-height:1.65;color:#47566a;max-width:64ch}
body.ss h2{font-size:13.5px;text-transform:uppercase;letter-spacing:.15em;
  color:var(--accent);border-bottom:none;margin:48px 0 14px;font-weight:700}
body.ss h3{font-size:15.5px;color:#14222e}
body.ss p,body.ss li{color:#26343f}
body.ss strong{color:#0b1620}

/* softer, rounder panels */
body.ss .card{border-radius:18px;border-color:#d5dee6;padding:18px 20px;
  background:linear-gradient(180deg,#ffffff,#f6f9fb)}
body.ss .card .big{font-size:23px;font-weight:700;color:var(--accent)}
body.ss .card .meta{color:#55677a}
body.ss .note{border-radius:14px;border-left:3px solid var(--accent);
  background:#f2f8f4;color:#2a3a33}
body.ss table{border:1px solid #d5dee6;border-radius:14px;overflow:hidden}
body.ss th{background:#eef3f7;color:var(--accent);letter-spacing:.08em}
body.ss th,body.ss td{border-color:#d5dee6}
body.ss tr:nth-child(even) td{background:#f7fafb}
body.ss code{background:#eef3f7;border-color:#d5dee6;color:#0b6b3a}
body.ss .pill{background:#f2f5f8;border-color:#d5dee6;color:#55677a}

/* tabs and pills, rounded like buttons */
body.ss .tabbar{border-bottom:1px solid #d5dee6;gap:8px}
body.ss .tabbar a.tab{border:1px solid #d5dee6;border-radius:999px;padding:10px 22px;
  background:#f2f5f8;color:#55677a;margin-bottom:10px}
body.ss .tabbar a.tab.active{background:var(--accent);border-color:var(--accent);
  color:#ffffff;font-weight:700}
body.ss .tabbar a.tab:hover{background:#e9eef3;color:var(--fg)}

/* photography */
body.ss img.photo{display:block;width:100%;margin:16px 0;border-radius:20px;
  border:1px solid #d5dee6;background:#eef3f7}
body.ss .gallery a{border-radius:20px;border-color:#d5dee6}
body.ss .gallery img{height:215px}
body.ss .gallery .wide img{height:420px}
body.ss figure.shot img.photo{margin:0}
body.ss figcaption.imgno{color:#55677a}

/* links used as calls to action */
body.ss .cta{display:inline-block;margin:8px 10px 8px 0;padding:13px 30px;
  border-radius:999px;background:var(--accent);color:#ffffff;font-weight:700;
  font-size:15px}
body.ss .cta:hover{text-decoration:none;filter:brightness(1.08)}
body.ss .cta-ghost{display:inline-block;margin:8px 10px 8px 0;padding:12px 28px;
  border-radius:999px;border:1px solid var(--accent);color:var(--accent);
  font-weight:600;font-size:15px}
body.ss .cta-ghost:hover{text-decoration:none;background:rgba(21,128,61,.08)}

/* enquiry form on the Sea Stream contact page: one email field, one description
   box, one send button. The submit is a front-end demo only (no endpoint). */
body.ss .ss-form{display:flex;flex-direction:column;max-width:660px;margin:20px 0 0}
body.ss .ss-form label{font-weight:600;font-size:14.5px;color:#14222e;margin:16px 0 6px}
body.ss .ss-form input,body.ss .ss-form textarea{font:inherit;font-size:16px;
  padding:13px 16px;width:100%;border:1px solid #c3ced8;border-radius:14px;
  background:#fff;color:#0d1a26}
body.ss .ss-form textarea{resize:vertical;min-height:160px;line-height:1.55}
body.ss .ss-form input:focus,body.ss .ss-form textarea:focus{outline:none;
  border-color:var(--accent);box-shadow:0 0 0 3px rgba(21,128,61,.15)}
body.ss .ss-form button{margin-top:24px;align-self:flex-start;font:inherit;font-size:15.5px;
  font-weight:700;padding:14px 34px;border:none;border-radius:999px;
  background:var(--accent);color:#fff;cursor:pointer}
body.ss .ss-form button:hover{filter:brightness(1.08)}
body.ss .sent{margin:18px 0 0;padding:14px 18px;border-radius:14px;background:#f2f8f4;
  border-left:3px solid var(--accent);color:#2a3a33;font-weight:600}
body.ss .credit{color:#55677a;font-size:12.5px}
@media (max-width:640px){
  body.ss h1{font-size:29px}
  body.ss h2{margin-top:36px}
  body.ss .gallery img{height:150px}
  body.ss .gallery .wide img{height:235px}
}
