/* ==========================================================================
   Kittenry — design system v2
   Warm dark luxury. Espresso and gold, golden-hour photography.
   Dark, but never cold: every neutral carries a brown bias, every shadow is
   warm-tinted, and a fine grain sits over the whole page to kill the flat
   digital sheen that makes dark sites feel clinical.
   ========================================================================== */

:root {
  /* Warm near-blacks — brown-biased, never neutral grey */
  --void:       #0E0B09;
  --ink:        #151110;
  --ink-2:      #1C1715;
  --ink-3:      #241D1A;
  --ink-4:      #2E2622;
  --line:       #362C27;
  --line-soft:  #29211D;

  /* Warm creams — never pure white */
  --cream:      #F4ECE1;
  --cream-2:    #D9CDBE;
  --mute:       #A39384;
  /* Was #7C6E62 → .fine text hit only 3.81:1, under the 4.5:1 AA floor for
     normal-size text. Sized against --ink-3 (the lightest surface this sits on,
     i.e. cards and panels) rather than the page background, so it clears AA
     everywhere: 4.6:1 on cards, 5.4:1 on the page. */
  --mute-2:     #978878;

  /* Gold + copper */
  --gold:       #D6A75C;
  --gold-lift:  #E8C182;
  --gold-deep:  #B07F36;
  --copper:     #A9683A;
  --gold-wash:  rgba(214,167,92,.12);
  --gold-line:  rgba(214,167,92,.28);

  /* Support */
  --sage:       #8FA88C;
  --sage-wash:  rgba(143,168,140,.13);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --shell: 1240px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Warm-tinted shadows — the single biggest anti-clinical lever */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(20,10,4,.30);
  --shadow-md: 0 2px 6px rgba(0,0,0,.4), 0 16px 40px rgba(20,10,4,.42);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.45), 0 32px 80px rgba(20,10,4,.55);
  --glow:      0 0 0 1px var(--gold-line), 0 12px 40px rgba(214,167,92,.16);

  --ease: cubic-bezier(.22,.68,.24,1);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cream-2);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine grain over everything — analog warmth, kills the flat digital look */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9999;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--cream);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -.015em; font-weight: 500; }

p { text-wrap: pretty; }

::selection { background: var(--gold); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--void);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0; z-index: 10000;
  font-weight: 600;
}
.skip:focus { left: 0; top: 0; }

/* -------------------------------------------------------------- layout -- */
.shell {
  width: min(100% - (var(--gut) * 2), var(--shell));
  margin-inline: auto;
}
.shell--narrow { max-width: 730px; }

.section {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* Surface steps — all warm, all dark */
.section--paper { background: var(--ink-2); }
.section--ink   { background: var(--void); }
.section--raise { background: var(--ink-3); }

/* Warm bloom behind key sections — the anti-clinical glow */
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(214,167,92,.10), transparent 65%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(169,104,58,.10), transparent 62%);
}
.section > .shell { position: relative; z-index: 1; }

.stack > * + * { margin-top: 1rem; }

/* --------------------------------------------------------------- type -- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  opacity: .55;
}

.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
  line-height: 1.68;
  color: var(--mute);
  max-width: 58ch;
}

.fine { font-size: .85rem; line-height: 1.6; color: var(--mute-2); }
.fine a, .lede a { color: var(--gold); text-decoration-color: var(--gold-line); }

.section-head { max-width: 64ch; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 + p { margin-top: 1.15rem; }

/* ------------------------------------------------------------ buttons -- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.75rem;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary,
.btn--amber { background: var(--gold); color: var(--void); }
.btn--primary:hover,
.btn--amber:hover {
  background: var(--gold-lift);
  box-shadow: 0 10px 34px rgba(214,167,92,.32);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--cream);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-wash);
}

.btn--sm { padding: .62rem 1.2rem; font-size: .85rem; }

/* Over photography a hairline border vanishes — give ghost buttons a glass
   backing so they stay legible on any frame of the image. */
.hero-full .btn--ghost,
.page-head .btn--ghost,
.photo-break .btn--ghost,
.photo-cta .btn--ghost {
  border-color: rgba(244,236,225,.42);
  background: rgba(14,11,9,.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-full .btn--ghost:hover,
.page-head .btn--ghost:hover,
.photo-break .btn--ghost:hover,
.photo-cta .btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(14,11,9,.66);
  color: var(--gold-lift);
}

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ------------------------------------------------------------- header -- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21,17,16,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.masthead[data-scrolled="true"] {
  background: rgba(14,11,9,.92);
  border-bottom-color: var(--line-soft);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
/* :not(.btn) matters — otherwise this wins on source order and repaints the
   nav CTA's label muted grey on gold (1.35:1). */
.nav a:not(.btn) {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--mute);
  transition: color .25s var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] { color: var(--cream); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gut) 1.5rem;
    background: var(--void);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: 1.15rem; border-bottom: 0; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 44px; height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 1.5px; background: var(--cream);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ==================================================== cinematic hero == */
.hero-full {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(5rem, 14vh, 9rem) clamp(3rem, 8vh, 5.5rem);
  overflow: hidden;
  background: var(--void);
}
.hero-full__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-full__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Keep the cat's face in frame as the container gets shorter/wider. */
  object-position: 62% 42%;
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@media (max-width: 900px) {
  /* Portrait source in a landscape frame crops hard — keep the eyes visible. */
  .hero-full__media img { object-position: 50% 40%; }
}
@media (max-width: 640px) {
  /* Keep the hero under one screen so the content below is discoverable —
     a hero taller than the viewport reads as "that's the whole page". */
  .hero-full {
    min-height: 0;
    padding-block: clamp(3rem, 9vh, 4.5rem) clamp(2rem, 5vh, 3rem);
  }
  /* Keep the three stats on one row — stacking them costs ~110px of hero
     height and pushes the fold past the statline, which reads as broken. */
  .statline {
    gap: .9rem;
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    flex-wrap: nowrap;
  }
  .statline__item { flex: 1 1 0; min-width: 0; }
  .statline__item strong { font-size: .95rem; }
  .statline__item span { font-size: .69rem; line-height: 1.35; max-width: none; }
  .page-head { min-height: 0; padding-block: 3.5rem 2.5rem; }
  .searchbar { border-radius: var(--r-lg); }
  .searchbar .btn { width: 100%; }
}
@keyframes heroDrift {
  from { transform: scale(1.03) translateY(0); }
  to   { transform: scale(1.11) translateY(-1.2%); }
}
/* Warm scrim — reads as firelight, not a grey overlay */
.hero-full__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--void) 4%, rgba(14,11,9,.82) 32%, rgba(14,11,9,.30) 62%, rgba(14,11,9,.55) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(214,167,92,.16), transparent 70%);
}
/* No width here — .shell owns the gutters. Setting width:100% would win on
   source order and blow the hero copy out to the viewport edges. */
.hero-full__inner { position: relative; z-index: 2; }

.hero-full h1 { margin-block: 1.35rem 1.6rem; max-width: 15ch; }
.hero-full h1 em {
  font-style: italic;
  color: var(--gold-lift);
}
.hero-full .lede { max-width: 52ch; color: var(--cream-2); }

/* Stat strip under the hero */
.statline {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(244,236,225,.16);
}
.statline__item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-lift);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.statline__item span {
  display: block;
  margin-top: .5rem;
  font-size: .8rem;
  letter-spacing: .03em;
  color: var(--mute);
  max-width: 22ch;
}

/* Search bar on dark */
.searchbar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .5rem;
  background: rgba(36,29,26,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  max-width: 520px;
}
.searchbar select, .searchbar input {
  flex: 1 1 150px;
  min-width: 0;
  padding: .8rem 1.2rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: .93rem;
  color: var(--cream);
}
.searchbar select option { background: var(--ink-3); color: var(--cream); }
.searchbar select:focus, .searchbar input:focus { outline: none; }

/* ================================================ interior page header == */
/* Shorter sibling of .hero-full. Gives every interior page a photographic
   opening instead of a text block on flat colour. */
.page-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 52vh, 520px);
  padding-block: clamp(4.5rem, 12vh, 7rem) clamp(2.5rem, 5vh, 3.5rem);
  overflow: hidden;
  background: var(--void);
}
.page-head__media { position: absolute; inset: 0; z-index: 0; }
.page-head__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.02);
}
.page-head__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(21,17,16,.93) 26%, rgba(14,11,9,.62) 66%, rgba(14,11,9,.72) 100%),
    radial-gradient(ellipse 70% 60% at 78% 32%, rgba(214,167,92,.15), transparent 68%);
}
.page-head__inner { position: relative; z-index: 2; }
.page-head h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  margin-block: 1.1rem 1.15rem;
  max-width: 18ch;
}
.page-head h1 em { font-style: italic; color: var(--gold-lift); }
.page-head .lede { max-width: 56ch; color: var(--cream-2); }
.page-head__crumb {
  font-size: .82rem;
  color: var(--mute);
  margin-bottom: 1.25rem;
}
.page-head__crumb a { color: var(--mute); text-decoration: none; }
.page-head__crumb a:hover { color: var(--gold); }

/* ================================================== cattery profile ===== */
.profile-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) {
  .profile-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .95fr); }
}

/* Contact card follows the reader down the page — this is the one thing the
   page exists to make easy. Only once there's a second column to stick in:
   sticky in a single-column stack just drags the card over the content below. */
@media (min-width: 940px) {
  .profile-aside { position: sticky; top: 100px; }
}

.profile-contact { padding: clamp(1.5rem, 3vw, 2rem); }
.profile-figures {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line-soft);
}
.profile-figures > div { flex: 1 1 0; min-width: 0; }
.profile-figures dt {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute-2); margin-bottom: .4rem;
}
.profile-figures dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--gold-lift);
  letter-spacing: -.02em;
  line-height: 1.15;
}

.profile-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  font-size: .85rem; color: var(--mute);
}
.profile-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.profile-meta svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* ============================================== full-bleed photo break == */
.photo-break {
  position: relative;
  min-height: clamp(300px, 46vh, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--void);
}
.photo-break img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.photo-break::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(14,11,9,.92) 0%, rgba(14,11,9,.74) 42%, rgba(14,11,9,.30) 100%);
}
.photo-break__inner { position: relative; z-index: 2; }
.photo-break blockquote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  line-height: 1.24;
  letter-spacing: -.025em;
  color: var(--cream);
  max-width: 20ch;
  font-style: italic;
}
.photo-break figcaption {
  margin-top: 1.5rem;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------------------------------------------------------- portraits -- */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 30% 25%, rgba(214,167,92,.4), transparent 60%),
    linear-gradient(160deg, #3B2E24 0%, #241C17 55%, #17110E 100%);
  box-shadow: var(--shadow-lg);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 22% 18%, rgba(0,0,0,.42) 6px, transparent 7px),
    radial-gradient(circle at 58% 30%, rgba(0,0,0,.34) 9px, transparent 10px),
    radial-gradient(circle at 80% 14%, rgba(0,0,0,.3) 5px, transparent 6px),
    radial-gradient(circle at 34% 58%, rgba(0,0,0,.36) 11px, transparent 12px),
    radial-gradient(circle at 70% 74%, rgba(0,0,0,.32) 8px, transparent 9px),
    radial-gradient(circle at 15% 82%, rgba(0,0,0,.28) 7px, transparent 8px);
}
.portrait:has(img) { background: none; }
.portrait:has(img)::after { display: none; }

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s var(--ease);
}
a.card:hover .portrait img { transform: scale(1.05); }

.portrait--wide { aspect-ratio: 3 / 2; }
.portrait--square { aspect-ratio: 1; }

.portrait__credit {
  position: absolute;
  right: .7rem; bottom: .55rem;
  font-size: .64rem;
  letter-spacing: .03em;
  color: rgba(244,236,225,.7);
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  z-index: 2;
}

/* --------------------------------------------------------------- grid -- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* --------------------------------------------------------------- card -- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              border-color .45s var(--ease);
}
a.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-lg);
}
.card__media { position: relative; overflow: hidden; }
/* Warm vignette so photos sit into the card rather than on it */
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,14,.75), transparent 55%);
  pointer-events: none;
}
.card__body { padding: 1.45rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .35rem; }

.card__meta { font-size: .81rem; color: var(--mute-2); letter-spacing: .01em; }
.card__note { margin-top: .9rem; font-size: .91rem; color: var(--mute); }
.card__foot {
  margin-top: auto;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .86rem;
}
.card__price { font-weight: 600; color: var(--cream); font-variant-numeric: tabular-nums; }
.card__cta { color: var(--gold); font-weight: 600; }

/* --------------------------------------------------------------- badge -- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .32rem .75rem .32rem .6rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--sage-wash);
  color: var(--sage);
  border: 1px solid rgba(143,168,140,.24);
  white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; flex: none; }
.badge--amber {
  background: var(--gold-wash);
  color: var(--gold-lift);
  border-color: var(--gold-line);
}
.badge--float {
  position: absolute;
  top: .95rem; left: .95rem;
  z-index: 2;
  background: rgba(14,11,9,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-lift);
  border-color: var(--gold-line);
}

.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .95rem; }
.tag {
  font-size: .73rem;
  padding: .26rem .68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
}
/* Qualifier label sitting beside a heading ("We confirm this"). Needs its own
   rules — inside an h2 it would otherwise inherit the serif display face at
   11px, which reads as a rendering error rather than a label. */
.h-note {
  display: inline-block;
  vertical-align: middle;
  margin-left: .85rem;
  transform: translateY(-.15em);
  font-family: var(--body);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .34rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--mute);
}
.h-note--confirm { color: var(--sage); border-color: rgba(143,168,140,.34); background: var(--sage-wash); }
.h-note--collect { color: var(--gold-lift); border-color: var(--gold-line); background: var(--gold-wash); }
.h-note--stated  { color: #E0A878; border-color: rgba(169,104,58,.38); background: rgba(169,104,58,.12); }

@media (max-width: 640px) {
  /* Drop to its own line rather than dragging a long label alongside a 2rem heading. */
  .h-note {
    display: block;
    margin-left: 0;
    margin-top: .85rem;
    transform: none;
    width: fit-content;
    white-space: normal;
  }
}

/* Generation (F1–SBT) drives both price and legality — give it its own weight. */
.tag--gen {
  color: var(--cream);
  border-color: var(--gold-line);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Early-generation legal warning — amber, deliberately not alarming red. */
.badge--warn {
  background: rgba(169,104,58,.16);
  color: #E0A878;
  border-color: rgba(169,104,58,.42);
}
.panel--warn {
  background: linear-gradient(150deg, rgba(169,104,58,.14), rgba(169,104,58,.06));
  border-color: rgba(169,104,58,.42);
}
.panel--warn h3 { color: #E8B98F; }
.panel--warn svg { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------- steps -- */
.steps { counter-reset: step; display: grid; gap: 2rem; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.75rem; } }

.step { position: relative; padding-top: 3.4rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--gold);
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--gold-line);
  width: 2.8rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { font-size: .95rem; color: var(--mute); }

/* Editorial variant — oversized numerals, hairline rules, magazine spacing. */
.steps--editorial { gap: 0; }
@media (min-width: 780px) { .steps--editorial { grid-template-columns: repeat(3, 1fr); gap: 0; } }

.steps--editorial .step {
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 780px) {
  .steps--editorial .step { padding: 2.5rem 2.25rem 0 0; }
  .steps--editorial .step + .step { padding-left: 2.25rem; }
}
.steps--editorial .step + .step { margin-top: 2.5rem; }
@media (min-width: 780px) { .steps--editorial .step + .step { margin-top: 0; } }

.steps--editorial .step::before {
  position: static;
  display: block;
  width: auto;
  border: 0;
  padding: 0 0 1.1rem;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: .9;
  color: var(--gold);
  opacity: .5;
  letter-spacing: -.04em;
}
.steps--editorial .step h3 { margin-bottom: .7rem; }

/* ============================================== full-bleed photo CTA ==== */
.photo-cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(400px, 62vh, 640px);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
  background: var(--void);
  text-align: center;
}
.photo-cta > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.photo-cta::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,11,9,.86), rgba(14,11,9,.72) 45%, rgba(14,11,9,.90)),
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(214,167,92,.16), transparent 70%);
}
/* No width:100% here — it would beat .shell on source order and run the copy
   to the viewport edges. Same trap as .hero-full__inner. */
.photo-cta__inner { position: relative; z-index: 2; }
.photo-cta .eyebrow { justify-content: center; }
.photo-cta h2 { margin-block: 1.1rem 1.35rem; }
.photo-cta .lede { margin-inline: auto; color: var(--cream-2); }
.photo-cta .btn-row { justify-content: center; margin-top: 2.25rem; }

/* ------------------------------------------------------------ checklist -- */
.checklist { list-style: none; padding: 0; display: grid; gap: 1.35rem; }
.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1rem;
  align-items: start;
}
.checklist svg { width: 22px; height: 22px; margin-top: 2px; color: var(--gold); flex: none; }
.checklist strong { display: block; color: var(--cream); font-weight: 600; }
.checklist p { font-size: .93rem; color: var(--mute); margin-top: .28rem; }

/* --------------------------------------------------------------- panel -- */
.panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.panel--flag {
  background: linear-gradient(150deg, rgba(214,167,92,.10), rgba(169,104,58,.06));
  border-color: var(--gold-line);
}
.panel--ink { background: var(--void); border-color: var(--line-soft); }

/* ---------------------------------------------------------------- pill -- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  padding-block: 1.5rem 2.25rem;
}
.pill {
  padding: .55rem 1.1rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--mute);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .28s var(--ease);
}
.pill:hover { border-color: var(--gold-line); color: var(--cream); }
.pill[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--void);
  font-weight: 600;
}
.pill select, .pill option { background: var(--ink-3); color: var(--cream); }
.pill input[type="checkbox"] { accent-color: var(--gold); }

.result-count { margin-left: auto; font-size: .85rem; color: var(--mute-2); }

/* ---------------------------------------------------------------- form -- */
.field { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--cream); }
.field input, .field select, .field textarea {
  padding: .85rem 1rem;
  color: var(--cream);
  background: var(--void);
  /* --mute-2, not --line: form controls need a 3:1 boundary under WCAG 1.4.11,
     and --line only manages 1.22:1 against the panel these sit on. */
  border: 1px solid var(--mute-2);
  border-radius: var(--r-md);
  font-size: .95rem;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field option { background: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.field textarea { resize: vertical; min-height: 115px; }
.field-row { display: grid; gap: 0 1.15rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------- table -- */
.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

/* Edge fades that resolve as you reach each end. Gated behind .is-scrollable,
   which site.js sets only when the table actually overflows — otherwise the
   cue promises content that isn't there. */
.table-wrap.is-scrollable {
  background:
    linear-gradient(to right, var(--ink-3) 30%, rgba(36,29,26,0)) left / 44px 100% no-repeat local,
    linear-gradient(to left,  var(--ink-3) 30%, rgba(36,29,26,0)) right / 44px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.5), rgba(0,0,0,0)) left / 18px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.5), rgba(0,0,0,0)) right / 18px 100% no-repeat scroll;
}
/* Shown only when its table genuinely overflows — site.js flips this on. */
.table-scroll-hint { display: none; }
.table-scroll-hint.is-shown {
  display: block;
  margin-top: .75rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--gold);
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 540px; }
th, td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
th {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); background: var(--ink-2); font-weight: 600;
}
td { color: var(--mute); }
td strong { color: var(--cream); }
tbody tr:last-child td { border-bottom: 0; }

/* Comparison tables: let the last column (ours) carry a warm tint so the
   contrast reads at a glance instead of needing to be parsed. */
.table-wrap--compare th:last-child,
.table-wrap--compare td:last-child {
  background: linear-gradient(180deg, rgba(214,167,92,.09), rgba(214,167,92,.05));
  color: var(--cream-2);
  border-left: 1px solid var(--gold-line);
}
.table-wrap--compare td:last-child strong { color: var(--gold-lift); }

/* --------------------------------------------------------------- prose -- */
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 3rem; }
.prose h3 { margin-top: 2rem; color: var(--gold-lift); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: .6rem; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--cream); }
.prose a { color: var(--gold); }

.divider {
  height: 1px; border: 0;
  background: linear-gradient(to right, var(--line), transparent);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}

.empty {
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  color: var(--mute);
  background: var(--ink-2);
}
.empty h3 { margin-bottom: .5rem; }

/* ------------------------------------------------------------- footer -- */
.footer {
  background: var(--void);
  border-top: 1px solid var(--line-soft);
  color: var(--mute-2);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer a { color: var(--mute); text-decoration: none; transition: color .25s var(--ease); }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 2.75rem; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer .wordmark { color: var(--cream); }
.footer h4 {
  font-family: var(--body);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .7rem; font-size: .9rem; }
.footer__base {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  margin-top: 3.5rem; padding-top: 1.85rem;
  border-top: 1px solid var(--line-soft);
  font-size: .8rem;
}
.footer__base p:last-child { margin-left: auto; }

/* ====================================================== scroll reveal == */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }

/* ------------------------------------------------------------- motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, a.card:hover { transform: none; }
  .hero-full__media img { animation: none; }
}
