/* ==========================================================================
   Leeward Dog & Horse Co. — brand palette, drawn from the logo
   Palette: bone cream, sand/greige, forest-green anchor (#2d311a), muted brass accent
   Type: Zodiak (editorial serif display) + Satoshi (neo-grotesque body)
   ========================================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
  --text-3xl: clamp(2.375rem, 1.4rem + 3.4vw, 4.25rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colour */
  --cream: #f5f3e8;
  --shell: #edeade;
  --sand: #ddd8c4;
  --greige: #aaa68d;
  --greige-ink: #6d6a54; /* greige darkened to clear 4.5:1 for small text */
  --line: #d6d1bb;
  --forest: #2d311a;
  --forest-2: #3b4025;
  --muted: #575c45;
  --brass: #7f5d2c; /* darkened from #8c6a34 so brass text clears 4.5:1 on the shell surface */
  --brass-lt: #c9a25e;

  --bg: var(--cream);
  --fg: var(--forest);

  /* Layout */
  --wrap: 74rem;
  --wrap-narrow: 44rem;
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Zodiak", "Iowan Old Style", Georgia, serif;
  --font-body: "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-soft: 0 1px 2px rgba(45, 49, 26, 0.04), 0 12px 32px -18px rgba(45, 49, 26, 0.18);
}

/* --------------------------------------------------------------- reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
picture,
svg {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 200;
  background: var(--forest);
  color: var(--cream);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: var(--space-4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- type */
.display {
  font-family: var(--font-display);
  font-weight: 400;
}
.h-hero {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.06;
  letter-spacing: -0.022em;
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.14;
  letter-spacing: -0.018em;
}
.h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 var(--space-5);
}
.eyebrow--light {
  color: var(--brass-lt);
}
.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}
.muted {
  color: var(--muted);
}
.prose p + p {
  margin-top: var(--space-5);
}
.prose > * + h3 {
  margin-top: var(--space-10);
}
.prose h3 + p {
  margin-top: var(--space-3);
}
.prose ul {
  list-style: none;
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-3);
}
.prose ul li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--muted);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--brass);
}

/* --------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
@media (min-width: 60rem) {
  .wrap {
    padding-inline: var(--space-10);
  }
}
.narrow {
  max-width: var(--wrap-narrow);
}
.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.section--shell {
  background: var(--shell);
}
.section--forest {
  background: var(--forest);
  color: var(--cream);
}
.section--forest .muted,
.section--forest .lede {
  color: #c9c9b2;
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 232, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--forest);
  flex-shrink: 0;
  min-width: 0;
}
.brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
/* Mark ~2.353:1, wordmark ~2.285:1 — heights set so the two optically balance. */
.brand__mark {
  height: 32px;
  width: 75px;
  flex: none;
}
.brand__word {
  height: 24px;
  width: 55px;
  flex: none;
}
@media (max-width: 25.9375rem) {
  .brand__lockup {
    gap: 0.5rem;
  }
  .brand__mark {
    height: 28px;
    width: 66px;
  }
  .brand__word {
    height: 21px;
    width: 48px;
  }
}
@media (max-width: 20.9375rem) {
  /* Very narrow phones: the mark alone, never a squashed lockup. */
  .brand__word {
    display: none;
  }
}
.brand__stack {
  width: 190px;
  height: auto;
  max-width: 60vw;
}
.nav {
  display: none;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--forest);
  padding-block: var(--space-2);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header .header__cta {
  display: none;
}
@media (min-width: 62rem) {
  .nav {
    display: block;
  }
  .header .header__cta {
    display: inline-flex;
  }
  .header .nav-toggle {
    display: none;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: 1px solid var(--line);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 15px;
}
.nav-toggle__bars i {
  height: 1px;
  background: var(--forest);
  display: block;
}

.mobile-nav {
  position: fixed;
  inset: 4.25rem 0 auto;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: var(--space-6) var(--space-6) var(--space-10);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.28s;
  z-index: 99;
  max-height: calc(100vh - 4.25rem);
  overflow-y: auto;
}
.mobile-nav[data-open="true"] {
  opacity: 1;
  transform: none;
  visibility: visible;
}
.mobile-nav ul {
  list-style: none;
  display: grid;
  gap: var(--space-1);
}
.mobile-nav a {
  display: block;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.375rem;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn {
  margin-top: var(--space-6);
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------- buttons */
.btn {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
  text-align: center;
  line-height: 1.3;
}
.btn--primary {
  background: var(--forest);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--forest-2);
}
.btn--ghost {
  border-color: var(--greige);
  color: var(--forest);
}
.btn--ghost:hover {
  border-color: var(--forest);
  background: rgba(45, 49, 26, 0.04);
}
.btn--light {
  background: var(--cream);
  color: var(--forest);
}
.btn--light:hover {
  background: #fff;
}
.btn--outline-light {
  border-color: rgba(245, 243, 232, 0.4);
  color: var(--cream);
}
.btn--outline-light:hover {
  border-color: var(--cream);
  background: rgba(245, 243, 232, 0.08);
}
.btn--sm {
  padding: 0.6rem 1.05rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  color: var(--forest);
}
.link-arrow svg {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(88svh, 46rem);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(30, 33, 17, 0.4) 0%,
      rgba(30, 33, 17, 0.22) 26%,
      rgba(30, 33, 17, 0.72) 72%,
      rgba(24, 27, 13, 0.9) 100%
    ),
    linear-gradient(
      92deg,
      rgba(30, 33, 17, 0.5) 0%,
      rgba(30, 33, 17, 0.2) 52%,
      rgba(30, 33, 17, 0) 78%
    );
}
.hero__inner {
  padding-block: clamp(var(--space-16), 12vw, var(--space-24));
  max-width: 46rem;
}
.hero .h-hero {
  color: #fff;
  text-shadow: 0 1px 24px rgba(45, 49, 26, 0.35);
}
.hero__sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: #f0eee2;
  max-width: 34rem;
  text-shadow: 0 1px 14px rgba(24, 27, 13, 0.55);
}
.hero .btn-row {
  margin-top: var(--space-8);
}
.hero__scarcity {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e0bd7c;
  font-weight: 700;
  text-shadow: 0 1px 12px rgba(24, 27, 13, 0.7);
}

/* page header (interior pages) */
.pagehead {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-10), 5vw, var(--space-16));
  border-bottom: 1px solid var(--line);
}
.pagehead__grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 56rem) {
  .pagehead__grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: end;
    gap: var(--space-16);
  }
}
.pagehead .lede {
  max-width: 34rem;
}

/* --------------------------------------------------------------- trust strip */
.trust {
  background: var(--forest);
  color: var(--cream);
}
.trust ul {
  list-style: none;
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-10);
}
@media (min-width: 48rem) {
  .trust ul {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
  }
}
.trust li {
  font-size: var(--text-sm);
  line-height: 1.4;
  padding-left: var(--space-5);
  border-left: 1px solid rgba(201, 162, 94, 0.5);
  color: #e4e2d3;
}
.trust strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: var(--space-1);
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------- two-col */
.split {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(var(--space-12), 6vw, var(--space-24));
  }
  .split--wide-text {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .split--flip .split__media {
    order: 2;
  }
}
.split__media figure {
  margin: 0;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius);
}
figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.section-head {
  max-width: 42rem;
}
.section-head .h1,
.section-head .h2 {
  margin-bottom: var(--space-5);
}

/* --------------------------------------------------------------- steps */
.steps {
  list-style: none;
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
  counter-reset: step;
}
@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10) var(--space-12);
  }
}
@media (min-width: 72rem) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.steps li {
  counter-increment: step;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin-bottom: var(--space-3);
}
.steps h3 {
  margin-bottom: var(--space-2);
}
.steps p {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* --------------------------------------------------------------- cards */
.cards {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 56rem) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
}
.section--shell .card {
  background: #fff;
}
.card--featured {
  border-color: var(--forest);
  box-shadow: var(--shadow-soft);
}
.card__flag {
  position: absolute;
  top: 0;
  left: var(--space-6);
  transform: translateY(-50%);
  background: var(--forest);
  color: var(--cream);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius);
}
.card__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin: var(--space-3) 0 var(--space-2);
  letter-spacing: -0.015em;
}
.card .card__price {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.card__price small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: var(--space-2);
  font-weight: 700;
}
.card p {
  font-size: var(--text-sm);
  color: var(--muted);
}
.card ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  margin: var(--space-5) 0 var(--space-8);
  font-size: var(--text-sm);
}
.card ul li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--muted);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 1px;
  background: var(--brass);
}
.card .btn {
  margin-top: auto;
}

/* feature list (the Leeward difference) */
.features {
  list-style: none;
  display: grid;
  gap: var(--space-8) var(--space-12);
  margin-top: var(--space-12);
}
@media (min-width: 44rem) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 68rem) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.features li {
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
}
.section--forest .features li {
  border-top-color: rgba(201, 162, 94, 0.4);
}
.features h3 {
  margin-bottom: var(--space-2);
}
.features p {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* --------------------------------------------------------------- niche */
.niche {
  display: grid;
  gap: var(--space-10);
  margin-top: var(--space-12);
}
@media (min-width: 56rem) {
  .niche {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
  }
}
.niche article {
  display: flex;
  flex-direction: column;
}
.niche img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-6);
}
.niche h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.niche p {
  color: var(--muted);
  font-size: var(--text-sm);
}
.niche .link-arrow {
  margin-top: var(--space-6);
  align-self: flex-start;
}

/* --------------------------------------------------------------- quotes */
.quotes {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 56rem) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}
.quote {
  margin: 0;
  border-top: 1px solid rgba(201, 162, 94, 0.4);
  padding-top: var(--space-6);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.quote figcaption {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brass-lt);
}

/* --------------------------------------------------------------- area */
.area {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 56rem) {
  .area {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-16);
    align-items: start;
  }
}
.area__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--space-3) var(--space-5);
}
.area__list li {
  font-size: var(--text-sm);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  align-items: baseline;
}
.area__list a {
  text-decoration: none;
  color: var(--forest);
  border-bottom: 1px solid var(--brass);
}
.area__list span {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--greige-ink);
  white-space: nowrap;
}
.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: var(--space-6);
}
.map svg {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------- accordion */
.faq {
  margin-top: var(--space-12);
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  background: none;
  border: 0;
  padding: var(--space-5) 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.4;
}
.faq__q:hover {
  color: var(--brass);
}
.faq__icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.35em;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--brass);
  transition: transform 0.3s var(--ease);
}
.faq__icon::before {
  inset: 6px 0 auto;
  height: 1px;
}
.faq__icon::after {
  inset: 0 6px auto;
  width: 1px;
  height: 13px;
}
.faq__q[aria-expanded="true"] .faq__icon::after {
  transform: scaleY(0);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq__a > div {
  overflow: hidden;
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a p {
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 52ch;
  padding-bottom: var(--space-6);
}
.faq__a p + p {
  margin-top: var(--space-4);
}

/* --------------------------------------------------------------- table */
.table-wrap {
  margin-top: var(--space-10);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 30rem;
  font-size: var(--text-sm);
}
caption {
  text-align: left;
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}
th,
td {
  text-align: left;
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
td:last-child,
th:last-child {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}
td strong {
  font-weight: 500;
  display: block;
}
td span {
  color: var(--muted);
  font-size: var(--text-xs);
  display: block;
  margin-top: var(--space-1);
}

/* --------------------------------------------------------------- timeline */
.timeline {
  list-style: none;
  margin-top: var(--space-10);
  display: grid;
  gap: 0;
}
.timeline li {
  display: grid;
  gap: var(--space-1) var(--space-6);
  grid-template-columns: 4.5rem 1fr;
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.timeline time {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass);
  white-space: nowrap;
}
.timeline p {
  font-size: var(--text-sm);
  color: var(--muted);
  grid-column: 2;
}
.timeline h3 {
  font-size: var(--text-base);
  font-weight: 500;
}

/* --------------------------------------------------------------- callout */
.callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass);
  background: var(--shell);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius);
  margin-top: var(--space-10);
}
.section--shell .callout {
  background: #fff;
}
.callout p {
  font-size: var(--text-sm);
  color: var(--muted);
}
.callout .h3 {
  margin-bottom: var(--space-3);
}

.update-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
  font-size: var(--text-sm);
}
.update-card__head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-5);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  flex-wrap: wrap;
}
.update-card dl {
  margin: 0;
  display: grid;
  gap: var(--space-4);
}
.update-card dt {
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-1);
}
.update-card dd {
  margin: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------- form */
.form-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 44rem) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid .f-full {
    grid-column: 1 / -1;
  }
}
.field label,
.fieldset legend {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s var(--ease);
}
.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--greige);
}
.field textarea {
  min-height: 8rem;
  resize: vertical;
}
.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.check-grid {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
@media (min-width: 34rem) {
  .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 60rem) {
  .check-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  cursor: pointer;
  color: var(--muted);
}
.check input {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: 0.22em 0 0;
  accent-color: var(--forest);
}
.form-note {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: var(--space-3);
}
.form-actions {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}
.form-success {
  border: 1px solid var(--forest);
  background: var(--shell);
  border-radius: var(--radius);
  padding: var(--space-10) var(--space-8);
  margin-top: var(--space-10);
}
.form-success .h2 {
  margin-bottom: var(--space-4);
}
[hidden] {
  display: none !important;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-6);
}
.contact-list dt,
.contact-list .lbl {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: var(--space-2);
}
.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
}
.contact-list .big {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------- cta band */
.cta-band {
  background: var(--forest);
  color: var(--cream);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.cta-band .h1 {
  color: #fff;
  max-width: 30rem;
}
.cta-band__grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 56rem) {
  .cta-band__grid {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--space-16);
  }
}
.cta-band p {
  margin-top: var(--space-5);
  color: #c9c9b2;
  max-width: 32rem;
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------- footer */
.footer {
  background: var(--forest);
  color: #c9c9b2;
  border-top: 1px solid rgba(201, 162, 94, 0.28);
  padding-block: var(--space-16) var(--space-10);
  font-size: var(--text-sm);
}
.footer__grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 48rem) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-10);
  }
}
.footer .brand {
  color: var(--cream);
  display: block;
}
@media (min-width: 48rem) {
  .footer .brand__stack {
    width: 210px;
  }
}
.footer h2 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-lt);
  font-weight: 700;
  margin-bottom: var(--space-5);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.footer a {
  text-decoration: none;
  color: #dad9c4;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__blurb {
  margin-top: var(--space-5);
  max-width: 26rem;
  color: #b3b49a;
  font-size: var(--text-sm);
}
.footer__bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(245, 243, 232, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #9c9d82;
}

/* --------------------------------------------------------------- media band */
.band {
  position: relative;
}
.band img {
  width: 100%;
  height: clamp(16rem, 42vw, 30rem);
  object-fit: cover;
}
.band figcaption {
  margin: 0;
  padding: var(--space-4) 0 0;
}

/* --------------------------------------------------------------- motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ------------------------------------------- dark-section text contrast */
.section--forest p,
.section--forest li,
.section--forest .features p,
.section--forest .card p,
.section--forest .split p,
.section--forest figcaption {
  color: #d3d3bd;
}
.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4,
.section--forest strong {
  color: var(--cream);
}

/* -------------------------------------- ghost buttons on dark surfaces */
.section--forest .btn--ghost,
.cta-band .btn--ghost,
.hero .btn--ghost {
  background: transparent;
  border-color: rgba(245, 243, 232, 0.45);
  color: var(--cream);
}
.section--forest .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.hero .btn--ghost:hover {
  background: rgba(245, 243, 232, 0.1);
  border-color: var(--cream);
}

.section--forest .eyebrow,
.cta-band .eyebrow,
.section--forest .quote figcaption {
  color: var(--brass-lt);
}
.section--forest blockquote {
  color: var(--cream);
}

/* -------------------------------------------- hero refinements (mobile) */
@media (max-width: 36rem) {
  .hero {
    min-height: min(92svh, 40rem);
  }
  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn-row .btn {
    width: 100%;
  }
}

@media (max-width: 36rem) {
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(45, 49, 26, 0.3) 0%,
      rgba(45, 49, 26, 0.14) 26%,
      rgba(45, 49, 26, 0.5) 62%,
      rgba(45, 49, 26, 0.66) 100%
    );
  }
  .hero__media img {
    object-position: 50% 42%;
  }
}

/* ------------------------------- add-on table: stack on narrow screens */
@media (max-width: 34rem) {
  .table-wrap {
    overflow-x: visible;
  }
  .table-wrap table {
    min-width: 0;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .table-wrap tr {
    display: block;
    border-bottom: 1px solid var(--line);
    padding-block: var(--space-5);
  }
  .table-wrap td {
    display: block;
    border: 0;
    padding: 0;
  }
  .table-wrap td + td {
    margin-top: var(--space-2);
    font-weight: 700;
    color: var(--brass);
  }
}

/* --------------------------------------------------------------- stamp block */
.stamp-block {
  display: grid;
  gap: var(--space-10);
  align-items: center;
  justify-items: start;
}
@media (min-width: 48rem) {
  .stamp-block {
    grid-template-columns: auto 1fr;
    gap: var(--space-16);
  }
}
.stamp {
  width: 150px;
  height: 150px;
  flex: none;
  border-radius: 50%;
  background: var(--stamp-field, #2d311a);
  display: grid;
  place-items: center;
  padding: 9px;
}
@media (min-width: 62rem) {
  .stamp {
    width: 168px;
    height: 168px;
  }
}
.stamp img {
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------- gallery */
.gallery {
  list-style: none;
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 42rem) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.gallery figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* --------------------------------------------------------- video block */
.vidframe {
  margin: 0;
  max-width: 22rem;
  margin-inline: auto;
}
.vidframe video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  background: var(--forest);
}
.vidframe figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* three-across step list, for lists whose copy needs the room */
@media (min-width: 70rem) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
}
