/* ============================================================
   ICY STRAIT POINT — MORNING BRIEFING
   Theme: Alaskan nature, morning light — misty sage, spruce
   green, glacier blue, earthy amber. The hero scene and the
   nautical chart stay dark, framed against the light page.
   ============================================================ */

:root {
  --bg: #ecf3e3;
  --bg-deep: #dce8d0;
  --panel: #fdfffb;
  --panel-soft: #f0f7e9;
  --panel-edge: #c8dabd;
  --ice: #2b7ea6;
  --ice-soft: #33809f;
  --aurora: #1f7a54;
  --amber: #a9731e;
  --ember: #b65c33;
  --text: #223a28;
  --text-dim: #5e7663;
  --danger: #b23c3c;
  --radius: 14px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #dce8d0; /* matches --bg-deep so overscroll never flashes white */
}

body {
  font-family: var(--font-body);
  min-height: 100vh;
  background:
    radial-gradient(1100px 480px at 80% -10%, #d4e7d4 0%, transparent 60%),
    linear-gradient(to bottom, var(--bg), var(--bg-deep));
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  height: min(62vh, 500px);
  min-height: 400px;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 44px 28px;
  border-radius: 22px;
  background: rgba(242, 248, 235, .82);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 18px 48px rgba(20, 40, 28, .28);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  animation: rise .9s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  font-size: .82rem;
  letter-spacing: .35em;
  color: var(--ice);
  text-transform: uppercase;
  font-weight: 600;
}

.compass { color: var(--amber); margin-right: .4em; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  letter-spacing: .06em;
  line-height: 1;
  margin: .15em 0 0;
  color: var(--text);
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  letter-spacing: .5em;
  text-indent: .5em; /* balance the tracking */
  color: var(--aurora);
  margin-top: .2em;
}

.hero-meta {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}

.wx-main { display: flex; align-items: baseline; gap: .6rem; }

.wx-temp {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: .05em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.wx-temp:empty { display: none; }

.wx-cond {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: .12em;
  color: var(--text);
}

.wx-sub {
  font-size: .9rem;
  color: var(--text-dim);
  letter-spacing: .04em;
}

.wx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-date {
  font-size: .95rem;
  color: var(--text-dim);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* hero SVG animations */
.star { animation: twinkle 3.2s ease-in-out infinite; }
.star.s2 { animation-delay: 1.1s; }
.star.s3 { animation-delay: 2.2s; }
@keyframes twinkle { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

.aurora { transform-origin: center; }
.aurora.a1 { animation: auroraShift 11s ease-in-out infinite alternate; }
.aurora.a2 { animation: auroraShift 14s ease-in-out infinite alternate-reverse; }
@keyframes auroraShift {
  from { transform: translateX(-30px) scaleY(1); opacity: .75; }
  to   { transform: translateX(30px)  scaleY(1.18); opacity: 1; }
}

/* each wave path extends one full pattern period past the right edge,
   so sliding exactly one period loops seamlessly */
.wave { will-change: transform; }
.wave.w1 { animation: waveSlide1 11s linear infinite; }
.wave.w2 { animation: waveSlide2 17s linear infinite; }
@keyframes waveSlide1 { from { transform: translateX(0); } to { transform: translateX(-360px); } }
@keyframes waveSlide2 { from { transform: translateX(0); } to { transform: translateX(-480px); } }

.ship-drift { animation: shipDrift 70s linear infinite; }
@keyframes shipDrift {
  from { transform: translateX(-220px); }
  to   { transform: translateX(1560px); }
}
.ship-lights { animation: twinkle 2.4s ease-in-out infinite; }

.eagle { animation: eagleFly 34s linear infinite; }
@keyframes eagleFly {
  0%   { transform: translate(-60px, 180px) scale(.9); }
  50%  { transform: translate(760px, 120px) scale(1.05); }
  100% { transform: translate(1520px, 200px) scale(.9); }
}

/* ---------------- MORNING NOTES ---------------- */
.notes { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.note {
  border-left: 3px solid var(--amber);
  background: rgba(169, 115, 30, .08);
  border-radius: 0 10px 10px 0;
  padding: 9px 14px;
  font-size: .92rem;
  color: #5f4b1f;
}

/* ---------------- SECTIONS ---------------- */
.section { margin-top: 52px; }

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.section-icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, #e3efd8, #d4e5c9);
  border: 1px solid var(--panel-edge);
  color: var(--aurora);
}
.section-icon svg { width: 24px; height: 24px; }

.section-head h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: .06em;
  line-height: 1;
  color: var(--text);
}

.section-sub { font-size: .88rem; color: var(--text-dim); }

/* ---------------- SHIPS ---------------- */
.ship-total {
  margin-left: auto;
  text-align: right;
  padding: 8px 16px;
  background: linear-gradient(150deg, #e3efd8, #d4e5c9);
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.ship-total[hidden] { display: none; }
.ship-total-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--aurora);
  letter-spacing: .04em;
}
.ship-total-label {
  font-size: .72rem;
  color: var(--text-dim);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .section-head { flex-wrap: wrap; }
  .ship-total { margin-left: 0; width: 100%; align-items: flex-start; text-align: left; }
}

.ship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.ship-card {
  background: linear-gradient(165deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(46, 74, 58, .07);
  transition: transform .25s ease, border-color .25s ease;
}
.ship-card:hover { transform: translateY(-4px); border-color: var(--ice); }

.ship-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice), var(--aurora));
  opacity: .8;
}

.ship-card.in-port { border-color: rgba(31, 122, 84, .45); }

.ship-status {
  position: absolute;
  top: 16px; right: 16px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 126, 166, .1);
  color: var(--ice);
}
.ship-status.status-inport  { background: rgba(31, 122, 84, .1); color: var(--aurora); }
.ship-status.status-departed{ background: rgba(102, 123, 108, .12); color: var(--text-dim); }

.ship-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .05em;
  color: var(--text);
  padding-right: 86px;
}

.ship-line { font-size: .84rem; color: var(--ice); margin-bottom: 14px; }

.ship-times {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ship-time { display: flex; flex-direction: column; }
.ship-time .t-label {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-dim);
}
.ship-time .t-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--amber);
}

.ship-arrow { color: #b9c9ba; font-size: 1.2rem; }

.ship-facts { font-size: .85rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 3px; }
.ship-facts strong { color: var(--text); font-weight: 600; }
.ship-note { margin-top: 10px; font-size: .8rem; color: var(--ember); }

/* ---------------- OPERATIONS ---------------- */
.ops-table {
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 6px 18px rgba(46, 74, 58, .07);
}

.ops-row {
  display: grid;
  grid-template-columns: 1.6fr .9fr 1fr 1.4fr;
  gap: 10px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid #e1ecd7;
  font-size: .92rem;
}
.ops-row:last-child { border-bottom: none; }
.ops-row.head {
  background: #e6efdb;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ice-soft);
  font-weight: 700;
}

.ops-name { font-weight: 600; color: var(--text); }
.ops-area {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ice);
  background: rgba(43, 126, 166, .1);
  border-radius: 999px;
  padding: 3px 10px;
  justify-self: start;
}
.ops-hours { font-variant-numeric: tabular-nums; color: var(--text); }
.ops-note { font-size: .8rem; color: var(--text-dim); }

.ops-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
}
.ops-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
}
.ops-status.open   { color: var(--aurora); }
.ops-status.open .dot { background: var(--aurora); box-shadow: 0 0 6px rgba(31, 122, 84, .6); animation: pulseDot 2s ease-in-out infinite; }
.ops-status.closed { color: var(--text-dim); }
.ops-status.closed .dot { background: var(--text-dim); }
.ops-status.soon   { color: var(--amber); }
.ops-status.soon .dot { background: var(--amber); box-shadow: 0 0 6px rgba(169, 115, 30, .5); }

@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------------- MAP & TRACKER ---------------- */
.map-frame {
  border: 1px solid #b9c9ba;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(46, 74, 58, .25);
}
.site-map { display: block; width: 100%; height: auto; }

.tracker-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tracker-mode {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tracker-mode.live {
  background: rgba(31, 122, 84, .12);
  color: var(--aurora);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.tracker-mode.est { background: rgba(169, 115, 30, .12); color: var(--amber); }

.tracker-note { font-size: .82rem; color: var(--text-dim); }

.tracker-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.tracker-row {
  background: linear-gradient(160deg, var(--panel), var(--panel-soft));
  box-shadow: 0 4px 14px rgba(46, 74, 58, .06);
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  padding: 12px 16px;
}

.tracker-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tracker-ship { font-size: .95rem; color: var(--text); }

.tracker-badge {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.tracker-badge.live   { background: rgba(31, 122, 84, .12); color: var(--aurora); }
.tracker-badge.est    { background: rgba(169, 115, 30, .12); color: var(--amber); }
.tracker-badge.docked { background: rgba(43, 126, 166, .12); color: var(--ice); }
.tracker-badge.gone   { background: rgba(102, 123, 108, .12); color: var(--text-dim); }

.tracker-detail { margin-top: 5px; font-size: .82rem; color: var(--text-dim); }
.tracker-empty { font-size: .88rem; color: var(--text-dim); }

/* chart internals */
.graticule line { stroke: #1c4460; stroke-width: 1; opacity: .45; }
.grat-label {
  font-family: var(--font-body);
  font-size: 11px;
  fill: #48708f;
  letter-spacing: .08em;
}
.map-land-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  fill: #3f7a66;
  letter-spacing: .12em;
}
.map-land-label.big { font-size: 15px; letter-spacing: .3em; font-style: normal; }

.map-ship-marker .ship-hull {
  fill: #eef5fa;
  stroke: #0b1d33;
  stroke-width: 1.2;
}
.map-ship-marker .ship-bridge { fill: #c94f4f; }
.map-ship-marker.est .ship-hull { fill: #ffd97a; }
.map-ship-marker.docked .ship-hull { fill: #9fd8ff; }
.map-ship-marker .ship-ring {
  fill: none;
  stroke: var(--aurora);
  stroke-width: 1.5;
  animation: poiPulse 2.4s ease-out infinite;
}
.ship-name-label { font-size: 11.5px; }

.map-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: #e8f1f8;
  paint-order: stroke;
  stroke: rgba(8, 21, 36, .85);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.map-label.big { font-size: 14.5px; fill: #ffd97a; }
.map-label.dim { font-size: 11px; fill: #9db4c8; }

.map-water-label {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .4em;
  fill: #2e6a8e;
}
.map-water-label.small { font-size: 15px; letter-spacing: .28em; }

.road-dash { animation: roadFlow 2.4s linear infinite; }
@keyframes roadFlow { to { stroke-dashoffset: -28; } }

.poi-pulse { animation: poiPulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes poiPulse {
  0%   { transform: scale(.4); opacity: .9; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whale { animation: whaleBob 6s ease-in-out infinite; }
@keyframes whaleBob {
  0%, 100% { transform: translateY(2px); }
  50%      { transform: translateY(-4px); }
}
.spout { opacity: 0; animation: spout 6s ease-out infinite; }
.spout.sp2 { animation-delay: .18s; }
.spout.sp3 { animation-delay: .32s; }
@keyframes spout {
  0%, 40%  { opacity: 0; transform: translateY(6px); }
  50%      { opacity: .9; transform: translateY(0); }
  62%,100% { opacity: 0; transform: translateY(-7px); }
}

.compass-rose { animation: compassSettle 6s ease-in-out infinite; }
@keyframes compassSettle {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

/* ---------------- FOOD TRUCK ---------------- */
.menu-board {
  background:
    linear-gradient(165deg, rgba(169, 115, 30, .05), transparent 40%),
    linear-gradient(165deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 6px 18px rgba(46, 74, 58, .07);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 6px 40px;
}

.menu-entry { border-bottom: 1px dashed #d5e4c9; padding: 4px 0; }

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
}

.menu-option {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 1px 0 4px 18px;
}
.menu-option-name { font-size: .84rem; color: var(--text-dim); font-weight: 500; }
.menu-option-price {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--text-dim);
  letter-spacing: .03em;
}
.menu-option .menu-dots { border-bottom-color: #dbe7d2; }

.menu-name { font-weight: 600; font-size: .96rem; }

.menu-tag {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aurora);
  background: rgba(31, 122, 84, .1);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.menu-dots {
  flex: 1;
  border-bottom: 2px dotted #c3d2c2;
  transform: translateY(-4px);
  min-width: 20px;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .04em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

/* ---------------- SHUTTLE ---------------- */
.shuttle-info { color: var(--text-dim); font-size: .92rem; margin-bottom: 18px; }
.shuttle-info strong { color: var(--text); }

.shuttle-times {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.shuttle-card {
  background: linear-gradient(165deg, var(--panel), var(--panel-soft));
  box-shadow: 0 6px 18px rgba(46, 74, 58, .07);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .25s ease, border-color .25s ease;
}
.shuttle-card:hover { transform: translateY(-3px); }
.shuttle-card.running { border-color: rgba(31, 122, 84, .45); }
.shuttle-card.done { opacity: .55; }

.shuttle-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shuttle-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ice-soft);
}

.shuttle-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.shuttle-status .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.shuttle-status.running { background: rgba(31, 122, 84, .1); color: var(--aurora); }
.shuttle-status.running .dot { background: var(--aurora); box-shadow: 0 0 6px rgba(31, 122, 84, .6); animation: pulseDot 2s ease-in-out infinite; }
.shuttle-status.upcoming { background: rgba(169, 115, 30, .12); color: var(--amber); }
.shuttle-status.upcoming .dot { background: var(--amber); }
.shuttle-status.done { background: rgba(102, 123, 108, .12); color: var(--text-dim); }
.shuttle-status.done .dot { background: var(--text-dim); }

.shuttle-card-hours {
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: .05em;
  color: var(--text);
  margin: 10px 0 2px;
  font-variant-numeric: tabular-nums;
}
.shuttle-card.done .shuttle-card-hours { color: var(--text-dim); }

.shuttle-card-sub { font-size: .85rem; color: var(--text-dim); }

/* ---------------- FOOTER ---------------- */
.footer {
  margin-top: 80px;
  border-top: 1px solid var(--panel-edge);
  background: linear-gradient(to bottom, transparent, #d0e0c2);
}
.footer-inner { padding: 34px 22px 44px; text-align: center; }
.footer-brand {
  font-family: var(--font-display);
  letter-spacing: .3em;
  color: var(--aurora);
  font-size: 1rem;
}
.footer-note { color: var(--text-dim); font-size: .88rem; margin-top: 6px; }
.footer-edit { color: #85977f; font-size: .78rem; margin-top: 14px; }
.footer-login {
  color: var(--aurora);
  font-weight: 600;
  text-decoration: none;
}
.footer-login:hover { text-decoration: underline; }
.footer-edit code {
  background: #e9f1de;
  border: 1px solid var(--panel-edge);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: .74rem;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 720px) {
  .ops-row { grid-template-columns: 1.4fr 1fr 1fr; }
  .ops-row .ops-area, .ops-row.head .h-area { display: none; }
  .ops-note { grid-column: 1 / -1; padding-left: 0; }
  .ops-row.head .h-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------------- DYNAMIC SCENE (phase of day + weather) ----------------
   weather.js stamps body with .phase-night / -dawn / -day / -dusk from the
   real sunrise/sunset, and .wx-overcast when it's grey out. Night is the
   base look defined above; the classes below repaint the hero scene. */

.hero-scene stop { transition: stop-color 2.5s ease; }
.hero-scene path, .hero-scene g { transition: fill 2.5s ease; }

/* the sun — hidden at night, low and warm at dawn/dusk, high by day */
.sun-group {
  opacity: 0;
  transform: translate(1120px, 560px);
  transition: transform 3s ease, opacity 2.5s ease;
}
.sun-core { fill: #ffe9a8; }
.sun-halo { fill: #ffd97a; opacity: .22; }

.phase-day .sun-group { opacity: 1; transform: translate(1080px, 150px); }
.phase-dawn .sun-group,
.phase-dusk .sun-group { opacity: 1; transform: translate(1140px, 385px); }
.phase-dawn .sun-core, .phase-dusk .sun-core { fill: #ffb56b; }
.phase-dawn .sun-halo, .phase-dusk .sun-halo { fill: #ff9d6c; opacity: .3; }

/* stars & aurora only belong to the night */
.phase-day .star, .phase-day .aurora,
.phase-dawn .aurora, .phase-dusk .aurora { display: none; }
.phase-dawn .star, .phase-dusk .star { opacity: .25; animation: none; }

/* DAY — cool Alaskan daylight */
.phase-day #sky stop:nth-of-type(1) { stop-color: #5b93b8; }
.phase-day #sky stop:nth-of-type(2) { stop-color: #8fc3dc; }
.phase-day #sky stop:nth-of-type(3) { stop-color: #cfe9f4; }
.phase-day #sea stop:nth-of-type(1) { stop-color: #2e7fa3; }
.phase-day #sea stop:nth-of-type(2) { stop-color: #155a7d; }
.phase-day .mtn-far  { fill: #54809c; }
.phase-day .mtn-near { fill: #31596e; }
.phase-day .trees    { fill: #1e4257; }
.phase-day .wave.w1  { fill: #4a9cc0; }
.phase-day .wave.w2  { fill: #2a7195; }
.phase-day .ship-lights { display: none; }

/* DAWN & DUSK — warm horizon, dark ridgelines */
.phase-dawn #sky stop:nth-of-type(1), .phase-dusk #sky stop:nth-of-type(1) { stop-color: #16263f; }
.phase-dawn #sky stop:nth-of-type(2), .phase-dusk #sky stop:nth-of-type(2) { stop-color: #5c4266; }
.phase-dawn #sky stop:nth-of-type(3) { stop-color: #d78355; }
.phase-dusk #sky stop:nth-of-type(3) { stop-color: #c46a4f; }
.phase-dawn #sea stop:nth-of-type(1), .phase-dusk #sea stop:nth-of-type(1) { stop-color: #16405a; }
.phase-dawn #sea stop:nth-of-type(2), .phase-dusk #sea stop:nth-of-type(2) { stop-color: #0e2e44; }
.phase-dawn .mtn-far,  .phase-dusk .mtn-far  { fill: #2a4257; }
.phase-dawn .mtn-near, .phase-dusk .mtn-near { fill: #182c40; }
.phase-dawn .trees,    .phase-dusk .trees    { fill: #0d2032; }
.phase-dawn .wave.w1,  .phase-dusk .wave.w1  { fill: #2d5b74; }
.phase-dawn .wave.w2,  .phase-dusk .wave.w2  { fill: #16405c; }

/* grey weather mutes the whole scene */
.wx-overcast .hero-scene { filter: saturate(.7) brightness(.82); }
.wx-overcast .sun-group { opacity: .25; }

/* cards get a gentle lift on hover to match the ships */
.tracker-row, .menu-board {
  transition: transform .25s ease, border-color .25s ease;
}
.tracker-row:hover { transform: translateY(-3px); border-color: var(--ice); }

/* closed truck / sold-out items */
.menu-board.closed { opacity: .55; filter: grayscale(.5); transition: opacity .3s ease, filter .3s ease; }
.menu-entry.sold-out { opacity: .42; }
.menu-entry.sold-out .menu-name { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.menu-entry.sold-out .menu-price { text-decoration: line-through; }
.menu-tag.sold {
  background: rgba(120, 60, 50, .12);
  color: #8a4a40;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---------- food truck hours strip ---------- */
.truck-hours {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 18px;
}

.truck-status {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.truck-window {
  font-family: "Bebas Neue", "Inter", sans-serif;
  font-size: 24px;
  letter-spacing: .05em;
  line-height: 1;
  padding: 10px 16px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--text);
}

.truck-window.now {
  border-color: var(--aurora);
  color: var(--aurora);
  box-shadow: 0 0 14px rgba(64, 200, 141, .18), inset 0 0 10px rgba(64, 200, 141, .06);
}
