:root {
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2d1f1f;
    background: var(--color-background, #fdf9f5);
    min-height: 100vh;
}

a {
    color: inherit;
}

a:hover {
    color: var(--color-primary);
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page__header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(253, 249, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 38, 0.08);
}

.nav {
    margin: 0 auto;
    width: min(1100px, 100%);
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav__branding {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.nav__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.nav__toggle {
    display: none;
}

.nav__items {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    background: var(--color-primary);
}

.nav__link:focus-visible::after,
.nav__link:hover::after {
    transform: scaleX(1);
}

.page__main {
    flex: 1;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 1.5rem 4.5rem;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 10% 10%, rgba(123, 45, 38, 0.14), transparent 60%),
        radial-gradient(80% 50% at 90% 0%, rgba(216, 167, 95, 0.18), transparent 60%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 249, 245, 0.95) 40%, rgba(253, 249, 245, 1) 100%);
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: min(1100px, 100%);
    color: #2d1f1f;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    font-weight: 600;
    color: var(--color-muted);
}

.eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: currentColor;
}

.hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.8rem, 5vw, 3.6rem);
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 46ch;
    color: rgba(45, 31, 31, 0.86);
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 16px 30px rgba(123, 45, 38, 0.24);
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(123, 45, 38, 0.28);
}

.button--ghost {
    border: 1px solid rgba(123, 45, 38, 0.35);
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.6);
}

.button--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.hero__highlights {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    max-width: 40ch;
}

.hero__highlights li {
    padding-left: 1.75rem;
    position: relative;
    font-weight: 500;
}

.hero__highlights li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.section {
    padding: 4.5rem 1.5rem;
}

.section--surface {
    background: var(--color-surface);
}

.section--cta {
    background: linear-gradient(140deg, rgba(123, 45, 38, 0.92), rgba(123, 45, 38, 0.82));
    color: #fff;
}

.section__header {
    width: min(900px, 100%);
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section__header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-top: 1rem;
    color: inherit;
}

.card-grid {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    padding: 2.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 40px rgba(35, 20, 20, 0.08);
    border: 1px solid rgba(216, 167, 95, 0.2);
}

.card--glass {
    backdrop-filter: blur(10px);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.card p {
    margin: 0;
    line-height: 1.6;
}

.timeline {
    width: min(900px, 100%);
    margin: 0 auto;
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: rgba(123, 45, 38, 0.25);
}

.timeline__item {
    position: relative;
    padding: 1.5rem 0 1.5rem 2.5rem;
}

.timeline__marker {
    position: absolute;
    left: 0.5rem;
    top: 2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: var(--color-accent);
    box-shadow: 0 0 0 8px rgba(216, 167, 95, 0.18);
}

.timeline__content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(216, 167, 95, 0.18);
    box-shadow: 0 12px 30px rgba(35, 20, 20, 0.08);
}

.timeline__content h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.timeline__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--color-primary);
}

.story-grid {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.story {
    padding: 2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(123, 45, 38, 0.12);
    box-shadow: 0 18px 36px rgba(35, 20, 20, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(35, 20, 20, 0.12);
}

.story__category {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.7rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.story__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--color-primary);
}

.story__cta::after {
    content: '\2192';
}

.section--cta .eyebrow::before {
    background: rgba(255, 255, 255, 0.75);
}

.section--cta .button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.section--cta .button--ghost:hover {
    border-color: #fff;
}

.cta {
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.cta p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.page__footer {
    padding: 3rem 1.5rem;
    background: #201414;
    color: rgba(255, 255, 255, 0.78);
}

.footer__content {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.footer__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.footer__subtitle {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer__legal {
    margin: 0;
    font-size: 0.85rem;
}

@media (max-width: 820px) {
    .nav {
        flex-wrap: wrap;
    }

    .nav__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        border-radius: 999px;
        border: 1px solid rgba(123, 45, 38, 0.25);
        background: rgba(255, 255, 255, 0.6);
        font-weight: 600;
        color: var(--color-primary);
    }

    .nav__items {
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-top: 1rem;
        display: none;
    }

    .nav__items[data-open] {
        display: flex;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero__content {
        text-align: left;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline {
        padding-left: 0.5rem;
    }

    .timeline::before {
        left: 0.25rem;
    }

    .timeline__item {
        padding-left: 2rem;
    }

    .timeline__marker {
        left: -0.3rem;
    }
}
