:root {
    --bg-top: #f6f0e6;
    --bg-bottom: #e9dfd0;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 252, 247, 0.96);
    --text: #16202a;
    --muted: #5d6872;
    --line: rgba(22, 32, 42, 0.1);
    --accent: #9e6b2d;
    --accent-deep: #6b4617;
    --shadow: 0 24px 70px rgba(28, 31, 36, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(158, 107, 45, 0.16), transparent 26%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.topbar,
.hero,
.section,
.message-band {
    animation: rise 0.7s ease both;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #14202a, #9e6b2d);
    box-shadow: var(--shadow);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.content-card h3,
.stack-card h3,
.person-card h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.brand-copy small,
.summary,
.content-card p,
.stack-card p,
.person-card p,
.message-band p,
.cta-section p,
.stat-card span {
    color: var(--muted);
    line-height: 1.7;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.nav-cta,
.button-primary,
.button-secondary {
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 600;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta,
.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.48);
}

.button-primary {
    background: var(--text);
    color: #fff;
    box-shadow: 0 16px 34px rgba(22, 32, 42, 0.2);
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
    gap: 24px;
}

.hero-copy,
.hero-panel,
.section,
.message-band {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-copy {
    border-radius: 30px;
    padding: 40px;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.82)),
        linear-gradient(135deg, rgba(20, 32, 42, 0.08), rgba(158, 107, 45, 0.16));
}

.eyebrow,
.card-label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--accent-deep);
}

.hero h1 {
    margin: 18px 0 0;
    font-size: clamp(2.8rem, 4vw, 5rem);
    line-height: 0.98;
    max-width: 11ch;
}

.lead {
    margin: 22px 0 10px;
    max-width: 48rem;
    font-size: 1.1rem;
    line-height: 1.75;
}

.summary {
    margin: 0;
    max-width: 44rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-panel {
    border-radius: 30px;
    padding: 28px;
}

.stat-grid,
.three-grid,
.pill-grid {
    display: grid;
    gap: 16px;
}

.stat-card,
.content-card,
.stack-card,
.person-card {
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
}

.stat-card {
    padding: 22px;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    font-family: Georgia, "Times New Roman", serif;
}

.message-band,
.section {
    margin-top: 20px;
    border-radius: 30px;
    padding: 28px;
}

.message-band p {
    margin: 0;
    max-width: 70ch;
    font-size: 1.05rem;
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 2.6vw, 3.2rem);
    line-height: 1.08;
    max-width: 18ch;
}

.three-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card,
.stack-card,
.person-card {
    padding: 22px;
}

.content-card h3,
.stack-card h3,
.person-card h3 {
    margin: 10px 0 12px;
    font-size: 1.3rem;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
}

.stack-list {
    display: grid;
    gap: 16px;
}

.pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pill {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    font-weight: 600;
    background: rgba(255, 252, 247, 0.92);
}

.cta-section h2 {
    margin-bottom: 12px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero,
    .three-grid,
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
    }

    .pill-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 20px;
    }

    .topnav {
        justify-content: flex-start;
    }

    .hero-copy,
    .hero-panel,
    .message-band,
    .section {
        border-radius: 22px;
        padding: 22px;
    }

    .hero h1,
    .section-heading h2 {
        max-width: none;
    }
}
