:root {
  --bg: #0b1210;
  --bg-2: #101a17;
  --fg: #ecefe8;
  --muted: #a6b2a8;
  --gold: #e6b85c;
  --gold-2: #f3d58f;
  --moss: #7fbf7a;
  --border: rgb(230 240 225 / .09);
  --surface: rgb(22 34 30 / .72);
  --header: rgb(11 18 16 / .6);
  --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 18px 40px -12px rgb(0 0 0 / .55);
  --radius: 18px;
  --maxw: 70rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; color: var(--fg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(60rem 40rem at 85% 70%, rgb(127 191 122 / .07), transparent 70%),
    radial-gradient(50rem 30rem at 10% 40%, rgb(230 184 92 / .05), transparent 70%),
    var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); transition: color .2s var(--ease); }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg-2); padding: .5rem 1rem; z-index: 100; }
.pixel { image-rendering: pixelated; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--header);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand img { border-radius: 7px; }
nav { display: flex; align-items: center; gap: 1.25rem; }
nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:not(.btn):hover { color: var(--fg); }
@media (max-width: 30rem) { nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 650; text-decoration: none;
  color: #1d1406; background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 24px -8px rgb(230 184 92 / .6), inset 0 1px 0 rgb(255 255 255 / .4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn:hover { color: #1d1406; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 32px -10px rgb(230 184 92 / .75), inset 0 1px 0 rgb(255 255 255 / .4); }
.btn-ghost { color: var(--fg); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--fg); background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .24); }
.btn-small { padding: .45rem 1rem; font-size: .9rem; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: center;
  padding: 7rem 0 5rem;
}
.hero::before {
  content: ""; position: absolute; inset: -4%; z-index: -2;
  background: url("/assets/img/hero-960.webp") center / cover no-repeat;
  animation: drift 30s ease-in-out infinite alternate;
}
@media (min-width: 961px) { .hero::before { background-image: url("/assets/img/hero.webp"); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 40%, transparent, rgb(11 18 16 / .55)),
    linear-gradient(180deg, rgb(11 18 16 / .35) 0%, rgb(11 18 16 / .1) 45%, var(--bg) 100%);
}
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-inner { text-align: center; }
.hero-inner > * { animation: rise 1s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .1s; }
.hero-inner > :nth-child(3) { animation-delay: .2s; }
.hero-inner > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
h1, h2, h3 { font-family: var(--display); }
h1 {
  font-size: clamp(3.5rem, 13vw, 8rem); line-height: .95; letter-spacing: -.02em; margin: .75rem 0 1rem;
  background: linear-gradient(180deg, #fffaf0 30%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 10px 40px rgb(0 0 0 / .35);
}
.lead { font-size: clamp(1.1rem, 2.6vw, 1.45rem); color: #dfe5dc; margin: 0 auto; max-width: 42rem; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.25rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.75rem; width: 1.6rem; height: 2.6rem; margin-left: -.8rem;
  border: 2px solid rgb(255 255 255 / .35); border-radius: 1rem;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: .45rem; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Sections */
.section { padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.section + .section { padding-top: 0; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); letter-spacing: -.01em; line-height: 1.1; margin: 0 0 1rem; }
#features > h2 { text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.35rem; margin: 1rem 0 .5rem; }
.prose { font-size: 1.1rem; color: var(--muted); max-width: 34rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgb(230 184 92 / .35); box-shadow: var(--shadow), 0 0 0 1px rgb(230 184 92 / .12), 0 20px 50px -20px rgb(230 184 92 / .25); }
.card img {
  width: 80px; height: 80px; padding: 8px; border-radius: 16px;
  background: radial-gradient(circle at 50% 35%, rgb(230 184 92 / .22), rgb(230 184 92 / .05));
  box-shadow: inset 0 0 0 1px rgb(230 184 92 / .25);
}
.card p { margin: 0; color: var(--muted); }

.world { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64rem) { .world { grid-template-columns: 1fr 1.35fr; } }
.world-shot {
  margin: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow), 0 30px 80px -30px rgb(127 191 122 / .35);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.world-shot:hover { transform: none; }
.world-shot img { display: block; width: 100%; }
@media (max-width: 63.99rem) { .world-shot { transform: none; } }

.cta {
  text-align: center; padding: clamp(2.75rem, 7vw, 4.5rem) 1.5rem; border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(60% 90% at 50% 0%, rgb(230 184 92 / .14), transparent),
    var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.cta p { color: var(--muted); margin: 0 auto; max-width: 34rem; font-size: 1.1rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem;
  padding: .35rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--moss); background: rgb(127 191 122 / .1); box-shadow: inset 0 0 0 1px rgb(127 191 122 / .3);
}
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--moss); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgb(127 191 122 / 0); opacity: .6; } 0%, 100% { box-shadow: 0 0 0 0 rgb(127 191 122 / .5); } }

/* Scroll reveal (CSS only; browsers without scroll timelines just show content) */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; padding: 2rem 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

.notfound { text-align: center; padding-top: 10rem; }
.notfound h1 { font-size: clamp(4rem, 15vw, 8rem); }
.notfound .lead { margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
