:root {
  --ink: #070a09;
  --ink-soft: #0e1310;
  --forest: #171c16;
  --forest-light: #22281f;
  --gold: #c79b48;
  --gold-bright: #e0bd72;
  --gold-dim: #80652f;
  --ivory: #f3eee4;
  --ivory-muted: #bdb4a3;
  --line: rgba(199, 155, 72, 0.34);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --display: "Bodoni 72", "Didot", "Iowan Old Style", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(99, 83, 45, 0.18),
      transparent 30rem
    ),
    radial-gradient(
      circle at 7% 46%,
      rgba(40, 53, 42, 0.45),
      transparent 34rem
    ),
    var(--ink);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 10, 9, 0.91);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 5.4rem;
  padding: 0.7rem clamp(1.15rem, 4vw, 4.5rem);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header::after {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  bottom: -4px;
  content: "";
  height: 1px;
  left: 18%;
  opacity: 0.55;
  position: absolute;
  right: 18%;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.9rem;
}

.brand-mark {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  display: flex;
  font-family: var(--display);
  font-size: 1.6rem;
  height: 2.8rem;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 2.8rem;
}

.brand-mark::after {
  border: 1px solid rgba(199, 155, 72, 0.26);
  border-radius: inherit;
  content: "";
  inset: 4px;
  position: absolute;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-top: 0.42rem;
  text-transform: uppercase;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 2vw, 2.25rem);
}

.desktop-nav a {
  color: var(--ivory-muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.115em;
  padding: 0.45rem 0;
  position: relative;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  background: var(--gold);
  bottom: 0;
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  right: 50%;
  transition: inset 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.active {
  color: var(--ivory);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.active::after {
  left: 0;
  right: 0;
}

.mobile-nav {
  display: none;
  position: relative;
}

.hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 8, 7, 0.99) 0%,
      rgba(5, 8, 7, 0.94) 38%,
      rgba(5, 8, 7, 0.35) 68%,
      rgba(5, 8, 7, 0.06) 100%
    ),
    linear-gradient(0deg, rgba(5, 8, 7, 0.34), rgba(5, 8, 7, 0.08)),
    url("images/dewolf-gsds-card.png");
  background-position: center, center, center;
  background-size: cover;
  border: 1px solid var(--gold-dim);
  isolation: isolate;
  margin: clamp(1rem, 2.5vw, 2rem) auto 0;
  min-height: min(46rem, calc(100vh - 7.5rem));
  overflow: hidden;
  position: relative;
  width: min(96%, 104rem);
}

.hero::before,
.hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero::before {
  border: 1px solid rgba(224, 189, 114, 0.52);
  inset: 0.65rem;
}

.hero::after {
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 5rem 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 1px 5rem no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 5rem 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1px 5rem no-repeat;
  inset: 1.1rem;
  opacity: 0.65;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: clamp(4rem, 9vw, 8.5rem) clamp(2rem, 7vw, 7.25rem);
  position: relative;
  width: min(50rem, 60%);
  z-index: 3;
}

.eyebrow {
  align-items: center;
  color: var(--gold-bright);
  display: flex;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.85rem;
  letter-spacing: 0.24em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  background: var(--gold);
  content: "";
  flex: 0 0 2.5rem;
  height: 1px;
}

.hero h1 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.8rem, 5.8vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.93;
  margin: 0;
  max-width: 9ch;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--gold-bright);
  display: block;
  font-size: 0.74em;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-left: 0.48em;
  margin-top: 0.18em;
}

.hero-deck {
  color: var(--ivory);
  font-size: clamp(1.18rem, 1.45vw, 1.38rem);
  margin: 2rem 0 0;
  max-width: 35rem;
}

.hero-deck i {
  color: var(--gold-bright);
}

.hero-intro {
  color: var(--ivory-muted);
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0.65rem 0 0;
  max-width: 35rem;
}

.project-signature {
  border-left: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  margin-top: 1.8rem;
  padding: 0.15rem 0 0.15rem 1rem;
}

.project-signature span {
  color: var(--ivory-muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.project-signature strong {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.36rem;
  font-weight: 400;
  margin-top: 0.2rem;
}

.project-signature b {
  color: var(--gold);
  font-weight: 400;
  padding: 0 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.button {
  align-items: center;
  display: inline-flex;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 750;
  justify-content: center;
  letter-spacing: 0.14em;
  min-height: 3.15rem;
  padding: 0.6rem 1.35rem;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    border 180ms ease;
}

.button-primary {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.button-quiet {
  border: 1px solid rgba(243, 238, 228, 0.35);
  color: var(--ivory);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero-caption {
  bottom: 1.65rem;
  color: rgba(243, 238, 228, 0.65);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  margin: 0;
  position: absolute;
  right: 2rem;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 3;
}

.section-rail {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: clamp(1rem, 4vw, 4rem);
  justify-content: center;
  margin: 0 auto;
  max-width: 92rem;
  padding: 1.35rem clamp(1rem, 4vw, 3rem);
}

.section-rail span,
.section-rail a {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-rail span {
  color: var(--gold);
  font-weight: 750;
}

.section-rail a {
  color: var(--ivory-muted);
  transition: color 180ms ease;
}

.section-rail a:hover,
.section-rail a:focus-visible {
  color: var(--ivory);
}

.section {
  margin: 0 auto;
  max-width: 92rem;
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem);
}

.section-heading {
  display: grid;
  gap: 0 2rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.6fr);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.1rem, 4.6vw, 5.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.section-heading > p:last-child {
  align-self: end;
  border-left: 1px solid var(--gold-dim);
  color: var(--ivory-muted);
  font-size: 1.14rem;
  line-height: 1.7;
  margin: 0;
  padding-left: 1.4rem;
}

.terms-section {
  position: relative;
}

.terms-section::before {
  color: rgba(199, 155, 72, 0.035);
  content: "GSD";
  font-family: var(--display);
  font-size: clamp(10rem, 28vw, 31rem);
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: -3vw;
  top: 2rem;
  z-index: -1;
}

.terms-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.term-card {
  background: linear-gradient(
    145deg,
    rgba(27, 33, 27, 0.93),
    rgba(12, 16, 13, 0.95)
  );
  border: 1px solid rgba(199, 155, 72, 0.22);
  grid-column: 1 / -1;
  min-height: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  transition:
    border-color 200ms ease,
    transform 200ms ease;
}

.term-card::after {
  border-right: 1px solid rgba(199, 155, 72, 0.2);
  border-top: 1px solid rgba(199, 155, 72, 0.2);
  content: "";
  height: 2.6rem;
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  width: 2.6rem;
}

.term-card:hover {
  border-color: rgba(224, 189, 114, 0.58);
  transform: translateY(-3px);
}

.term-index {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.term-card h3 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.15rem, 2.7vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 1.45rem 0 0.85rem;
}

.term-card p,
.term-card blockquote {
  color: var(--ivory-muted);
  font-size: 1.16rem;
  line-height: 1.75;
  margin: 0;
  max-width: 82ch;
}

.term-card blockquote {
  quotes: "“" "”";
}

.term-card blockquote::before {
  color: var(--gold);
  content: open-quote;
}

.term-card blockquote::after {
  color: var(--gold);
  content: close-quote;
}

.term-card-small {
  background: var(--gold);
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: 4rem minmax(9rem, 0.25fr) 1fr;
}

.term-card-small .term-index,
.term-card-small h3,
.term-card-small p {
  color: var(--ink);
}

.term-card-small p {
  font-size: 1.18rem;
}

.term-card-small h3,
.term-card-small p {
  margin: 0;
}

.term-card-coi {
  grid-column: 1 / -1;
}

.term-card-coi h3 {
  margin-bottom: 0.4rem;
}

.term-card .term-lead {
  color: var(--gold-bright);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.source-row {
  align-items: flex-end;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.7rem;
  max-width: 95ch;
  padding-top: 1rem;
}

.source-row a {
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-row cite {
  color: #888274;
  font-size: 0.94rem;
  text-align: right;
}

.term-card-story {
  background:
    radial-gradient(
      circle at 110% -10%,
      rgba(199, 155, 72, 0.2),
      transparent 17rem
    ),
    linear-gradient(145deg, rgba(27, 33, 27, 0.93), rgba(12, 16, 13, 0.95));
  grid-column: 1 / -1;
  min-height: 0;
}

.term-card-story p {
  max-width: 76rem;
}

.term-card-story + .term-card {
  grid-column: 1 / -1;
}

.term-card-straight {
  grid-column: 1 / -1;
}

.movement-section {
  background:
    radial-gradient(
      circle at 8% 4%,
      rgba(199, 155, 72, 0.18),
      transparent 23rem
    ),
    linear-gradient(135deg, #f2ecdf, #e8dfd0);
  border: 1px solid var(--gold-dim);
  color: var(--ink);
  max-width: min(96%, 104rem);
  position: relative;
}

.movement-section::before {
  border: 1px solid rgba(128, 101, 47, 0.36);
  content: "";
  inset: 0.7rem;
  pointer-events: none;
  position: absolute;
}

.movement-section .section-heading,
.movement-section > * {
  position: relative;
  z-index: 1;
}

.movement-section .eyebrow {
  color: #745823;
}

.movement-section .section-heading h2 {
  color: var(--ink);
}

.movement-section .section-heading > p:last-child {
  color: #5f5a50;
}

.comparison-frame {
  border-bottom: 1px solid rgba(51, 44, 30, 0.2);
  border-top: 1px solid rgba(51, 44, 30, 0.2);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(20rem, 1.1fr) minmax(13rem, 0.7fr) minmax(
      13rem,
      0.7fr
    );
  padding: 1rem 0;
}

.comparison-copy {
  align-items: flex-start;
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4.5vw, 4.5rem);
}

.chapter-number {
  color: #755a28;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.comparison-copy .chapter-number,
.movement-story .chapter-number,
.source-feature .chapter-number {
  color: var(--gold-bright);
}

.comparison-copy h3,
.movement-story h3,
.source-feature h3 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 3.2vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 1.4rem;
}

.comparison-copy > p:last-child {
  color: #d6cfc1;
  font-size: 1.14rem;
  line-height: 1.78;
  margin: 0;
}

.comparison-copy i {
  color: var(--gold-bright);
}

.comparison-image {
  background: #111411;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.image-zoom {
  align-items: center;
  background: #111411;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  display: flex;
  font: inherit;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.image-zoom:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: -3px;
}

.comparison-image .image-zoom {
  height: clamp(30rem, 38vw, 38rem);
}

.comparison-image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.comparison-image figcaption,
.movement-story figure figcaption {
  background: rgba(7, 10, 9, 0.86);
  color: var(--ivory);
  display: flex;
  font-family: var(--sans);
  font-size: 0.8rem;
  gap: 1rem;
  justify-content: space-between;
  letter-spacing: 0.14em;
  line-height: 1.5;
  padding: 0.8rem 0.9rem;
  text-transform: uppercase;
}

.view-full {
  background: transparent;
  border: 0;
  color: var(--gold-bright);
  cursor: zoom-in;
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.1em;
  padding: 0;
  text-transform: uppercase;
}

.view-full:hover,
.view-full:focus-visible {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.view-full span {
  display: inline-block;
  font-size: 1.2em;
  margin-left: 0.25rem;
}

.lightbox {
  align-items: center;
  background: rgba(2, 4, 3, 0.92);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 200;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-panel {
  align-items: center;
  background: var(--ink-soft);
  border: 1px solid rgba(224, 189, 114, 0.58);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  max-width: 96rem;
  overflow: hidden;
  padding: 3.25rem 1rem 1rem;
  position: relative;
  width: min(96vw, 96rem);
}

.lightbox-image-stage {
  align-items: center;
  display: flex;
  justify-content: center;
  max-height: calc(100vh - 11rem);
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.lightbox-panel img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.lightbox-panel.is-maximum-size .lightbox-image-stage {
  align-items: flex-start;
  justify-content: flex-start;
  overflow: auto;
}

.lightbox-panel.is-maximum-size img {
  max-height: none;
  max-width: none;
}

.lightbox-panel p {
  color: var(--ivory-muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0.85rem 0 0;
  text-align: center;
}

.lightbox-close {
  align-items: center;
  background: var(--gold);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: var(--sans);
  font-size: 1.8rem;
  height: 2.6rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 2.6rem;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--gold-bright);
  outline: 2px solid var(--ivory);
  outline-offset: 2px;
}

.lightbox-maximum {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
  padding: 0.55rem 0.8rem;
  text-transform: uppercase;
}

.lightbox-maximum:hover,
.lightbox-maximum:focus-visible {
  border-color: var(--gold-bright);
  color: var(--ivory);
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.movement-stories {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 6rem);
}

.movement-story {
  background: #fffaf1;
  border: 1px solid rgba(51, 44, 30, 0.18);
  display: grid;
  grid-template-columns: minmax(12rem, 0.85fr) minmax(15rem, 1.15fr);
  min-height: 24rem;
}

.movement-story figure {
  background: #171b17;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 24rem;
  overflow: hidden;
  position: relative;
}

.movement-story figure .image-zoom {
  flex: 1 1 auto;
  min-height: 24rem;
}

.movement-story figure img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.movement-story > div {
  align-self: center;
  padding: clamp(1.7rem, 3vw, 3rem);
}

.movement-story h3 {
  color: var(--ink);
  font-size: clamp(2.15rem, 2.8vw, 3rem);
}

.movement-story > div > p:last-child {
  color: #625c52;
  font-size: 1.14rem;
  line-height: 1.75;
  margin: 0;
}

.movement-story-show figure img {
  object-position: 57% center;
}

.movement-story-show i {
  color: #80652f;
}

.applause-panel {
  align-items: center;
  background: var(--forest);
  color: var(--ivory);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: auto 1fr;
  margin: clamp(3rem, 6vw, 6rem) 0;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.applause-mark {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  display: flex;
  font-size: 1.3rem;
  height: 4.5rem;
  justify-content: center;
  width: 4.5rem;
}

.applause-panel p {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.35;
  margin: 0;
  max-width: 50rem;
}

.applause-panel u {
  text-decoration-color: var(--gold);
  text-underline-offset: 0.16em;
}

.applause-panel strong {
  color: var(--gold-bright);
  font-weight: 400;
}

.source-feature {
  background: #111611;
  color: var(--ivory);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(16rem, 0.75fr) minmax(20rem, 1fr);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.source-feature-heading {
  align-self: center;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.source-feature h3 {
  font-size: clamp(2.35rem, 3.3vw, 3.6rem);
}

.source-feature h3 a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(224, 189, 114, 0.4);
  text-underline-offset: 0.12em;
}

.source-feature-heading > p:not(.chapter-number) {
  color: var(--ivory);
  font-size: 1.2rem;
  font-weight: 600;
  margin: -0.6rem 0 1.25rem;
}

.source-feature-heading blockquote {
  border-left: 1px solid var(--gold);
  color: var(--ivory);
  font-size: clamp(1.2rem, 1.5vw, 1.35rem);
  line-height: 1.85;
  margin: 0;
  padding-left: 1.5rem;
}

.source-feature figure {
  align-self: stretch;
  background: #050706;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 0;
  position: relative;
}

.source-feature figure .image-zoom {
  min-height: 36rem;
}

.source-feature figure img {
  height: auto;
  max-height: 48rem;
  object-fit: contain;
  width: 100%;
}

.source-feature figure figcaption {
  background: rgba(7, 10, 9, 0.9);
  color: var(--ivory-muted);
  display: flex;
  font-family: var(--sans);
  font-size: 0.8rem;
  gap: 1rem;
  justify-content: space-between;
  letter-spacing: 0.12em;
  line-height: 1.5;
  padding: 0.8rem 0.9rem;
  text-align: center;
  text-transform: uppercase;
}

.source-feature-quote {
  border-top: 1px solid rgba(199, 155, 72, 0.3);
  color: #d6cfc1;
  font-size: 1.14rem;
  line-height: 1.8;
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem);
}

.evidence-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.evidence-card {
  background: #fffaf1;
  border: 1px solid rgba(51, 44, 30, 0.18);
  display: flex;
  flex-direction: column;
  margin: 0;
}

.evidence-card .image-zoom {
  aspect-ratio: 1.25 / 1;
  background: #121512;
}

.evidence-card .image-zoom img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.evidence-card figcaption {
  align-items: center;
  color: #4d4942;
  display: flex;
  font-size: 1.14rem;
  gap: 1rem;
  justify-content: space-between;
  line-height: 1.55;
  padding: 1.25rem 1.4rem 1.5rem;
}

.evidence-card figcaption .caption-copy {
  flex: 1 1 auto;
}

.evidence-card figcaption .caption-copy > span {
  color: #80652f;
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.closing-quote {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.4vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: clamp(4.5rem, 9vw, 9rem) auto 0;
  max-width: 18ch;
  position: relative;
  text-align: center;
  text-wrap: balance;
}

.closing-quote p {
  margin: 0;
}

.closing-quote .closing-quote-mark {
  color: rgba(128, 101, 47, 0.24);
  font-size: 2.4em;
  line-height: 1;
  position: absolute;
  z-index: -1;
}

.closing-quote-mark-start {
  left: -0.22em;
  top: -0.42em;
}

.closing-quote-mark-end {
  bottom: 0.38em;
  right: -0.22em;
}

.closing-quote cite {
  color: #80652f;
  display: block;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
}

.selection-section {
  padding-bottom: clamp(6rem, 11vw, 11rem);
}

.selection-section .section-heading h2 {
  max-width: 13ch;
}

.trait-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trait-card {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(199, 155, 72, 0.11),
      transparent 16rem
    ),
    var(--ink-soft);
  border: 1px solid rgba(199, 155, 72, 0.22);
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  grid-template-columns: 4rem minmax(15rem, 0.34fr) minmax(0, 1fr);
  min-height: 0;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  position: relative;
}

.trait-card::before {
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.trait-number {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.trait-card h3 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.2rem, 2.8vw, 3.05rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}

.trait-card p {
  color: var(--ivory-muted);
  font-size: 1.14rem;
  line-height: 1.78;
  margin: 0;
  max-width: 75ch;
}

.inline-image-link {
  background: transparent;
  border: 0;
  color: var(--gold-bright);
  cursor: zoom-in;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: rgba(224, 189, 114, 0.6);
  text-underline-offset: 0.18em;
}

.inline-image-link:hover,
.inline-image-link:focus-visible {
  color: var(--ivory);
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.trait-card-featured {
  background: var(--gold);
}

.trait-card-featured::before {
  background: var(--ink);
}

.trait-card-featured .trait-number,
.trait-card-featured h3,
.trait-card-featured p {
  color: var(--ink);
}

.trait-card-plumage {
  grid-column: auto;
}

.trait-card-color {
  grid-column: auto;
}

.trait-card-wide {
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: minmax(15rem, 0.35fr) minmax(0, 1fr);
  min-height: 0;
}

.trait-card-wide h3 {
  font-size: clamp(2.5rem, 3.5vw, 3.8rem);
}

.trait-aside {
  border-left: 1px solid var(--gold-dim);
  color: var(--gold-bright) !important;
  font-style: italic;
  padding-left: 1rem;
}

.trait-body {
  align-self: center;
}

.trait-body-columns {
  columns: 1;
  max-width: 70ch;
}

.trait-body-columns p {
  margin: 0;
  text-indent: clamp(1.75rem, 3vw, 2.5rem);
}

.trait-body-columns p + p {
  margin-top: 1.4rem;
}

.trait-card-mixed {
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(199, 155, 72, 0.2),
      transparent 24rem
    ),
    linear-gradient(135deg, #182019, #0b0f0c);
}

.cta-strip {
  align-items: center;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 0 auto clamp(1rem, 2.5vw, 2rem);
  max-width: min(96%, 104rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.5rem, 5vw, 5rem);
}

.cta-strip p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1.2;
  margin: 0;
}

.cta-strip p span {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.text-link {
  border-bottom: 1px solid rgba(7, 10, 9, 0.55);
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-bottom: 0.2rem;
  text-transform: uppercase;
}

.text-link span {
  margin-left: 0.4rem;
}

.story-main {
  overflow: hidden;
}

.story-hero {
  background: var(--ink-soft);
  border: 1px solid var(--gold-dim);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(25rem, 1.05fr);
  margin: clamp(1rem, 2.5vw, 2rem) auto 0;
  max-width: 104rem;
  min-height: min(50rem, calc(100vh - 7.5rem));
  overflow: hidden;
  width: 96%;
}

.story-hero-copy {
  align-self: center;
  padding: clamp(3rem, 6vw, 6.5rem);
}

.story-hero h1 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.7rem, 5.8vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 0;
  max-width: 10ch;
  text-wrap: balance;
}

.story-hero h1 em {
  color: var(--gold-bright);
  display: block;
  font-size: 0.67em;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-left: 0.42em;
  margin-top: 0.25em;
}

.story-intro {
  border-top: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(1.8rem, 3vw, 2.8rem);
}

.story-intro p,
.story-prose p {
  color: var(--ivory-muted);
  font-size: clamp(1.1rem, 1.25vw, 1.28rem);
  line-height: 1.78;
  margin: 0;
}

.story-intro p + p,
.story-prose p + p {
  margin-top: 1.45rem;
}

.story-photo {
  border-left: 1px solid var(--gold-dim);
  margin: 0;
  min-height: 42rem;
  overflow: hidden;
  position: relative;
}

.story-photo::after {
  border: 1px solid rgba(224, 189, 114, 0.48);
  content: "";
  inset: 0.7rem;
  pointer-events: none;
  position: absolute;
}

.story-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  width: 100%;
}

.story-copy {
  margin: 0 auto;
  max-width: 92rem;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
}

.story-section {
  display: grid;
  gap: clamp(2.5rem, 7vw, 8rem);
  grid-template-columns: minmax(14rem, 0.38fr) minmax(0, 0.62fr);
  padding: clamp(5.5rem, 10vw, 10rem) 0;
}

.story-section + .story-section {
  border-top: 1px solid var(--line);
}

.story-section h2 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.1rem, 4.7vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0;
  max-width: 8ch;
  text-wrap: balance;
}

.story-prose {
  max-width: 48rem;
}

.story-last-line {
  color: var(--gold-bright) !important;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.7vw, 2.8rem) !important;
  font-style: italic;
  line-height: 1.2 !important;
}

@media (max-width: 900px) {
  .story-hero {
    grid-template-columns: 1fr;
  }

  .story-photo {
    border-left: 0;
    border-top: 1px solid var(--gold-dim);
    min-height: 38rem;
  }

  .story-section {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }

  .story-section h2 {
    max-width: 12ch;
  }
}

@media (max-width: 660px) {
  .story-hero {
    margin-top: 0.5rem;
    width: calc(100% - 1rem);
  }

  .story-hero-copy {
    padding: 4rem 1.5rem 3rem;
  }

  .story-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.8rem);
  }

  .story-hero h1 em {
    margin-left: 0.2em;
  }

  .story-photo {
    min-height: 31rem;
  }

  .story-copy {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .story-section {
    padding: 5rem 0;
  }

}

.contact-section {
  margin: 0 auto clamp(1rem, 2.5vw, 2rem);
  max-width: min(96%, 104rem);
  padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 5vw, 5rem) 0;
}

.contact-intro {
  display: grid;
  gap: clamp(2.5rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.75fr);
}

.contact-intro > * {
  min-width: 0;
}

.contact-intro .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.contact-intro h1,
.contact-intro h2 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0;
  max-width: 11ch;
}

.contact-intro > p:last-child {
  align-self: end;
  color: var(--ivory-muted);
  font-size: clamp(1.3rem, 1.5vw, 1.55rem);
  line-height: 1.62;
  margin: 0;
  max-width: 34rem;
}

.contact-methods {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(3rem, 6vw, 6rem) 0 1rem;
}

.contact-method {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(199, 155, 72, 0.13),
      transparent 18rem
    ),
    var(--ink-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  position: relative;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.contact-method::after {
  color: var(--gold);
  content: "↗";
  font-family: var(--sans);
  position: absolute;
  right: 1.4rem;
  top: 1.25rem;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: var(--gold-bright);
  outline: 0;
  transform: translateY(-2px);
}

.contact-method span,
.contact-method small {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-method strong {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.7vw, 2.75rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 1.3rem 2rem 1.4rem 0;
  overflow-wrap: anywhere;
}

.contact-method small {
  color: var(--ivory-muted);
  letter-spacing: 0.1em;
}

.trade-panel {
  background: var(--gold);
  color: var(--ink);
  display: grid;
  gap: clamp(2.5rem, 6vw, 7rem);
  grid-template-columns: minmax(22rem, 0.46fr) minmax(0, 1fr);
  margin: 1rem 0;
  padding: clamp(2rem, 5vw, 5rem);
}

.trade-heading,
.trade-copy {
  min-width: 0;
}

.trade-panel .chapter-number {
  color: rgba(7, 10, 9, 0.65);
}

.trade-panel h2,
.trade-panel h3,
.location-panel h2,
.location-panel h3 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 1rem 0;
}

.location-panel h2,
.location-panel h3 {
  font-size: clamp(2.8rem, 3.6vw, 4.5rem);
  max-width: 100%;
}

.trade-lead {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trade-copy p {
  font-size: clamp(1.3rem, 1.5vw, 1.55rem);
  line-height: 1.62;
  margin: 0 0 1.45rem;
  max-width: 58rem;
}

.trade-copy a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.trade-copy aside {
  border-left: 2px solid var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.7;
  margin-top: 2rem;
  padding: 0.3rem 0 0.3rem 1.3rem;
}

.location-panel {
  background: var(--forest);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(31rem, 0.85fr) minmax(0, 1.15fr);
  min-height: 32rem;
  overflow: hidden;
}

.location-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(2rem, 5vw, 5rem);
}

.location-copy > p:not(.chapter-number) {
  color: var(--ivory-muted);
  font-size: clamp(1.18rem, 1.25vw, 1.35rem);
  line-height: 1.65;
  max-width: 30rem;
}

.directions-form {
  margin-top: 2.5rem;
}

.directions-form label {
  color: var(--gold-bright);
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.directions-controls {
  display: flex;
  min-width: 0;
}

.directions-controls input {
  background: var(--ink-soft);
  border: 1px solid var(--gold-dim);
  border-radius: 0;
  color: var(--ivory);
  flex: 1 1 auto;
  font: 600 0.92rem var(--sans);
  min-width: 0;
  padding: 0.9rem 1rem;
}

.directions-controls input::placeholder {
  color: #817b70;
}

.directions-controls input:focus {
  border-color: var(--gold-bright);
  outline: 2px solid var(--gold-bright);
  outline-offset: -2px;
}

.directions-controls button {
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  font: 800 0.74rem var(--sans);
  letter-spacing: 0.1em;
  padding: 0.9rem 1.1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.directions-controls button:hover,
.directions-controls button:focus-visible {
  background: var(--gold-bright);
  outline: 2px solid var(--ivory);
  outline-offset: -4px;
}

.map-frame {
  min-height: 32rem;
  position: relative;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  min-height: 32rem;
  position: absolute;
  width: 100%;
}

.litters-main {
  margin: 0 auto;
  max-width: 104rem;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem)
    clamp(5rem, 9vw, 9rem);
}

.litters-intro {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(9rem, 0.32fr) minmax(0, 1fr);
  padding-bottom: clamp(2.8rem, 5vw, 4.8rem);
}

.litters-intro .eyebrow {
  margin: 0.65rem 0 0;
}

.litters-intro-copy {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem clamp(2rem, 6vw, 7rem);
  justify-content: space-between;
}

.litters-intro h1 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
  margin: 0;
}

.litters-intro-copy > p {
  color: var(--ivory-muted);
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  line-height: 1.65;
  margin: 0 0 0.35rem;
  max-width: 31rem;
}

.litter-archive {
  padding-top: clamp(3rem, 6vw, 6rem);
}

.litter-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 25rem));
}

.litter-card {
  background: var(--ink-soft);
  border: 1px solid var(--gold-dim);
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.litter-card-media {
  aspect-ratio: 1;
  background: var(--forest);
  overflow: hidden;
  position: relative;
}

.litter-card-media::after {
  border: 1px solid rgba(224, 189, 114, 0.36);
  content: "";
  inset: 0.55rem;
  pointer-events: none;
  position: absolute;
}

.litter-card-heading {
  align-items: center;
  background: rgba(7, 10, 9, 0.96);
  border-bottom: 1px solid var(--gold);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  padding: 0.7rem 1rem 0.75rem;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.litter-card-heading h2 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.litter-date {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin: 0;
  text-align: right;
}

.litter-date span {
  color: var(--gold);
  font: 750 0.58rem var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.litter-date time {
  color: var(--ivory);
  font: 650 0.74rem var(--sans);
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

.litter-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.litter-card-links {
  display: grid;
}

.litter-card-links a {
  align-items: center;
  color: var(--ivory);
  display: flex;
  font: 750 0.76rem var(--sans);
  gap: 1rem;
  justify-content: space-between;
  letter-spacing: 0.095em;
  min-height: 3.8rem;
  padding: 0.9rem 1rem;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.litter-card-links a + a {
  border-top: 1px solid var(--line);
}

.litter-card-links a span:last-child {
  color: var(--gold-bright);
  font-size: 1rem;
}

.litter-card-links a:hover,
.litter-card-links a:focus-visible {
  background: var(--forest-light);
  color: var(--gold-bright);
  outline: 2px solid var(--gold-bright);
  outline-offset: -4px;
}

.blank-page-main {
  min-height: calc(100vh - 5.4rem);
}

.placeholder-main {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 5.4rem);
  padding: clamp(1rem, 2.5vw, 2rem);
}

.placeholder-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 10, 9, 0.94), rgba(7, 10, 9, 0.7)),
    radial-gradient(
      circle at 82% 24%,
      rgba(199, 155, 72, 0.2),
      transparent 25rem
    ),
    var(--ink-soft);
  border: 1px solid var(--gold-dim);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: min(42rem, calc(100vh - 9.4rem));
  overflow: hidden;
  padding: clamp(2rem, 8vw, 8rem);
  position: relative;
  width: 100%;
}

.placeholder-hero::before,
.placeholder-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.placeholder-hero::before {
  border-left: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
  height: 4.5rem;
  left: 1rem;
  top: 1rem;
  width: 5rem;
}

.placeholder-hero::after {
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  bottom: 1rem;
  height: 4.5rem;
  right: 1rem;
  width: 5rem;
}

.placeholder-copy {
  max-width: 52rem;
  position: relative;
  z-index: 1;
}

.placeholder-copy .eyebrow {
  margin: 0 0 1.5rem;
}

.wip-mark {
  color: var(--gold);
  display: block;
  font-family: var(--sans);
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.72;
  margin: 0 0 2rem -0.06em;
  opacity: 0.16;
}

.placeholder-copy h1 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: -0.35em 0 1.6rem;
  text-wrap: balance;
}

.placeholder-copy > p:not(.eyebrow) {
  color: var(--ivory-muted);
  font-size: 1.18rem;
  margin: 0 0 2.4rem;
  max-width: 38rem;
}

.placeholder-back {
  border-bottom: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
}

.placeholder-back:hover,
.placeholder-back:focus-visible {
  color: var(--ivory);
  outline: 2px solid var(--gold-bright);
  outline-offset: 5px;
}

.placeholder-side {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  margin: 0;
  text-orientation: mixed;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: 92rem;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem) 2rem;
}

.footer-brand {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.footer-brand .footer-breed {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.22em;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-brand .footer-final-s {
  font-size: 0.78em;
}

.site-footer > div:first-child > p:last-child {
  color: var(--ivory-muted);
  margin: 0.75rem 0 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  gap: 0.45rem;
  text-align: right;
}

.footer-contact a {
  color: var(--gold-bright);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--ivory);
}

.footer-credit {
  border-top: 1px solid rgba(199, 155, 72, 0.2);
  color: #746f64;
  font-family: var(--sans);
  font-size: 0.76rem;
  grid-column: 1 / -1;
  letter-spacing: 0.15em;
  margin: 1rem 0 0;
  padding-top: 1rem;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav a {
    font-size: 0.76rem;
  }

  .hero-content {
    width: 68%;
  }

  .term-card {
    grid-column: span 6;
  }

  .term-card-small {
    grid-column: span 4;
  }

  .term-card-coi {
    grid-column: span 8;
  }

  .term-card-story,
  .term-card-story + .term-card {
    grid-column: span 6;
  }

  .contact-intro,
  .trade-panel,
  .location-panel {
    grid-template-columns: 1fr;
  }

  .contact-intro > p:last-child {
    align-self: start;
    max-width: 42rem;
  }

  .location-copy > p:not(.chapter-number) {
    max-width: 42rem;
  }

}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav summary {
    align-items: center;
    color: var(--ivory);
    cursor: pointer;
    display: flex;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 750;
    gap: 0.65rem;
    letter-spacing: 0.14em;
    list-style: none;
    text-transform: uppercase;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary i,
  .mobile-nav summary i::before {
    background: var(--gold);
    content: "";
    display: block;
    height: 1px;
    transition: transform 180ms ease;
    width: 1.2rem;
  }

  .mobile-nav summary i::before {
    transform: translateY(-0.34rem);
  }

  .mobile-nav[open] summary i {
    transform: rotate(45deg);
  }

  .mobile-nav[open] summary i::before {
    transform: rotate(-90deg);
  }

  .mobile-nav nav {
    background: var(--ink-soft);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-width: min(19rem, calc(100vw - 2rem));
    padding: 0.7rem;
    position: absolute;
    right: 0;
    top: 2.4rem;
  }

  .mobile-nav nav a {
    border-bottom: 1px solid rgba(199, 155, 72, 0.12);
    color: var(--ivory-muted);
    font-family: var(--sans);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    padding: 0.7rem 0.8rem;
    text-transform: uppercase;
  }

  .mobile-nav nav a.active {
    color: var(--gold-bright);
  }

  .hero {
    background-image:
      linear-gradient(90deg, rgba(5, 8, 7, 0.98), rgba(5, 8, 7, 0.68)),
      linear-gradient(0deg, rgba(5, 8, 7, 0.48), rgba(5, 8, 7, 0.12)),
      url("images/dewolf-gsds-card.png");
    background-position:
      center,
      center,
      66% center;
    min-height: 44rem;
  }

  .hero-content {
    padding: 5rem 2.25rem;
    width: 84%;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 11vw, 6rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    margin-top: 1.8rem;
  }

  .section-heading h2 {
    font-size: clamp(3rem, 8.5vw, 4.7rem);
  }

  .contact-intro h1,
  .contact-intro h2 {
    max-width: 12ch;
  }

  .map-frame {
    min-height: 28rem;
  }
}

@media (max-width: 660px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  body {
    font-size: 1.06rem;
  }

  .site-header {
    min-height: 4.7rem;
  }

  .brand-mark {
    height: 2.35rem;
    width: 2.35rem;
  }

  .brand-copy strong {
    font-size: 1.18rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .mobile-nav summary span {
    display: none;
  }

  .hero {
    margin-top: 0.65rem;
    min-height: 41rem;
    width: calc(100% - 1rem);
  }

  .hero::before {
    inset: 0.38rem;
  }

  .hero::after {
    inset: 0.7rem;
  }

  .hero-content {
    padding: 4.5rem 1.55rem 3.5rem;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 4.4rem);
  }

  .hero-deck {
    font-size: 1.12rem;
    margin-top: 1.6rem;
  }

  .hero-intro {
    font-size: 1.08rem;
  }

  .project-signature strong {
    font-size: 1.15rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-caption {
    display: none;
  }

  .section-rail {
    gap: 0.9rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-left: 1.25rem;
  }

  .section-rail > * {
    flex: 0 0 auto;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .terms-grid {
    display: flex;
    flex-direction: column;
  }

  .term-card,
  .term-card-small,
  .term-card-coi,
  .term-card-story,
  .term-card-story + .term-card,
  .term-card-straight {
    min-height: 0;
    padding: 1.6rem;
  }

  .term-card h3 {
    margin-top: 1.6rem;
  }

  .term-card-small {
    display: block;
  }

  .term-card-small h3 {
    margin: 1.6rem 0 1.2rem;
  }

  .source-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-row cite {
    text-align: left;
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 0.5rem 0.5rem;
    width: calc(100% - 1rem);
  }

  .contact-section {
    max-width: calc(100% - 1rem);
    padding: 4.5rem 0 0;
  }

  .contact-intro {
    padding: 0 0.5rem;
  }

  .contact-intro h1,
  .contact-intro h2 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .trade-panel,
  .location-copy {
    padding: 1.7rem 1.4rem 2rem;
  }

  .trade-panel h2,
  .trade-panel h3,
  .location-panel h2,
  .location-panel h3 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .directions-controls {
    flex-direction: column;
    gap: 0.55rem;
  }

  .directions-controls button {
    width: 100%;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 25rem;
  }

  .litters-main {
    padding: 4rem 1rem 5rem;
  }

  .litters-intro {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .litters-intro h1 {
    font-size: clamp(4rem, 20vw, 5.8rem);
  }

  .litters-intro-copy {
    align-items: start;
    flex-direction: column;
  }

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

  .litter-card-heading {
    padding: 0.75rem 0.85rem;
  }

  .litter-card-heading h2 {
    font-size: 1.2rem;
  }

  .litter-card-links a {
    font-size: 0.72rem;
    min-height: 3.6rem;
    padding: 0.85rem;
  }

  .blank-page-main {
    min-height: calc(100vh - 4.7rem);
  }

  .placeholder-main {
    min-height: calc(100vh - 4.7rem);
    padding: 0.5rem;
  }

  .placeholder-hero {
    min-height: calc(100vh - 5.7rem);
    padding: 5rem 1.5rem 3rem;
  }

  .placeholder-copy h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .placeholder-side {
    display: none;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 860px) {
  .comparison-frame {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-copy {
    grid-column: 1 / -1;
  }

  .comparison-image {
    min-height: 31rem;
  }

  .movement-stories {
    grid-template-columns: 1fr;
  }

  .source-feature {
    grid-template-columns: 1fr;
  }

  .source-feature figure {
    min-height: 32rem;
  }

  .source-feature-quote {
    grid-column: auto;
  }

  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-card-motion {
    grid-column: 1 / -1;
  }

  .evidence-card-motion .image-zoom {
    aspect-ratio: 2 / 1;
  }

  .trait-card:not(.trait-card-wide) {
    grid-template-columns: 3.5rem minmax(12rem, 0.4fr) minmax(0, 1fr);
  }

  .trait-card-plumage,
  .trait-card-color,
  .trait-card-wide {
    grid-column: auto;
  }

  .trait-card-wide {
    grid-template-columns: minmax(11rem, 0.34fr) minmax(0, 1fr);
  }

  .trait-body-columns {
    columns: 1;
  }
}

@media (max-width: 660px) {
  .movement-section {
    max-width: calc(100% - 1rem);
    padding-bottom: 4.5rem;
    padding-top: 4.5rem;
  }

  .movement-section::before {
    inset: 0.38rem;
  }

  .comparison-frame {
    display: flex;
    flex-direction: column;
  }

  .comparison-copy {
    padding: 2rem 1.4rem;
  }

  .comparison-image {
    min-height: 32rem;
  }

  .movement-story {
    display: flex;
    flex-direction: column;
  }

  .movement-story figure {
    min-height: 21rem;
  }

  .movement-story > div {
    padding: 1.7rem 1.4rem 2rem;
  }

  .applause-panel {
    align-items: flex-start;
    grid-template-columns: 1fr;
    padding: 2rem 1.4rem;
  }

  .applause-mark {
    height: 3.6rem;
    width: 3.6rem;
  }

  .source-feature {
    padding: 0.55rem;
  }

  .source-feature-heading,
  .source-feature-quote {
    padding: 1.5rem 1rem;
  }

  .source-feature figure {
    min-height: 25rem;
  }

  .source-feature figure .image-zoom {
    min-height: 28rem;
  }

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

  .evidence-card-motion {
    grid-column: auto;
  }

  .evidence-card-motion .image-zoom,
  .evidence-card .image-zoom {
    aspect-ratio: 1.15 / 1;
  }

  .comparison-image figcaption,
  .movement-story figure figcaption,
  .source-feature figure figcaption,
  .evidence-card figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .closing-quote {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .lightbox {
    padding: 0.5rem;
  }

  .lightbox-panel {
    max-height: calc(100vh - 1rem);
    padding: 3.1rem 0.65rem 0.75rem;
    width: calc(100vw - 1rem);
  }

  .lightbox-panel img {
    max-height: calc(100vh - 9rem);
  }

  .trait-grid {
    display: flex;
    flex-direction: column;
  }

  .trait-card,
  .trait-card-wide {
    display: block;
    min-height: 0;
    padding: 1.6rem;
  }

  .trait-card-wide h3 {
    font-size: 3rem;
  }

  .trait-body {
    margin-top: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.puppies-main,
.puppy-profile-main {
  margin: 0 auto;
  max-width: 104rem;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem)
    clamp(5rem, 9vw, 9rem);
}

.puppies-intro {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: minmax(20rem, 0.8fr) minmax(18rem, 0.65fr);
  justify-content: space-between;
  padding-bottom: clamp(2.8rem, 5vw, 4.8rem);
}

.puppies-intro h1 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.84;
  margin: 0;
}

.puppies-intro h1 em {
  color: var(--gold-bright);
  display: block;
  font-size: 0.72em;
  font-weight: 400;
  margin-left: 0.68em;
  margin-top: 0.2em;
}

.puppies-intro-copy {
  align-self: end;
}

.puppies-intro-copy > p {
  color: var(--ivory-muted);
  font-size: clamp(1.12rem, 1.35vw, 1.35rem);
  line-height: 1.65;
  margin: 0;
  max-width: 34rem;
}

.puppy-id-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.puppy-id-key span {
  border: 1px solid rgba(199, 155, 72, 0.32);
  color: var(--ivory-muted);
  font: 650 0.69rem var(--sans);
  letter-spacing: 0.08em;
  padding: 0.46rem 0.65rem;
  text-transform: uppercase;
}

.puppy-id-key b {
  color: var(--gold-bright);
  margin-right: 0.28rem;
}

.puppy-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.65rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: clamp(3rem, 6vw, 6rem);
}

.puppy-card {
  background: var(--ink-soft);
  border: 1px solid var(--gold-dim);
  box-shadow: 0 1.1rem 2.7rem rgba(0, 0, 0, 0.2);
  display: block;
  overflow: hidden;
  position: relative;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.puppy-card:hover,
.puppy-card:focus-visible {
  border-color: var(--gold-bright);
  box-shadow: 0 1.6rem 3.5rem rgba(0, 0, 0, 0.34);
  outline: none;
  transform: translateY(-0.3rem);
}

.puppy-card-media {
  aspect-ratio: 1;
  background: var(--forest);
  overflow: hidden;
  position: relative;
}

.puppy-card-media::after {
  border: 1px solid rgba(224, 189, 114, 0.34);
  content: "";
  inset: 0.5rem;
  pointer-events: none;
  position: absolute;
}

.puppy-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
  width: 100%;
}

.puppy-card:hover .puppy-card-media img,
.puppy-card:focus-visible .puppy-card-media img {
  transform: scale(1.035);
}

.puppy-card-id {
  align-items: center;
  background: rgba(7, 10, 9, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  display: flex;
  font: 750 0.78rem var(--sans);
  height: 3rem;
  justify-content: center;
  letter-spacing: 0.14em;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 3rem;
  z-index: 2;
}

.puppy-card-copy {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  min-height: 5.4rem;
  padding: 1rem;
}

.puppy-card-copy > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.puppy-card-copy strong {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.puppy-card-copy div span {
  color: var(--ivory-muted);
  font: 650 0.66rem var(--sans);
  letter-spacing: 0.08em;
  margin-top: 0.45rem;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.spice-chip {
  background: rgba(199, 155, 72, 0.13);
  border: 1px solid rgba(199, 155, 72, 0.44);
  color: var(--gold-bright);
  flex: 0 0 auto;
  font: 750 0.7rem var(--sans);
  letter-spacing: 0.05em;
  padding: 0.38rem 0.48rem;
}

.puppy-card-hot {
  border-color: #dc5e2e;
  box-shadow: 0 1.2rem 3rem rgba(150, 44, 17, 0.24);
}

.puppy-card-hot .puppy-card-id,
.puppy-card-hot .spice-chip {
  background: rgba(125, 29, 11, 0.82);
  border-color: #ff8654;
  color: #ffd7bd;
}

.profile-breadcrumb {
  align-items: center;
  color: var(--ivory-muted);
  display: flex;
  flex-wrap: wrap;
  font: 700 0.7rem var(--sans);
  gap: 0.65rem;
  letter-spacing: 0.13em;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.profile-breadcrumb a {
  color: var(--gold-bright);
}

.profile-breadcrumb a:hover,
.profile-breadcrumb a:focus-visible {
  color: var(--ivory);
}

.profile-hero {
  background: var(--ink-soft);
  border: 1px solid var(--gold-dim);
  display: grid;
  grid-template-columns: minmax(28rem, 1.08fr) minmax(25rem, 0.92fr);
  min-height: 43rem;
  overflow: hidden;
}

.profile-hero-media {
  background: var(--forest);
  min-height: 43rem;
  overflow: hidden;
  position: relative;
}

.profile-hero-media::after {
  border: 1px solid rgba(224, 189, 114, 0.42);
  content: "";
  inset: 0.72rem;
  pointer-events: none;
  position: absolute;
}

.profile-hero-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.profile-hero-copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.profile-id-row {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.profile-id {
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font: 800 0.78rem var(--sans);
  letter-spacing: 0.16em;
  padding: 0.5rem 0.65rem;
}

.profile-status {
  color: var(--ivory-muted);
  font: 700 0.68rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-hero h1 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(4.2rem, 7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.85;
  margin: 0;
}

.profile-breedline {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  margin: 1rem 0 0;
}

.profile-summary {
  color: var(--ivory-muted);
  margin: 1.6rem 0 0;
  max-width: 38rem;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.profile-action {
  border: 1px solid rgba(243, 238, 228, 0.3);
  color: var(--ivory);
  font: 750 0.72rem var(--sans);
  letter-spacing: 0.11em;
  padding: 0.75rem 0.9rem;
  text-transform: uppercase;
}

.profile-action:hover,
.profile-action:focus-visible {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.profile-gallery,
.profile-markings,
.profile-videos,
.profile-content-section {
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.profile-section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.profile-section-heading h2 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}

.profile-section-heading p {
  color: var(--ivory-muted);
  font: 700 0.7rem var(--sans);
  letter-spacing: 0.14em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.subphoto-grid {
  display: grid;
  gap: clamp(0.75rem, 1.8vw, 1.4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.markings-layout {
  background:
    radial-gradient(circle at 8% 18%, rgba(199, 155, 72, 0.14), transparent 22rem),
    var(--ink-soft);
  border: 1px solid var(--gold-dim);
  display: grid;
  grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
}

.markings-copy {
  align-self: center;
  padding: clamp(1.6rem, 4vw, 3.8rem);
}

.markings-copy p {
  color: var(--gold);
  font: 800 0.7rem var(--sans);
  letter-spacing: 0.13em;
  line-height: 1.55;
  margin: 0;
  text-transform: uppercase;
}

.markings-copy h3 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 1rem 0 0;
}

.marking-photo-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subphoto-grid figure,
.marking-photo-grid figure,
.video-card {
  background: var(--ink-soft);
  border: 1px solid var(--gold-dim);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.subphoto-grid figure {
  aspect-ratio: 1;
}

.marking-photo-grid figure {
  aspect-ratio: 1;
}

.subphoto-grid figure::after,
.marking-photo-grid figure::after,
.video-card::after {
  border: 1px solid rgba(224, 189, 114, 0.32);
  content: "";
  inset: 0.5rem;
  pointer-events: none;
  position: absolute;
}

.subphoto-grid img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.marking-photo-grid img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-grid {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card video {
  aspect-ratio: 16 / 9;
  background: #080b09;
  display: block;
  object-fit: cover;
  width: 100%;
}

.video-label {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ivory-muted);
  display: flex;
  font: 750 0.7rem var(--sans);
  justify-content: space-between;
  letter-spacing: 0.12em;
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
  text-transform: uppercase;
}

.video-label span:last-child {
  color: var(--gold-bright);
}

.profile-two-column {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.profile-panel {
  background: var(--ink-soft);
  border: 1px solid var(--gold-dim);
  padding: clamp(1.5rem, 3.5vw, 3rem);
}

.profile-panel h3 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 1.5rem;
}

.profile-facts {
  margin: 0;
}

.profile-facts > div {
  border-top: 1px solid rgba(199, 155, 72, 0.22);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(8rem, 0.38fr) minmax(0, 0.62fr);
  padding: 0.85rem 0;
}

.profile-facts > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.profile-facts dt {
  color: var(--gold);
  font: 750 0.68rem var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.profile-facts dd {
  color: var(--ivory);
  margin: 0;
}

.profile-facts dd a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(224, 189, 114, 0.35);
  text-underline-offset: 0.2em;
}

.spice-panel {
  --spice-accent: #cf9a36;
  background:
    radial-gradient(circle at 88% 5%, color-mix(in srgb, var(--spice-accent) 28%, transparent), transparent 18rem),
    linear-gradient(145deg, rgba(199, 155, 72, 0.08), transparent 54%),
    var(--ink-soft);
  border: 1px solid color-mix(in srgb, var(--spice-accent) 70%, #22170d);
  padding: clamp(1.5rem, 3.5vw, 3rem);
}

.spice-heading {
  align-items: start;
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
}

.spice-kicker {
  color: var(--spice-accent);
  font: 800 0.72rem var(--sans);
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.spice-heading h3 {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0.65rem 0 0;
}

.spice-score {
  color: var(--spice-accent);
  font: 750 1.05rem var(--sans);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pepper-meter {
  display: grid;
  gap: clamp(0.18rem, 0.55vw, 0.5rem);
  grid-template-columns: repeat(10, minmax(0, 1fr));
  margin: 1.8rem 0;
  max-width: 36rem;
}

.pepper {
  display: inline-block;
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  height: 1.25em;
  line-height: 1;
  position: relative;
}

.pepper::before,
.pepper::after {
  content: "🌶";
  inset: 0;
  position: absolute;
}

.pepper::before {
  filter: grayscale(1);
  opacity: 0.2;
}

.pepper::after {
  color: var(--spice-accent);
  filter: saturate(1.25);
  overflow: hidden;
  width: var(--pepper-fill, 0%);
}

.pepper-full {
  --pepper-fill: 100%;
}

.pepper-half {
  --pepper-fill: 52%;
}

.spice-level-05 .pepper:nth-child(1),
.spice-level-15 .pepper:nth-child(2),
.spice-level-25 .pepper:nth-child(3),
.spice-level-55 .pepper:nth-child(6) {
  --pepper-fill: 52%;
}

.spice-level-10 .pepper:nth-child(-n + 1),
.spice-level-15 .pepper:nth-child(-n + 1),
.spice-level-20 .pepper:nth-child(-n + 2),
.spice-level-25 .pepper:nth-child(-n + 2),
.spice-level-30 .pepper:nth-child(-n + 3),
.spice-level-55 .pepper:nth-child(-n + 5) {
  --pepper-fill: 100%;
}

.spice-definition,
.spice-example {
  color: var(--ivory-muted);
  margin: 0;
}

.spice-example {
  border-left: 2px solid var(--spice-accent);
  color: var(--ivory);
  margin-top: 1.2rem;
  padding-left: 1rem;
}

.profile-hot .spice-panel {
  --spice-accent: #ff6b35;
  background:
    radial-gradient(circle at 88% 5%, rgba(255, 93, 35, 0.34), transparent 20rem),
    linear-gradient(145deg, rgba(136, 28, 9, 0.46), rgba(48, 13, 6, 0.1) 60%),
    var(--ink-soft);
  border-color: #d8582c;
  box-shadow: 0 1.4rem 4rem rgba(125, 27, 10, 0.22);
}

.profile-hot .profile-id {
  background: rgba(140, 33, 11, 0.35);
  border-color: #ff7745;
  color: #ffc4a7;
}

.profile-disclaimer {
  background: rgba(199, 155, 72, 0.07);
  border: 1px solid rgba(199, 155, 72, 0.28);
  color: var(--ivory-muted);
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.3rem, 2.5vw, 2rem);
}

.profile-disclaimer strong {
  color: var(--gold-bright);
  display: block;
  font: 800 0.7rem var(--sans);
  letter-spacing: 0.15em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.profile-disclaimer p {
  margin: 0;
}

.profile-story {
  color: var(--ivory);
  font-size: clamp(1.16rem, 1.45vw, 1.38rem);
  margin: 0;
}

.matching-note {
  border-left: 2px solid var(--gold);
  color: var(--ivory-muted);
  margin: 1.8rem 0 0;
  padding-left: 1rem;
}

.matching-note strong {
  color: var(--ivory);
}

.evaluation-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.evaluation-list > div {
  border-top: 1px solid rgba(199, 155, 72, 0.2);
  min-height: 8.5rem;
  padding: 1.25rem 1.1rem 1.25rem 0;
}

.evaluation-list > div:nth-child(even) {
  border-left: 1px solid rgba(199, 155, 72, 0.2);
  padding-left: 1.1rem;
}

.evaluation-list dt {
  color: var(--gold-bright);
  font: 750 0.68rem var(--sans);
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.evaluation-list dd {
  color: var(--ivory-muted);
  margin: 0.65rem 0 0;
}

.health-stack {
  display: grid;
  gap: 1.2rem;
}

.health-card {
  background: var(--ink-soft);
  border: 1px solid rgba(199, 155, 72, 0.32);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.health-card h3 {
  color: var(--gold-bright);
  font: 800 0.74rem var(--sans);
  letter-spacing: 0.14em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.health-card p {
  color: var(--ivory-muted);
  margin: 0;
}

.health-card p + p {
  margin-top: 1rem;
}

.allergen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.allergen-list li {
  border: 1px solid rgba(199, 155, 72, 0.24);
  color: var(--ivory);
  font: 650 0.69rem var(--sans);
  letter-spacing: 0.06em;
  padding: 0.38rem 0.55rem;
  text-transform: uppercase;
}

.dairy-notice {
  background: rgba(224, 189, 114, 0.08);
  border-left: 3px solid var(--gold-bright);
  color: var(--ivory) !important;
  padding: 1rem 1rem 1rem 1.15rem;
}

.care-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.care-item {
  background: var(--ink-soft);
  border: 1px solid rgba(199, 155, 72, 0.28);
  min-height: 11rem;
  padding: 1.35rem;
}

.care-item h3 {
  color: var(--gold-bright);
  font: 800 0.7rem var(--sans);
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.care-item p {
  color: var(--ivory-muted);
  margin: 0.8rem 0 0;
}

.profile-pagination {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: clamp(3rem, 6vw, 5rem);
}

.profile-pagination a {
  align-items: center;
  border: 1px solid var(--gold-dim);
  color: var(--ivory);
  display: flex;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  justify-content: space-between;
  min-height: 6rem;
  padding: 1rem 1.25rem;
}

.profile-pagination a:hover,
.profile-pagination a:focus-visible {
  background: var(--forest-light);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.profile-pagination small {
  color: var(--ivory-muted);
  display: block;
  font: 750 0.64rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .puppy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-hero {
    grid-template-columns: minmax(24rem, 1fr) minmax(23rem, 1fr);
  }
}

@media (max-width: 900px) {
  .puppies-intro,
  .profile-hero,
  .profile-two-column,
  .markings-layout {
    grid-template-columns: 1fr;
  }

  .profile-hero-media {
    min-height: 36rem;
  }

  .profile-hero-copy {
    padding: 3rem 2rem 3.5rem;
  }

  .puppy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .puppies-main,
  .puppy-profile-main {
    padding: 3.5rem 1rem 5rem;
  }

  .puppies-intro h1 {
    font-size: clamp(3.8rem, 18vw, 5.4rem);
  }

  .puppies-intro h1 em {
    margin-left: 0.25em;
  }

  .puppy-grid {
    gap: 0.8rem;
  }

  .puppy-card-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .puppy-card-id {
    height: 2.5rem;
    right: 0.75rem;
    top: 0.75rem;
    width: 2.5rem;
  }

  .profile-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .profile-hero-media {
    aspect-ratio: 1 / 1.08;
    min-height: 0;
  }

  .profile-hero-copy {
    padding: 2.3rem 1.35rem 2.7rem;
  }

  .profile-hero h1 {
    font-size: clamp(4rem, 19vw, 5.8rem);
  }

  .profile-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .subphoto-grid {
    gap: 0.6rem;
  }

  .marking-photo-grid {
    gap: 0.6rem;
    padding: 0 0.6rem 0.6rem;
  }

  .video-grid,
  .care-grid,
  .profile-pagination {
    grid-template-columns: 1fr;
  }

  .profile-panel,
  .spice-panel {
    padding: 1.35rem;
  }

  .spice-heading {
    flex-direction: column;
  }

  .pepper-meter {
    gap: 0.08rem;
  }

  .evaluation-list {
    grid-template-columns: 1fr;
  }

  .evaluation-list > div:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .profile-facts > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .puppy-grid {
    grid-template-columns: 1fr;
  }
}
