/* Contour Field Guides — redesigned homepage */
.rd-trails { background: #eef0e4; }
.cf { --g: #1f3b2d; --moss: #6d8f4e; --ink: #1c261f; --mute: #5f6b60; --line: #1c261f22; --e: cubic-bezier(.16, 1, .3, 1); color: var(--ink); font-family: "Segoe UI", sans-serif; background: #eef0e4; overflow: clip; }
.cf * { box-sizing: border-box; }
.cf :is(h1, h2, h3, p, dl, dd, figure) { margin: 0; }
.cf a { color: inherit; text-decoration: none; }
.cf :is(h1, h2, h3) { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.02em; }
.cf em { font-style: italic; color: var(--moss); }
.cf-kicker { font: 600 .74rem/1.2 "Segoe UI", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); }
.cf .cf-btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: #eef0e4; color: var(--g); font-weight: 700; transition: transform .35s var(--e); }
.cf .cf-btn:hover { transform: translateY(-2px); }
.cf-link { font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }

.cf-hero { position: relative; min-height: min(90vh, 880px); display: grid; align-items: end; padding: 0 6vw clamp(60px, 8vw, 110px); color: #f4f5ec; isolation: isolate; }
.cf-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: cf-settle 3s var(--e) both; }
.cf-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #12241ae6 0%, #12241a66 45%, #12241a10 75%); }
.cf-hero-copy { display: grid; gap: 24px; max-width: 720px; animation: cf-up 1.2s var(--e) both; }
.cf-hero .cf-kicker { color: #c9dbb0; }
.cf-hero h1 { font-size: clamp(3.4rem, 7.4vw, 7.6rem); line-height: .98; }
.cf-lead { font-size: 1.15rem; line-height: 1.65; max-width: 30em; color: #e6eadb; }
.cf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
@keyframes cf-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes cf-settle { to { transform: scale(1); } }

.cf-routes { padding: clamp(90px, 10vw, 140px) 6vw 0; display: grid; gap: clamp(80px, 9vw, 130px); }
.cf-routes header { display: grid; gap: 14px; }
.cf-routes h2 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.02; }
.cf-route { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.cf-route--flip figure { order: 2; }
.cf-route figure { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; }
.cf-route img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--e); }
.cf-route:hover img { transform: scale(1.04); }
.cf-route-copy { display: grid; gap: 18px; }
.cf-route h3 { font-size: clamp(2.4rem, 3.6vw, 3.6rem); line-height: 1; }
.cf-route-copy > p:not(.cf-kicker) { font-size: 1.08rem; line-height: 1.65; color: #3d4a40; }
.cf-route dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.cf-route dl div { padding: 16px 0; }
.cf-route dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.cf-route dd { margin-top: 6px; font: 500 1.35rem/1 Georgia, serif; }
.cf-paces { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cf-paces span { font-size: .85rem; color: var(--mute); margin-right: 6px; }
.cf-paces a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--g); font-weight: 600; font-size: .9rem; transition: background-color .3s, color .3s; }
.cf-paces a:hover { background: var(--g); color: #eef0e4; }

.cf-note { position: relative; display: grid; align-items: center; min-height: 600px; margin-top: clamp(100px, 11vw, 160px); isolation: isolate; color: #f4f5ec; }
.cf-note img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cf-note::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #12241ab8; }
.cf-note > div { display: grid; gap: 26px; justify-items: center; text-align: center; padding: 80px 6vw; max-width: 980px; margin: 0 auto; }
.cf-note .cf-kicker { color: #c9dbb0; }
.cf-quote { font: italic 400 clamp(1.8rem, 3vw, 2.8rem)/1.3 Georgia, serif; }

@media (max-width: 900px) { .cf-route { grid-template-columns: 1fr; } .cf-route--flip figure { order: 0; } .cf-route dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cf-hero, .cf-routes { padding-left: 20px; padding-right: 20px; } }
@media (prefers-reduced-motion: reduce) { .cf *, .cf { animation: none !important; transition: none !important; } }
