/* Daisy's Stables — Sequel design system (styles.refero.design, sequel.co extraction)
   Fonts: VisueltPro -> Inter (substitute), Bradford -> Newsreader italic (substitute) */
:root {
  /* Colors */
  --color-void-black: #000000;
  --color-pure-white: #ffffff;
  --color-charcoal: #202020;
  --color-graphite: #333333;
  --color-lamp-cream: #f5f5f0;
  --color-smoke: #999999;

  /* Typography — Font Families */
  --font-visueltpro: 'VisueltPro', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-bradford: 'Bradford', 'Newsreader', 'Times New Roman', serif;

  /* Typography — Scale */
  --text-label-sm: 11px;
  --leading-label-sm: 1.5;
  --tracking-label-sm: 0.55px;
  --text-body: 16px;
  --leading-body: 1.5;
  --text-body-lg: 20px;
  --leading-body-lg: 1.5;
  --text-subheading: 30px;
  --leading-subheading: 1.2;
  --tracking-subheading: -0.75px;
  --text-heading: 54px;
  --leading-heading: 1.2;
  --text-heading-lg: 57px;
  --leading-heading-lg: 1;
  --text-display: 128px;
  --leading-display: 1;

  /* Typography — Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;

  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-28: 28px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-96: 96px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 112px;
  --element-gap: 16px;
  --gutter: 40px;

  /* Radii */
  --radius-lg: 10px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xl: rgba(0, 0, 0, 0.35) 0px 10px 30px 0px, rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset;
  --shadow-lg: rgba(0, 0, 0, 0.15) 0px 4px 20px 0px;

  /* Motion */
  --ease: cubic-bezier(0.625, 0.05, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--color-void-black); }
body {
  font-family: var(--font-visueltpro);
  font-feature-settings: "ss01" on, "cv11" on;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-pure-white);
  background: var(--color-void-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
/* warm-neutral, slightly desaturated film-stock treatment */
img:not(.nav__logo img):not(.footer__brand img), video { filter: saturate(0.82) contrast(1.02); }
a { color: inherit; text-decoration: none; }
::selection { background: var(--color-lamp-cream); color: var(--color-void-black); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(44px, 8.2vw, 116px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.heading-lg {
  font-size: clamp(38px, 4.8vw, 57px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.heading {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.subheading {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.title {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.body-lg { font-size: var(--text-body-lg); line-height: 1.5; }
.muted { color: var(--color-smoke); }
.caption {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-smoke);
}
/* Italic serif accent word — the one typographic flourish */
em.accent, .accent {
  font-family: var(--font-bradford);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-feature-settings: normal;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--gutter);
  background: transparent;
  transition: background-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav--scrolled, .nav.is-open { background: var(--color-void-black); padding-top: 12px; padding-bottom: 12px; }
.nav__logo { display: flex; align-items: center; gap: 12px; justify-self: start; }
.nav__logo img { width: 40px; height: 40px; filter: grayscale(1) brightness(1.25); }
.nav__logo span { font-size: 18px; font-weight: 500; letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 32px; list-style: none; justify-self: center; }
.nav__links a {
  font-size: 15px; font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"] { border-bottom: 1px solid var(--color-graphite); padding-bottom: 4px; }
.nav__cta { justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav__links .nav__mobile-cta { display: none; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; color: inherit;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px;
}
.nav__toggle span {
  display: block; width: 26px; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 16px; font-weight: 500; line-height: 1;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-lamp-cream);
  background: var(--color-lamp-cream);
  color: var(--color-void-black);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--color-pure-white); border-color: var(--color-pure-white); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--color-pure-white);
  color: var(--color-pure-white);
  padding: 0 20px;
  box-shadow: none;
}
.btn--ghost:hover { background: var(--color-pure-white); color: var(--color-void-black); }
.btn--sm { height: 40px; font-size: 15px; padding: 0 20px; }

/* ---------- Frosted glass badge ---------- */
.badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 11px; font-weight: 500; line-height: 1.5;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-pure-white);
  border-radius: var(--radius-full);
  background: rgba(200, 200, 200, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--shadow-xl);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-void-black);
}
@supports (height: 100svh) { .hero { height: 100svh; } }
.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__media::-webkit-media-controls,
.hero__media::-webkit-media-controls-start-playback-button,
.hero__media::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; opacity: 0; pointer-events: none; }
/* The only gradient in the system: a readability scrim */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 24%),
    linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 32%, rgba(0,0,0,0) 65%),
    rgba(0,0,0,0.18);
}
.hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 56px;
  max-width: calc(var(--page-max-width) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero__text { max-width: 900px; }
.hero__text .caption { color: var(--color-pure-white); opacity: 0.8; margin-bottom: 20px; }
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Sections & layout ---------- */
.band { padding: var(--section-gap) var(--gutter); }
.band--tight { padding-top: 64px; padding-bottom: 64px; }
.band + .band { padding-top: 0; }
.container { max-width: var(--page-max-width); margin: 0 auto; }
.section-head { margin-bottom: 48px; max-width: 820px; }
.section-head .caption { margin-bottom: 16px; }
.section-head p:not(.caption) { margin-top: 16px; color: var(--color-smoke); font-size: 18px; line-height: 1.4; }

/* ---------- Cinematic media cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card-grid > .media-card--wide { grid-column: 1 / -1; }
.media-card {
  position: relative; display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-charcoal);
  isolation: isolate;
}
.media-card--wide { aspect-ratio: 21 / 9; }
.media-card--land { aspect-ratio: 4 / 3; }
.media-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
a.media-card:hover img { transform: scale(1.035); }
.media-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0) 58%);
}
.media-card .badge { position: absolute; top: 20px; right: 20px; z-index: 2; }
.media-card__body { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; max-width: 520px; }
.media-card__body p { margin-top: 8px; color: rgba(255,255,255,0.78); }
.media-card__link { margin-top: 20px; gap: 8px; }
.media-card__link::after { content: "\2192"; transition: transform 0.3s var(--ease); }
a.media-card:hover .media-card__link { background: var(--color-pure-white); color: var(--color-void-black); border-color: var(--color-pure-white); }
a.media-card:hover .media-card__link::after { transform: translateX(4px); }

/* ---------- Split feature (elevated card) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  align-items: stretch;
}
.split > img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.split__body { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.split__body .caption { margin-bottom: 20px; }
.split__body h2 { margin-bottom: 24px; }
.split__body p:not(.caption) { color: rgba(255,255,255,0.78); }
.split__body p + p { margin-top: 12px; }
.split__body .btn { margin-top: 36px; align-self: flex-start; }
.split__body a.inline { border-bottom: 1px solid var(--color-smoke); color: var(--color-pure-white); }
.split--reverse > img { order: 2; }
.split--plain { background: transparent; border-radius: 0; gap: 16px; overflow: visible; }
.split--plain .split__body { background: var(--color-charcoal); border-radius: var(--radius-lg); }

/* ---------- Page head (interior) ---------- */
.page-head { padding: 176px var(--gutter) 56px; }
.page-head .caption { margin-bottom: 20px; }
.page-head h1 { max-width: 980px; }
.page-head .sub { margin-top: 24px; max-width: 560px; color: var(--color-smoke); font-size: var(--text-body-lg); }
.page-head .btn { margin-top: 32px; }

/* ---------- Product-style page hero (Boarding) ---------- */
.product { padding: 128px var(--gutter) var(--section-gap); }
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product__stage {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--color-charcoal);
}
.product__stage img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; margin-top: 8px; }
.product__thumb {
  padding: 0; border: 1px solid transparent; border-radius: 8px; overflow: hidden;
  background: var(--color-charcoal); cursor: pointer; aspect-ratio: 1 / 1;
  opacity: 0.55; transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb:hover { opacity: 0.85; }
.product__thumb.is-active { opacity: 1; border-color: var(--color-pure-white); }
.product__info { padding-top: 8px; }
.product__crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--color-smoke); margin-bottom: 24px; }
.product__crumbs a:hover { color: var(--color-pure-white); }
.product__info .caption { margin-bottom: 16px; }
.product__lede { margin-top: 20px; font-size: 18px; line-height: 1.4; color: var(--color-smoke); }
.product__facts {
  list-style: none; margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.product__facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; }
.product__facts svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-smoke); }
.product__group { margin-top: 28px; margin-bottom: -14px; color: var(--color-smoke); }
.product__addons { list-style: none; margin-top: 28px; display: grid; gap: 0; }
.product__addons li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-graphite); font-size: 15px; }
.product__addons li span { display: flex; align-items: center; gap: 10px; }
.product__addons li b { font-weight: 500; white-space: nowrap; }
.product__addons svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-smoke); }
.product__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 13px; color: rgba(255,255,255,0.85);
  border: 1px solid var(--color-graphite); border-radius: var(--radius-full);
}
.chip b { font-weight: 500; color: var(--color-pure-white); }
.chip svg { width: 16px; height: 16px; color: var(--color-smoke); }
.product__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--color-graphite); }
.product__amount { font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.product__per { font-size: 14px; color: var(--color-smoke); }
.product__note { font-size: 13px; color: var(--color-smoke); width: 100%; }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 900px) {
  .product { padding-top: 92px; padding-bottom: 64px; }
  .product__grid { grid-template-columns: 1fr; gap: 28px; }
  .product__stage { aspect-ratio: 4 / 3; }
  .product__thumbs { gap: 6px; }
  .product__thumb { border-radius: 6px; }
  .product__crumbs { margin-bottom: 16px; }
  .product__info .heading-lg { font-size: clamp(32px, 9vw, 40px); }
  .product__lede { font-size: 16px; margin-top: 16px; }
  .product__facts { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .product__facts li { font-size: 15px; }
  .product__chips { margin-top: 20px; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .product__price { margin-top: 24px; padding-top: 20px; }
  .product__amount { font-size: 36px; }
  .product__actions { margin-top: 20px; }
  .product__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 521px) and (max-width: 900px) {
  .product__facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- Carousel ---------- */
.carousel { padding: 0 var(--gutter) var(--section-gap); }
.carousel__stage {
  position: relative;
  max-width: var(--page-max-width); margin: 0 auto;
  height: 68vh; min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-charcoal);
}
.carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.carousel__slide.is-active { opacity: 1; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.carousel__slide.is-active img { transform: scale(1); }
.carousel__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 45%);
}
.carousel__caption { position: absolute; left: 32px; bottom: 32px; z-index: 1; max-width: 520px; }
.carousel__caption .sub { margin-top: 6px; color: rgba(255,255,255,0.75); font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; }
.carousel__bars {
  max-width: var(--page-max-width); margin: 0 auto;
  display: flex; gap: 8px; padding-top: 20px;
}
.carousel__bar {
  flex: 1; max-width: 120px; height: 2px;
  border: none; cursor: pointer; padding: 0;
  background: var(--color-graphite);
  position: relative; overflow: hidden;
  border-radius: var(--radius-full);
}
.carousel__bar::before { content: ""; position: absolute; inset: -12px 0; }
.carousel__bar .fill { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--color-pure-white); }
.carousel__bar.is-active .fill { animation: carouselFill 5s linear forwards; }
.carousel__bar.is-done .fill { transform: scaleX(1); }
@keyframes carouselFill { to { transform: scaleX(1); } }

/* ---------- Feature cards (was ranch cards) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid--three { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 200px;
  display: flex; flex-direction: column;
  text-align: left;
  transition: background-color 0.3s var(--ease);
}
.feature-card svg { width: 32px; height: 32px; stroke: var(--color-pure-white); stroke-width: 1.5; margin-bottom: auto; }
.feature-card .title { margin-top: 40px; }
.feature-card > p:not(.title) { margin-top: 10px; color: var(--color-smoke); }
.feature-card--toggle { cursor: pointer; user-select: none; }
.feature-card--toggle:hover, .feature-card--toggle:focus-visible { background: #282828; outline: none; }
.feature-card__more {
  margin-top: 12px;
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-smoke);
}
.feature-card__more::before { content: "+ "; }
.feature-card__detail {
  max-height: 0; overflow: hidden; opacity: 0;
  color: var(--color-smoke);
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease), margin-top 0.3s var(--ease);
}
.feature-card.is-expanded .feature-card__detail { max-height: 160px; opacity: 1; margin-top: 10px; }
.feature-card.is-expanded .feature-card__more { display: none; }

/* ---------- Code list ---------- */
.code-list { list-style: none; }
.code-list li {
  display: flex; align-items: baseline; gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-graphite);
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2;
}
.code-list li:last-child { border-bottom: none; }
.code-list li span:first-child { font-family: var(--font-bradford); font-style: italic; font-weight: 500; color: var(--color-smoke); min-width: 24px; }

/* ---------- People / horses ---------- */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 800px; }
.horse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person .headshot {
  width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--color-charcoal);
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 20px;
}
.horse-grid .person .headshot { aspect-ratio: 1 / 1; }
.person .headshot { overflow: hidden; }
.person .headshot:has(img) { padding: 0; }
.person .headshot img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.person__body { padding: 20px 4px 12px; }
.person__body .caption { margin-bottom: 8px; }
.person__body p:not(.caption) { margin-top: 8px; color: var(--color-smoke); }

/* ---------- Inquiry (photo + form card) ---------- */
.inquire { position: relative; padding: var(--section-gap) var(--gutter); overflow: hidden; }
.inquire__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inquire__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); }
.form-card {
  position: relative;
  max-width: 680px; margin: 0 auto;
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.form-card .section-head { margin-bottom: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 500; line-height: 1.5;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-smoke);
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit; font-size: 16px; line-height: 1.5;
  padding: 14px 16px;
  border: 1px solid var(--color-graphite);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-pure-white);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  color-scheme: dark;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #555; }
.field select option { background: var(--color-charcoal); color: var(--color-pure-white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-lamp-cream); background: rgba(255, 255, 255, 0.07); }
.field textarea { min-height: 140px; resize: vertical; }
form .btn { margin-top: 36px; }
.form-note { margin-top: 20px; font-size: 14px; color: var(--color-smoke); }

/* ---------- Contact hero ---------- */
.contact-hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px var(--gutter) 80px; overflow: hidden; }
@supports (height: 100svh) { .contact-hero { min-height: 100svh; } }
.contact-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-hero .form-card { width: 100%; }

/* ---------- Map ---------- */
.map-band { position: relative; padding: 0 var(--gutter) var(--section-gap); }
.map-band__frame {
  position: relative; max-width: var(--page-max-width); margin: 0 auto;
  height: 60vh; min-height: 400px;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--color-charcoal);
}
.map-band iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(0.92) contrast(0.88); }
.map-band .badge { position: absolute; top: 20px; right: 20px; }
.map-band .btn { position: absolute; left: 28px; bottom: 28px; }

/* ---------- Footer ---------- */
.footer { padding: var(--section-gap) var(--gutter) 40px; border-top: 1px solid var(--color-graphite); }
.footer__inner { max-width: var(--page-max-width); margin: 0 auto; }
.footer__display { margin-bottom: 96px; max-width: 1000px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--color-graphite);
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 56px; height: 56px; filter: grayscale(1) brightness(1.25); }
.footer__brand .name { font-size: 18px; font-weight: 500; letter-spacing: -0.03em; }
.footer__brand p:not(.name) { margin-top: 4px; color: var(--color-smoke); max-width: 320px; }
.footer h4 { margin-bottom: 16px; font-weight: 400; }
.footer ul { list-style: none; }
.footer ul li { padding: 4px 0; color: rgba(255,255,255,0.85); }
.footer ul a { transition: opacity 0.2s var(--ease); }
.footer ul a:hover { opacity: 0.6; }
.footer__meta { padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Statement (success page) ---------- */
.statement { max-width: 720px; text-align: left; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .horse-grid { grid-template-columns: repeat(2, 1fr); }
  .split__body { padding: 48px 40px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --section-gap: 80px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    justify-self: stretch; width: 100%;
    background: var(--color-void-black);
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--color-graphite);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { display: block; padding: 16px 0; font-size: 24px; font-weight: 300; letter-spacing: -0.025em; border-bottom: 1px solid var(--color-graphite) !important; }
  .nav__links a[aria-current="page"] { padding-bottom: 16px; }
  .nav__links .nav__mobile-cta { display: block; margin-top: 24px; }
  .nav__links .nav__mobile-cta a { border: 1px solid var(--color-lamp-cream) !important; font-size: 16px; font-weight: 500; letter-spacing: 0; padding: 0 24px; display: inline-flex; opacity: 1; }
  .hero__content { flex-direction: column; align-items: flex-start; gap: 28px; bottom: 36px; }
  .card-grid, .split, .form-grid, .people-grid, .feature-grid--three { grid-template-columns: 1fr; }
  .media-card--wide { aspect-ratio: 4 / 5; }
  .split > img { min-height: 0; aspect-ratio: 4 / 3; }
  .split--reverse > img { order: 0; }
  .split__body { padding: 40px 24px; }
  .page-head { padding-top: 132px; padding-bottom: 40px; }
  .carousel__stage { height: 56vh; }
  .carousel__caption { left: 20px; right: 20px; bottom: 24px; }
  .form-card { padding: 36px 24px; }
  .footer__display { margin-bottom: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-hero { padding-top: 110px; align-items: flex-start; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .media-card__body { left: 20px; right: 20px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .carousel__bar.is-active .fill { transform: scaleX(1); }
  .carousel__slide img { transform: none; }
}
