/* Holding page: one headline, nothing else. Same tokens and light field as the main site. */

/* Fonts are served from this site (no requests to Google). Both are SIL Open Font License 1.1, from Google Fonts.
   latin-ext carries the Romanian ă ș ț; Geist Mono is variable, so one file covers weights 400–500. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-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: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-italic-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: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/geist-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/geist-mono-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: light dark;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bg: #f2ede7; --ink: #1b1217; --ink-2: #3f3039; --muted: #6b5c64;
  --line: rgba(60, 25, 45, .11); --line-strong: rgba(60, 25, 45, .22); --fill: rgba(60, 25, 45, .045);
  --glass: rgba(252, 249, 246, .62); --glass-edge: rgba(255, 255, 255, .75); --glass-hi: rgba(255, 255, 255, .95);
  --brand: #0f4c5c; --brand-2: #e36414; --navy: #5f0f40;
  --amb-1: rgba(15, 76, 92, .3); --amb-2: rgba(251, 139, 36, .32); --amb-3: rgba(95, 15, 64, .2);
  --grain: .05;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e090d; --ink: #f2e9ee; --ink-2: #d8c9d1; --muted: #a6939d;
    --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .18); --fill: rgba(255, 255, 255, .045);
    --glass: rgba(28, 17, 25, .58); --glass-edge: rgba(255, 255, 255, .1); --glass-hi: rgba(255, 255, 255, .13);
    --brand: #17788f; --navy: #c2558f;
    --amb-1: rgba(23, 120, 143, .3); --amb-2: rgba(227, 100, 20, .2); --amb-3: rgba(140, 14, 70, .38);
    --grain: .07;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; display: grid;
  font: 15px/1.5 var(--mono); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: color-mix(in srgb, var(--brand-2) 35%, transparent); }

/* ambient light field + grain */
body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: -1; }
body::before { inset: -20vmax;
  background:
    radial-gradient(32vmax 26vmax at 22% 18%, var(--amb-1), transparent 70%),
    radial-gradient(28vmax 24vmax at 82% 12%, var(--amb-2), transparent 70%),
    radial-gradient(36vmax 30vmax at 70% 78%, var(--amb-3), transparent 70%),
    radial-gradient(24vmax 22vmax at 12% 88%, var(--amb-2), transparent 72%);
  animation: drift 40s ease-in-out infinite alternate; }
body::after { inset: 0; opacity: var(--grain); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes drift { to { transform: translate3d(3vmax, -2vmax, 0) rotate(6deg) scale(1.06); } }

.hero { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* the headline sits low, left-aligned, like a title card */
.hero { align-self: end; padding-bottom: clamp(48px, 9vh, 110px); }
h1 { margin: 0 0 0 -.05em; font: 400 clamp(3.6rem, 11.5vw, 11rem)/.9 var(--serif); letter-spacing: -.04em;
  text-wrap: balance; animation: rise 1.2s var(--ease) both; }
h1 em { color: var(--navy); }
.rule { margin-top: clamp(26px, 4vh, 40px); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.rule span { position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, transparent, var(--brand-2), transparent);
  animation: scan 5.5s var(--ease) 1.2s infinite; transform: translateX(-100%); }
.sub { margin: 18px 0 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  animation: rise 1.2s var(--ease) .25s both; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes scan { 0% { transform: translateX(-100%); } 70%, 100% { transform: translateX(560%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .rule span { display: none; }
}
@media (prefers-reduced-transparency: reduce) { :root { --glass: var(--bg); } }
