:root {
    --ink: #20302f;
    --muted: #5c6966;
    --pine-950: #0b2827;
    --pine-900: #113432;
    --pine-800: #174844;
    --pine-700: #216257;
    --cream: #fff9e8;
    --parchment: #f6eed8;
    --warm: #efe2c3;
    --gold: #e3b546;
    --gold-light: #f6d57e;
    --ruby: #a94439;
    --sky: #6eb7cf;
    --focus: #56ccf2;
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow: 0 18px 50px rgba(13, 42, 38, .14);
}

* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); line-height: 1.65; margin: 0; min-width: 320px; }
img { display: block; height: auto; max-width: 100%; }
a { color: var(--pine-700); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1:focus { outline: none; }
h1, h2, h3 { color: var(--pine-950); font-family: var(--font-display); line-height: 1.08; margin: 0 0 .65em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 8vw, 6.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1.15rem; }

.shell { margin-inline: auto; max-width: 1240px; padding-inline: clamp(1.15rem, 4vw, 3rem); width: 100%; }
.narrow { max-width: 880px; }
.narrow-copy { max-width: 760px; }
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-warm { background: var(--parchment); }
.section-deep { background: var(--pine-900); color: rgba(255, 249, 232, .84); }
.section-deep h2 { color: var(--cream); }
.section-heading { align-items: end; display: flex; gap: 2rem; justify-content: space-between; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0; }
.eyebrow { color: var(--gold-light); font-size: .73rem; font-weight: 850; letter-spacing: .19em; margin-bottom: 1rem; text-transform: uppercase; }
.eyebrow.dark { color: var(--ruby); }
.lede { font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.7; }
.updated, .post-meta, .article-date { color: var(--muted); font-size: .8rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.text-link { font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; transition: transform .18s ease; }
.text-link:hover span { transform: translateX(.25rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { border: 1px solid transparent; border-radius: 2px; display: inline-block; font-size: .85rem; font-weight: 850; letter-spacing: .045em; padding: .9rem 1.25rem; text-decoration: none; text-transform: uppercase; }
.button-primary { background: var(--gold); color: var(--pine-950); }
.button-primary:hover { background: var(--gold-light); }
.button-ghost { border-color: rgba(255, 249, 232, .75); color: var(--cream); }
.button-ghost:hover { background: rgba(255, 255, 255, .1); }
.button-dark { background: var(--pine-800); color: var(--cream); }
.button-dark:hover { background: var(--pine-700); }
.skip-link { background: var(--gold); color: var(--pine-950); font-weight: 800; left: 1rem; padding: .7rem 1rem; position: fixed; top: -6rem; z-index: 50; }
.skip-link:focus { top: 1rem; }

.hero { background: var(--pine-950); color: var(--cream); min-height: min(820px, 86vh); overflow: hidden; position: relative; }
.hero-image, .hero-shade { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.hero-image { filter: saturate(.88) contrast(1.05); }
.hero-shade { background: linear-gradient(90deg, rgba(6, 31, 30, .94) 0%, rgba(6, 31, 30, .7) 44%, rgba(6, 31, 30, .12) 76%), linear-gradient(0deg, rgba(6, 31, 30, .35), transparent 45%); }
.hero-content { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; min-height: min(820px, 86vh); padding-bottom: 5rem; padding-top: 5rem; position: relative; }
.hero h1 { color: var(--cream); font-size: clamp(3.1rem, 7vw, 6.5rem); max-width: 1000px; }
.hero-copy { color: rgba(255, 249, 232, .86); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 640px; }
.hero .button-row { margin-top: 1.1rem; }

.page-hero { background: radial-gradient(circle at 78% 20%, rgba(110, 183, 207, .28), transparent 30%), linear-gradient(135deg, var(--pine-800), var(--pine-950)); color: rgba(255, 249, 232, .82); padding-block: clamp(5rem, 11vw, 9.5rem); }
.page-hero.compact { padding-block: clamp(4rem, 8vw, 7rem); }
.page-hero h1 { color: var(--cream); font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p:not(.eyebrow) { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 730px; }

.intro-grid, .prose-grid { align-items: start; display: grid; gap: clamp(2.5rem, 7vw, 7rem); grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.feature-band { background: var(--pine-900); color: rgba(255, 249, 232, .77); padding-block: 1px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.feature-card { border-left: 1px solid rgba(246, 213, 126, .28); padding: 1rem clamp(1.2rem, 4vw, 3.25rem); }
.feature-card:last-child { border-right: 1px solid rgba(246, 213, 126, .28); }
.feature-card h3 { color: var(--cream); }
.feature-number { color: var(--gold); display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: 2rem; }
.development-panel { align-items: center; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.development-art { aspect-ratio: 4 / 3; background: var(--pine-800); box-shadow: var(--shadow); overflow: hidden; }
.development-art img { height: 100%; object-fit: cover; width: 100%; }
.prose { font-size: 1.12rem; }
.reverse > :first-child { order: 2; }
.centred-callout { max-width: 800px; text-align: center; }

.status-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; }
.status-grid article { background: #fffdf5; border-top: 4px solid var(--gold); box-shadow: 0 10px 35px rgba(13, 42, 38, .08); padding: clamp(1.4rem, 3vw, 2.2rem); }
.status-grid h3, .status-grid h2 { font-size: 1.45rem; }
.status-grid ul { padding-left: 1.2rem; }
.status-grid li + li { margin-top: .65rem; }
.support-grid { margin-top: 0; }

.post-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.post-card { background: #fffdf8; box-shadow: 0 10px 34px rgba(13, 42, 38, .08); overflow: hidden; }
.post-card > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card-body { padding: clamp(1.3rem, 3vw, 2rem); }
.post-card h2, .post-card h3 { font-size: 1.55rem; }
.post-card h2 a, .post-card h3 a, .post-list h3 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover, .post-list h3 a:hover { color: var(--pine-700); }
.post-list { border-top: 1px solid rgba(32, 48, 47, .18); margin-top: 2.5rem; }
.post-list article { display: grid; gap: 1rem 3rem; grid-template-columns: 180px 1fr; padding-block: 2rem; }
.post-list article + article { border-top: 1px solid rgba(32, 48, 47, .18); }
.post-list article > * { grid-column: 2; }
.post-list .post-meta { grid-column: 1; grid-row: 1 / span 2; }

.article-header { background: var(--pine-900); color: var(--cream); padding-block: clamp(5rem, 10vw, 8rem); }
.article-heading { max-width: 920px; }
.article-heading h1 { color: var(--cream); font-size: clamp(3rem, 7vw, 6rem); }
.article-summary { color: rgba(255, 249, 232, .84); font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 740px; }
.article-date { color: var(--gold-light); }
.article-image { margin-top: clamp(-3.5rem, -5vw, -2rem); position: relative; }
.article-image img { aspect-ratio: 16 / 7; box-shadow: var(--shadow); object-fit: cover; width: 100%; }
.article-body { font-size: 1.08rem; max-width: 790px; }
.article-body h2 { font-size: 2.2rem; margin-top: 2.2rem; }
.article-body h3 { margin-top: 1.8rem; }
.article-body blockquote { border-left: 4px solid var(--gold); color: var(--muted); margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; }
.article-body code { background: var(--parchment); border-radius: 2px; padding: .12rem .3rem; }
.article-body pre { background: var(--pine-950); color: var(--cream); overflow-x: auto; padding: 1rem; }
.legal-copy { padding-top: clamp(3.5rem, 7vw, 6rem); }
.legal-copy h2 { font-size: 1.7rem; }
.empty-state { min-height: 45vh; padding-top: clamp(5rem, 10vw, 9rem); }
.empty-state h1 { font-size: clamp(2.8rem, 6vw, 5rem); }

@media (max-width: 900px) {
    .feature-grid, .post-grid, .status-grid { grid-template-columns: 1fr; }
    .feature-card { border-bottom: 1px solid rgba(246, 213, 126, .28); border-right: 1px solid rgba(246, 213, 126, .28); }
    .feature-card:last-child { border-bottom: 0; }
    .development-panel, .intro-grid, .prose-grid { grid-template-columns: 1fr; }
    .development-art { max-height: 480px; }
    .reverse > :first-child { order: initial; }
}

@media (max-width: 640px) {
    .section-heading { align-items: flex-start; flex-direction: column; }
    .post-list article { display: block; }
    .hero-shade { background: linear-gradient(90deg, rgba(6, 31, 30, .94), rgba(6, 31, 30, .55)), linear-gradient(0deg, rgba(6, 31, 30, .45), transparent); }
}

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