/* Stay Aussie Hotels
   One idea: the hour changes as you cross the country.
   Harbour night, cool salt, a low ochre sun, one buoy red for "Sample".
   Type: Big Shoulders Display (station-board condensed) + Atkinson Hyperlegible. */
:root {
  --night: #0d2436;
  --night-2: #0a1d2b;
  --night-3: #14324a;
  --salt: #edf2f3;
  --paper: #f8fbfb;
  --ink: #13232d;
  --muted: #546873;
  --line: #cbd8dc;
  --sun: #e8a33d;
  --sun-deep: #a8701c;
  --buoy: #d84a32;
  --foam: #ffffff;
  --mist: #c7d6dc;
  --header-h: 68px;
  --display: "Big Shoulders Display", "Arial Narrow", "Avenir Next Condensed", sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--night); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--buoy); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.2rem, 9vw, 7rem); }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h3 { font-size: 1.7rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
p { margin: 0 0 0.9em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun); color: var(--night); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--sun);
  color: var(--night);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 60;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Small labels: sentence case, ochre, no tracking. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sun-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 11px;
  border-radius: 22px 22px 0 0;
  background: var(--sun);
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 36, 54, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--foam);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(10, 29, 43, 0.94);
  box-shadow: 0 10px 30px rgba(5, 16, 25, 0.25);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--foam);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--foam); }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.brand-sun { transform-origin: 16px 19px; transition: transform 0.6s var(--ease-out); }
.brand:hover .brand-sun { transform: translateY(-3px); }
.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 0.9;
}
.brand-domain {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  color: var(--mist);
}
.nav-links { display: flex; flex-wrap: wrap; gap: 4px; }
.nav-links a {
  position: relative;
  color: #dfe8ec;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--foam); background: rgba(255, 255, 255, 0.08); }
.nav-links a[aria-current="page"] { color: var(--night); background: var(--sun); }
.nav-bar { display: none; }
.nav-drawer { margin-left: auto; }
.nav-drawer summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nav-drawer summary::-webkit-details-marker { display: none; }
.burger { display: grid; gap: 5px; width: 18px; }
.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease-out); }
.nav-drawer[open] .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-drawer[open] .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-drawer nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--night-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px 20px;
  animation: drop 0.35s var(--ease-out);
}
.nav-drawer .nav-links { display: grid; gap: 4px; }
.nav-drawer .nav-links a { font-size: 1.15rem; padding: 12px 14px; border-radius: var(--radius-sm); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 940px) {
  .nav-bar { display: block; }
  .nav-drawer { display: none; }
}

/* ---------- Entry banner (info pages) ---------- */
.entry-note {
  background:
    radial-gradient(120% 140% at 85% 120%, rgba(232, 163, 61, 0.35), transparent 55%),
    linear-gradient(180deg, var(--night) 0%, var(--night-3) 100%);
  color: #cddbe1;
  font-size: 0.96rem;
}
.entry-note-inner { padding: 18px 0 20px; max-width: 64rem; }
.entry-kicker {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sun);
}
.entry-note p { margin: 0; }
.entry-note a { color: var(--foam); font-weight: 700; }
.entry-note a:hover { color: var(--sun); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--foam); background: var(--night-2); overflow: hidden; isolation: isolate; }
.hero-photo { margin: 0; position: relative; height: min(92vh, 900px); min-height: 560px; overflow: hidden; }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform-origin: 70% 40%;
  animation: drift 32s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.14) translate(-1.5%, 1%); }
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 29, 43, 0.92) 0%, rgba(10, 29, 43, 0.62) 38%, rgba(10, 29, 43, 0.05) 72%),
    linear-gradient(0deg, rgba(10, 29, 43, 0.95) 0%, rgba(10, 29, 43, 0) 42%);
}
.hero-photo figcaption {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  margin: 0;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(10, 29, 43, 0.55);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
}
.hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 0 132px;
}
.hero-copy .wrap { padding-top: 72px; }
.hero .eyebrow { color: var(--sun); }
.hero-title {
  color: #fff;
  font-size: clamp(3.6rem, 10vw, 8.6rem);
  line-height: 0.86;
  max-width: 12ch;
  margin-bottom: 0.3em;
}
.hero-title span { display: block; }
.lede {
  max-width: 34rem;
  color: #e2ebef;
  font-size: 1.16rem;
}
.hero-note {
  margin-top: 22px;
  max-width: 40rem;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-note p { margin: 0; color: #d3e0e6; font-size: 0.92rem; }
.hero-note a { color: var(--sun); font-weight: 700; }
.hero-note a:hover { color: #fff; }

/* The one orchestrated entrance: headline rises line by line. */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero-title span, .lede, .hero-note {
    animation: rise 1s var(--ease-out) both;
  }
  .hero .eyebrow { animation-delay: 0.05s; }
  .hero-title span { animation-delay: calc(0.15s + var(--i) * 0.12s); }
  .lede { animation-delay: 0.6s; }
  .hero-note { animation-delay: 0.75s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(0.6em); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 720px) {
  .hero-photo { height: 52vh; min-height: 320px; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(10, 29, 43, 1) 0%, rgba(10, 29, 43, 0) 60%); }
  .hero-copy { position: relative; margin-top: -90px; padding-bottom: 96px; }
  .hero-copy .wrap { padding-top: 0; }
  .hero-title { font-size: clamp(3.3rem, 16vw, 4.4rem); }
}

/* ---------- Horizon clock board (the signature piece) ---------- */
.clock-board {
  position: relative;
  z-index: 3;
  margin-top: -96px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night);
  color: var(--foam);
  box-shadow: 0 30px 60px -20px rgba(10, 29, 43, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.clock-kicker {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  z-index: 3;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.clock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.clock-list li {
  --sky-top: #0b1a2e;
  --sky-bot: #1b3354;
  --body-x: 80%;
  --body-y: 60%;
  --body-c: #f3efe2;
  --body-glow: rgba(243, 239, 226, 0.25);
  --txt: #ffffff;
  --sub: rgba(255, 255, 255, 0.78);
  position: relative;
  min-height: 210px;
  padding: 62px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  color: var(--txt);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%);
  transition: background 1.2s ease, color 0.6s;
  overflow: hidden;
  isolation: isolate;
}
.clock-list li + li { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.16); }
/* low horizon line along the bottom of every band */
.clock-list li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(5, 16, 25, 0.38));
  z-index: -1;
}
.clock-list li[data-tone="light"] { --txt: #0d2436; --sub: rgba(13, 36, 54, 0.78); }
.clock-list li[data-tone="light"]::after { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28)); }
.sky-body {
  position: absolute;
  left: var(--body-x);
  top: var(--body-y);
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: var(--body-c);
  box-shadow: 0 0 0 10px var(--body-glow), 0 0 60px 20px var(--body-glow);
  z-index: -1;
  transition: left 1.4s var(--ease-out), top 1.4s var(--ease-out), background 1s, box-shadow 1s;
}
.clock-list li[data-phase="night"] .sky-body {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  background: var(--body-c);
  -webkit-mask: radial-gradient(circle at 70% 34%, transparent 0 13px, #000 14px);
  mask: radial-gradient(circle at 70% 34%, transparent 0 13px, #000 14px);
  box-shadow: none;
}
.clock-list li[data-phase="night"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 58% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 16%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 48%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 54%, #fff 50%, transparent 51%);
  opacity: 0.7;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: 0.35; } }
.clock-where {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sub);
}
.clock {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.clock-places { display: block; color: var(--sub); font-size: 0.94rem; }
.clock-note {
  margin: 0;
  padding: 16px 22px 18px;
  background: var(--night-2);
  color: #dbe5e9;
  font-size: 0.98rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.clock-note::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--sun);
  vertical-align: 2px;
  box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(232, 163, 61, 0); } }

@media (prefers-reduced-motion: no-preference) {
  .clock-board.is-live .sky-body { animation: bodyrise 1.6s var(--ease-out) both; animation-delay: calc(0.9s + var(--n) * 0.18s); }
}
@keyframes bodyrise { from { transform: translateY(140px); opacity: 0; } }

@media (min-width: 800px) {
  .clock-list { grid-template-columns: repeat(3, 1fr); }
  .clock-list li { min-height: 290px; padding: 64px 26px 24px; }
}
@media (max-width: 799px) {
  .clock-board { margin-top: -64px; }
  .clock-list li { min-height: 170px; }
  .clock-list li + li { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
  .clock-kicker { position: static; padding: 16px 20px 14px; background: var(--night-2); text-shadow: none; }
  .clock-list li { padding-top: 28px; }
}

/* small sun/moon dot next to every in-text clock */
.local-time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--foam);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.local-time::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--dot-top, #1b3354), var(--dot-bot, #0b1a2e));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.local-time .clock { font-size: 1.35rem; color: var(--ink); line-height: 1; }

/* ---------- Place cards (route) ---------- */
.route-label {
  margin: 72px 0 20px;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
}
.route {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}
.plaque {
  scroll-snap-align: start;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--foam);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.plaque:hover, .plaque:focus-visible {
  color: var(--ink);
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(13, 36, 54, 0.45), 0 0 0 1px var(--night);
}
.plaque-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.4; }
.plaque img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.plaque:hover img { transform: scale(1.08); }
.plaque-time {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 1.2rem !important;
  line-height: 1;
  padding: 6px 10px 5px;
  border-radius: 999px;
  color: var(--foam);
  background: rgba(10, 29, 43, 0.68);
  backdrop-filter: blur(6px);
}
.plaque-time:empty { display: none; }
.plaque-body { padding: 14px 16px 18px; display: grid; align-content: start; gap: 6px; }
.plaque-meta { font-size: 0.82rem; color: var(--sun-deep); font-weight: 700; }
.plaque strong {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 0.9;
}
.plaque em { font-style: normal; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }

@media (min-width: 900px) {
  .route {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
}

/* ---------- Place sections ---------- */
.place {
  display: grid;
  gap: 26px;
  margin: 96px 0;
}
.place figure { margin: 0; overflow: clip; }
.place figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.place figcaption { margin-top: 10px; color: var(--muted); font-size: 0.88rem; }
.place h2 { font-size: clamp(3.4rem, 8vw, 6.4rem); margin-bottom: 0.18em; }
.place .local-time { margin-bottom: 18px; }
.place > div > p:not([class]) { max-width: 38rem; }

/* scroll reveal: the photo uncovers from the horizon up */
.place figure.will-reveal img { clip-path: inset(100% 0 0 0 round var(--radius-lg)); transform: scale(1.12); }
.place figure.is-in img {
  clip-path: inset(0 0 0 0 round var(--radius-lg));
  transform: none;
  transition: clip-path 1.1s var(--ease-out), transform 1.4s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .place figure.will-reveal img { clip-path: none; transform: none; }
  html { scroll-behavior: auto; }
  .hero-photo img, .clock-note::before, .clock-list li::before { animation: none !important; }
}
@media (min-width: 860px) {
  .place { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 56px; }
  .place figure { position: sticky; top: calc(var(--header-h) + 24px); }
  .place-flip figure { order: 2; }
  .place figure img { aspect-ratio: 4 / 4.4; }
}

/* sample cards as tear-off tickets */
.stay {
  --notch: 11px;
  position: relative;
  margin: 18px 0;
  background: var(--foam);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.stay:hover { transform: translateY(-3px) rotate(-0.3deg); box-shadow: 0 18px 30px -18px rgba(13, 36, 54, 0.4), 0 0 0 1px var(--line); }
.stay-main { padding: 18px 20px 14px 24px; border-left: 5px solid var(--buoy); }
.stay-limit {
  position: relative;
  margin: 0;
  padding: 11px 20px 12px 24px;
  border-left: 5px solid var(--buoy);
  border-top: 2px dashed var(--line);
  background: #f2f6f7;
  color: var(--muted);
  font-size: 0.88rem;
}
.stay-limit::before, .stay-limit::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--notch) - 1px);
  width: calc(var(--notch) * 2);
  height: calc(var(--notch) * 2);
  border-radius: 50%;
  background: var(--salt);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stay-limit::before { left: calc(-1 * var(--notch) - 5px); }
.stay-limit::after { right: calc(-1 * var(--notch)); }
.sample-flag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(216, 74, 50, 0.1);
  color: #b33620;
  font-size: 0.8rem;
  font-weight: 700;
}
.stay h3 { margin-bottom: 0.3em; }
.stay p { margin-bottom: 0.3em; }

/* ---------- Travel notes ---------- */
.notes {
  margin: 40px 0 72px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--foam);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--line);
}
.notes-intro { max-width: 40rem; margin-bottom: 18px; }
.note-list { margin: 0; display: grid; }
.note-list > div {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.note-list dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
}
.note-list dd { margin: 0; color: #2c3d47; }
@media (min-width: 740px) {
  .note-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .note-list dd { max-width: 34rem; }
}

/* ---------- Separate-section aside ---------- */
.split-note {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: end;
  margin: 10px 0 96px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, var(--night) 0%, var(--night-3) 100%);
  color: #d6e2e7;
}
.split-note::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.55), rgba(232, 163, 61, 0) 65%);
  z-index: -1;
}
.split-note .eyebrow { color: var(--sun); }
.split-note h2 { color: #fff; max-width: 16ch; }
.split-note p { max-width: 40rem; }
.button-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), background 0.2s;
}
.button-link:hover { color: var(--night); background: #f3b85c; transform: translateY(-2px); }
@media (min-width: 860px) {
  .split-note { grid-template-columns: 1fr auto; }
}

/* ---------- Info pages ---------- */
.prose { padding: 56px 0 88px; }
.prose.wrap { width: min(780px, calc(100% - 32px)); }
.prose > h1 { font-size: clamp(3.2rem, 8vw, 5.8rem); line-height: 0.88; }
.prose > h1 + p { font-size: 1.16rem; color: #2c3d47; }
.page-nav {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 20;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 26px 0 30px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(248, 251, 251, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px rgba(13, 36, 54, 0.35);
}
.page-nav::-webkit-scrollbar { display: none; }
.page-nav a {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}
.page-nav a:hover { background: var(--salt); color: var(--ink); }
.page-nav a.is-active { background: var(--night); color: var(--foam); }
.prose h2 {
  margin-top: 1.5em;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
}
.prose ul { padding-left: 0; list-style: none; }
.prose li { position: relative; margin: 0.5em 0; padding-left: 26px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 6px;
  border-radius: 12px 12px 0 0;
  background: var(--sun);
}
.prose code {
  font-size: 0.88em;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--foam);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--line);
}
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--night);
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.35);
}
.contact-form button {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  background: var(--night);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.3s var(--ease-out);
}
.contact-form button:hover { background: var(--buoy); transform: translateY(-2px); }
.form-hint { color: var(--muted); font-size: 0.92rem; margin: 0; }
.form-result {
  padding: 12px 16px;
  background: var(--foam);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--buoy);
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--night-2);
  color: #c9d7dd;
  padding: 0 0 22px;
  font-size: 0.95rem;
}
.footer-horizon {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: -1px;
  background: var(--salt);
}
.footer-grid {
  display: grid;
  gap: 28px;
  padding-top: 26px;
}
.footer-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 0.9;
  margin: 0 0 12px;
  color: #fff;
}
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer a:hover { color: var(--sun); }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer nav a { text-decoration: none; font-weight: 700; }
.credits { color: #9fb2bb; font-size: 0.86rem; }
.credits ul { margin: 0; padding-left: 1.1em; }
.credits li { margin: 0.25em 0; }
.footer-end {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb2bb;
  font-size: 0.88rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 0.6fr 1.1fr; }
}
