/* ============================================================================
   Equestrian Acres RV Park
   Hand-authored from the Claude Design export (design-export/Homepage.dc.html)
   and the design system (design-system-export/). Tokens below are copied
   verbatim from the design system's token files — do not hand-edit values here;
   re-pull the design system and re-copy instead.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS — verbatim from design-system-export/tokens/
   -------------------------------------------------------------------------- */

:root {
  /* --- Colour ramps, sampled from the entrance sign and the pasture --- */
  /* Oak — the carved sign board, sun-bleached cedar */
  --oak-50: #FBF6EA;  --oak-100: #F6EDD9; --oak-200: #EEDFBE;
  --oak-300: #E0C99B; --oak-400: #C9A264; --oak-500: #A9813F;
  /* Walnut — the stained frame, posts and routed letters */
  --walnut-400: #8A6440; --walnut-500: #6B4A2F; --walnut-600: #513622;
  --walnut-700: #3A2618; --walnut-800: #2A1B10; --walnut-900: #1B1109;
  /* Pine — the green tagline band, run-in shelters' shade, treeline */
  --pine-200: #CBDFCF; --pine-300: #7FA98A; --pine-400: #4E7F5C;
  --pine-500: #2E5A3C; --pine-600: #1F4030; --pine-700: #142C20;
  /* Pasture — mown grass in the aerial */
  --pasture-300: #A9C46B; --pasture-400: #6E9B3E; --pasture-500: #4E7A32;
  /* Sky — the blue over the sign */
  --sky-200: #CFE5F2; --sky-300: #9CC8E4; --sky-500: #4A90C4; --sky-700: #2C5F86;
  /* Gravel — the pull-through pads and drive */
  --gravel-50: #F4F2ED;  --gravel-100: #E7E3DA; --gravel-200: #D3CDC1;
  --gravel-300: #B4ADA0; --gravel-400: #8B8476; --gravel-500: #645E53;
  /* Utility */
  --white: #FFFFFF; --paper: #FFFDF7;

  /* --- Semantic aliases --- */
  --surface-page: var(--oak-50);
  --surface-card: var(--paper);
  --surface-sunken: var(--gravel-50);
  --surface-inverse: var(--walnut-800);
  --surface-board: var(--oak-100);
  --surface-band: var(--pine-600);
  --surface-accent-soft: var(--pine-200);

  --text-body: var(--walnut-700);
  --text-muted: var(--gravel-500);
  --text-heading: var(--walnut-800);
  --text-inverse: var(--oak-100);
  --text-inverse-muted: var(--oak-300);
  --text-accent: var(--pine-600);
  --text-link: var(--pine-500);
  --text-link-hover: var(--pine-700);

  --border-hairline: #E2D8C4;
  --border-strong: var(--oak-300);
  --border-inverse: rgba(246, 237, 217, .22);
  --border-focus: var(--pine-500);

  --accent-primary: var(--pine-600);
  --accent-primary-hover: var(--pine-700);
  --accent-warm: var(--oak-400);
  --accent-warm-hover: var(--oak-500);

  --focus-ring: 0 0 0 3px rgba(46, 90, 60, .30);
  --overlay-scrim: rgba(27, 17, 9, .58);

  /* --- Type --- */
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-serif: "Lora", Georgia, serif;
  --font-label: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --fs-h2: 26px;
  --fs-body-lg: 19px;
  --fs-body: 17px;
  --fs-body-sm: 15px;
  --fs-eyebrow: 13px;

  --lh-heading: 1.2;
  --lh-snug: 1.4;
  --lh-body: 1.62;
  --ls-eyebrow: .22em;

  /* --- Space --- */
  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --container-max: 1180px;
  --container-narrow: 760px;
  --section-y: var(--space-9);
  --section-x: var(--space-6);

  /* --- Radius --- */
  --radius-xs: 2px; --radius-sm: 4px;  --radius-md: 6px;
  --radius-lg: 10px; --radius-xl: 16px;

  /* --- Elevation — warm shadows, never neutral gray --- */
  --shadow-xs: 0 1px 2px rgba(42, 27, 16, .08);
  --shadow-sm: 0 1px 3px rgba(42, 27, 16, .10), 0 1px 1px rgba(42, 27, 16, .06);
  --shadow-md: 0 4px 14px rgba(42, 27, 16, .12);
  --shadow-lg: 0 14px 34px rgba(42, 27, 16, .16);
  --shadow-carve-out: inset 0 1px 0 rgba(255, 253, 247, .6), inset 0 -1px 0 rgba(42, 27, 16, .14);

  /* --- Motion --- */
  --ease-standard: cubic-bezier(.32, .72, .35, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --transition-control:
    background-color var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}

/* Tighter rhythm on small screens. */
@media (max-width: 720px) {
  :root {
    --section-y: var(--space-8);
    --section-x: 20px;
    --fs-h2: 23px;
    --fs-body-lg: 18px;
  }
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--text-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text-link-hover); }

img { max-width: 100%; }

::selection { background: var(--oak-300); color: var(--walnut-800); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Skip link — visible only on keyboard focus. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--surface-card);
  color: var(--text-accent);
  font-family: var(--font-label);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

.section {
  padding: var(--section-y) var(--section-x);
  background: var(--surface-page);
}
.section--inverse {
  background: var(--surface-inverse);
  color: var(--text-inverse);
}
.section--narrow > .container { max-width: var(--container-narrow); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

/* Two-column split that collapses on its own at ~720px of content.
   min() keeps the 320px track from overflowing on very narrow phones. */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--space-7);
  align-items: start;
}
.split--center { align-items: center; }

/* --------------------------------------------------------------------------
   4. TYPE HELPERS
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-label);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-accent);
}
.eyebrow--inverse { color: var(--oak-300); }
.eyebrow--muted { color: var(--text-muted); }

.prose { max-width: 56ch; }
.prose p { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); }
.prose p + p { margin-top: var(--space-4); }

/* SectionHeading component */
.heading { display: flex; flex-direction: column; gap: var(--space-3); }
.heading__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  color: var(--text-heading);
}
.heading__lede {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-body-lg);
  color: var(--text-body);
}
.heading--center { align-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
.heading--inverse .heading__title { color: var(--text-inverse); }
.heading--inverse .heading__lede { color: var(--text-inverse-muted); }

/* --------------------------------------------------------------------------
   5. BUTTON — mirrors design-system-export/components/core/Button.jsx
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 var(--space-5);
  font-family: var(--font-label);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: var(--transition-control), transform var(--dur-fast) var(--ease-standard);
}
.btn:active { transform: translateY(1px); }

.btn--sm { height: 36px; padding: 0 var(--space-4); font-size: var(--fs-eyebrow); }
.btn--lg { height: 56px; padding: 0 var(--space-6); font-size: var(--fs-body); letter-spacing: .09em; }

.btn--primary {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--oak-50);
}
.btn--primary:hover { background: var(--accent-primary-hover); color: var(--oak-50); }

.btn--warm {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: var(--walnut-800);
}
.btn--warm:hover { background: var(--accent-warm-hover); color: var(--walnut-800); }

.btn--inverse {
  background: var(--oak-100);
  border-color: var(--oak-100);
  color: var(--walnut-800);
}
.btn--inverse:hover { background: var(--white); color: var(--walnut-800); }

.btn__icon { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--sm .btn__icon { width: 15px; height: 15px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   6. HEADER / NAV — mirrors NavBar.jsx, plus a mobile menu the DS lacks
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: transparent;
  transition: background var(--dur-base) var(--ease-standard),
              backdrop-filter var(--dur-base) var(--ease-standard);
}
.header.is-scrolled,
.header.is-menu-open {
  background: rgba(255, 253, 247, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: 18px var(--section-x);
  max-width: var(--container-max);
  margin: 0 auto;
  border-bottom: 1px solid var(--border-inverse);
  transition: border-color var(--dur-base) var(--ease-standard);
}
.header.is-scrolled .header__bar,
.header.is-menu-open .header__bar { border-bottom-color: var(--border-hairline); }

.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--oak-100);
  transition: color var(--dur-base) var(--ease-standard);
}
.brand__sub {
  margin-top: 4px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--oak-300);
  transition: color var(--dur-base) var(--ease-standard);
}
.header.is-scrolled .brand__name,
.header.is-menu-open .brand__name { color: var(--walnut-700); }
.header.is-scrolled .brand__sub,
.header.is-menu-open .brand__sub { color: var(--pine-600); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link {
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--oak-300);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
.nav__link:hover { color: var(--oak-100); border-bottom-color: var(--oak-300); }
.header.is-scrolled .nav__link { color: var(--text-body); }
.header.is-scrolled .nav__link:hover { color: var(--text-accent); border-bottom-color: var(--accent-primary); }

.header__cta { margin-left: 0; }
.header.is-scrolled .header__cta {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--oak-50);
}
.header.is-scrolled .header__cta:hover { background: var(--accent-primary-hover); }

/* Mobile menu button — hidden on desktop */
.menu-btn {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-inverse);
  border-radius: var(--radius-sm);
  color: var(--oak-100);
  cursor: pointer;
  transition: var(--transition-control);
}
.header.is-scrolled .menu-btn,
.header.is-menu-open .menu-btn { color: var(--walnut-700); border-color: var(--border-hairline); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

.mobile-nav {
  display: none;
  background: rgba(255, 253, 247, .97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
  padding: var(--space-2) var(--section-x) var(--space-5);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__link {
  display: block;
  padding: 14px 0;
  font-family: var(--font-label);
  font-size: 16px;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-hairline);
}
.mobile-nav__link:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: var(--space-4); width: 100%; }

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--walnut-800) url("assets/park-aerial.jpg") center / cover no-repeat;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, .35) 70%,
    rgba(0, 0, 0, .72) 100%
  );
}
.hero__inner {
  position: relative;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--section-x) var(--space-7);
}
.hero__eyebrow {
  margin: 0;
  font-family: var(--font-label);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--oak-300);
  line-height: var(--lh-snug);
}
.hero__lede {
  margin: var(--space-3) 0 0;
  max-width: 46ch;
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--oak-50);
}
.hero .btn-row { margin-top: 22px; }

/* --------------------------------------------------------------------------
   8. THE SIGN
   -------------------------------------------------------------------------- */

.sign__quote {
  margin: var(--space-4) 0 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.35;
  color: var(--text-inverse);
}
.sign__note {
  margin: 14px 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-inverse-muted);
}
.sign__photo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  justify-self: end;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) {
  .sign__photo { justify-self: stretch; }
}

/* --------------------------------------------------------------------------
   9. AMENITIES — mirrors AmenityTile.jsx
   -------------------------------------------------------------------------- */

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--space-7);
  margin-top: var(--space-7);
}
.column__label {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: var(--space-5);
}
.tiles { display: grid; gap: var(--space-4); }

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  color: var(--text-body);
}
.tile__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-accent-soft);
  color: var(--pine-600);
}
.tile__icon svg { width: 22px; height: 22px; }
.tile__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--text-heading);
}
.tile__body {
  font-size: var(--fs-body-sm);
  line-height: 1.55;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. STAY CARDS — mirrors Card.jsx (plain)
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-5);
  margin-top: 40px;
}
.card {
  padding: var(--space-5);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card p {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */

.faq { margin-top: var(--space-6); }
.faq__item { padding: 22px 0; border-top: 1px solid var(--border-hairline); }
.faq__q {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--text-heading);
}
.faq__a {
  margin: var(--space-2) 0 0;
  max-width: 60ch;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   12. BOOKING CLOSE + SIGNBOARD — mirrors SignBoard.jsx (md)
   -------------------------------------------------------------------------- */

.booking__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  flex-wrap: wrap;
}
.booking__copy { max-width: 46ch; }
.booking__copy .btn-row { margin-top: 28px; }

.signboard {
  display: inline-block;
  text-align: center;
  background: var(--surface-board);
  border: 2px solid var(--walnut-600);
  border-radius: var(--radius-lg);
  padding: 26px var(--space-6);
  box-shadow: var(--shadow-carve-out), var(--shadow-sm);
}
.signboard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: .03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--walnut-700);
}
.signboard__sub {
  margin-top: 6px;
  font-family: var(--font-label);
  font-size: var(--fs-body-sm);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pine-600);
}
.signboard__band {
  margin-top: 14px;
  padding: var(--space-2) var(--space-4);
  background: var(--surface-band);
  color: var(--oak-100);
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
}
.signboard__foot {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--walnut-600);
}
@media (max-width: 720px) {
  .signboard { display: block; padding: 22px var(--space-5); }
  .signboard__title { font-size: 28px; }
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */

.footer {
  background: var(--surface-inverse);
  color: var(--text-inverse);
  padding: 0 var(--section-x) var(--space-6);
}
.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-inverse);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: baseline; gap: 14px; }
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.footer__sub, .footer__meta {
  font-family: var(--font-label);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--oak-300);
}
.footer__sub { letter-spacing: .34em; }
.footer__meta { letter-spacing: .18em; }
