/* ================================================================
   RIVERSIDE RANCH — SHARED STYLES
   ================================================================ */

/* ── 1. TOKENS ──────────────────────────────────────────────── */
:root {
  --cream:      #ede3cb;
  --cream-mid:  #ddd0b0;
  --cream-dark: #c8b98e;
  --ink:        #291f10;
  --ink-mid:    #54432d;
  --ink-light:  #8a7055;
  --sage:       #5b6b4e;
  --sage-light: #8fa37e;
  --rust:       #a04e30;
  --rust-light: #c07050;
  --brass:      #b08040;
  --white:      #faf7f0;

  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body:    'Manrope', system-ui, sans-serif;

  --nav-h:       68px;
  --max-w:       1260px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --pad-sec:     clamp(4rem, 8vw, 7rem);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.72;
  overflow-x: hidden;
  position: relative;
}
/* Paper grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)' opacity='0.038'/%3E%3C/svg%3E");
  opacity: 0.7;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── 3. SCROLL PROGRESS ─────────────────────────────────────── */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 2000;
  height: 3px; width: 0;
  background: var(--rust);
  transition: width 0.08s linear;
}

/* ── 4. TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

/* ── 5. NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--cream);                          /* always opaque cream */
  box-shadow: 0 1px 0 var(--cream-mid);
  transition: box-shadow 0.35s var(--ease-io);
}
.nav.scrolled {
  background: var(--cream);
  box-shadow: 0 2px 8px rgba(41,31,16,0.08);         /* deeper shadow once scrolled */
}
.nav__logo {
  font-family: var(--ff-display);
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);        /* dark by default */
  display: flex; flex-direction: column; line-height: 1;
  transition: color 0.35s;
}
.nav.scrolled .nav__logo { color: var(--ink); }
.nav__logo-sub {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rust); font-family: var(--ff-body);
  margin-top: 2px;
}
.nav__links {
  display: flex; align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem); list-style: none;
}
.nav__links a {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink); opacity: 0.85;                  /* dark text, high contrast */
  transition: opacity 0.2s, color 0.35s;
  position: relative;
}
.nav.scrolled .nav__links a {
  color: var(--ink); opacity: 0.85;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--rust);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav.scrolled .nav__links a::after { background: var(--rust); }
.nav__links a:hover,
.nav__links a.active { opacity: 1; }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links .nav-cta {
  opacity: 1;
  background: var(--rust); color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  font-size: 0.68rem;
  transition: background 0.2s;
}
.nav.scrolled .nav__links .nav-cta { color: var(--white) !important; }
.nav__links .nav-cta::after { display: none; }
.nav__links .nav-cta:hover { background: var(--ink); }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 5px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 850;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1.8rem;
}
.nav__drawer.open { display: flex; }
.nav__drawer a {
  font-family: var(--ff-display);
  font-size: 2.2rem; color: var(--ink); opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.nav__drawer a:hover { opacity: 1; color: var(--rust); }

/* ── 6. FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem var(--gutter) 2rem;
}
.footer__grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(237,227,203,0.12);
}
.footer__brand-name {
  font-family: var(--ff-display);
  font-size: 1.6rem; color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer__brand-name span { color: var(--brass); }
.footer__brand p {
  font-size: 0.875rem; opacity: 0.55;
  max-width: 300px; line-height: 1.75;
  margin-bottom: 1.5rem;
}
.footer__socials { display: flex; gap: 1rem; }
.footer__socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(237,227,203,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.footer__socials a:hover { opacity: 1; border-color: var(--brass); }
.footer__col h4 {
  font-family: var(--ff-body); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.5rem; font-weight: 800;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 0.65rem; }
.footer__col li a {
  font-size: 0.875rem; opacity: 0.55;
  transition: opacity 0.2s;
}
.footer__col li a:hover { opacity: 1; }
.footer__col p {
  font-size: 0.875rem; opacity: 0.55; line-height: 1.8;
}
.footer__bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.72rem; opacity: 0.35;
}

/* ── 7. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--ff-body);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 2px solid currentColor;
  transition: background 0.25s var(--ease-out), color 0.25s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid  { background: var(--rust); color: var(--white); border-color: var(--rust); }
.btn--solid:hover  { background: var(--ink); border-color: var(--ink); }
.btn--outline  { background: transparent; color: var(--ink); }
.btn--outline:hover  { background: var(--ink); color: var(--white); }
.btn--ghost  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--sage { background: var(--sage); color: var(--white); border-color: var(--sage); }
.btn--sage:hover { background: var(--ink); border-color: var(--ink); }

/* ── 8. HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background: var(--ink);
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.6;
  animation: kenburns 24s ease-in-out forwards;
  transform-origin: center;
}
@keyframes kenburns {
  0%   { transform: scale(1.18) translate(3%, 2%); }
  100% { transform: scale(1.0)  translate(-1.5%, -1%); }
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(41,31,16,0.2) 0%, transparent 40%),
    linear-gradient(to top,    rgba(41,31,16,0.7) 0%, transparent 60%),
    linear-gradient(to right,  rgba(41,31,16,0.3) 0%, transparent 60%);
}
.hero__content {
  position: relative; z-index: 10;
  max-width: var(--max-w); margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) 9rem;
  width: 100%;
}
.hero__eyebrow { color: var(--brass); margin-bottom: 1.2rem; }
.hero__title { color: var(--white); max-width: 700px; margin-bottom: 1.4rem; }
.hero__title em { font-style: italic; color: var(--brass); }
.hero__lead {
  color: rgba(250,247,240,0.8);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 480px; margin-bottom: 2.8rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }


/* ── 9. TICKER ──────────────────────────────────────────────── */
.ticker {
  background: var(--sage);
  overflow: hidden;
  padding: 0.7rem 0;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  animation: ticker 32s linear infinite;
}
.ticker__item {
  display: inline-flex; align-items: center;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white);
  padding: 0 2.5rem;
}
.ticker__item::after {
  content: '✦';
  margin-left: 2.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.5rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 10. STATS STRIP ────────────────────────────────────────── */
.stats-strip {
  background: var(--ink);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter);
}
.stats-strip__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(237,227,203,0.12);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700; color: var(--brass); line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(237,227,203,0.5);
}

/* ── 11. REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

.reveal-l {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-l.in-view { opacity: 1; transform: none; }

.reveal-r {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-r.in-view { opacity: 1; transform: none; }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.35s; }
.d4 { transition-delay: 0.5s; }
.d5 { transition-delay: 0.65s; }

/* ── 12. SECTION WRAPPER ────────────────────────────────────── */
.sec {
  padding: var(--pad-sec) var(--gutter);
}
.sec__inner { max-width: var(--max-w); margin: 0 auto; }
.sec__head { max-width: 620px; margin-bottom: 3.5rem; }
.sec__head h2 { margin-top: 0.5rem; }

/* Two-col split */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
}
.split__media {
  position: relative; overflow: hidden;
}
.split__media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.split__media:hover img { transform: scale(1.04); }
.split__media::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: 14px 14px 0 var(--cream-dark);
  pointer-events: none;
  transition: box-shadow 0.4s var(--ease-out);
}
.split__media:hover::after { box-shadow: 7px 7px 0 var(--cream-dark); }
.split__text { }
.split__text .eyebrow { margin-bottom: 0.75rem; }
.split__text h2 { margin-bottom: 1.2rem; }
.split__text p {
  font-size: 1rem; line-height: 1.8;
  color: var(--ink-mid); margin-bottom: 2rem;
}
.split--flip .split__media { order: 2; }

/* ── 13. PROGRAMME GRID ─────────────────────────────────────── */
.prog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 3px; background: var(--cream-mid);
}
.prog-card {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10; background: var(--ink);
  display: block;
}
.prog-card img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-out), opacity 0.4s;
}
.prog-card:hover img { transform: scale(1.0); opacity: 0.38; }
.prog-card__info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(41,31,16,0.88) 0%, rgba(41,31,16,0.1) 60%, transparent 100%);
}
.prog-card__eyebrow { color: var(--brass); font-size: 0.62rem; margin-bottom: 0.5rem; }
.prog-card__name {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white); margin-bottom: 0.75rem;
  line-height: 1.15;
}
.prog-card__link {
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: gap 0.25s;
}
.prog-card:hover .prog-card__link { gap: 1rem; }
.prog-card__link::after { content: '→'; }

/* ── 14. PHILOSOPHY STRIP ───────────────────────────────────── */
.philosophy {
  background: var(--sage);
  padding: var(--pad-sec) var(--gutter);
  position: relative; overflow: hidden; text-align: center;
}
.philosophy::before {
  content: '"';
  position: absolute; top: -6rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display); font-size: 24rem; line-height: 1;
  color: rgba(250,247,240,0.05);
  pointer-events: none;
}
.philosophy blockquote {
  position: relative; z-index: 2;
  max-width: 780px; margin: 0 auto;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic; line-height: 1.5;
  color: var(--white);
}
.philosophy cite {
  display: block; margin-top: 2rem;
  font-family: var(--ff-body);
  font-size: 0.7rem; font-style: normal;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(250,247,240,0.55);
}

/* ── 15. NEWS CARDS ─────────────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.news-card { border-top: 2px solid var(--cream-mid); padding-top: 1.5rem; }
.news-card__date {
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 0.75rem;
}
.news-card h4 { margin-bottom: 0.7rem; }
.news-card p {
  font-size: 0.88rem; color: var(--ink-mid);
  line-height: 1.75; margin-bottom: 1.2rem;
}
.news-card__read {
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rust);
}

/* ── 16. PAGE HERO (Breed pages) ────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 5rem) var(--gutter) 5rem;
  background: var(--ink);
  min-height: 50vh; display: flex; align-items: center;
}
.page-hero__bg {
  position: absolute; inset: 0;
}
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(41,31,16,0.75) 0%, rgba(41,31,16,0.25) 100%);
}
.page-hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.page-hero__content .eyebrow { color: var(--brass); margin-bottom: 0.8rem; }
.page-hero__content h1 { color: var(--white); }
.page-hero__content h1 em { font-style: italic; color: var(--brass); }
.page-hero__content p {
  color: rgba(250,247,240,0.72);
  font-size: 1.05rem; max-width: 540px;
  margin-top: 1.1rem;
}

/* ── 17. BREED INTRO ────────────────────────────────────────── */
.breed-intro {
  padding: 3.5rem var(--gutter) 0;
}
.breed-intro__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
  align-items: start;
}
.breed-intro__heading {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--ink); line-height: 1.25;
}
.breed-intro__heading em { font-style: italic; color: var(--rust); }
.breed-intro__body {
  font-size: 1.02rem; line-height: 1.9;
  color: var(--ink-mid);
  border-left: 3px solid var(--rust);
  padding-left: 2rem;
}
.breed-intro__traits {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.25rem; padding-left: 2rem;
}
.trait-pill {
  background: var(--white);
  border: 1px solid var(--cream-mid);
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mid);
}

/* ── 18. FILTER TABS ────────────────────────────────────────── */
.filter-bar {
  position: sticky; top: var(--nav-h); z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-mid);
  padding: 0 var(--gutter);
  margin-top: 2.5rem;
}
.filter-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: stretch; gap: 0;
}
.ftab {
  padding: 1rem 1.5rem;
  font-family: var(--ff-body);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: none; border: none;
  color: var(--ink); opacity: 0.45;
  cursor: pointer; position: relative;
  transition: opacity 0.2s;
}
.ftab::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--rust);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}
.ftab.active { opacity: 1; }
.ftab.active::after { transform: scaleX(1); }
.ftab:hover { opacity: 0.75; }

/* ── 19. ANIMAL SECTION (car-style) ─────────────────────────── */
.animal-list { }
.animal {
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--gutter);
  border-bottom: 1px solid var(--cream-mid);
  transition: opacity 0.3s;
}
.animal.hidden { display: none; }
.animal__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}
.animal--flip .animal__inner {
  grid-template-columns: 1fr 1.25fr;
}
.animal--flip .animal__media { order: 2; }
.animal--flip .animal__info  { order: 1; }

/* Media */
.animal__main-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-mid);
  cursor: zoom-in;
}
.animal__main-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), opacity 0.25s;
}
.animal__main-wrap:hover img { transform: scale(1.05); }
.animal__zoom-hint {
  position: absolute; bottom: 0.9rem; right: 0.9rem;
  background: rgba(41,31,16,0.78);
  color: var(--cream); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  opacity: 0; transition: opacity 0.25s;
  pointer-events: none;
}
.animal__main-wrap:hover .animal__zoom-hint { opacity: 1; }

.animal__thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem; margin-top: 0.45rem;
}
.animal__thumbs img {
  aspect-ratio: 4/3; object-fit: cover;
  cursor: pointer; opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.animal__thumbs img:hover { opacity: 0.82; }
.animal__thumbs img.active { opacity: 1; border-color: var(--rust); }

/* Info */
.animal__info { position: relative; }
.animal__eyebrow { margin-bottom: 0.5rem; }
.animal__name {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin-bottom: 0.35rem;
}
.animal__reg {
  font-size: 0.8rem; color: var(--ink-light);
  letter-spacing: 0.05em; margin-bottom: 2rem;
}

/* Tags */
.animal__tags {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.55rem; margin-bottom: 2rem;
}
.atag {
  background: var(--white);
  border: 1px solid var(--cream-mid);
  padding: 0.7rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.18rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.animal.in-view .atag { opacity: 1; transform: none; }
.animal.in-view .atag:nth-child(1) { transition-delay: 0.05s; }
.animal.in-view .atag:nth-child(2) { transition-delay: 0.12s; }
.animal.in-view .atag:nth-child(3) { transition-delay: 0.19s; }
.animal.in-view .atag:nth-child(4) { transition-delay: 0.26s; }
.animal.in-view .atag:nth-child(5) { transition-delay: 0.33s; }
.animal.in-view .atag:nth-child(6) { transition-delay: 0.40s; }
.animal.in-view .atag:nth-child(7) { transition-delay: 0.47s; }
.animal.in-view .atag:nth-child(8) { transition-delay: 0.54s; }

.atag__label {
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-light);
}
.atag__value {
  font-family: var(--ff-display);
  font-size: 1.02rem; font-weight: 600;
  color: var(--ink); line-height: 1.2;
}

.animal__notes {
  font-size: 0.92rem; line-height: 1.8;
  color: var(--ink-mid);
  border-top: 1px solid var(--cream-mid);
  padding-top: 1.25rem; margin-bottom: 2rem;
}

/* Prev/Next inside animal */
.animal__nav {
  display: flex; gap: 0.75rem; align-items: center;
}
.anav-btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: none;
  border: 1.5px solid var(--cream-mid);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.anav-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.anav-btn:disabled { opacity: 0.3; pointer-events: none; }

/* ── 20. LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 8000;
  background: rgba(41,31,16,0.95);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: fixed; top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: var(--cream); font-size: 2.4rem; line-height: 1;
  opacity: 0.6; transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }

/* ── 21. CONTACT ────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
.contact-info h3 { margin-bottom: 2.5rem; }
.cinfo-block { margin-bottom: 2rem; }
.cinfo-block__label {
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 0.35rem;
}
.cinfo-block p, .cinfo-block a {
  font-size: 0.95rem; line-height: 1.7; color: var(--ink-mid);
}
.cinfo-block a:hover { color: var(--rust); }

.contact-form { }
.form-row { margin-bottom: 1.4rem; }
.form-row label {
  display: block; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mid); margin-bottom: 0.5rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--ff-body); font-size: 0.9rem;
  background: var(--white);
  border: none; border-bottom: 2px solid var(--cream-mid);
  color: var(--ink); outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-bottom-color: var(--sage); }
.form-row input.error,
.form-row textarea.error { border-bottom-color: var(--rust); }
.form-row textarea { height: 160px; resize: vertical; }
.form-row--2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.form-success {
  display: none; padding: 1.2rem 1.5rem;
  background: var(--sage); color: var(--white);
  font-size: 0.9rem; margin-top: 1rem;
}
.form-success.show { display: block; }

/* ── 22. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav__links    { display: none; }
  .nav__burger   { display: flex; }

  .stats-strip__inner { grid-template-columns: repeat(2,1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(237,227,203,0.12); padding-bottom: 1.5rem; }
  .stat:nth-child(odd)  { border-right: 1px solid rgba(237,227,203,0.12); }
  .stat:last-child, .stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }

  .prog-grid { grid-template-columns: 1fr; }

  .breed-intro__inner { grid-template-columns: 1fr; gap: 1.5rem; }

  .news-grid { grid-template-columns: 1fr; }

  .animal__inner,
  .animal--flip .animal__inner { grid-template-columns: 1fr; }
  .animal--flip .animal__media { order: 0; }
  .animal--flip .animal__info  { order: 0; }

  .contact-layout { grid-template-columns: 1fr; }
  .footer__grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row--2    { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .animal__thumbs { grid-template-columns: repeat(4,1fr); }
  .footer__grid   { grid-template-columns: 1fr; }
}

/* ================================================================
   24. MOBILE OPTIMIZATIONS — PHONES & TABLETS
   ================================================================ */

/* Killing hover-only effects on touch devices (they get stuck on tap) */
@media (hover: none) and (pointer: coarse) {
  .btn:hover { transform: none; }
  .split__media:hover img { transform: none; }
  .prog-card:hover img { transform: scale(1.06); opacity: 0.5; }
  .market-card:hover { box-shadow: none; }
  .market-card:hover .market-card__img-wrap img { transform: none; }
  .comm-bull-card:hover { box-shadow: none; }
  .comm-bull-card:hover .comm-bull-card__img img { transform: none; }
  .animal__main-wrap:hover img { transform: none; }
  .animal__zoom-hint { opacity: 1 !important; }  /* show tap-to-enlarge hint always */
}

/* Smoother tap highlight */
a, button { -webkit-tap-highlight-color: rgba(160,78,48,0.12); }

/* Hero polish on phones */
@media (max-width: 600px) {
  .hero { min-height: 88svh; }
  .hero__content { padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 5rem; }
  .hero__lead    { margin-bottom: 2rem; }
  .hero__ctas    { gap: 0.75rem; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero-scroll-hint { bottom: 2rem; }
}

/* Bigger tap targets for nav drawer */
@media (max-width: 960px) {
  .nav__drawer a { padding: 0.5rem 1rem; }
  .nav__burger   { padding: 10px; }   /* easier to hit */
}

/* FMD banner stacks cleaner on small phones */
@media (max-width: 480px) {
  .fmd-banner { padding: 0.7rem var(--gutter); gap: 0.6rem; }
  .fmd-banner img { height: 40px; width: 40px; }
  .fmd-banner__text { font-size: 0.72rem; line-height: 1.35; }
}

/* Logo shrinks slightly so the burger doesn't fight for space */
@media (max-width: 480px) {
  .nav__logo--row img { height: 38px; width: 38px; }
  .nav__logo { font-size: 1.05rem; }
  .nav__logo-sub { font-size: 0.52rem; }
}

/* Filter bar — let it scroll horizontally rather than wrap awkwardly */
@media (max-width: 720px) {
  .filter-bar { padding: 0; }
  .filter-bar__inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding: 0 var(--gutter);
  }
  .filter-bar__inner::-webkit-scrollbar { display: none; }
  .ftab { white-space: nowrap; padding: 1rem 1.2rem; flex-shrink: 0; }
}

/* Stat cards single column on very small phones */
@media (max-width: 480px) {
  .stats-strip__inner { grid-template-columns: 1fr; }
  .stat               { border-right: none; }
  .stat:nth-child(odd){ border-right: none; }
}

/* Marketplace bull-card actions stack on narrow phones — easier to tap */
@media (max-width: 480px) {
  .market-card__actions,
  .comm-bull-actions,
  .animal__nav { flex-direction: column; }
  .market-card__actions .btn,
  .comm-bull-actions .btn,
  .anav-btn { width: 100%; justify-content: center; }
  .market-card__specs { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* Animal thumbnails — 2 wide instead of 4 on tiny phones (bigger tap area) */
@media (max-width: 480px) {
  .animal__thumbs { grid-template-columns: repeat(2,1fr); gap: 0.4rem; }
}

/* Page hero shorter on phones (animals/hay/contact pages) */
@media (max-width: 600px) {
  .page-hero { min-height: 42vh; padding: calc(var(--nav-h) + 3rem) var(--gutter) 3rem; }
  .page-hero__content h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .page-hero__content p  { font-size: 0.95rem; }
}

/* Section padding tighter on phones */
@media (max-width: 600px) {
  .sec { padding: clamp(3rem, 10vw, 4.5rem) var(--gutter); }
  .sec__head { margin-bottom: 2.25rem; }
}

/* Programme cards — slightly more compact on phones */
@media (max-width: 600px) {
  .prog-card { aspect-ratio: 4/3; }
  .prog-card__info { padding: 1.5rem; }
}

/* News cards stack vertically with breathing room */
@media (max-width: 600px) {
  .news-grid { gap: 2.5rem; }
}

/* Contact form: bigger inputs for thumbs */
@media (max-width: 600px) {
  .form-row input,
  .form-row textarea,
  .form-row select { padding: 1rem 1rem; font-size: 1rem; }   /* 16px = no iOS zoom on focus */
}

/* Footer stack & centre on very small phones */
@media (max-width: 480px) {
  .footer { padding: 3.5rem var(--gutter) 1.5rem; }
  .footer__grid { gap: 2.25rem; padding-bottom: 2.5rem; }
  .footer__brand p { max-width: none; }
  .footer__bottom { font-size: 0.7rem; text-align: left; }
}

/* The full-width bull-video card on stud.html — RESPONSIVE
   On desktop: spans 2 grid columns next to the bull listing.
   On phones: collapses to 1 column at a sensible aspect ratio. */
.market-video-card {
  position: relative;
  cursor: pointer;
  grid-column: span 2;
  overflow: hidden;
  background: var(--ink);
  min-height: 480px;
}
@media (max-width: 720px) {
  .market-video-card {
    grid-column: span 1;
    min-height: 0;
    aspect-ratio: 16/9;
  }
}

/* Hay banner — looks better cropped than letterboxed on phones */
@media (max-width: 600px) {
  .hay-banner img { max-height: 320px !important; object-fit: cover !important; }
}

/* Lightbox: close button bigger and clearer on phones */
@media (max-width: 600px) {
  .lightbox__close { top: 0.6rem; right: 0.8rem; font-size: 2.8rem; padding: 0.5rem; }
  .lightbox__img   { max-width: 95vw; max-height: 80vh; }
}

/* CTA bands — tighter padding on phones */
@media (max-width: 600px) {
  .cta-band { padding: 3rem var(--gutter); }
  .cta-band h2 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
}

/* ================================================================
   23. SHARED COMPONENTS (consolidated from per-page <style> blocks)
   ================================================================ */

/* ── Logo (row layout used in nav) ──────────────────────────── */
.nav__logo--row {
  flex-direction: row !important;
  align-items: center;
  gap: 0.6rem;
}
.nav__logo--row img {
  height: 48px; width: 48px;
  object-fit: contain; flex-shrink: 0;
}
.nav__logo--row .nav__logo-stack {
  display: flex; flex-direction: column; line-height: 1;
}

/* ── FMD certified banner ───────────────────────────────────── */
.fmd-banner {
  background: var(--white);
  border-bottom: 1px solid var(--cream-mid);
  padding: 0.6rem var(--gutter);
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: var(--nav-h);
}
.fmd-banner img {
  height: 52px; width: 52px;
  object-fit: contain; flex-shrink: 0;
}
.fmd-banner__label {
  font-family: var(--ff-body);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 0.1rem;
}
.fmd-banner__text {
  font-family: var(--ff-body);
  font-size: 0.78rem; color: var(--ink-mid); line-height: 1.4;
}

/* ── Home-specific ──────────────────────────────────────────── */
.hero-scroll-hint {
  position: absolute; bottom: 8rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(250,247,240,0.5);
}
.scroll-line {
  width: 1px; height: 40px; background: rgba(250,247,240,0.3);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.8; transform: scaleY(0.6); }
}
.about-tag {
  display: inline-block; padding: 0.25rem 0.8rem;
  background: var(--cream-mid); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mid); margin-right: 0.5rem; margin-bottom: 0.5rem;
}
.sec--alt  { background: var(--white); }
.sec--dark { background: var(--ink); }
.cta-band {
  background: var(--rust);
  padding: 4rem var(--gutter);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--ff-display); color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.cta-band h2 em { font-style: italic; color: rgba(250,247,240,0.75); }

/* ── Availability badge ─────────────────────────────────────── */
.avail-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.avail-badge--available { background: var(--sage);  color: var(--white); }
.avail-badge--enquire   { background: var(--brass); color: var(--ink); }
/* When used as a link, give it clear hover affordance */
a.avail-badge {
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
a.avail-badge:hover { background: var(--rust); color: var(--white); transform: translateY(-1px); }

/* ── Marketplace grid (Brahman stud bulls) ──────────────────── */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
  background: var(--cream-mid);
  padding: 2px;
}
.market-card {
  background: var(--white);
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s;
}
.market-card:hover { box-shadow: 0 8px 32px rgba(41,31,16,0.12); }
.market-card__img-wrap {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; background: var(--cream-mid);
  cursor: zoom-in;
}
.market-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.market-card:hover .market-card__img-wrap img { transform: scale(1.04); }
.market-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--sage); color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}
.market-card__badge--sold     { background: var(--ink); }
.market-card__badge--reserved { background: var(--brass); color: var(--ink); }
.market-card__body {
  padding: 1.75rem;
  display: flex; flex-direction: column; flex: 1;
  gap: 0.75rem;
}
.market-card__eyebrow {
  font-family: var(--ff-body);
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust);
}
.market-card__name {
  font-family: var(--ff-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--ink); line-height: 1.15;
  letter-spacing: -0.01em;
}
.market-card__reg {
  font-size: 0.75rem; color: var(--ink-light);
  margin-top: -0.25rem;
}
.market-card__specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.5rem; padding: 1rem;
  background: var(--cream); margin: 0.25rem 0;
}
.market-spec { display: flex; flex-direction: column; gap: 0.15rem; }
.market-spec__label {
  font-size: 0.55rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-light);
}
.market-spec__val { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.market-card__notes {
  font-size: 0.85rem; color: var(--ink-mid);
  line-height: 1.75; flex: 1;
}
.market-card__actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.market-card__actions .btn { font-size: 0.65rem; padding: 0.7rem 1rem; }
@media (max-width: 600px) {
  .market-grid { grid-template-columns: 1fr; }
  .market-card__actions { flex-direction: column; }
}

/* ── Commercial bull cards ──────────────────────────────────── */
.comm-bull-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
  background: var(--cream-mid);
  padding: 2px;
}
.comm-bull-card {
  background: var(--white);
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s;
}
.comm-bull-card:hover { box-shadow: 0 8px 32px rgba(41,31,16,0.12); }
.comm-bull-card__img {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; background: var(--cream-mid);
}
.comm-bull-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.comm-bull-card:hover .comm-bull-card__img img { transform: scale(1.04); }
.comm-bull-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--sage); color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}
.comm-bull-badge--sold     { background: var(--ink); }
.comm-bull-badge--reserved { background: var(--brass); color: var(--ink); }
.comm-bull-card__body {
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem; flex: 1;
}
.comm-bull-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust);
}
.comm-bull-name {
  font-family: var(--ff-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--ink); line-height: 1.15;
  letter-spacing: -0.015em;
}
.comm-bull-divider {
  border: none; border-top: 1px solid var(--cream-mid);
  margin: 0.25rem 0;
}
.comm-bull-tagline {
  font-size: 0.82rem; font-style: italic;
  color: var(--ink-mid); line-height: 1.7;
  border-top: 1px solid var(--cream-mid);
  padding-top: 0.75rem; margin-top: 0.25rem;
}
.comm-bull-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.comm-bull-bullets li {
  font-size: 0.85rem; color: var(--ink-mid);
  line-height: 1.55; padding-left: 1rem; position: relative;
}
.comm-bull-bullets li::before {
  content: '•'; position: absolute; left: 0;
  color: var(--rust); font-weight: 800;
}
.comm-bull-actions {
  display: flex; gap: 0.75rem; margin-top: auto; padding-top: 0.25rem;
}
.comm-bull-actions .btn { flex: 1; justify-content: center; font-size: 0.65rem; }
@media (max-width: 960px) { .comm-bull-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .comm-bull-grid { grid-template-columns: 1fr; } }

/* ── Hay bullet lists ───────────────────────────────────────── */
.hay-bullets {
  list-style: none; padding: 0; margin: 0.5rem 0 1rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.hay-bullets li {
  font-size: 0.9rem; color: var(--ink-mid);
  line-height: 1.6; padding-left: 1.2rem; position: relative;
}
.hay-bullets li::before {
  content: '•'; position: absolute; left: 0;
  color: var(--rust); font-weight: 800;
}

/* ── Simmental growth-index badge ───────────────────────────── */
.index-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.25rem;
}
.index-badge::before { content: '▲'; font-size: 0.5rem; }
.index-badge.high { color: var(--rust); }

/* ── Simbra bloodline badge ─────────────────────────────────── */
.blood-badge {
  display: inline-block; padding: 0.22rem 0.7rem;
  background: var(--cream-mid);
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mid); margin-bottom: 0.25rem;
}

/* ── Contact page ───────────────────────────────────────────── */
.contact-hero-bg { background: var(--ink); }
.contact-map {
  margin-top: 2rem; overflow: hidden;
  border: 2px solid var(--cream-mid);
}
.contact-map iframe { border: 0; display: block; width: 100%; }
.social-links {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem;
}
.social-links a {
  font-size: 0.82rem; color: var(--ink-mid);
  display: flex; align-items: center; gap: 0.6rem;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--rust); }
.social-links a::before { content: '→'; font-size: 0.7rem; color: var(--rust); }
.form-divider {
  border: none; border-top: 1px solid var(--cream-mid);
  margin: 2rem 0;
}
.form-note {
  font-size: 0.75rem; color: var(--ink-light);
  line-height: 1.7; margin-top: 1.5rem;
}

/* ── ABRI lookup ────────────────────────────────────────────── */
.abri-input {
  flex: 1; min-width: 220px;
  padding: 0.85rem 1.2rem;
  font-family: var(--ff-body); font-size: 0.9rem;
  border: 2px solid var(--cream-mid);
  background: var(--white); color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
.abri-input:focus { border-color: var(--rust); }
.abri-frame-wrap { margin-top: 2.5rem; }
.abri-frame {
  border: 2px solid var(--cream-mid);
  overflow: hidden; background: var(--white);
}
.abri-frame iframe { border: 0; display: block; width: 100%; }
.abri-btn {
  font-family: var(--ff-body);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: 1.5px solid var(--cream-mid);
  padding: 0.4rem 0.9rem; color: var(--ink-mid); cursor: pointer;
}
.abri-btn:hover { border-color: var(--ink); }

/* ── Generic helper for 3-up step grids ─────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
@media (max-width: 960px) { .steps-grid { grid-template-columns: 1fr; } }
