:root {
    --ink: #18342f;
    --muted: #5f716d;
    --paper: #f7f5ef;
    --white: #fffdf9;
    --sage: #dce9df;
    --green: #245c50;
    --green-dark: #153f37;
    --gold: #c7954c;
    --line: rgba(24, 52, 47, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a { color: inherit; }

.site-header,
.hero,
.section,
footer {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.45); }

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
    padding-block: 6rem 8rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--green);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 780px; margin-bottom: 1.6rem; font-size: clamp(3.2rem, 7vw, 6.7rem); letter-spacing: -.055em; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.2rem, 4vw, 4.1rem); letter-spacing: -.04em; }
h3 { margin-bottom: .75rem; font-size: 1.25rem; }

.hero-copy { max-width: 650px; color: var(--muted); font-size: 1.17rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.text-link { font-weight: 700; text-decoration: none; }

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    color: white;
    background: var(--green-dark);
    border-radius: 50% 50% 12px 12px;
    box-shadow: 0 30px 70px rgba(21, 63, 55, .18);
}

.hero-panel::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -75px;
    bottom: -75px;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 50%;
}

.panel-label { display: block; margin-bottom: 4rem; color: #bcd2ca; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-panel p { margin: 0; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); font-family: Georgia, serif; font-size: 1.55rem; }

.section { padding-block: clamp(5rem, 10vw, 9rem); }
.intro { display: grid; grid-template-columns: .55fr 1.45fr; gap: 4rem; border-top: 1px solid var(--line); }
.intro h2 { max-width: 900px; }
.intro > p:last-child { grid-column: 2; max-width: 660px; color: var(--muted); font-size: 1.1rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 420px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 250px; padding: 2rem; background: rgba(255,255,255,.32); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid span { display: block; margin-bottom: 3rem; color: var(--gold); font-size: .75rem; font-weight: 800; }
.feature-grid p { color: var(--muted); }

.resilience {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(3rem, 10vw, 10rem);
    align-items: end;
    padding-inline: max(20px, calc((100% - 1180px) / 2));
    color: white;
    background: var(--green-dark);
}

.eyebrow-light { color: #bcd2ca; }
.resilience p:last-child { max-width: 520px; color: #d7e4df; font-size: 1.12rem; }

.founder { display: grid; grid-template-columns: .5fr 1.5fr; gap: 5rem; align-items: center; }
.founder-mark { display: grid; width: min(100%, 330px); aspect-ratio: 1; place-items: center; color: var(--green); background: var(--sage); border-radius: 50%; font-family: Georgia, serif; font-size: clamp(5rem, 12vw, 9rem); }
.founder p:last-child { max-width: 680px; color: var(--muted); font-size: 1.1rem; }

.cta { text-align: center; border-top: 1px solid var(--line); }
.cta p:not(.eyebrow) { max-width: 620px; margin: 0 auto 2rem; color: var(--muted); }

footer { display: flex; align-items: center; gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); }
footer p { flex: 1; margin: 0; color: var(--muted); text-align: center; font-size: .85rem; }
footer > a:last-child { font-weight: 700; }

@media (max-width: 800px) {
    .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 4rem 6rem; }
    .hero-panel { max-width: 420px; }
    .intro, .resilience, .founder { grid-template-columns: 1fr; gap: 2.5rem; }
    .intro > p:last-child { grid-column: 1; }
    .section-heading { display: block; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .founder-mark { width: 220px; }
}

@media (max-width: 540px) {
    .site-header, .hero, .section, footer { width: min(100% - 28px, 1180px); }
    .hero { padding-top: 3rem; }
    h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
    .feature-grid { grid-template-columns: 1fr; }
    .resilience { width: 100%; padding-inline: 20px; }
    footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
