:root {
    --ink: #14222c;
    --muted: #4f646f;
    --paper: #f4f1e8;
    --sand: #e7decc;
    --brand: #0d6f5f;
    --brand-soft: #97c9bb;
    --accent: #b3823f;
    --line: #d7ccb8;
    --card: rgba(255, 255, 255, 0.74);
    --shadow: 0 14px 40px rgba(20, 34, 44, 0.12);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.12;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
    font-size: clamp(1.8rem, 3.3vw, 3rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.9rem);
}

p {
    margin: 0 0 12px;
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    position: relative;
    z-index: 2;
}

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.site-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(13, 111, 95, 0.18), transparent 45%),
        radial-gradient(circle at 80% 12%, rgba(179, 130, 63, 0.16), transparent 42%),
        radial-gradient(circle at 52% 85%, rgba(65, 101, 132, 0.15), transparent 48%),
        linear-gradient(130deg, #f5f0e3, #efe5d2 44%, #ece5d6);
    z-index: 0;
}

.site-grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(rgba(20, 34, 44, 0.05) 0.55px, transparent 0.55px);
    background-size: 4px 4px;
    opacity: 0.22;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
    background: rgba(245, 240, 227, 0.8);
    border-bottom: 1px solid rgba(20, 34, 44, 0.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(140deg, var(--brand), #134954);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    overflow: hidden;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.7);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    position: relative;
    font-weight: 600;
    color: var(--ink);
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(to right, var(--brand), var(--accent));
    transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.section {
    padding: 72px 0;
}

.hero {
    padding: 88px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.panel {
    background: var(--card);
    border: 1px solid rgba(20, 34, 44, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(20px, 2.8vw, 38px);
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 10px;
}

.hero p.lead {
    font-size: 1.08rem;
    max-width: 62ch;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 11px 19px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn-primary {
    background: linear-gradient(130deg, var(--brand), #124a53);
    color: #fff;
    box-shadow: 0 9px 24px rgba(13, 111, 95, 0.23);
}

.btn-ghost {
    border-color: rgba(20, 34, 44, 0.22);
    background: rgba(255, 255, 255, 0.65);
}

.btn:hover {
    transform: translateY(-2px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.stat {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 16px;
}

.stat-value {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--ink);
}

.grid-3,
.grid-2 {
    display: grid;
    gap: 18px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--card);
    border: 1px solid rgba(20, 34, 44, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(20, 34, 44, 0.07);
    transition: transform 0.24s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.media-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(20, 34, 44, 0.08);
    box-shadow: 0 10px 26px rgba(20, 34, 44, 0.1);
    margin-bottom: 16px;
}

.media-card img {
    display: block;
    width: 100%;
    height: auto;
}

.media-caption {
    font-size: 0.9rem;
    color: #5e707a;
    margin-top: -4px;
}

.legal-list {
    margin: 0 0 14px;
    padding-left: 20px;
    color: var(--muted);
}

.legal-list li {
    margin-bottom: 6px;
}

.timeline {
    border-left: 2px solid var(--line);
    padding-left: 22px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.site-footer {
    position: relative;
    z-index: 2;
    margin-top: 42px;
    border-top: 1px solid rgba(20, 34, 44, 0.1);
    background: rgba(20, 34, 44, 0.94);
    color: #d3dee6;
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-top {
    padding: 30px 0 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 0 28px;
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-copy,
.footer-bottom p {
    color: #b6c7d1;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-contact {
    max-width: 420px;
}

.footer-contact a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-links a:hover {
    color: #fff;
}

.form-group {
    margin-bottom: 13px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(20, 34, 44, 0.2);
    font: inherit;
    background: rgba(255, 255, 255, 0.85);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.notice {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 600;
}

.notice-success {
    background: rgba(13, 111, 95, 0.12);
    border: 1px solid rgba(13, 111, 95, 0.26);
    color: #0f4a3f;
}

.notice-error {
    background: rgba(170, 67, 39, 0.12);
    border: 1px solid rgba(170, 67, 39, 0.3);
    color: #6b2d20;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.float-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    animation: drift 8s ease-in-out infinite;
}

.float-shape.one {
    width: 120px;
    height: 120px;
    top: 22%;
    right: -20px;
    background: rgba(13, 111, 95, 0.2);
}

.float-shape.two {
    width: 86px;
    height: 86px;
    bottom: 8%;
    left: 8%;
    background: rgba(179, 130, 63, 0.22);
    animation-delay: 1.8s;
}

@keyframes drift {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 920px) {
    .hero-grid,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: absolute;
        top: 81px;
        left: 0;
        right: 0;
        background: rgba(245, 240, 227, 0.98);
        border-bottom: 1px solid rgba(20, 34, 44, 0.08);
        display: none;
        padding: 15px 4vw 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .site-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-block;
    }
}
