/* Bharat Sagar Public School: harbour, lighthouse and signal flags.
   Bootstrap 5.3.3 grid supplies container/row/col; everything else is ours. */
:root {
  --ground: #F6F3EC;
  --paper: #FFFDF8;
  --ink: #13202E;
  --navy: #1B3A5C;
  --red: #D7392B;
  --red-ink: #A32718;
  --beam: #FFD45A;
  --sea: #5E8C86;
  --sea-ink: #3B645E;
  --rope: #C9A46A;
  --rope-ink: #7A5B2C;
  --muted: #4A5663;
  --on-navy: #F6F3EC;
  --on-navy-soft: #D3DEE8;
  --line: #D9D1C1;
  --display: "Fjalla One", "Arial Narrow", sans-serif;
  --body: "PT Sans", "Trebuchet MS", sans-serif;
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scrollbar-color: var(--navy) var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
::selection { background: var(--beam); color: var(--ink); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.harbour :focus-visible, .dock :focus-visible, .foot :focus-visible, .act-bar :focus-visible, .board :focus-visible, .pass-stub :focus-visible { outline-color: var(--beam); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--beam); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: var(--r); }
.skip:focus { top: 12px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.lead { font-size: 1.15rem; line-height: 1.55; }
.hi { font-size: 1.05rem; }
.mt { margin-top: 2rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .7rem 1.2rem; border: 2px solid transparent; border-radius: var(--r);
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-beam { background: var(--beam); color: var(--ink); border-color: var(--beam); }
.btn-beam:hover { background: #FFE38F; color: var(--ink); border-color: #FFE38F; }
.btn-ghost { background: transparent; color: var(--on-navy); border-color: rgba(246, 243, 236, .6); }
.btn-ghost:hover { background: rgba(246, 243, 236, .12); color: var(--on-navy); border-color: var(--on-navy); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--on-navy); }
.btn[disabled] { opacity: .65; cursor: progress; }
.acts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.text-link { font-weight: 700; }

/* ---------- masthead: links as signal flags on a halyard ---------- */
.mast { position: sticky; top: 0; z-index: 40; background: var(--ground); border-bottom: 1px solid var(--line); }
.mast-row { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-t { display: flex; flex-direction: column; line-height: 1.05; }
.brand-n { font-family: var(--display); font-size: 1.45rem; color: var(--navy); }
.brand-s { font-size: .82rem; font-weight: 700; color: var(--red-ink); letter-spacing: .02em; }
.halyard { display: none; }
.halyard ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; position: relative; }
.halyard ul::before { content: ""; position: absolute; left: -12px; right: -12px; top: 9px; height: 3px; background: var(--rope); border-radius: 2px; }
.pennant { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 10px .6rem 6px; text-decoration: none; color: var(--ink); }
.pennant .pf { width: 34px; height: 25.5px; transform-origin: 50% 0; transition: transform .45s var(--ease); }
.pennant .pl { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; padding: .1rem .4rem; border-radius: 3px; transition: background-color .2s var(--ease); }
.pennant:hover .pf, .pennant:focus-visible .pf { transform: rotate(-7deg); }
.pennant:hover .pl { background: rgba(255, 212, 90, .45); }
.pennant[aria-current="page"] .pl { background: var(--beam); }
.mast-call { display: none; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--navy); padding: .6rem .9rem; border: 2px solid var(--navy); border-radius: var(--r); min-height: 44px; }
.mast-call:hover { background: var(--navy); color: var(--on-navy); }
.log-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .55rem 1rem; background: var(--navy); color: var(--on-navy); border: 0; border-radius: var(--r); font: 700 1rem var(--body); cursor: pointer; }
@media (min-width: 992px) {
  .halyard { display: block; }
  .log-btn { display: none; }
}
@media (min-width: 1200px) { .mast-call { display: inline-flex; } }

/* phone menu: a ship's log */
.log-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(19, 32, 46, .55); opacity: 0; transition: opacity .3s var(--ease); }
.log-scrim.open { opacity: 1; }
.log { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper); color: var(--ink); overflow-y: auto;
  padding: 1rem 1.25rem 1.5rem 2.25rem; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -12px 0 32px rgba(19, 32, 46, .25); }
.log::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.35rem; width: 1px; background: var(--red); opacity: .55; }
.log.open { transform: none; }
.log-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--navy); }
.log-t { font-family: var(--display); font-size: 1.35rem; color: var(--navy); margin: 0; }
.log-close { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .4rem .8rem; background: transparent; border: 2px solid var(--navy); border-radius: var(--r); color: var(--navy); font: 700 .95rem var(--body); cursor: pointer; }
.log-list { list-style: none; margin: 0; padding: 0; }
.log-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .85rem; padding: .8rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.log-list .lf { width: 40px; height: 30px; }
.lg-p { font-family: var(--display); font-size: 1.35rem; color: var(--navy); justify-self: start; }
.lg-c { font-size: .85rem; color: var(--muted); font-style: italic; }
.log-list a[aria-current="page"] .lg-p { background: var(--beam); padding: 0 .3rem; border-radius: 3px; }
.log-acts { display: grid; gap: .6rem; margin: 1.25rem 0 .75rem; }
.log-acts .btn { justify-content: center; }
.log-note { font-size: .9rem; color: var(--muted); }
body.log-open { overflow: hidden; }

/* ---------- harbour hero ---------- */
.harbour { position: relative; background: var(--navy); color: var(--on-navy); padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; overflow: hidden; }
.harbour h1 { color: var(--on-navy); max-width: 13ch; }
.harbour .lead { color: var(--on-navy-soft); max-width: 56ch; }
.harbour .hi { color: var(--beam); }
.harbour-copy { position: relative; z-index: 2; }
.sea { display: block; width: 100%; height: 60px; margin-top: 2.5rem; }
.light { position: relative; width: 100%; max-width: 470px; margin: 0 auto; aspect-ratio: 1 / 1.02; }
.tower-wrap { position: absolute; right: 0; bottom: 0; height: 96%; aspect-ratio: 120 / 300; }
.tower { position: absolute; inset: 0; width: 100%; height: 100%; }
.beam { position: absolute; left: 50%; top: 23%; width: 1100px; height: 190px; margin-top: -95px; transform-origin: 0 50%; transform: rotate(196deg);
  background: linear-gradient(90deg, rgba(255, 212, 90, .62), rgba(255, 212, 90, .18) 55%, rgba(255, 212, 90, 0) 85%);
  clip-path: polygon(0 47%, 100% 0, 100% 100%, 0 53%); pointer-events: none; z-index: 1; mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) {
  .beam { animation: sweep 9s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
}
@keyframes sweep { from { transform: rotate(150deg); } to { transform: rotate(222deg); } }
.port { position: absolute; left: 0; bottom: 3%; width: 74%; margin: 0; z-index: 2; }
.port-glass { border-radius: 50%; padding: 4.6%; background: var(--rope); box-shadow: 0 18px 40px rgba(8, 18, 30, .45); }
.port-glass img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid #8B6B3A; }
.port-rim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.photo-note { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }
.harbour .photo-note { color: var(--on-navy-soft); text-align: center; }
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .25rem 0 0; font-weight: 700; }
.status .ic { color: var(--sea-ink); }
.status-src { font-weight: 400; font-size: .88rem; color: var(--muted); }
.status.is-open .ic { color: #2E7D4F; }
.status-dark .ic, .status-dark.is-open .ic { color: var(--beam); }
.status-dark .status-src { color: var(--on-navy-soft); }

/* code-flag hoist */
.hoist-wrap { margin-top: 2rem; }
.hoist { list-style: none; margin: 0; padding: 0 .5rem; display: flex; gap: .55rem; position: relative; }
.hoist::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rope); }
.hoist li { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding-top: 6px; }
.hoist .flag { width: 44px; height: 33px; }
.hoist span { font-family: var(--display); font-size: .95rem; }
.hoist-key { font-size: .9rem; color: var(--on-navy-soft); margin: .6rem 0 0; max-width: 46ch; }
.dock-solo .hoist-key { color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sec + .sec { padding-top: 0; }
.sec-flags, .sec-pass, .sec-docs, .sec-expect { background: var(--paper); padding-top: clamp(3rem, 7vw, 5.5rem) !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-flags + .sec, .sec-pass + .sec, .sec-docs + .sec, .sec-expect + .sec { padding-top: clamp(3rem, 7vw, 5.5rem); }
.s-head { margin-bottom: 1.75rem; }
.s-head .lead { color: var(--muted); font-size: 1.08rem; }
.side-note { font-size: .95rem; color: var(--muted); }
.more { margin-top: 2rem; font-weight: 700; }

/* harbour board */
.board { background: var(--navy); color: var(--on-navy); border: 10px solid var(--sea); border-radius: 10px; padding: clamp(1rem, 3vw, 1.75rem); }
.board-dl { margin: 0; }
.b-row { display: grid; grid-template-columns: minmax(7.5rem, 30%) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(246, 243, 236, .18); }
.b-row dt { font-family: var(--display); font-size: 1.1rem; color: var(--rope); }
.b-row dd { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; }
.b-row a { color: var(--beam); }
.b-t .b-v { color: var(--on-navy-soft); font-style: italic; }
.chip { display: inline-block; font-size: .78rem; font-weight: 700; line-height: 1.2; padding: .2rem .5rem; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: #DCEBE7; color: var(--ink); }
.chip.post { background: var(--beam); color: var(--ink); }
.chip.tbc-chip { border: 1.5px dashed currentColor; color: var(--on-navy-soft); }
.board-key { font-size: .85rem; color: var(--on-navy-soft); margin: 1rem 0 0; line-height: 1.9; max-width: none; }

/* values as flags on one line */
.vals { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; position: relative; }
.vals::before { content: ""; position: absolute; left: -1rem; right: -1rem; top: 0; height: 3px; background: var(--rope); }
.val { display: flex; flex-direction: column; gap: .9rem; padding-top: 8px; }
.val .vf { width: clamp(88px, 10vw, 120px); height: auto; aspect-ratio: 4 / 3; }
.val h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.val-code { font-size: .9rem; color: var(--muted); margin: .2rem 0 0; }
.val .tbc { margin-top: .75rem; }
@media (min-width: 992px) { .vals { grid-template-columns: repeat(4, 1fr); } }

/* the voyage: stages as a course of flags */
.course { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.course::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 0; border-left: 3px dashed var(--sea); }
.stop a { position: relative; display: flex; align-items: center; gap: 1rem; padding: .9rem 0; text-decoration: none; color: var(--navy); }
.stop .stf { width: 44px; height: 33px; flex: none; position: relative; }
.stop-t { font-family: var(--display); font-size: 1.3rem; }
.stop a:hover .stop-t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 992px) {
  .course { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .course::before { left: 0; right: 0; top: 30px; bottom: auto; height: 0; border-left: 0; border-top: 3px dashed var(--sea); width: auto; }
  .stop a { flex-direction: column; align-items: flex-start; gap: .9rem; padding: 0; }
  .stop .stf { width: 80px; height: 60px; }
}

/* boarding pass form */
.pass { display: grid; grid-template-columns: 1fr; background: var(--ground); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.pass-stub { position: relative; background: var(--navy); color: var(--on-navy); padding: 1.25rem 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; align-content: start; }
.ps-k { margin: 0; font-size: .82rem; color: var(--on-navy-soft); }
.ps-v { margin: 0; font-family: var(--display); font-size: 1.1rem; }
.pass-stub .sf { width: 56px; height: 42px; grid-column: 1 / -1; margin-top: .75rem; }
.pass-body { position: relative; padding: clamp(1.25rem, 3vw, 2rem); }
.pass-h { font-size: 1.9rem; margin-bottom: .2rem; }
.pass-lead { color: var(--muted); }
@media (min-width: 768px) {
  .pass { grid-template-columns: 190px 1fr; }
  .pass-stub { grid-template-columns: 1fr; align-content: start; }
  .pass-body::before { content: ""; position: absolute; left: -2px; top: 12px; bottom: 12px; width: 0; border-left: 3px dotted var(--rope); }
}
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
legend { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.2rem; color: var(--navy); padding: 0; margin-bottom: .7rem; }
.leg-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--on-navy); font-size: .95rem; }
.fld label { display: block; font-weight: 700; margin-bottom: .3rem; }
.opt { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 2px solid #8E99A5; border-radius: var(--r); background: #FFFFFF; color: var(--ink); font: 400 1rem var(--body); caret-color: var(--red); }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--navy); outline: 3px solid rgba(255, 212, 90, .9); outline-offset: 1px; }
.fld [aria-invalid="true"] { border-color: var(--red-ink); background: #FFF6F4; }
.hint { font-size: .88rem; color: var(--muted); margin: .3rem 0 0; }
.err { font-size: .92rem; font-weight: 700; color: var(--red-ink); margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { border: 2px solid var(--red-ink); background: #FFF6F4; border-radius: var(--r); padding: .9rem 1rem; margin-bottom: 1rem; font-weight: 700; color: var(--red-ink); }
.form-summary ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--red-ink); }
.pass-foot { display: flex; flex-wrap: wrap; gap: .75rem; }
.form-ok, .form-fail { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: var(--r); font-weight: 700; }
.form-ok { background: #E3F0EA; color: #1F5A3C; border: 2px solid #2E7D4F; }
.form-fail { background: #FFF6F4; color: var(--red-ink); border: 2px solid var(--red-ink); }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; font-weight: 700; }
.ticks .ic { color: var(--sea-ink); }

/* hours + chart (map) */
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
.hours caption { caption-side: bottom; text-align: left; font-size: .85rem; color: var(--muted); padding-top: .6rem; }
.hours th, .hours td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 700; }
.hours tr.today { background: rgba(255, 212, 90, .45); }
.today-tag { font-weight: 400; font-size: .85rem; }
.chart { border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--paper); }
.chart-frame { position: relative; aspect-ratio: 5 / 3; background: #E7EFEC; }
.chart-art { display: block; width: 100%; height: 100%; }
.chart-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart-body { padding: 1.25rem 1.5rem 1.5rem; }
.chart-name { font-family: var(--display); font-size: 1.4rem; color: var(--navy); margin-bottom: .3rem; }
.chart-acts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0 .5rem; }
.chart-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* placeholders */
.tbc { border: 2px dashed #8A7A5A; background: #FBF7EE; border-radius: var(--r); padding: .8rem 1rem; color: var(--ink); font-size: .98rem; }
.tbc-k { font-weight: 700; color: var(--rope-ink); }

/* ---------- inner pages ---------- */
.dock { background: var(--navy); color: var(--on-navy); padding: 1.5rem 0 clamp(2.25rem, 5vw, 3.5rem); border-bottom: 8px solid var(--sea); }
.dock h1 { color: var(--on-navy); font-size: clamp(2.3rem, 5vw, 3.75rem); }
.dock .lead { color: var(--on-navy-soft); }
.dock .hi { color: var(--beam); margin: 0; }
.dock-row { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: flex-start; margin-top: 1.5rem; }
.dock .df { width: clamp(64px, 9vw, 104px); height: auto; aspect-ratio: 4 / 3; flex: none; margin-top: .35rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .92rem; color: var(--on-navy-soft); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; }
.crumbs a { color: var(--on-navy); }
.dock-solo { padding: clamp(3rem, 8vw, 6rem) 0; border-bottom: 0; }
.dock-solo .acts .btn-line { color: var(--on-navy); border-color: rgba(246, 243, 236, .6); }
.dock-solo .acts .btn-line:hover { background: rgba(246, 243, 236, .12); }
.dock-solo .hoist-key { color: var(--on-navy-soft); }
.lost { columns: 2; padding-left: 1.2rem; }
.lost a { color: var(--beam); }
.port-side { position: relative; left: auto; bottom: auto; width: min(100%, 420px); margin: 0 auto; }

.stage { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.stage:first-child { padding-top: 0; }
.stage-ph { margin: 0; }
.stage-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.stage-t { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.stage-t h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.stage .stg { width: 64px; height: 48px; flex: none; }
.stage-src { font-size: .95rem; color: var(--muted); }
.asks { padding-left: 1.2rem; display: grid; gap: .5rem; max-width: 70ch; }

.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 12px; border-left: 3px dashed var(--sea); }
.route li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; padding-bottom: 1.75rem; }
.rt-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #FFFFFF; font-family: var(--display); font-size: 1.3rem; border: 3px solid var(--ground); box-shadow: 0 0 0 2px var(--red); }
.route h3 { margin: .45rem 0 .3rem; }
.route p { margin: 0; }
.ages { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.ages caption { caption-side: bottom; text-align: left; font-size: .88rem; color: var(--muted); padding-top: .6rem; }
.ages th, .ages td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.ages thead th { font-family: var(--display); font-weight: 400; color: var(--navy); font-size: 1.05rem; border-bottom: 2px solid var(--navy); }
.docs { padding-left: 1.2rem; display: grid; gap: .45rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-family: var(--display); font-size: 1.25rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 700; color: var(--red-ink); }
.faq[open] summary::after { content: "\2212"; }
.faq p { padding-bottom: 1rem; margin: 0; }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: var(--ink); font: inherit; }
.shot-btn img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; transition: filter .25s var(--ease); }
.shot-btn:hover img { filter: brightness(1.05) saturate(1.05); }
.shot-cap { display: flex; justify-content: space-between; align-items: center; padding: .6rem .1rem; font-weight: 700; }
.lightbox { border: 0; padding: 0; background: var(--ink); color: var(--on-navy); max-width: min(960px, 94vw); border-radius: 10px; }
.lightbox::backdrop { background: rgba(19, 32, 46, .82); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: #0C1520; }
.lightbox figcaption { padding: .75rem 1rem 0; font-size: .95rem; }
.lb-bar { display: flex; gap: .5rem; justify-content: flex-end; padding: .75rem 1rem 1rem; }
.lb-bar button { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .45rem .9rem; border: 2px solid rgba(246, 243, 236, .6); background: transparent; color: var(--on-navy); border-radius: var(--r); font: 700 .95rem var(--body); cursor: pointer; }
.lb-bar .lb-close { background: var(--beam); color: var(--ink); border-color: var(--beam); }
.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .expect { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .expect { grid-template-columns: repeat(3, 1fr); } }
.expect h3 { margin-bottom: .4rem; }
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .notices { grid-template-columns: 1.3fr 1fr 1fr; } }
.notice { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 1.25rem 1.4rem; }
.notice.n-real { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.notice.n-real h3 { color: var(--on-navy); }
.n-tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: #E9E3D6; margin-bottom: .6rem; }
.n-real .n-tag { background: var(--beam); color: var(--ink); }
.reach { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.reach a, .reach-tbc { display: flex; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.reach .ic { width: 28px; height: 28px; color: var(--navy); }
.reach strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--navy); }
.reach small { font-size: .9rem; color: var(--muted); }
.reach a:hover strong { text-decoration: underline; }
.prose { max-width: 72ch; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--on-navy); padding-bottom: 2rem; }
.foot-sea { display: block; width: 100%; height: 40px; background: var(--ground); }
.foot .container { padding-top: 2.5rem; }
.foot a { color: var(--on-navy); }
.foot a:hover { color: var(--beam); }
.foot p, .foot li { font-size: .95rem; color: var(--on-navy-soft); }
.foot-logo { width: 280px; height: auto; margin-bottom: .75rem; }
.foot-hi { color: var(--beam) !important; }
.foot-h { font-size: 1.7rem; color: var(--on-navy); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.hoist-foot { margin-top: 2.5rem; }
.hoist-foot span { color: var(--on-navy-soft); }

/* phone action bar */
.act-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); border-top: 3px solid var(--beam); padding-bottom: env(safe-area-inset-bottom); }
.act-bar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .25rem; color: var(--on-navy); text-decoration: none; font-size: .82rem; font-weight: 700; min-height: 56px; justify-content: center; }
.act-bar a:last-child { background: var(--beam); color: var(--ink); }
body { padding-bottom: 60px; }
@media (min-width: 992px) { .act-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- phones ---------- */
@media (max-width: 991.98px) {
  .light { max-width: 360px; margin-top: .5rem; }
  .harbour h1 { max-width: 14ch; }
}
@media (max-width: 575.98px) {
  .brand-n { font-size: 1.25rem; }
  .brand-s { font-size: .74rem; }
  .brand img { width: 38px; height: 38px; }
  .mast-row { min-height: 66px; gap: .6rem; }
  .acts .btn { flex: 1 1 auto; justify-content: center; }
  .b-row { grid-template-columns: 1fr; gap: .2rem; }
  .light { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .beam { transform: rotate(196deg); }
}
.stop-d { margin: .1rem 0 0 calc(44px + 1rem); color: var(--muted); font-size: .98rem; }
@media (min-width: 992px) { .stop-d { margin: .5rem 0 0; } }
.pennant:hover, .log-list a:hover { color: var(--ink); }
.act-bar a:hover { color: var(--on-navy); }
.act-bar a:last-child:hover { color: var(--ink); }
