:root {
    color-scheme: dark;
    --bg: #101a17;
    --surface: #17231e;
    --surface-raised: #1d2b24;
    --ink: #f3f5ef;
    --muted: #b0beb4;
    --line: rgb(228 237 229 / 12%);
    --lime: #c7ef75;
    --lime-dark: #a8d85c;
    --lime-ink: #1d2a14;
    --content: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: radial-gradient(ellipse at 70% -15%, rgb(63 94 65 / 16%), transparent 42%), var(--bg);
    color: var(--ink);
    font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-shell { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 21px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--muted); font-size: .79rem; font-weight: 750; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); font-size: 1.1rem; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.main-nav a { padding: 9px 13px; border: 1px solid transparent; border-radius: 999px; color: var(--muted); font-size: .85rem; font-weight: 650; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--line); background: var(--surface); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--lime); }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--lime); font-size: .73rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 1px; background: currentColor; content: ""; }
h1, h2, h3 { line-height: 1.1; }
h1 { margin: 17px 0 18px; font-size: clamp(2.6rem, 5.4vw, 5.1rem); letter-spacing: -.06em; }
h2 { margin: 8px 0 0; font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -.045em; }
h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.02em; }
p { margin: 0; }
.page-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 430px; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 60px); }
.hero-copy .page-lead { max-width: 560px; }
.hero-media { position: relative; min-height: 360px; margin: 0; background: #111915; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-media figcaption { position: absolute; right: 18px; bottom: 14px; left: 18px; color: #fff; font-size: .79rem; font-weight: 700; text-shadow: 0 1px 8px #000; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: .87rem; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-1px); background: var(--lime-dark); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { border-color: rgb(199 239 117 / 50%); background: var(--surface-raised); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 17px; }
.stat { padding: 15px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.stat strong { display: block; color: var(--lime); font-size: 1.05rem; }
.stat span { color: var(--muted); font-size: .8rem; }
.section { padding-top: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.section-heading > p { max-width: 460px; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { padding: clamp(22px, 3.5vw, 34px); border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.panel p { color: var(--muted); }
.panel p + p { margin-top: 13px; }
.panel strong { color: var(--ink); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.feature-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.feature-card figure { height: 240px; margin: 0; background: #111915; }
.feature-card figure > a { display: block; width: 100%; height: 100%; }
.feature-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.feature-copy { padding: 22px 24px 24px; }
.feature-copy p { margin: 9px 0 17px; color: var(--muted); font-size: .92rem; }
.text-card { padding: clamp(23px, 4vw, 38px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.text-card p { color: var(--muted); }
.text-card p + p { margin-top: 15px; }
.text-card strong { color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-card { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.gallery-card a { display: grid; min-height: 205px; place-items: center; background: #111915; }
.gallery-card img { display: block; width: 100%; height: 220px; object-fit: contain; transition: transform .35s ease; }
.gallery-card a:hover img { transform: scale(1.025); }
.gallery-card figcaption { padding: 12px 15px; color: var(--muted); font-size: .82rem; font-weight: 650; }
.history-block { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; align-items: stretch; }
.history-block + .history-block { margin-top: 16px; }
.history-block.reverse .history-gallery { order: -1; }
.history-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.history-gallery a { display: grid; min-height: 155px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #111915; }
.history-gallery img { width: 100%; height: 180px; object-fit: contain; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding: 23px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.site-footer a { color: var(--lime); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 850px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .main-nav { justify-content: flex-start; }
    .hero { grid-template-columns: 1fr; }
    .hero-media { min-height: 350px; }
    .history-block { grid-template-columns: 1fr; }
    .history-block.reverse .history-gallery { order: initial; }
}
@media (max-width: 620px) {
    .site-shell { width: min(100% - 26px, var(--content)); }
    .site-header { gap: 14px; padding: 15px 0; }
    .brand { font-size: .69rem; }
    .main-nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 6px; }
    .main-nav a { flex: 0 0 auto; padding: 8px 11px; font-size: .76rem; }
    .hero { border-radius: 19px; }
    .hero-copy { padding: 30px 23px; }
    h1 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
    .hero-media { min-height: 270px; }
    .stats { grid-template-columns: 1fr; gap: 8px; }
    .stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 15px; }
    .stat span { text-align: right; }
    .section { padding-top: 55px; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 12px; }
    .story-grid, .feature-grid { grid-template-columns: 1fr; }
    .feature-card figure { height: 220px; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .gallery-card a { min-height: 140px; }
    .gallery-card img { height: 145px; }
    .gallery-card figcaption { padding: 10px; font-size: .74rem; }
    .history-gallery a { min-height: 125px; }
    .history-gallery img { height: 135px; }
    .site-footer { display: block; margin-top: 52px; }
    .site-footer a { display: inline-block; margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
