/* Westervelt Lodge — Whitetail lander
   Brand tokens pulled from westerveltlodge.com. Bembo / Avenir Next are licensed,
   so EB Garamond / Inter stand in until the client supplies font files. */
:root {
  --primary: #0f2c1b;
  --primary-2: #16402a;
  --moss: #69a82e;
  --moss-dark: #568a24;
  --olive: #38392c;
  --tan: #f0efe6;
  --sage: #aeb9b4;
  --ink: #1c231f;
  --muted: #5a645e;
  --line: #d9dcd5;
  --white: #fff;
  --error: #b42318;

  --serif: "EB Garamond", "Bembo", Georgia, serif;
  --sans: "Inter", "Avenir Next", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --shadow: 0 24px 60px -20px rgba(15, 44, 27, .45);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin-bottom: .9em; }
.eyebrow--dark { color: var(--moss-dark); }

/* Icons: SVGs used as masks so they take any color */
.icon { display: inline-block; width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.icon--call   { --src: url(/assets/icons/icon-call.svg); }
.icon--tree   { --src: url(/assets/icons/icon-tree.svg); }
.icon--target { --src: url(/assets/icons/icon-target.svg); }
.icon--lodge  { --src: url(/assets/icons/icon-lodge.svg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border: 2px solid var(--moss); border-radius: 999px; background: var(--moss); color: var(--white);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--moss-dark); border-color: var(--moss-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(15,44,27,.08); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.topbar__logo img { height: 54px; width: auto; }
.topbar__actions { display: flex; align-items: center; gap: 22px; }
.topbar__phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.05rem; }
.topbar__phone .icon { color: var(--moss); width: 26px; height: 26px; }
.topbar__phone small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.topbar__phone-text { line-height: 1.2; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--primary); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,30,18,.92) 0%, rgba(10,30,18,.72) 45%, rgba(10,30,18,.45) 100%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero__lede { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 34em; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Form card */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-card__title { font-size: 2rem; color: var(--primary); margin-bottom: .25em; }
.form-card__sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 400 1rem var(--sans); color: var(--ink); background: #fbfbf8; transition: border-color .15s, background .15s; }
.field input:focus { outline: none; border-color: var(--moss); background: var(--white); box-shadow: 0 0 0 3px rgba(105,168,46,.2); }
.field__error { display: none; margin: 6px 0 0; font-size: .82rem; color: var(--error); }
.field.is-invalid input { border-color: var(--error); }
.field.is-invalid .field__error { display: block; }

.check { position: relative; display: flex !important; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #f6f8f2; cursor: pointer; font-size: .98rem !important; font-weight: 600; color: var(--primary); margin: 0 !important; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 24px; height: 24px; border: 2px solid var(--sage); border-radius: 6px; background: var(--white); transition: all .15s; }
.check input:checked + .check__box { background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--moss); }
.check input:focus-visible + .check__box { outline: 3px solid var(--moss); outline-offset: 2px; }
.check:has(input:checked) { border-color: var(--moss); background: #eef5e6; }
.field--check.is-invalid .check { border-color: var(--error); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: .9rem; color: var(--error); min-height: 0; }
.form-status:empty { display: none; }
.form-fine { margin: 14px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }
.form-fine a { color: var(--muted); }

/* Proof strip */
.proof { background: var(--primary); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 34px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.proof__item:first-child { border-left: 0; }
.proof__num { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--white); margin-bottom: 8px; }
.proof__label { font-size: .88rem; color: rgba(255,255,255,.72); }

/* Sections */
.section { padding: 104px 0; }
.section--tan { background: var(--tan); }
.section--dark { background: var(--olive); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section h2 { color: var(--primary); }
.section--dark h2 { color: var(--white); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__head p:last-child { color: rgba(255,255,255,.78); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.split__media--tall img { aspect-ratio: 4 / 4.4; max-height: 620px; object-position: center 35%; }
.split__copy > p { color: var(--muted); }

.feature-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.feature-list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: var(--moss-dark);
  background: rgba(105,168,46,.12); -webkit-mask: none; mask: none; position: relative; }
.feature-list .icon::after { content: ""; position: absolute; inset: 10px; background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.feature-list strong { display: block; color: var(--primary); font-size: 1rem; margin-bottom: 2px; }

.stands { display: grid; gap: 14px; margin-top: 28px; }
.stand { background: var(--white); border-radius: 12px; padding: 20px 22px; border-left: 4px solid var(--moss); }
.stand h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 4px; }
.stand p { margin: 0; color: var(--muted); font-size: .95rem; }

.packages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 48px; }
.package { padding: 28px 22px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: background .2s, border-color .2s; }
.package:hover { background: rgba(255,255,255,.1); border-color: var(--moss); }
.package__n { display: block; font-size: .8rem; font-weight: 700; color: var(--moss); letter-spacing: .1em; margin-bottom: 26px; }
.package h3 { font-size: 1.35rem; margin: 0; }

.heritage { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.heritage figure { margin: 0; }
.heritage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); }
.heritage figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); font-style: italic; }

.policies { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.policy { background: var(--white); border-radius: var(--radius); padding: 34px; }
.policy h3 { color: var(--primary); font-size: 1.6rem; }
.policy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.policy li { position: relative; padding-left: 26px; color: var(--muted); }
.policy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--moss); }

.final { position: relative; padding: 120px 0; color: var(--white); text-align: center;
  background: linear-gradient(180deg, rgba(56,57,44,.55), rgba(15,44,27,.92)), url(/assets/img/food-plot.webp) center / cover no-repeat; }
.final h2 { color: var(--white); max-width: 18ch; margin-left: auto; margin-right: auto; }
.final p { font-size: 1.12rem; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.footer { background: var(--primary); color: rgba(255,255,255,.72); padding: 56px 0 40px; font-size: .9rem; text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 18px; }
.footer__inner > img { height: 70px; width: auto; }
.footer p { margin: 0; }
.footer a { color: var(--tan); text-decoration: none; }
.footer a:hover { color: var(--moss); }
.footer__contact { display: grid; gap: 4px; }
.footer__legal { font-size: .8rem; color: rgba(255,255,255,.5); }

.mobile-bar { display: none; }

/* Thank-you page */
.thanks { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 64px 0; text-align: center;
  background: linear-gradient(180deg, rgba(15,44,27,.78), rgba(15,44,27,.94)), url(/assets/img/food-plot.webp) center / cover no-repeat; color: var(--white); }
.thanks__card { max-width: 620px; margin: 0 auto; }
.thanks__badge { width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 36px no-repeat; }
.thanks h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); }
.thanks p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.thanks .final__actions { margin-top: 32px; }

/* Responsive */
@media (max-width: 1080px) {
  .packages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { border-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .section { padding: 72px 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .topbar__logo img { height: 44px; }
  .topbar__phone-text, .topbar__cta { display: none; }
  .topbar__phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: rgba(105,168,46,.12); }
  .hero__lede { font-size: 1.05rem; margin-bottom: 0; }
  .hero .checks { display: none; }
  .hero__grid { gap: 28px; padding-top: 36px; }
  .form-card { padding: 24px 20px; margin: 0 -4px; }
  .form-card__title { font-size: 1.7rem; }
  .packages { grid-template-columns: 1fr 1fr; }
  .package { padding: 22px 18px; }
  .package__n { margin-bottom: 14px; }
  .heritage, .policies { grid-template-columns: 1fr; }
  .policy { padding: 26px 22px; }
  .final { padding: 84px 0; }
  .final__actions .btn { width: 100%; }
  .proof__item { padding: 26px 12px; }
  .proof__num { font-size: 2rem; }

  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(15,44,27,.12); transition: transform .25s; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 600; text-decoration: none; }
  .mobile-bar__call { border: 2px solid var(--primary); color: var(--primary); }
  .mobile-bar__cta { background: var(--moss); color: var(--white); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero__media { background: url(/assets/img/deer-field.webp) center / cover; }
}
