/* Shared foundation. Component layouts and responsive rules live in brand.css. */
:root {
  --paper: #f6f6ef;
  --paper-2: #e5e9dc;
  --ink: #202c27;
  --muted: #59655d;
  --line: #ccd3c7;
  --accent: #355f46;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Sora', sans-serif;
  --mono: 'Space Mono', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.lightbox-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; letter-spacing: -.055em; overflow-wrap: anywhere; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-weight: 400; color: var(--accent); letter-spacing: -.03em; }
p { margin-bottom: 1.3em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
.container { width: min(100% - 96px, 1320px); margin-inline: auto; }
.mono, .eyebrow { font-family: var(--mono); }
.eyebrow { font-size: 10px; line-height: 1.7; font-weight: 400; letter-spacing: .09em; color: var(--accent); text-transform: uppercase; }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.cta, .text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 48px; font-size: 13px; font-weight: 500; }
.cta { padding: 16px 24px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); cursor: pointer; transition: background .2s, transform .2s; }
.cta:hover { background: var(--accent); transform: translateY(-2px); }
.cta:disabled { cursor: wait; opacity: .65; }
.cta.ghost { background: transparent; color: var(--ink); }
.text-link { border-bottom: 1px solid var(--ink); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-actions, .detail-links { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-anim { animation: rise .65s var(--ease) both; }
.delay-1 { animation-delay: .1s; }
/* Reveals animate on entry without hiding content if scripting fails. */
.reveal.visible { animation: rise .65s var(--ease) both; }
@media (max-width: 820px) { .container { width: calc(100% - 48px); } }
@media (max-width: 540px) { .container { width: calc(100% - 40px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
