/* Still Water: the front page's own look (operator, Round 4, 1 November 2026; built 3 November).
   One calm column of sections under a live-water hero; night ground throughout, gold only for rules and
   the primary action, ocean for data. A single dark look, used on the landing page only: interior pages
   keep fontris.css and its Day and Night themes. Fonts are served from /static/fonts under their OFL. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond/cormorant-garamond-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/hanken-grotesk/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --deep: #040d14;
  --night: #07141e;
  --surface: #0b1b27;
  --raised: #102534;
  --line: rgba(239, 231, 213, 0.12);
  --line-strong: rgba(239, 231, 213, 0.24);
  --ink: #efe7d5;
  --ink-2: rgba(239, 231, 213, 0.80);
  --muted: rgba(239, 231, 213, 0.62);
  --gold: #c9a45c;
  --gold-text: #d9b974;
  --ocean: #86bcdc;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --text: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.stillwater { margin: 0; background: var(--night); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.stillwater a { color: inherit; }
.stillwater a:focus-visible, .stillwater button:focus-visible, .stillwater input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.stillwater h1, .stillwater h2, .stillwater h3 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
.stillwater p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.narrow { max-width: 820px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-text); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 40; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #0a1c2e; text-decoration: none; }
.skip:focus { left: var(--gutter-l); }

/* Header */
body.stillwater::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--deep); }
.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(4, 13, 20, 0.82); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup svg { width: 34px; height: 34px; flex: none; }
.word { font-family: var(--display); font-size: 25px; letter-spacing: 0.05em; }
.word small { font-family: var(--text); font-size: 10.5px; letter-spacing: 0.32em; color: var(--gold); margin-left: 5px; vertical-align: 3px; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14.5px; letter-spacing: 0.02em; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 18px; }
.actions .signin { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.actions .signin:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; font: 500 14.5px var(--text); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: #0a1c2e; }
.btn-gold:hover { background: #d8b56e; }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: rgba(239, 231, 213, 0.6); }
.btn-big { height: 52px; padding: 0 28px; font-size: 15.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .nav, .actions .signin { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .actions .btn-gold { display: none; }
  .mobile-nav.open { display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter-r) 18px var(--gutter-l); background: rgba(4, 13, 20, 0.96); border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 12px 0; text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--line); }
}

/* Hero: the still image is the water without WebGL or script; the canvas draws over it */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; overflow: hidden; background: var(--deep) url("stillwater_water.png") center / cover no-repeat; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.6rem); line-height: 0.98; color: #f4ede0; }
.hero .sub { margin-top: 30px; max-width: 46rem; font-size: clamp(1.05rem, 1.6vw, 1.28rem); font-weight: 300; line-height: 1.6; color: var(--ink-2); }
.finder { position: relative; margin-top: 44px; width: min(560px, 100%); }
.field { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 7px 0 22px; border: 1px solid rgba(239, 231, 213, 0.32); border-radius: 999px; background: rgba(4, 13, 20, 0.5); backdrop-filter: blur(8px); }
.field:focus-within { border-color: rgba(201, 164, 92, 0.95); }
/* width: 0 so the input's default size never sets the hero's minimum width (it pushed a 375 px phone 11 px off centre) */
.field input { flex: 1; width: 0; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 300 16px var(--text); }
.field input::placeholder { color: rgba(239, 231, 213, 0.6); }
.field input:focus { outline: none; }
.field .btn { height: 46px; }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5; list-style: none; margin: 0; padding: 6px; text-align: left; background: rgba(9, 24, 35, 0.98); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.results a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.results a:hover, .results a:focus-visible, .results a[aria-selected="true"] { background: rgba(239, 231, 213, 0.07); }
.results small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .none { padding: 12px 14px; color: var(--muted); font-size: 14px; }
.or { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.or a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid rgba(201, 164, 92, 0.6); padding-bottom: 1px; }
.hero-foot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 34px; }
.hero-foot .rule { width: 120px; height: 1px; background: rgba(201, 164, 92, 0.7); }
.hero-foot p { font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0 var(--gutter-r) 0 var(--gutter-l); }

/* Sections */
section.s { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
section.s + section.s { border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.head.flush { margin-bottom: 0; }
.head h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.05; }
.head .deck { font-size: 18px; font-weight: 300; color: var(--ink-2); max-width: 40rem; }

.statement { text-align: left; }
.statement .lede { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.35; color: var(--ink); }
.statement .lede em { font-style: italic; color: var(--gold-text); }

/* Three questions (operator, 3 November): each question, then what the site shows to answer it */
.questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.question { padding: 30px 0 34px; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.question h3 { font-size: 34px; line-height: 1.1; }
.question p { font-size: 15.5px; color: var(--ink-2); max-width: 24rem; }
.question p a { text-decoration: underline; text-decoration-color: rgba(201, 164, 92, 0.6); text-underline-offset: 3px; }
.question p a:hover { color: var(--ink); }
.question .note { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .questions { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-strong); min-width: 0; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.step .n { font-family: var(--display); font-size: 18px; color: var(--gold-text); }
.step h3 { font-size: 32px; margin: 6px 0 12px; }
.step p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.card .kind { font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean); font-size: 11.5px; }
.card h3 { font-size: 26px; line-height: 1.15; }
.card .line { font-family: var(--display); font-size: 19px; line-height: 1.45; color: var(--ink); }
.card .src { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }

.standard { position: relative; overflow: hidden; background: var(--deep); }
.standard::before { content: ""; position: absolute; inset: 0; background: url("stillwater_water.png") center / cover no-repeat; opacity: 0.22; }
.standard .wrap { position: relative; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rules h3 { font-size: 30px; line-height: 1.15; margin-bottom: 12px; }
.rules p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 800px) { .rules { grid-template-columns: 1fr; gap: 30px; } }

.cov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.cov div { padding: 22px 0; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cov h3 { font-size: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cov h3 span { font-family: var(--text); font-size: 15px; color: var(--muted); }
.cov p { font-size: 14px; color: var(--muted); }
.cov p a { text-decoration: none; }
.cov p a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(201, 164, 92, 0.6); }
.cov-find { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cov-find .finder { margin-top: 0; }
@media (max-width: 900px) { .cov { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; } }
@media (max-width: 560px) { .cov { grid-template-columns: 1fr; } }

.start { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.start ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.start li { padding: 18px 0; border-top: 1px solid var(--line-strong); font-size: 17px; display: flex; gap: 14px; }
.start li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--gold); }
.start .cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.start .fine { font-size: 14px; color: var(--muted); }
.start .fine a { color: var(--ink-2); }
@media (max-width: 860px) { .start { grid-template-columns: 1fr; gap: 36px; } }

.engage .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 18px 40px; }
.engage p { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); max-width: 46rem; }
.engage a { text-decoration: none; border-bottom: 1px solid rgba(201, 164, 92, 0.6); padding-bottom: 2px; font-size: 15px; }

.stillwater footer { background: var(--deep); border-top: 1px solid var(--line); }
.stillwater footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-top: 56px; padding-bottom: max(72px, env(safe-area-inset-bottom, 0px)); }
.stillwater footer .tag { margin-top: 14px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--gold-text); }
.stillwater footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; }
.stillwater footer nav a { text-decoration: none; color: var(--ink-2); }
.stillwater footer .legal { margin-top: 18px; font-size: 13px; line-height: 1.7; color: var(--muted); }
@media (max-width: 760px) { .stillwater footer .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .stillwater * { transition: none !important; } }
