:root {
    --paper: #F2F4EF;
    --paper-2: #EAEEE6;
    --ink: #16211B;
    --ink-soft: #3B473F;
    --pine: #1E4132;
    --pine-deep: #183528;
    --sage: #6F7E71;
    --line: #CBD3C6;
    --line-soft: #DDE2D7;
    --brass: #9A7B33;
    --brass-bright: #D6B25E;
    --sage-pale: #9FB9A6;
    --pine-line: #2C4A3A;
    --white: #FBFCFA;
    --maxw: 1160px;
    --nav-h: 67px;
    --serif: "Spectral", Georgia, serif;
    --sans: "IBM Plex Sans", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans), sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

a {
    color: inherit
}

h1, h2, h3 {
    font-family: var(--serif), serif;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0
}

p {
    margin: 0
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px
}

/* shared mono label base */
.eyebrow, .goals-title, .why-label, .rail .caption, .node .node-label, .price-card .plan, .contact-card .role {
    font-family: var(--mono), monospace;
    font-size: 14px;
    text-transform: uppercase
}

.eyebrow {
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--pine);
    display: inline-block
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(242, 244, 239, .86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line)
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 66px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--serif), serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none
}

.crest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    flex: none
}

.crest img {
    display: block;
    width: 24px;
    height: 24px
}

.nav-links {
    display: flex;
    gap: 22px;
    margin-left: 16px
}

.nav-links a {
    font-size: 15px;
    text-decoration: none;
    color: var(--ink-soft);
    transition: color .15s;
    white-space: nowrap
}

.nav-links a:hover {
    color: var(--pine)
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px
}

.nav-actions .nav-cta {
    padding: 6px 16px;
    font-size: 14px
}

.nav-live-mobile {
    display: none
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

@media (prefers-reduced-motion: reduce) {
    .nav-toggle span {
        transition: none
    }
}

.svg-defs {
    position: absolute
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem
}

.language-switcher button {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    display: block;
    opacity: 0.4;
    filter: saturate(0.65);
    transition: opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease
}

.language-switcher button:hover {
    opacity: 0.85;
    transform: translateY(-1px)
}

.language-switcher button[aria-pressed="true"] {
    opacity: 1;
    filter: none;
    box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--pine)
}

.language-switcher .flag {
    width: 100%;
    height: 100%;
    display: block
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans), sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s, background .15s, box-shadow .15s;
    white-space: nowrap
}

.button-primary {
    background: var(--pine);
    color: var(--white)
}

.button-primary:hover {
    background: var(--pine-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px -8px rgba(19, 42, 32, .6)
}

.button-ghost {
    border-color: var(--line);
    color: var(--ink)
}

.button-ghost:hover {
    border-color: var(--pine);
    color: var(--pine)
}

.button-brass {
    background: var(--brass-bright);
    color: var(--ink)
}

.button-brass:hover {
    background: #e0bf72;
    transform: translateY(-1px)
}

.hero {
    position: relative;
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    align-items: center;
    padding: clamp(28px, 4vh, 68px) 0 clamp(120px, 17vh, 200px);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%)
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: left
}

.hero-inner > * {
    max-width: 620px
}

.badge {
    display: inline-block;
    font-family: var(--sans), sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 28px
}

.badge strong {
    font-weight: 600;
    color: var(--pine)
}

.hero h1 {
    font-size: clamp(42px, 5.8vw, 70px);
    line-height: 1.04;
    margin: 0 0 26px
}

.hero h1 em {
    font-style: italic;
    color: var(--pine)
}

.hero .lead {
    font-size: clamp(18px, 1.5vw, 21px);
    color: var(--ink-soft);
    max-width: 46ch;
    margin-inline: 0
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin: 40px 0 18px;
    flex-wrap: wrap
}

.hero-trust {
    font-size: 16px;
    color: var(--ink-soft)
}

/* trees sit below the content, anchored to the foot of the hero */
.hero-trees {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(210px, 26vw, 360px);
    object-fit: cover;
    object-position: center bottom;
    z-index: 0;
    pointer-events: none
}

/* birds drift across the whole hero, around and above the content */
.hero-birds {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    pointer-events: none
}

section {
    padding: 84px 0
}

.section-heading {
    max-width: 660px;
    margin-bottom: 44px
}

.section-heading h2, .contact h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin: 16px 0 14px
}

.section-heading p {
    color: var(--ink-soft);
    font-size: 18px
}

.eudr, #how {
    background: var(--paper-2);
    border-top: 1px solid var(--line-soft)
}

.eudr .thesis {
    font-size: clamp(30px, 4vw, 48px);
    max-width: 22ch;
    margin: 16px 0 22px
}

.eudr .thesis em {
    font-style: italic;
    color: var(--pine)
}

.eudr .introduction {
    color: var(--ink-soft);
    font-size: 18px;
    max-width: 66ch
}

.eudr .introduction strong {
    color: var(--ink);
    font-weight: 600
}

.goals-title, .why-label {
    letter-spacing: .12em;
    color: var(--ink-soft);
    margin-bottom: 18px
}

.dates-label {
    margin-top: 48px
}

.dates {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden
}

.date-row {
    padding: 26px 30px;
    border-left: 1px solid var(--line)
}

.date-row:first-child {
    border-left: 0
}

.date-row .date-value {
    font-family: var(--serif), serif;
    font-size: 27px;
    color: var(--pine);
    display: block;
    line-height: 1
}

.date-row .date-label {
    font-size: 14px;
    color: var(--ink-soft);
    margin-top: 9px
}

.goals-wrapper {
    margin-top: 46px
}

.goals {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 32px
}

.goals li {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.55
}

.bridge {
    margin-top: 48px;
    border-left: 3px solid var(--brass);
    background: var(--white);
    border-radius: 0 12px 12px 0;
    padding: 28px 34px;
    font-family: var(--serif), serif;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.45;
    color: var(--ink)
}

.bridge b {
    color: var(--pine);
    font-weight: 600
}

.who {
    background: var(--paper);
    border-top: 1px solid var(--line-soft)
}

.who .section-heading {
    max-width: none;
    margin-bottom: 32px
}

.who .section-heading h2 {
    margin: 16px 0 18px
}

.who, #why, #faq {
    position: relative;
    overflow: hidden
}

.who > .container, #why > .container, #faq > .container {
    position: relative;
    z-index: 1
}

.section-motif {
    position: absolute;
    height: auto;
    pointer-events: none;
    z-index: 0
}

.motif-who {
    top: 46px;
    right: 32px;
    width: 176px;
    color: var(--brass);
    opacity: .6;
    z-index: 2
}

/* easter egg: click the upper-right bird to send a flock flying off */
.motif-who #birdEgg {
    pointer-events: auto;
    cursor: default
}

.bird-fly {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999
}

.bird-flyer {
    --size: 26px;
    --fly-x: 0;
    --fly-y: -110vh;
    position: absolute;
    color: var(--brass);
    will-change: transform, opacity;
    animation: bird-fly 2s ease-in forwards
}

.bird-flyer .bird-flap {
    animation: bird-flap 0.16s ease-in-out infinite
}

.bird-flyer svg {
    display: block;
    width: var(--size);
    height: auto
}

@keyframes bird-fly {
    0% {
        transform: translate(0, 0);
        opacity: 0
    }
    10% {
        opacity: 1
    }
    85% {
        opacity: 1
    }
    100% {
        transform: translate(var(--fly-x), var(--fly-y));
        opacity: 0
    }
}

@keyframes bird-flap {
    0%, 100% {
        transform: scaleY(1)
    }
    50% {
        transform: scaleY(0.4)
    }
}

@media (prefers-reduced-motion: reduce) {
    .bird-fly {
        display: none
    }
}

.motif-why {
    bottom: 40px;
    left: 36px;
    width: 208px;
    color: var(--pine);
    z-index: 2
}

/* easter egg: the smallest hedgehog is clickable */
#hogEgg {
    pointer-events: auto;
}

.hog-run {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999
}

.hog-runner {
    --hog-size: 48px;
    position: absolute;
    left: 0;
    color: var(--sage);
    animation-name: hog-dash;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    will-change: transform
}

.hog-runner .hog-bob {
    animation: hog-bob .26s ease-in-out infinite
}

.hog-runner svg {
    display: block;
    width: var(--hog-size, 48px);
    height: auto
}

@keyframes hog-dash {
    from {
        transform: translateX(-14vw)
    }
    to {
        transform: translateX(114vw)
    }
}

@keyframes hog-bob {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-6px)
    }
}

.motif-faq {
    right: 0;
    bottom: 0;
    width: 300px;
    z-index: 2
}

/* easter egg: click the right-side tree in the FAQ grove to summon a falling forest across the screen */
.motif-faq #treeEgg {
    pointer-events: auto;
    cursor: default
}

.tree-storm {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999
}

.tree-drop {
    --size: 100px;
    --fall: 82deg;
    position: absolute;
    transform-origin: bottom center;
    will-change: transform, opacity;
    animation: tree-drop 1.7s cubic-bezier(0.45, 0.05, 0.9, 0.4) forwards
}

.tree-drop svg {
    display: block;
    width: var(--size);
    height: auto
}

@keyframes tree-drop {
    0% {
        transform: rotate(0deg) scaleY(0);
        opacity: 0
    }
    9% {
        transform: rotate(0deg) scaleY(1);
        opacity: 1
    }
    48% {
        transform: rotate(0deg) scaleY(1);
        opacity: 1
    }
    85% {
        transform: rotate(var(--fall)) scaleY(1);
        opacity: 1
    }
    100% {
        transform: rotate(var(--fall)) scaleY(1);
        opacity: 0
    }
}

@media (prefers-reduced-motion: reduce) {
    .tree-storm {
        display: none
    }
}

.who .introduction {
    color: var(--ink-soft);
    font-size: 17px;
    max-width: 70ch;
    margin-bottom: 14px
}

.who .lead-in {
    color: var(--ink-soft);
    font-size: 17px;
    max-width: 70ch;
    margin-bottom: 8px
}

.chain-scroll {
    overflow-x: auto;
    padding: 14px 0 6px
}

.timeline {
    position: relative;
    min-width: 1000px;
    padding: 0 40px;
    margin-top: 26px
}

.rail {
    position: absolute;
    left: 40px;
    right: 56px;
    top: 150px;
    height: 2px;
    background: linear-gradient(90deg, var(--pine), var(--brass))
}

.rail::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -4px;
    border-left: 9px solid var(--brass);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent
}

.rail .caption {
    position: absolute;
    top: -26px;
    letter-spacing: .08em;
    color: var(--sage)
}

.rail .caption.start {
    left: 0;
    top: 12px
}

.rail .caption.end {
    right: 0
}

.timeline-nodes {
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    position: relative
}

.timeline-node {
    position: relative;
    height: 300px
}

.dot {
    position: absolute;
    left: 50%;
    top: 143px;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid var(--paper);
    z-index: 2
}

.stem {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--line)
}

.timeline-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 176px;
    height: 108px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 13px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition: border-color .15s, transform .15s
}

.timeline-card:hover {
    border-color: var(--pine);
    transform: translateX(-50%)
}

.timeline-card h4 {
    font-family: var(--serif), serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
    color: var(--ink);
    line-height: 1.15
}

.timeline-card p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink-soft);
    margin: 0
}

.timeline-node.up .timeline-card {
    bottom: 162px
}

.timeline-node.up .stem {
    bottom: 150px;
    height: 12px
}

.timeline-node.down .timeline-card {
    top: 162px
}

.timeline-node.down .stem {
    top: 150px;
    height: 12px
}

.read-more {
    display: inline-block;
    margin-top: 34px;
    font-family: var(--mono), monospace;
    font-size: 14px;
    letter-spacing: .02em;
    color: var(--pine);
    text-decoration: none;
    transition: color .15s
}

.read-more::before {
    content: "[ ";
    color: var(--brass)
}

.read-more::after {
    content: " ]";
    color: var(--brass)
}

.read-more:hover {
    color: var(--brass)
}

.how-flow {
    display: grid;
    grid-template-columns:1fr auto 1fr auto 1fr;
    column-gap: 22px;
    align-items: start;
    margin: 10px 0 22px
}

.how-stage {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.node {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    padding: 22px 20px;
    text-align: center
}

.node .node-label {
    letter-spacing: .12em;
    color: var(--sage)
}

.node .node-value {
    font-family: var(--serif), serif;
    font-size: 19px;
    margin-top: 8px
}

.node.node-highlight {
    background: var(--pine);
    color: var(--white);
    border-color: var(--pine)
}

.node.node-highlight .node-label {
    color: var(--sage-pale)
}

.how-step h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px
}

.how-step p, .feature p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5
}

.arrow {
    color: var(--brass);
    font-family: var(--mono), monospace;
    font-size: 22px;
    align-self: start;
    margin-top: 32px
}

.flow-caption {
    color: var(--ink-soft);
    font-size: 14px;
    margin-top: 8px
}

#why {
    border-top: 1px solid var(--line-soft)
}

.why-group {
    margin-top: 44px
}

.feature-grid {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden
}

.feature-grid.columns-4 {
    grid-template-columns:repeat(4, 1fr)
}

.feature {
    background: var(--white);
    padding: 26px 24px
}

.feature h4 {
    font-family: var(--serif), serif;
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 8px
}

.why-split {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 36px;
    margin-top: 44px
}

.price {
    background: var(--pine-deep);
    color: #E7EFE8
}

.price .section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.price .section-heading h2 {
    color: #fff
}

.price .eyebrow {
    color: var(--brass-bright)
}

.price-card {
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1B3A2C, #16301F);
    border: 3px solid var(--pine-line);
    border-radius: 18px;
    padding: 44px;
    text-align: center
}

.price-card .plan {
    letter-spacing: .16em;
    color: var(--sage-pale)
}

.amount {
    font-family: var(--serif), serif;
    font-size: 64px;
    margin: 10px 0 2px;
    color: var(--white);
    line-height: 1;
    white-space: nowrap;
}

.amount span {
    font-size: 18px;
    font-family: var(--mono), monospace;
    color: var(--sage-pale)
}

.price-features {
    list-style: none;
    margin: 26px auto 13px;
    padding: 0;
    display: grid;
    gap: 13px;
    text-align: left;
    max-width: 300px
}

.price-features li {
    padding-left: 24px;
    position: relative;
    color: #D4E0D6;
    font-size: 16px
}

.price-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 11px;
    height: 2px;
    background: var(--brass-bright)
}

.price-free {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
    text-align: left
}

.price-free-check {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--brass-bright);
}

.price-free-note strong {
    color: var(--brass-bright);
    font-size: 16px;
    font-weight: 600
}

.price-card .button-brass {
    margin-top: 22px
}

.price-environments {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--pine-line)
}

.price-environment {
    font-family: var(--mono), monospace;
    font-size: 14px;
    letter-spacing: .02em;
    text-decoration: none;
    transition: color .15s
}

.price-environment.test-env {
    color: var(--brass-bright)
}

.price-environment.live-env {
    color: var(--sage-pale)
}

.price-environment:hover {
    color: #fff
}

.faq-list {
    max-width: 820px;
    border-top: 1px solid var(--line-soft)
}

details {
    border-bottom: 1px solid var(--line)
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: var(--serif), serif;
    font-size: 19px;
    font-weight: 500
}

summary::-webkit-details-marker {
    display: none
}

summary .plus {
    font-family: var(--mono), monospace;
    color: var(--brass);
    flex: none
}

summary .plus::before {
    content: "+"
}

details[open] summary .plus::before {
    content: "–"
}

details p {
    padding: 0 0 24px;
    color: var(--ink-soft);
    max-width: 70ch
}

.contact {
    background: var(--paper-2);
    border-top: 1px solid var(--line-soft)
}

.contact-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 56px;
    align-items: center
}

.contact .subtitle {
    color: var(--ink-soft);
    font-size: 18px;
    max-width: 44ch
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch
}

.contact-card-top {
    display: flex;
    gap: 22px;
    align-items: center
}

.contact-card .avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    display: block
}

.contact-card .contact-name {
    font-family: var(--serif), serif;
    font-size: 22px
}

.contact-card .role {
    letter-spacing: .08em;
    color: var(--sage);
    margin: 4px 0 14px
}

.contact-card a {
    display: block;
    font-size: 16px;
    text-decoration: none;
    color: var(--pine);
    margin-top: 5px
}

.contact-card a:hover {
    text-decoration: underline
}

.contact-card .contact-address {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 0
}

.contact-card .contact-address:hover {
    text-decoration: none
}

.contact-card .contact-address span {
    text-decoration: inherit
}

.contact-card .contact-address:hover span {
    text-decoration: underline
}

.contact-card .contact-address .pin {
    flex: none;
    stroke: var(--brass)
}

#media {
    border-top: 1px solid var(--line-soft)
}

#media .section-heading {
    margin-bottom: 0;
}

.media-list {
    display: grid;
    gap: 2px;
    max-width: 900px
}

.media-item {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: padding-left .18s
}

.media-item:hover {
    padding-left: 10px
}

.media-item:hover .article-title {
    color: var(--pine);
    text-decoration-color: var(--pine)
}

.media-item .source {
    font-family: var(--mono), monospace;
    font-size: 12px;
    color: var(--brass);
    flex: none;
    width: 150px
}

.media-item .source .marker {
    display: block;
    color: var(--sage);
    margin-top: 3px
}

.media-item .article-title {
    color: var(--ink);
    font-size: 16px;
    flex: 1;
    text-decoration: underline;
    text-decoration-color: rgba(30, 65, 50, .35);
    text-underline-offset: 3px;
    transition: color .15s, text-decoration-color .15s
}

footer {
    position: relative;
    background: var(--pine-deep);
    color: #AFC0B2;
    padding: 0 0 40px
}

.footer-scene {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 154;
    margin-bottom: -1px
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 44px
}

.footer-brand {
    font-family: var(--serif), serif;
    font-size: 22px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-brand .crest {
    width: 32px;
    height: 32px
}

.footer-brand .crest img {
    width: 22px;
    height: 22px
}

footer .legal {
    font-family: var(--mono), monospace;
    font-size: 14px;
    color: #7E9184
}

.to-top {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    z-index: 60;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: var(--pine);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(19, 42, 32, .7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .2s ease, visibility .25s ease, background .2s ease
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none
}

.to-top:hover {
    background: var(--pine-deep);
    transform: translateY(-2px)
}

.to-top.dock {
    position: absolute;
    bottom: auto
}

.to-top svg {
    width: 22px;
    height: 22px
}

@media (max-width: 920px) {
    .to-top {
        width: 40px;
        height: 40px
    }

    .to-top svg {
        width: 19px;
        height: 19px
    }

    header.nav-open ~ .to-top {
        display: none
    }

    .nav-toggle {
        display: flex
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0 28px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px -16px rgba(19, 42, 32, .4);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: max-height .25s ease, opacity .2s ease, visibility .25s
    }

    header.nav-open .nav-links {
        max-height: 70vh;
        overflow-y: auto;
        visibility: visible;
        opacity: 1
    }

    .nav-links a {
        padding: 14px 0;
        font-size: 16px;
        border-top: 1px solid var(--line-soft)
    }

    .nav-links a:first-child {
        border-top: 0
    }

    .nav-cta {
        display: none
    }

    .nav-links .nav-live-mobile {
        display: block;
        margin: 16px 0 24px;
        padding: 13px;
        text-align: center;
        background: var(--pine);
        color: var(--white);
        border-radius: 8px;
        border-top: 0
    }

    @media (prefers-reduced-motion: reduce) {
        .nav-links {
            transition: none
        }
    }
    .contact-grid {
        grid-template-columns:1fr;
        gap: 36px
    }

    .hero {
        padding-bottom: clamp(110px, 26vw, 180px)
    }

    .section-motif {
        display: none
    }

    .hero .lead {
        max-width: none
    }

    .how-flow {
        display: block
    }

    .how-stage {
        margin-bottom: 6px
    }

    .arrow {
        margin: 8px 0;
        align-self: auto;
        display: block;
        text-align: center;
        transform: rotate(90deg)
    }

    .feature-grid.columns-4 {
        grid-template-columns:1fr 1fr
    }

    .why-split {
        grid-template-columns:1fr;
        gap: 28px
    }

    .dates {
        grid-template-columns:1fr
    }

    .date-row {
        border-left: 0;
        border-top: 1px solid var(--line-soft)
    }

    .date-row:first-child {
        border-top: 0
    }

    .goals {
        grid-template-columns:1fr;
        gap: 26px
    }
}

@media (max-width: 760px) {
    .chain-scroll {
        overflow: visible
    }

    .timeline {
        min-width: 0;
        padding: 0 0 0 8px;
        margin-top: 20px
    }

    .rail {
        left: 7px;
        right: auto;
        top: 4px;
        bottom: 4px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--pine), var(--brass))
    }

    .rail::after {
        right: auto;
        left: -4px;
        top: auto;
        bottom: -1px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 9px solid var(--brass);
        border-bottom: 0
    }

    .rail .caption {
        display: none
    }

    .timeline-nodes {
        display: block
    }

    .timeline-node {
        height: auto;
        padding: 11px 0 11px 30px
    }

    .dot {
        position: absolute;
        left: 0;
        top: 20px;
        transform: none
    }

    .stem {
        display: none
    }

    .timeline-node.up .timeline-card, .timeline-node.down .timeline-card {
        position: static;
        transform: none;
        width: auto;
        height: auto;
        overflow: visible;
        display: block;
        text-align: left;
        bottom: auto;
        top: auto
    }

    .timeline-card:hover {
        transform: none
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px
    }

    section {
        padding: 60px 0
    }

    .feature-grid.columns-4 {
        grid-template-columns:1fr
    }

    .nav-actions .button-ghost {
        display: none
    }

    .contact-card {
        text-align: center
    }

    .contact-card-top {
        flex-direction: column
    }

    .contact-card .contact-address {
        justify-content: center
    }

    .media-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px
    }

    .media-item .source {
        width: auto
    }

    .media-item .source .marker {
        display: inline;
        margin: 0 0 0 6px
    }
}

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
    border-radius: 4px
}
