:root {
    --fog: #eef0ea;
    --haze: #dbe4e8;
    --ridge: #46657a;
    --spruce: #1d3329;
    --ink: #1b2a24;
    --muted: #55645d;
    --azalea: #c8541c;
    --azalea-dark: #a8430f;
    --line: #c7d0cc;
    --error: #a3362b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--fog);
    color: var(--ink);
    font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    font-size: 1.125rem;
    line-height: 1.65;
}

a { color: var(--azalea-dark); }
a:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--azalea);
    outline-offset: 2px;
}

h1, h2, h3 {
    font-family: "Bitter", Georgia, serif;
    color: var(--spruce);
    line-height: 1.15;
}

.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }
section.wrap { padding-top: 4rem; padding-bottom: 4rem; }
h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
p { max-width: 62ch; margin: 0 0 1rem; }

/* Hero */
.hero {
    position: relative;
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    background: #cfdde3 url("Images/ridges.svg") center bottom / cover no-repeat;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding: 1.25rem 1.5rem;
}
.topnav a {
    color: var(--spruce);
    font-weight: 600;
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 3px solid transparent;
}
.topnav a:hover { border-bottom-color: var(--azalea); }

.hero-text { margin: auto 0 7rem; padding: 0 1.5rem; max-width: 62rem; width: 100%; align-self: center; }
.hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-text p { font-size: 1.25rem; color: var(--spruce); max-width: 34ch; }

/* History band */
.band {
    background: var(--spruce);
    color: #e7ede9;
    padding: 4.5rem 0;
}
.band h2, .band h3 { color: #fff; }
.lede { font-size: 1.25rem; color: #c9d6cf; margin-bottom: 3rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
    display: grid;
    grid-template-columns: 9rem 1fr 18rem;
    gap: 1.5rem 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    align-items: start;
}
.when {
    font-family: "Bitter", Georgia, serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #f0a273;
}
.what h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.what p { margin: 0; color: #dbe5df; }

.timeline figure { margin: 0; }
.timeline img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: var(--haze);
    border-radius: 3px;
}
.timeline figcaption { margin-top: 0.4rem; font-size: 0.9rem; color: #b5c4bb; }

/* Camping */
.sub { margin: 2.5rem 0 0.5rem; font-size: 1.4rem; }
.lede-light { font-size: 1.25rem; color: var(--muted); margin-bottom: 0; }

.van-grid, .park-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.5rem;
    margin-top: 1.5rem;
}
.van-grid figure, .park-grid figure { margin: 0; }
.van-grid img, .park-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: var(--haze);
    border-radius: 3px;
}
.van-grid figcaption, .park-grid figcaption {
    margin-top: 0.6rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted);
}
.van-grid figcaption strong, .park-grid figcaption strong {
    display: block;
    font-family: "Bitter", Georgia, serif;
    font-size: 1.15rem;
    color: var(--spruce);
}
.park-grid .feature { grid-column: span 2; }
.park-grid .feature img { aspect-ratio: 16 / 9; }

/* Contact form */
.field { margin-bottom: 1rem; max-width: 34rem; }
.field label { display: block; margin-bottom: 0.25rem; font-weight: 600; }
.field input, .field textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.field textarea { resize: vertical; }

.btn {
    font: inherit;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    color: #fff;
    background: var(--azalea-dark);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}
.btn:hover { background: #8f3808; }

.status { display: block; margin-top: 1rem; font-weight: 600; }
.status.ok { color: #1f6b3a; }
.status.error { color: var(--error); }

.site-footer {
    background: var(--spruce);
    color: #b5c4bb;
    padding: 1.25rem 0;
    font-size: 0.95rem;
}

/* Tablet and phone */
@media (max-width: 860px) {
    .timeline li { grid-template-columns: 1fr; gap: 0.75rem; }
    .timeline figure { max-width: 26rem; }
    .van-grid, .park-grid { grid-template-columns: repeat(2, 1fr); }
    .park-grid .feature { grid-column: span 2; }
    .hero { min-height: 26rem; }
    .hero-text { margin-bottom: 5rem; }
}

@media (max-width: 560px) {
    .van-grid, .park-grid { grid-template-columns: 1fr; }
    .park-grid .feature { grid-column: auto; }
}

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