:root { font-family: system-ui, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  --bg: #071522; --ink: #edf5fb; --accent: #fd805e;
  margin: 0; background: var(--bg); color: var(--ink);
}
body[data-theme="ridge"] { --bg: #041320; }
body[data-theme="harbour"], body[data-theme="offshore"] { --bg: #03201e; --ink: #f3f1da; --accent: #ffc771; }
body[data-theme="leaf"] { --bg: #101109; --ink: #fff1d9; --accent: #b3ca75; }
body[data-theme="print"] { --bg: #f1e8d9; --ink: #25171a; --accent: #8b2945; }
body[data-theme="scope"] { --bg: #07151a; --ink: #f7f1e3; --accent: #f4ba59; }
.page {
  isolation: isolate; position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px,5vw,84px) clamp(24px,6vw,120px);
}
.art { position: absolute; z-index: -1; inset: 0 0 0 34%; pointer-events: none; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art::after { content: ''; position: absolute; inset: -1px; background: linear-gradient(90deg,var(--bg) 0%,transparent 34%); }
header, footer, #preview { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }
header { font-size: clamp(1rem,1.5vw,1.45rem); letter-spacing: -.045em; }
header b { color: var(--accent); }
section { margin: auto 0; padding: 5rem 0; max-width: 49%; }
h1 { font: normal clamp(4rem,7.3vw,8rem)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -.065em; margin: 0 0 1.6rem; text-wrap: balance; }
#copy { margin: 0; max-width: 36ch; font-size: clamp(1rem,1.35vw,1.28rem); line-height: 1.55; }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: .7em; font-size: .82rem; }
.indicator { width: .55em; height: .55em; border-radius: 100%; background: var(--accent); }
.location::before { content: '·'; margin-right: .7em; }
#preview { background: #172128; color: white; padding: .75em 1.25em; display: flex; gap: 1em; align-items: center; font-size: .85rem; }
select { font: inherit; padding: .4em; }
@media (prefers-reduced-motion: no-preference) {
  body[data-theme="offshore"] .art img { animation: settle 4s ease-out both; }
  @keyframes settle { from { transform: scale(1.045); } to { transform: scale(1); } }
}
@media (max-width: 760px) {
  .page { padding: 1.7rem 1.4rem; }
  header { margin-bottom: clamp(3rem,9vh,7rem); }
  section { margin: 0; padding: 0 0 2rem; max-width: 100%; }
  h1 { font-size: clamp(3.35rem,12vw,6rem); max-width: 13ch; margin-bottom: 1rem; }
  #copy { max-width: 33ch; }
  .art { position: relative; inset: auto; order: 2; align-self: stretch; margin: -1rem -1.4rem 0; min-height: 15rem; flex: 1; }
  .art img { position: absolute; inset: 0; object-position: center; }
  .art::after { background: linear-gradient(180deg,var(--bg),transparent 20%,transparent 83%,var(--bg)); }
  footer { order: 3; margin-top: 1rem; }
}
