﻿:root {
  color-scheme: light;
  --ink: #151a1d;
  --night: #22272a;
  --graphite: #363c40;
  --muted: #667178;
  --paper: #f4f1ea;
  --panel: #ffffff;
  --ice: #e8f2f3;
  --line: #cbd3d3;
  --teal: #3c9999;
  --blue: #2f6d85;
  --amber: #d88d36;
  --rust: #a9593d;
  --bone: #fbf7ee;
  --shadow: 0 22px 60px rgba(21, 26, 29, 0.16);
  --facet: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(60, 153, 153, 0.08) 0 18%, transparent 18% 100%),
    linear-gradient(295deg, transparent 0 70%, rgba(216, 141, 54, 0.11) 70% 100%),
    var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

.top-strip {
  display: grid;
  min-height: 36px;
  place-items: center;
  padding: 7px 16px;
  background:
    linear-gradient(rgba(8, 14, 16, 0.24), rgba(8, 14, 16, 0.24)),
    linear-gradient(90deg, #e74767 0%, #f7943d 16%, #f2d24b 32%, #38b96f 48%, #2f91d1 64%, #7a55c7 82%, #e74767 100%);
  color: var(--bone);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid rgba(203, 211, 211, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.corner-link {
  display: inline-grid;
  width: 54px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
}

.corner-link img {
  display: block;
  width: 52px;
  height: auto;
  transition: transform 0.22s ease;
}

.corner-link:hover img {
  transform: translateY(-2px) rotate(-3deg);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 50px;
  height: 46px;
  place-items: center;
  clip-path: polygon(50% 0, 100% 36%, 84% 100%, 16% 100%, 0 36%);
  background:
    linear-gradient(145deg, transparent 0 47%, rgba(255, 255, 255, 0.36) 47% 53%, transparent 53% 100%),
    linear-gradient(35deg, transparent 0 32%, rgba(10, 14, 16, 0.22) 32% 38%, transparent 38% 100%),
    conic-gradient(from 215deg at 50% 48%, #e74767, #f7943d, #f2d24b, #38b96f, #2f91d1, #7a55c7, #e74767);
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(8, 14, 16, 0.62);
}

.brand-mark::before {
  inset: 21px 13px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 64% 100%, 64% 52%, 36% 52%, 36% 100%, 0 100%);
}

.brand-mark::after {
  inset: 4px 8px auto;
  height: 18px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 12px;
  margin-left: auto;
  white-space: nowrap;
}

.contact-link {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--ink);
}

#top {
  background:
    url("hero-colorful-breeds.png") right center / contain no-repeat fixed,
    radial-gradient(ellipse at 12% 20%, rgba(15, 49, 82, 0.92) 0 18%, transparent 44%),
    radial-gradient(ellipse at 46% 8%, rgba(70, 60, 112, 0.74) 0 14%, transparent 38%),
    radial-gradient(ellipse at 70% 8%, rgba(217, 151, 48, 0.58) 0 13%, transparent 36%),
    radial-gradient(ellipse at 92% 16%, rgba(231, 83, 88, 0.66) 0 16%, transparent 38%),
    radial-gradient(ellipse at 86% 82%, rgba(80, 58, 106, 0.78) 0 20%, transparent 48%),
    radial-gradient(ellipse at 42% 92%, rgba(47, 87, 124, 0.84) 0 26%, transparent 54%),
    radial-gradient(ellipse at 16% 88%, rgba(42, 77, 83, 0.8) 0 22%, transparent 50%),
    linear-gradient(135deg, #091418 0%, #0d2f42 34%, #445961 68%, #182126 100%),
    var(--night);
}

.hero {
  position: relative;
  min-height: calc(100vh - 108px);
  display: grid;
  align-items: start;
  overflow: hidden;
  isolation: isolate;
  --hero-float: 0px;
  background: transparent;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  display: none;
}

.hero::after {
  inset: auto clamp(20px, 5vw, 72px) 34px auto;
  width: min(330px, 42vw);
  height: min(330px, 42vw);
  border: 1px solid rgba(232, 242, 243, 0.2);
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0;
}

.hero-copy {
  width: min(470px, calc(100% - 40px));
  margin: clamp(42px, 4.6vw, 62px) clamp(18px, 3.8vw, 58px);
  padding: clamp(17px, 2.2vw, 24px);
  background: rgba(5, 10, 12, 0.7);
  border: 1px solid rgba(251, 247, 238, 0.16);
  clip-path: var(--facet);
  color: var(--bone);
  backdrop-filter: blur(3px);
  box-shadow: 0 22px 54px rgba(5, 10, 12, 0.26);
  text-shadow: 0 2px 18px rgba(5, 10, 12, 0.72);
}

.hero-copy::before {
  content: "PUP KENNEL";
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 13px;
  border: 1px solid rgba(232, 242, 243, 0.58);
  clip-path: var(--facet);
  color: var(--ice);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: translateY(calc(var(--hero-badge-float, 0px) * -1));
  transition: transform 0.08s linear;
  will-change: transform;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 500px;
  margin: 0;
  font-size: 3.45rem;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(calc(var(--hero-title-float, 0px) * -1));
  transition: transform 0.08s linear;
  will-change: transform;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 20px 0 0;
  font-size: 0.98rem;
  color: rgba(251, 247, 238, 0.84);
  transform: translateY(calc(var(--hero-body-float, 0px) * -1));
  transition: transform 0.08s linear;
  will-change: transform;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  transform: translateY(calc(var(--hero-actions-float, 0px) * -1));
  transition: transform 0.08s linear;
  will-change: transform;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  clip-path: var(--facet);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--bone);
}

.button.secondary {
  border-color: rgba(251, 247, 238, 0.58);
  color: var(--bone);
}

.hero .button.secondary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-color: transparent;
}

.page-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 108px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
  color: var(--bone);
  --facet-teal: rgba(60, 153, 153, 0.42);
  --facet-blue: rgba(47, 109, 133, 0.48);
  --facet-pink: rgba(231, 71, 103, 0.26);
  --facet-gold: rgba(216, 141, 54, 0.24);
  --facet-violet: rgba(122, 85, 199, 0.28);
  --facet-green: rgba(104, 154, 94, 0.26);
  --facet-coral: rgba(236, 103, 87, 0.2);
  --facet-deep: rgba(7, 13, 16, 0.96);
  background:
    linear-gradient(122deg, rgba(7, 13, 16, 0.96) 0 34%, rgba(18, 25, 29, 0.94) 34% 68%, rgba(10, 16, 18, 0.95) 68% 100%),
    radial-gradient(circle at 18% 20%, rgba(60, 153, 153, 0.18), transparent 24%),
    radial-gradient(circle at 82% 32%, rgba(231, 71, 103, 0.16), transparent 26%),
    radial-gradient(circle at 34% 84%, rgba(104, 154, 94, 0.16), transparent 26%),
    var(--night);
  background-attachment: fixed;
}

.page-main::before,
.page-main::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-main::before {
  background: url("assets/facet-field.svg") center / cover no-repeat;
  background-attachment: fixed;
  opacity: 0.9;
}

.page-main::after {
  background:
    linear-gradient(118deg, transparent 0 24%, rgba(47, 109, 133, 0.12) 24% 36%, transparent 36% 62%, rgba(216, 141, 54, 0.1) 62% 72%, transparent 72% 100%),
    linear-gradient(34deg, rgba(122, 85, 199, 0.08) 0 18%, transparent 18% 54%, rgba(236, 103, 87, 0.09) 54% 67%, transparent 67% 100%);
  background-attachment: fixed;
  opacity: 0.8;
}

.how-background-page {
  background:
    linear-gradient(126deg, var(--facet-deep) 0 28%, rgba(47, 109, 133, 0.34) 28% 44%, rgba(16, 25, 29, 0.94) 44% 64%, rgba(104, 154, 94, 0.24) 64% 78%, rgba(8, 12, 15, 0.95) 78% 100%),
    radial-gradient(circle at 22% 28%, rgba(231, 71, 103, 0.18), transparent 24%),
    radial-gradient(circle at 72% 76%, rgba(216, 141, 54, 0.18), transparent 26%),
    var(--night);
  background-attachment: fixed;
}

.how-background-page::before {
  background-position: 56% 46%;
  transform: scale(1.03);
}

.how-background-page::after {
  opacity: 0.72;
}

.how-background-page .mini-hero p:not(.eyebrow) {
  color: rgba(251, 247, 238, 0.84);
}

.how-background-page .page-card {
  background: rgba(251, 247, 238, 0.9);
  border-color: rgba(251, 247, 238, 0.64);
}

.how-background-page .page-card h2 {
  color: var(--ink);
}

.stories-background-page {
  background:
    linear-gradient(116deg, var(--facet-deep) 0 31%, rgba(122, 85, 199, 0.3) 31% 45%, rgba(16, 24, 29, 0.94) 45% 67%, rgba(60, 153, 153, 0.26) 67% 82%, var(--facet-deep) 82% 100%),
    radial-gradient(circle at 76% 22%, rgba(236, 103, 87, 0.16), transparent 23%),
    radial-gradient(circle at 28% 78%, rgba(104, 154, 94, 0.18), transparent 25%),
    var(--night);
  background-attachment: fixed;
}

.stories-background-page::before {
  background-position: 42% 50%;
  transform: scale(1.05) rotate(180deg);
}

.stories-background-page::after {
  opacity: 0.7;
}

.stories-background-page .mini-hero p:not(.eyebrow) {
  color: rgba(251, 247, 238, 0.84);
}

.stories-background-page .page-card {
  background: rgba(251, 247, 238, 0.9);
  border-color: rgba(251, 247, 238, 0.64);
}

.stories-background-page .page-card h2 {
  color: var(--ink);
}

.mini-hero {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.mini-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 3.7rem;
  line-height: 1;
  letter-spacing: 0;
}

.mini-hero p:not(.eyebrow) {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

.page-main .mini-hero p:not(.eyebrow),
.page-main .form-intro p:not(.eyebrow) {
  color: rgba(251, 247, 238, 0.84);
}

.page-main .eyebrow {
  color: rgba(251, 247, 238, 0.76);
}

.mini-hero .button {
  width: fit-content;
  margin-top: 8px;
}

.centered-page {
  min-height: 48vh;
  margin: 0 auto;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.home-sections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 2;
  align-items: start;
  min-height: 260vh;
  margin-top: -100vh;
  padding: calc(100vh - 58px) clamp(20px, 5vw, 72px) 32vh;
  background: transparent;
}

.home-sections article {
  --home-card-base: 0px;
  position: sticky;
  top: calc(100vh - 74px);
  align-self: start;
  min-height: clamp(178px, 17vw, 245px);
  padding: 20px;
  background: rgba(251, 247, 238, 0.82);
  border: 1px solid rgba(251, 247, 238, 0.58);
  clip-path: var(--facet);
  box-shadow: 0 18px 42px rgba(5, 10, 12, 0.28), 6px 6px 0 rgba(60, 153, 153, 0.18);
  backdrop-filter: blur(10px);
  transform: translateY(calc(var(--home-card-base) - var(--home-card-1-float, 0px)));
  transition: transform 0.08s linear;
  will-change: transform;
}

.home-sections article:nth-child(2) {
  --home-card-base: 0px;
  transform: translateY(calc(var(--home-card-base) - var(--home-card-2-float, 0px)));
}

.home-sections article:nth-child(3) {
  --home-card-base: 0px;
  transform: translateY(calc(var(--home-card-base) - var(--home-card-3-float, 0px)));
}

.home-sections article:nth-child(4) {
  --home-card-base: 0px;
  transform: translateY(calc(var(--home-card-base) - var(--home-card-4-float, 0px)));
}

.home-sections h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.home-sections p {
  margin: 0;
  color: var(--muted);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  max-width: 980px;
}

.page-card {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--facet);
  box-shadow: 6px 6px 0 rgba(60, 153, 153, 0.22);
}

.page-main .page-card,
.page-main .support-form,
.page-main .letter,
.page-main .item-card,
.page-main .story-card,
.page-main .rules-grid article,
.page-main .action-list article {
  background: rgba(251, 247, 238, 0.9);
  border-color: rgba(251, 247, 238, 0.64);
}

.page-main .page-card h2,
.page-main .letter,
.page-main .item-card h3,
.page-main .story-card h3,
.page-main .rules-grid h3,
.page-main .action-list h3,
.page-main .support-form {
  color: var(--ink);
}

.page-card:nth-child(2) {
  box-shadow-color: rgba(216, 141, 54, 0.22);
}

.page-card:nth-child(3) {
  box-shadow-color: rgba(47, 109, 133, 0.2);
}

.page-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.1;
}

.page-card p {
  margin: 0;
  color: var(--muted);
}

.visual-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.visual-page .mini-hero {
  max-width: 700px;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--facet);
  box-shadow: 10px 10px 0 rgba(60, 153, 153, 0.2);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.visual-panel > div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(251, 247, 238, 0.9);
  border: 1px solid rgba(21, 26, 29, 0.12);
  clip-path: var(--facet);
}

.visual-panel span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-panel strong {
  line-height: 1.12;
}

.story-panel {
  display: grid;
  place-items: center;
  background:
    linear-gradient(132deg, rgba(60, 153, 153, 0.18) 0 34%, transparent 34% 68%, rgba(216, 141, 54, 0.22) 68% 100%),
    var(--bone);
  box-shadow: 10px 10px 0 rgba(216, 141, 54, 0.24);
}

.story-panel img {
  width: min(340px, 72%);
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(12px 16px 0 rgba(21, 26, 29, 0.08));
}

.visual-page-grid {
  grid-column: 1;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.how-page .visual-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.step-card {
  position: relative;
}

.step-card > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  color: var(--bone);
  font-size: 0.78rem;
  font-weight: 950;
}

.promise-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.promise-strip span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--bone);
  clip-path: var(--facet);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.quiet-card {
  background: var(--ice);
}

.story-art-panel {
  max-width: 1180px;
  margin-top: 30px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--facet);
  box-shadow: 10px 10px 0 rgba(216, 141, 54, 0.2);
}

.story-art-panel img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.flow-image-panel {
  max-width: 1180px;
  margin-top: 30px;
  overflow: hidden;
  isolation: isolate;
}

.flow-image-panel img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
}

.letter {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  clip-path: var(--facet);
}

.letter p {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.letter-signature {
  margin-top: 8px;
  color: var(--teal);
  font-weight: 900;
}

.section-grid,
.full-band,
.form-section,
.intro-tiles,
.spotlight,
.process-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  background: var(--bone);
}

.intro-tiles article {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 14px 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--facet);
}

.intro-tiles article:nth-child(2) {
  background: var(--ice);
}

.intro-tiles article:nth-child(3) {
  background: #f2eadf;
}

.intro-tiles img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  filter: saturate(0.82) contrast(1.08);
}

.intro-tiles h2 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.08;
}

.intro-tiles p {
  margin: 0;
  color: var(--muted);
}

.spotlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background:
    linear-gradient(132deg, var(--night) 0 46%, var(--teal) 46% 70%, var(--amber) 70% 100%);
  color: var(--bone);
}

.spotlight h2 {
  margin: 0;
  font-size: 4.35rem;
  line-height: 0.96;
}

.spotlight p:not(.eyebrow) {
  max-width: 660px;
  margin: 12px 0 0;
  font-size: 1.1rem;
  color: rgba(251, 247, 238, 0.82);
}

.spotlight .eyebrow {
  color: var(--ice);
}

.spotlight .button.primary {
  background: var(--bone);
  color: var(--night);
}

.process-section {
  background:
    linear-gradient(45deg, transparent 0 64%, rgba(60, 153, 153, 0.1) 64% 100%),
    #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--graphite);
  clip-path: var(--facet);
  background: var(--bone);
  box-shadow: 8px 8px 0 var(--teal);
}

.process-grid article:nth-child(2) {
  box-shadow: 8px 8px 0 var(--amber);
}

.process-grid article:nth-child(3) {
  box-shadow: 8px 8px 0 var(--blue);
}

.process-grid article:nth-child(4) {
  box-shadow: 8px 8px 0 var(--rust);
}

.process-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: var(--ink);
  color: var(--bone);
  font-weight: 950;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-grid h2,
.section-heading h2,
.form-intro h2 {
  margin: 0;
  max-width: 780px;
  font-size: 3.7rem;
  line-height: 1;
  letter-spacing: 0;
}

.copy-stack {
  display: grid;
  gap: 18px;
  font-size: 1.12rem;
  color: var(--muted);
}

.copy-stack p,
.section-heading p,
.form-intro p,
.site-footer p {
  margin: 0;
}

.full-band {
  background:
    linear-gradient(120deg, rgba(21, 26, 29, 0.04) 0 35%, rgba(60, 153, 153, 0.11) 35% 62%, rgba(216, 141, 54, 0.11) 62% 100%),
    var(--ice);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow),
.muted {
  color: var(--muted);
}

.hood-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid {
  max-width: 1440px;
  margin-top: 34px;
}

.item-card,
.story-card,
.action-list article,
.rules-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(31, 31, 31, 0.04);
}

.item-card,
.story-card,
.action-list article {
  clip-path: var(--facet);
}

.item-card {
  border-top: 8px solid var(--teal);
}

.item-card h3::before,
.story-card h3::before,
.rules-grid h3::before,
.action-list h3::before {
  content: "";
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-right: 8px;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: linear-gradient(135deg, var(--teal), var(--amber));
  vertical-align: -0.05em;
}

.item-card img,
.item-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.1);
}

.gallery-grid .item-card img,
.gallery-grid .item-card video {
  background: var(--bone);
  object-fit: cover;
  transition: filter 0.3s ease;
}

.gallery-grid .item-card:hover img,
.gallery-grid .item-card:focus-within img,
.gallery-grid .item-card:hover video,
.gallery-grid .item-card:focus-within video {
  filter: saturate(1) contrast(1.08);
}

.item-card div,
.story-card div,
.action-list article,
.rules-grid article {
  padding: 18px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.item-card p,
.story-card p,
.rules-grid p,
.action-list p {
  margin: 0;
  color: var(--muted);
}

.story-list {
  display: grid;
  gap: 16px;
}

.story-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
}

.story-card img {
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.1);
}

.rules-band {
  background:
    linear-gradient(132deg, rgba(60, 153, 153, 0.16) 0 30%, transparent 30% 62%, rgba(216, 141, 54, 0.16) 62% 100%),
    var(--night);
  color: var(--bone);
}

.rules-band .eyebrow {
  color: var(--amber);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rules-grid article {
  background: rgba(251, 247, 238, 0.08);
  border-color: rgba(251, 247, 238, 0.18);
  clip-path: var(--facet);
}

.rules-grid p {
  color: rgba(251, 247, 238, 0.76);
}

.action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.action-list img {
  margin: -18px -18px 18px;
  width: calc(100% + 36px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
}

.form-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(126deg, rgba(216, 141, 54, 0.12) 0 32%, transparent 32% 68%, rgba(60, 153, 153, 0.14) 68% 100%),
    #f5efe4;
}

.form-intro {
  display: grid;
  align-content: start;
  gap: 14px;
}

.form-intro p:not(.eyebrow) {
  color: var(--muted);
}

.page-main .form-intro p:not(.eyebrow) {
  color: rgba(251, 247, 238, 0.84);
}

code {
  padding: 2px 5px;
  background: #e3dccc;
}

.support-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--facet);
  box-shadow: var(--shadow);
}

.page-form {
  max-width: 820px;
  margin-top: 30px;
}

.form-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 0.82fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: start;
}

.form-page .mini-hero {
  max-width: 680px;
}

.form-page .page-form {
  width: min(100%, 620px);
  margin-top: 0;
  justify-self: end;
}

.donate-background-page {
  background:
    linear-gradient(111deg, var(--facet-deep) 0 25%, rgba(97, 44, 86, 0.36) 25% 40%, rgba(19, 24, 29, 0.94) 40% 61%, rgba(216, 141, 54, 0.22) 61% 72%, rgba(104, 154, 94, 0.22) 72% 84%, var(--facet-deep) 84% 100%),
    radial-gradient(circle at 68% 18%, rgba(231, 71, 103, 0.2), transparent 24%),
    radial-gradient(circle at 18% 80%, rgba(60, 153, 153, 0.18), transparent 26%),
    var(--night);
  background-attachment: fixed;
}

.donate-background-page::before {
  background-position: 50% 54%;
  transform: scale(1.06) rotate(90deg);
}

.donate-background-page::after {
  opacity: 0.74;
}

.donate-background-page .mini-hero p:not(.eyebrow) {
  color: rgba(251, 247, 238, 0.84);
}

.donate-background-page .support-form {
  background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 901px) {
  .form-page {
    padding-top: clamp(32px, 5vw, 62px);
  }

  .form-page .support-form {
    gap: 11px;
    padding: clamp(18px, 2.4vw, 26px);
  }

  .form-page label {
    gap: 5px;
    font-size: 0.9rem;
  }

  .form-page input,
  .form-page select {
    min-height: 39px;
    padding: 8px 10px;
  }

  .form-page textarea {
    min-height: 74px;
    padding: 8px 10px;
  }

  .form-page .button {
    min-height: 42px;
  }
}

.form-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #b8c0c0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(60, 153, 153, 0.24);
  border-color: var(--teal);
}

.checkbox-row {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  font-weight: 650;
  color: var(--muted);
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.support-form .button {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(251, 247, 238, 0.78);
}

.site-footer p:first-child {
  color: var(--bone);
  font-weight: 950;
}

@media (max-width: 900px) {
  .hero-copy {
    width: min(500px, 100%);
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .spotlight h2,
  .section-grid h2,
  .section-heading h2,
  .form-intro h2 {
    font-size: 3rem;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions {
    margin-left: auto;
  }

  .section-grid,
  .form-section,
  .form-page,
  .visual-page {
    grid-template-columns: 1fr;
  }

  .how-page .visual-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .visual-page-grid {
    grid-column: auto;
  }

  .form-page .page-form {
    width: 100%;
    justify-self: stretch;
  }

  .intro-tiles,
  .home-sections,
  .hood-grid,
  .process-grid,
  .rules-grid,
  .action-list {
    grid-template-columns: 1fr 1fr;
  }

  .spotlight {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visual-panel,
  .visual-panel img {
    min-height: 340px;
  }

  .promise-strip {
    grid-template-columns: 1fr 1fr;
  }

  .form-two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .home-sections article,
  .home-sections article:nth-child(2),
  .home-sections article:nth-child(3),
  .home-sections article:nth-child(4) {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .top-strip {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .site-header {
    gap: 12px;
    min-height: 0;
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 42px;
    height: 40px;
    flex: 0 0 auto;
  }

  .site-nav {
    width: 100%;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.86rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .header-actions {
    flex: 0 0 auto;
    width: auto;
  }

  .contact-link {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 0;
    display: block;
    background: #050a0c;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .hero > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    background: #050a0c;
    opacity: 1;
  }

  .hero-copy {
    width: 100%;
    padding: 28px 20px 34px;
    background:
      linear-gradient(135deg, rgba(60, 153, 153, 0.12), transparent 48%),
      #050a0c;
    transform: none;
  }

  .hero-copy::before,
  .hero h1,
  .hero-copy > p:not(.eyebrow),
  .hero-actions {
    transform: none;
  }

  .hero-copy::before {
    min-height: 30px;
    margin-bottom: 12px;
    font-size: 0.68rem;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 2.4rem;
    line-height: 1.02;
  }

  .mini-hero h1 {
    font-size: 2.45rem;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 360px;
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .page-main {
    min-height: auto;
    padding: 36px 18px 52px;
  }

  .how-background-page,
  .donate-background-page {
    background-size: auto;
  }

  .stories-background-page {
    background-size: auto;
  }

  .mini-hero {
    gap: 14px;
  }

  .mini-hero p:not(.eyebrow),
  .letter p {
    font-size: 1rem;
  }

  .letter {
    padding: 22px 18px;
  }

  .intro-tiles h2 {
    font-size: 1.5rem;
  }

  .spotlight h2,
  .section-grid h2,
  .section-heading h2,
  .form-intro h2 {
    font-size: 2.4rem;
  }

  .hood-grid,
  .home-sections,
  .intro-tiles,
  .process-grid,
  .rules-grid,
  .action-list,
  .story-card,
  .promise-strip {
    grid-template-columns: 1fr;
  }

  .home-sections {
    margin-top: 0;
    min-height: auto;
    padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 72px);
    background: var(--paper);
  }

  .home-sections article,
  .home-sections article:nth-child(2),
  .home-sections article:nth-child(3),
  .home-sections article:nth-child(4) {
    --home-card-base: 0px;
    position: relative;
    top: auto;
    transform: none;
  }

  .visual-panel,
  .visual-panel img {
    min-height: 270px;
  }

  .story-panel img {
    width: min(220px, 68%);
  }

  .story-card img {
    min-height: 220px;
  }

  .support-form .button {
    width: 100%;
  }
}
