* {
  box-sizing: border-box
}

:root {
  --paper: #f3efe7;
  --paper2: #ebe3d7;
  --ink: #1e1f1c;
  --muted: #6c6d66;
  --clay: #a9573f;
  --mustard: #d4a94f;
  --blue: #6f8b94;
  --line: #cfc5b8;
  --dark: #252621
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.wrap {
  width: min(1220px, 92%);
  margin: auto
}

.kicker {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--clay)
}

.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .92
}

/* =========================================================
   SITE HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: 100%;
    min-height: 105px;
    margin: 0 auto;
    padding: 0 55px;

    display: grid;
    grid-template-columns: 125px auto 1fr;
    align-items: center;
    gap: 22px;
}


/* LOGO */

.logo-link {
    justify-self: start;
    display: flex;
    align-items: center;
    width: 125px;
    height: 95px;
}

.logo-link img {
    width: 115px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}


/* NONPROFIT LABEL */

.header-center {
    margin-left: 4px;
    padding-left: 22px;
    border-left: 1px solid var(--line);

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--muted);
    white-space: nowrap;
}

/* DESKTOP NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 22px;
}

.desktop-nav a {
    position: relative;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    padding: 8px 0;
    transition: color .15s ease;
}

.desktop-nav a:hover {
    color: var(--clay);
}

.desktop-nav .donate-link {
    color: var(--clay);
}


/* MOBILE MENU BUTTON */

.nav-toggle {
    display: none;
    justify-self: end;

    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 0;

    padding: 10px 14px;

    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;

    cursor: pointer;
}


/* MOBILE NAV */

.mobile-nav {
    display: none;
    background: var(--paper2);
    border-top: 1px solid var(--line);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-inner {
    display: grid;
}

.mobile-nav a {
    padding: 16px 24px;

    border-bottom: 1px solid var(--line);

    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
}

.mobile-nav a:hover {
    background: var(--paper);
    color: var(--clay);
}

.mobile-nav .donate-link {
    color: var(--clay);
}


/* TABLET / MOBILE HEADER */

@media (max-width: 1400px) {

    .header-inner {
    width: min(1500px, calc(100% - 60px));
    min-height: 105px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 28px;
}

    .desktop-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

}


/* SMALL MOBILE HEADER */

@media (max-width: 640px) {

    .header-inner {
    width: min(1500px, calc(100% - 60px));
    min-height: 105px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 28px;
}

    .logo-link {
        width: 95px;
        height: 78px;
    }

    .logo-link img {
        width: 88px;
    }

    .header-center {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

}

/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

.hero-editorial {
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 70px;
  align-items: center;
}


/* HERO COPY */

.hero-copy {
  position: relative;
  z-index: 5;
  padding: 20px 0;
}

.hero-copy .kicker {
  margin-bottom: 18px;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0 0 28px;

  font-size: clamp(72px, 7.2vw, 118px);
  line-height: .86;
  letter-spacing: -.055em;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 .accent {
  margin-left: 0;
  color: var(--clay);
  font-style: italic;
}

.hero-copy p {
  max-width: 570px;
  margin: 0 0 32px;

  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-links .link-arrow {
  display: inline-flex;
  align-items: center;

  padding: 13px 18px;

  border: 1px solid var(--ink);
  background: transparent;

  font-size: 14px;
  font-weight: 900;

  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.hero-links .link-arrow:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
}

.hero-links .link-arrow.clay {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.hero-links .link-arrow.clay:hover {
  background: #914833;
  border-color: #914833;
}


/* HERO PHOTO COLLAGE */

.hero-collage {
  position: relative;
  min-height: 590px;
  width: 100%;
}

.photo-a,
.photo-b,
.photo-c {
  position: absolute;
  overflow: hidden;

  background: #d6cec2;
  border: 8px solid #fffaf1;

  box-shadow:
    0 18px 45px rgba(30, 31, 28, .12);
}

.photo-a img,
.photo-b img,
.photo-c img,
.story-before img,
.story-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* MAIN PHOTO */

.photo-a {
  top: 15px;
  right: 0;

  width: 72%;
  height: 72%;

  transform: rotate(1.5deg);
  z-index: 1;
}


/* RECOVERY PHOTO */

.photo-b {
  left: 0;
  bottom: 5px;

  width: 48%;
  height: 45%;

  background: #c9d3d4;

  transform: rotate(-3deg);
  z-index: 3;
}


/* HAPPY TAIL */

.photo-c {
  right: 4%;
  bottom: 0;

  width: 32%;
  height: 31%;

  background: #d9b98a;

  transform: rotate(4deg);
  z-index: 4;
}


/* EMPTY IMAGE PLACEHOLDER */

.photo-placeholder {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  padding: 20px;

  color: #68645e;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.5;
  text-align: center;
}


/* TAPE */

.tape {
  position: absolute;

  width: 92px;
  height: 25px;

  background: #e4cf9a;
  opacity: .9;

  z-index: 7;
}

.tape.one {
  top: 5px;
  right: 24%;

  transform: rotate(-7deg);
}

.tape.two {
  left: 11%;
  bottom: 41%;

  transform: rotate(7deg);
}


/* HANDWRITTEN NOTE */

.note-card {
  position: absolute;

  left: 1%;
  top: 11%;

  width: 205px;
  padding: 22px;

  background: #fff4c9;
  border: 1px solid #d6c99f;

  box-shadow:
    0 15px 35px rgba(30, 31, 28, .12);

  transform: rotate(-4deg);

  z-index: 6;
}

.note-card::before {
  content: "";

  position: absolute;

  width: 70px;
  height: 20px;

  top: -11px;
  left: 50%;

  transform:
    translateX(-50%)
    rotate(3deg);

  background: rgba(228, 207, 154, .8);
}

.note-card strong {
  display: block;

  margin-bottom: 9px;

  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
}

.note-card span {
  color: #5f5a50;
  font-size: 14px;
  line-height: 1.5;
}


/* HERO RESPONSIVE */

@media (max-width: 1050px) {

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .hero-copy h1 {
    font-size: clamp(64px, 8vw, 90px);
  }

  .hero-collage {
    min-height: 520px;
  }

  .note-card {
    width: 170px;
    padding: 18px;
  }

  .note-card strong {
    font-size: 21px;
  }
}


@media (max-width: 800px) {

  .hero-editorial {
    padding: 45px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(58px, 16vw, 88px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-collage {
    min-height: 520px;
    max-width: 600px;
    margin: 0 auto;
  }
}


@media (max-width: 520px) {

  .hero-collage {
    min-height: 430px;
  }

  .photo-a {
    width: 76%;
    height: 68%;
  }

  .photo-b {
    width: 52%;
    height: 41%;
  }

  .photo-c {
    width: 34%;
    height: 27%;
  }

  .note-card {
    top: 8%;
    width: 145px;
    padding: 15px;
  }

  .note-card strong {
    font-size: 18px;
  }

  .note-card span {
    font-size: 12px;
  }

  .hero-links {
    align-items: stretch;
  }

  .hero-links .link-arrow {
    justify-content: center;
  }
}

.urgent-strip {
  background: var(--dark);
  color: #fff;
  border-block: 1px solid #111
}

.urgent-inner {
  width: min(1220px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px 0
}

.urgent-label {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #efc57b;
  font-weight: 900
}

.urgent-copy {
  font-family: Georgia, serif;
  font-size: 24px
}

.btn-block {
  display: inline-block;
  border: 0;
  background: var(--clay);
  color: #fff;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer
}

.section {
  padding: 100px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 44px
}

.section-head h2 {
  font-size: clamp(50px, 7vw, 88px);
  margin: 8px 0 0
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  font-size: 17px
}

.dog-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
  gap: 28px;
  overflow: visible;
  padding-bottom: 14px;
}

.dog-tile {
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 14px 35px rgba(30, 31, 28, 0.08);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dog-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(30, 31, 28, 0.13);
}

.dog-tile:nth-child(even) {
  margin-top: 0;
}

.dog-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #d9d1c5;
  overflow: hidden;
  border-radius: 10px;
}

.dog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dog-meta {
  display: block;
  padding: 16px 6px 8px;
}

.dog-meta h3 {
  font-family: Georgia, serif;
  font-size: 32px;
  margin: 5px 0 8px;
}

.dog-meta .smallcaps {
  margin-bottom: 5px;
}

.dog-card-details {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.dog-card-button {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--clay);
  color: #fff;
  text-align: center;
  font-weight: 900;
  border-radius: 8px;
}

.smallcaps {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  font-weight: 800
}

.story-band {
  background: var(--paper2)
}

.story-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center
}

.story-visual {
  position: relative;
  min-height: 620px
}

.story-before,
.story-after {
  position: absolute;
  width: 64%;
  height: 68%;
  background: #d7cfc3;
  border: 1px solid #c7baaa;
  overflow: hidden
}

.story-before {
  left: 0;
  top: 0;
  transform: rotate(-3deg)
}

.story-after {
  right: 0;
  bottom: 0;
  background: #c4d2d4;
  transform: rotate(3deg)
}

.story-label {
  position: absolute;
  background: var(--dark);
  color: #fff;
  padding: 8px 11px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
  z-index: 4
}

.story-label.before {
  left: 5%;
  top: 3%
}

.story-label.after {
  right: 4%;
  bottom: 4%
}

.story-copy h2 {
  font-size: clamp(54px, 7vw, 92px);
  margin: 10px 0 24px
}

.story-copy p {
  font-size: 18px;
  color: var(--muted)
}

.handline {
  font-family: "Courier New", monospace;
  color: var(--clay);
  font-size: 18px;
  transform: rotate(-2deg);
  display: inline-block;
  margin-top: 18px
}

.split-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink)
}

.action-panel {
  min-height: 420px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.action-panel:first-child {
  border-right: 1px solid var(--ink);
  background: var(--mustard)
}

.action-panel:last-child {
  background: var(--blue);
  color: #fff
}

.action-panel h3 {
  font-family: Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: .95;
  margin: 0
}

.action-panel p {
  max-width: 430px;
  font-size: 17px
}

.quote-band {
  padding: 95px 0;
  text-align: center
}

.quote-band blockquote {
  font-family: Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  max-width: 950px;
  margin: 0 auto
}

.quote-band .scribble {
  margin-top: 20px;
  color: var(--clay);
  font-family: "Courier New", monospace
}

.page-hero {
  padding: 70px 0 45px;
  border-bottom: 1px solid var(--line)
}

.page-hero h1 {
  font-size: clamp(58px, 8vw, 110px);
  margin: 10px 0 18px
}

.page-hero p {
  max-width: 700px;
  font-size: 20px;
  color: var(--muted)
}

.paper-card {
  background: #fffaf1;
  border: 1px solid var(--line);
  padding: 28px
}

.page-body {
  font-size: 18px
}

.form-wrap {
  max-width: 760px
}

.form {
  display: grid;
  gap: 17px
}

.form label {
  display: grid;
  gap: 7px;
  font-weight: 800
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bfb4a6;
  border-radius: 0;
  background: #fffdf8;
  font: inherit
}

.dog-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: start
}

.dog-detail .big-photo {
  height: 620px;
  background: #d8d0c4;
  overflow: hidden
}

.dog-detail .big-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.dog-name {
  font-size: clamp(64px, 8vw, 110px);
  margin: 12px 0 22px
}

.dog-bio {
  font-size: 18px;
  color: var(--muted)
}

/* DOG PROFILE DETAILS */

.dog-profile-copy {
  padding-top: 10px;
}

.dog-profile-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.dog-profile-subline span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--muted);
}

.dog-profile-subline span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
}

.dog-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin: 28px 0 36px;
}

.dog-fact {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffaf1;
}

.dog-fact span {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 800;
}

.dog-fact strong {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.dog-story {
  margin-bottom: 30px;
}

.dog-story .kicker {
  margin-bottom: 12px;
}

.dog-status-note {
  padding: 16px 18px;
  background: var(--paper2);
  border: 1px solid var(--line);
  font-weight: 800;
}

.dog-back-link {
  margin-top: 28px;
}

/* ADOPTION APPLICATION */

.adoption-form {
  max-width: 980px;
  margin: 0 auto;
}

.application-section {
  position: relative;
  margin-bottom: 32px;
  padding: 42px;
  background: #fffaf1;
  border: 1px solid var(--line);
}

.application-number {
  position: absolute;
  top: 30px;
  right: 35px;
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
  color: #ded5c8;
}

.application-section h2 {
  margin: 7px 0 30px;
  padding-right: 70px;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.application-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.application-field.full {
  grid-column: 1 / -1;
}

.application-field > span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.application-field input,
.application-field select,
.application-field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #bfb4a6;
  border-radius: 0;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

.application-field textarea {
  resize: vertical;
  min-height: 110px;
}

.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus {
  outline: 2px solid var(--clay);
  outline-offset: 1px;
}

.selected-dog {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--paper2);
  border: 1px solid var(--line);
}

.selected-dog span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.selected-dog strong {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.application-check {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  max-width: 780px;
  line-height: 1.6;
  cursor: pointer;
}

.application-check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.application-submit {
  display: block;
  width: 100%;
  margin-top: 32px;
  padding: 19px 25px;
  border: 0;
  background: var(--clay);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.application-submit:hover {
  filter: brightness(.94);
}

.application-error {
  max-width: 980px;
  margin: 0 auto 25px;
  padding: 17px 20px;
  background: #f4dddd;
  border: 1px solid #d5aaaa;
}

.application-success {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  background: #fffaf1;
  border: 1px solid var(--line);
}

.application-success h2 {
  margin: 8px 0 18px;
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 400;
}

.application-success p {
  color: var(--muted);
  font-size: 18px;
}

.application-success .btn-block {
  margin-top: 15px;
}

/* FOSTER PAGE */

.foster-info-section {
  padding-top: 85px;
}

.foster-intro-grid,
.foster-expect-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.foster-heading {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.foster-copy {
  max-width: 650px;
}

.foster-copy p {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 19px;
}

.foster-split-section {
  padding-top: 20px;
}

.foster-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink);
}

.foster-panel {
  min-height: 430px;
  padding: 45px;
  background: var(--mustard);
}

.foster-panel + .foster-panel {
  border-left: 1px solid var(--ink);
}

.foster-panel-alt {
  background: var(--blue);
  color: #fff;
}

.foster-panel-alt .kicker {
  color: #fff;
}

.foster-panel h2 {
  margin: 8px 0 28px;
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.foster-list {
  margin: 0;
  padding-left: 22px;
}

.foster-list li {
  margin-bottom: 16px;
  font-size: 17px;
}

.foster-requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.foster-requirement {
  min-height: 240px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffaf1;
}

.foster-number {
  display: block;
  margin-bottom: 22px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 32px;
}

.foster-requirement h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}

.foster-requirement p {
  margin: 0;
  color: var(--muted);
}

.foster-expect-section {
  background: var(--paper2);
}

.foster-cta {
  padding: 65px 0;
  background: var(--dark);
  color: #fff;
}

.foster-cta .kicker {
  color: #efc57b;
}

.foster-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.foster-cta h2 {
  max-width: 800px;
  margin: 8px 0 14px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.foster-cta p {
  max-width: 650px;
  margin: 0;
  color: #c7c9c1;
  font-size: 17px;
}

.foster-cta-action {
  white-space: nowrap;
}

/* VOLUNTEER PAGE */

.volunteer-intro-section {
  padding-top: 85px;
}

.volunteer-intro-grid,
.volunteer-expect-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.volunteer-heading {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.volunteer-copy {
  max-width: 650px;
}

.volunteer-copy p {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 19px;
}

.volunteer-ways-section {
  background: var(--paper2);
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.volunteer-card {
  min-height: 280px;
  padding: 30px;
  background: #fffaf1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.volunteer-number {
  display: block;
  margin-bottom: 26px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 32px;
}

.volunteer-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.volunteer-card p {
  margin: 0;
  color: var(--muted);
}

.volunteer-expect-section {
  background: var(--paper);
}

.volunteer-cta {
  padding: 65px 0;
  background: var(--dark);
  color: #fff;
}

.volunteer-cta .kicker {
  color: #efc57b;
}

.volunteer-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.volunteer-cta h2 {
  max-width: 800px;
  margin: 8px 0 14px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.volunteer-cta p {
  max-width: 650px;
  margin: 0;
  color: #c7c9c1;
  font-size: 17px;
}

.volunteer-cta-action {
  white-space: nowrap;
}

/* DONATE PAGE */

.donate-intro-section {
  padding-top: 85px;
}

.donate-intro-grid,
.donate-other-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.donate-heading {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.donate-copy {
  max-width: 650px;
}

.donate-copy p {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 19px;
}

.donate-copy .btn-block {
  margin-top: 10px;
}

.donate-impact-section {
  background: var(--paper2);
}

.donate-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.donate-impact-card {
  min-height: 260px;
  padding: 32px;
  background: #fffaf1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.donate-number {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 32px;
}

.donate-impact-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
}

.donate-impact-card p {
  margin: 0;
  color: var(--muted);
}

.donate-other-list {
  border-top: 1px solid var(--line);
}

.donate-other-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.donate-other-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}

.donate-other-item p {
  margin: 0 0 12px;
  color: var(--muted);
}

.donate-cta {
  padding: 65px 0;
  background: var(--dark);
  color: #fff;
}

.donate-cta .kicker {
  color: #efc57b;
}

.donate-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.donate-cta h2 {
  max-width: 800px;
  margin: 8px 0 14px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.donate-cta p {
  max-width: 650px;
  margin: 0;
  color: #c7c9c1;
  font-size: 17px;
}

.donate-cta-action {
  white-space: nowrap;
}

/* ABOUT PAGE */

.about-intro-section {
  padding-top: 85px;
}

.about-intro-grid,
.about-process-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.about-heading {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.about-copy {
  max-width: 650px;
}

.about-copy p {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 19px;
}

.about-values-section {
  background: var(--paper2);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-value-card {
  min-height: 270px;
  padding: 32px;
  background: #fffaf1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-number {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 32px;
}

.about-value-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
}

.about-process-list {
  border-top: 1px solid var(--line);
}

.about-process-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.about-process-item > span {
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 28px;
}

.about-process-item h3 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}

.about-process-item p {
  margin: 0;
  color: var(--muted);
}

.about-cta {
  padding: 65px 0;
  background: var(--dark);
  color: #fff;
}

.about-cta .kicker {
  color: #efc57b;
}

.about-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.about-cta h2 {
  max-width: 800px;
  margin: 8px 0 14px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.about-cta p {
  max-width: 650px;
  margin: 0;
  color: #c7c9c1;
  font-size: 17px;
}

.about-cta-actions {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

/* CONTACT PAGE */

.contact-intro-section {
  padding-top: 85px;
}

.contact-intro-grid,
.contact-note-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-heading {
  margin: 8px 0 20px;
  font-family: Georgia, serif;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.contact-lead,
.contact-copy p {
  color: var(--muted);
  font-size: 19px;
}

.contact-lead {
  max-width: 600px;
}

.contact-copy p {
  margin-top: 0;
  margin-bottom: 22px;
}

.contact-info-panel {
  border-top: 1px solid var(--ink);
}

.contact-info-panel > .kicker {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-info-item a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-info-item a:hover {
  color: var(--clay);
}

.contact-help-section {
  background: var(--paper2);
}

.contact-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-help-card {
  min-height: 300px;
  padding: 32px;
  background: #fffaf1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-number {
  display: block;
  margin-bottom: 25px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 32px;
}

.contact-help-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
}

.contact-help-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.contact-note-section {
  background: var(--paper);
}

.contact-cta {
  padding: 65px 0;
  background: var(--dark);
  color: #fff;
}

.contact-cta .kicker {
  color: #efc57b;
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.contact-cta h2 {
  max-width: 800px;
  margin: 8px 0 14px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.contact-cta p {
  max-width: 650px;
  margin: 0;
  color: #c7c9c1;
  font-size: 17px;
}

.contact-cta-actions {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

footer {
  background: var(--dark);
  color: #fff;
  padding: 55px 0 30px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px
}

.footer-title {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: start
}

.footer-fine {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid #4a4b44;
  color: #bfc1ba;
  font-size: 12px
}

.admin-shell {
  width: min(1180px, 94%);
  margin: 40px auto 80px
}

.login-shell {
  width: min(560px, 92%);
  margin: 70px auto
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px
}

.admin-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.admin-card {
  display: block;
  min-height: 160px;
  padding: 26px;
  background: #fffaf1;
  border: 1px solid var(--line)
}

.admin-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 28px
}

.admin-card span {
  color: var(--muted)
}

.admin-section {
  margin-bottom: 24px;
  padding: 28px;
  background: #fffaf1;
  border: 1px solid var(--line)
}

.admin-section h2 {
  margin-top: 0;
  font-family: Georgia, serif;
  font-size: 30px
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.admin-fields label {
  display: grid;
  gap: 8px;
  font-weight: 800
}

.admin-fields label.full {
  grid-column: 1/-1
}

.admin-fields input,
.admin-fields textarea,
.admin-fields select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bfb4a6;
  background: #fff;
  font: inherit
}

.admin-thumb {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border: 1px solid var(--line)
}

.admin-success {
  margin-bottom: 22px;
  padding: 14px 16px;
  background: #e4efe4;
  border: 1px solid #b9cfb9
}

.admin-alert {
  margin-bottom: 18px;
  padding: 12px;
  background: #f5dddd
}

.admin-help {
  color: var(--muted);
  font-size: 13px
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff
}

table {
  width: 100%;
  border-collapse: collapse
}

th,
td {
  padding: 13px;
  text-align: left;
  border-bottom: 1px solid #e5ddd3
}

@media(max-width:900px) {

  .hero-grid,
  .story-layout,
  .dog-detail {
    grid-template-columns: 1fr
  }

  .hero-collage {
    min-height: 540px
  }

  .hero-copy h1 {
    font-size: 72px
  }

  .urgent-inner {
    grid-template-columns: 1fr
  }

  .section-head {
    display: block
  }

  .split-actions,
  .footer-grid,
  .admin-grid,
  .admin-fields {
    grid-template-columns: 1fr
  }

  .admin-fields label.full {
    grid-column: auto
  }

  .action-panel:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--ink)
  }

.dog-tile:nth-child(even) {
  margin-top: 0
}

.dog-facts {
  grid-template-columns: 1fr;
}

.application-grid {
  grid-template-columns: 1fr;
}

.application-section {
  padding: 30px 22px;
}

.application-number {
  top: 22px;
  right: 22px;
  font-size: 38px;
}

.application-section h2 {
  font-size: 32px;
}

.selected-dog {
  display: block;
}

.selected-dog strong {
  display: block;
  margin-top: 5px;
}


/* FOSTER PAGE MOBILE */

.foster-intro-grid,
.foster-expect-grid,
.foster-two-column,
.foster-cta-inner {
  grid-template-columns: 1fr;
}

.foster-panel + .foster-panel {
  border-left: 0;
  border-top: 1px solid var(--ink);
}

.foster-requirements-grid {
  grid-template-columns: 1fr;
}

.foster-panel {
  min-height: auto;
  padding: 32px 24px;
}

.foster-cta-action {
  white-space: normal;
}

.volunteer-intro-grid,
.volunteer-expect-grid,
.volunteer-cta-inner {
  grid-template-columns: 1fr;
}

.volunteer-grid {
  grid-template-columns: 1fr;
}

.volunteer-card {
  min-height: auto;
  padding: 28px 24px;
}

.volunteer-cta-action {
  white-space: normal;
}

.donate-intro-grid,
.donate-other-grid,
.donate-cta-inner {
  grid-template-columns: 1fr;
}

.donate-impact-grid {
  grid-template-columns: 1fr;
}

.donate-impact-card {
  min-height: auto;
  padding: 28px 24px;
}

.donate-cta-action {
  white-space: normal;
}

.about-intro-grid,
.about-process-grid,
.about-cta-inner {
  grid-template-columns: 1fr;
}

.about-values-grid {
  grid-template-columns: 1fr;
}

.about-value-card {
  min-height: auto;
  padding: 28px 24px;
}

.about-process-item {
  grid-template-columns: 50px 1fr;
}

.about-cta-actions {
  min-width: 0;
}

.contact-intro-grid,
.contact-note-grid,
.contact-cta-inner {
  grid-template-columns: 1fr;
}

.contact-help-grid {
  grid-template-columns: 1fr;
}

.contact-help-card {
  min-height: auto;
  padding: 28px 24px;
}

.contact-info-item {
  grid-template-columns: 1fr;
  gap: 6px;
}

.contact-cta-actions {
  min-width: 0;
}

}

/* =========================================================
   DONATION METHODS
   ========================================================= */

.donation-methods {
    margin-top: 30px;
}

.donation-methods-label {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.donation-method-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.donation-method-button {
    width: auto;
    min-width: 125px;
}


/* BOTTOM DONATION CTA BUTTONS */

.donate-cta-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}


/* MOBILE */

@media (max-width: 700px) {

    .donation-method-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .donation-method-button {
        width: 100%;
    }

    .donate-cta-action {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

}

/* =========================================================
   FUNDRAISERS & EVENTS
   ========================================================= */

.events-section {
    background: var(--paper);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(300px, 1fr)
    );
    gap: 30px;
}

.event-card {
    background: #fffaf1;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.event-card.featured {
    border-color: var(--clay);
}

.event-card-image {
    position: relative;
    display: block;
    background: var(--paper2);
    overflow: hidden;
}

.event-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper2);
    overflow: hidden;
    padding: 24px;
}

.event-card-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
}

.event-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 11px;
    background: var(--clay);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.event-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

.event-card-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.event-date {
    font-size: 13px;
    color: var(--muted);
}

.event-card h2 {
    margin: 0 0 14px;
    font-family: Georgia, serif;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 400;
}

.event-card h2 a {
    color: var(--ink);
}

.event-card h2 a:hover {
    color: var(--clay);
}

.event-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.event-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: auto;
    padding-top: 24px;
}

.event-card-actions .btn-block {
    width: auto;
}

.event-empty {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
}

.event-empty h2 {
    margin: 12px 0 18px;
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
}

.event-empty p {
    max-width: 600px;
    margin: 0 auto 24px;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 700px) {

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card-content {
        padding: 22px;
    }

    .event-card h2 {
        font-size: 27px;
    }

    .event-card-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .event-card-actions .btn-block {
        width: 100%;
    }

    .event-empty {
        padding: 34px 22px;
    }

}

/* =========================================================
   EVENT DETAIL PAGE
   ========================================================= */

.event-detail-hero {
    padding-bottom: 55px;
}

.event-back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.event-back-link:hover {
    color: var(--clay);
}

.event-detail-heading {
    max-width: 1000px;
}

.event-detail-heading .display {
    max-width: 1000px;
    margin-bottom: 18px;
}

.event-detail-date {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}


/* MAIN LAYOUT */

.event-detail-section {
    background: var(--paper2);
}

.event-detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(340px, .95fr);
    gap: 60px;
    align-items: start;
}

.event-detail-grid.no-image {
    grid-template-columns: minmax(0, 800px);
}


/* FULL FLYER */

.event-detail-media {
    padding: 18px;
    background: #fffaf1;
    border: 1px solid var(--line);
}

.event-detail-media img {
    display: block;
    width: 100%;
    height: auto;
}


/* EVENT COPY */

.event-detail-content {
    position: sticky;
    top: 30px;
}

.event-detail-intro {
    margin-bottom: 36px;
    font-family: Georgia, serif;
    font-size: 27px;
    line-height: 1.35;
    color: var(--ink);
}

.event-detail-description {
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.event-detail-text {
    margin-top: 15px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.event-detail-action {
    margin-top: 30px;
}

.event-detail-action .btn-block {
    width: fit-content;
}


/* PAYMENT BOX */

.event-payment-box {
    margin-top: 40px;
    padding: 30px;
    background: #fffaf1;
    border: 1px solid var(--line);
}

.event-payment-box h2 {
    margin: 8px 0 10px;
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 400;
}

.event-payment-box p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.event-payment-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.event-payment-buttons .btn-block {
    width: auto;
}


/* BOTTOM CTA */

.event-detail-bottom {
    padding: 70px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.event-detail-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
}

.event-detail-bottom h2 {
    max-width: 700px;
    margin: 8px 0 12px;
    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 400;
}

.event-detail-bottom p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* MOBILE */

@media (max-width: 900px) {

    .event-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .event-detail-content {
        position: static;
    }

    .event-detail-intro {
        font-size: 23px;
    }

    .event-detail-bottom-inner {
        display: block;
    }

    .event-detail-bottom .link-arrow {
        display: inline-block;
        margin-top: 28px;
    }

}


@media (max-width: 600px) {

    .event-detail-media {
        padding: 8px;
    }

    .event-payment-box {
        padding: 24px 20px;
    }

    .event-payment-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .event-payment-buttons .btn-block {
        width: 100%;
    }

    .event-detail-bottom h2 {
        font-size: 34px;
    }

}

/* =========================================================
   HOMEPAGE FEATURED EVENT
   ========================================================= */

.featured-event-section {
    padding: 75px 0;
    background: var(--paper2);
    border-bottom: 1px solid var(--line);
}

.featured-event-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    background: #fffaf1;
    border: 1px solid var(--line);
}


/* FLYER */

.featured-event-image {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;

    padding: 24px;

    background: var(--paper);
    border-right: 1px solid var(--line);
}

.featured-event-image img {
    display: block;
    width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: contain;
}


/* CONTENT */

.featured-event-content {
    position: relative;
    padding: 55px 60px;
}

.featured-event-label {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 11px;

    background: var(--clay);
    color: #fff;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.featured-event-content h2 {
    max-width: 700px;
    margin: 10px 0 20px;

    font-family: Georgia, serif;
    font-size: clamp(40px, 4vw, 64px);
    line-height: .98;
    font-weight: 400;
    color: var(--ink);
}

.featured-event-content p {
    max-width: 650px;
    margin: 0;

    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}


/* ACTIONS */

.featured-event-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;

    margin-top: 32px;
}

.featured-event-actions .btn-block {
    width: auto;
}


/* TABLET */

@media (max-width: 900px) {

    .featured-event-card {
        grid-template-columns: 1fr;
    }

    .featured-event-image {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .featured-event-image img {
        max-height: 600px;
    }

    .featured-event-content {
        padding: 40px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .featured-event-section {
        padding: 45px 0;
    }

    .featured-event-image {
        padding: 12px;
    }

    .featured-event-content {
        padding: 30px 22px;
    }

    .featured-event-content h2 {
        font-size: 38px;
    }

    .featured-event-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .featured-event-actions .btn-block {
        width: 100%;
    }

}

/* =========================================
   DOG STATUS BADGES
========================================= */

.dog-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    margin-bottom: 10px;

    border-radius: 999px;
    border: 1px solid transparent;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dog-status-available {
    background: #dcefe2;
    color: #28613d;
    border-color: #afd0b9;
}

.dog-status-pending {
    background: #fff0c7;
    color: #805f0d;
    border-color: #e4c86f;
}

.dog-status-adopted {
    background: #dcecf2;
    color: #315f72;
    border-color: #aacbd7;
}

.dog-status-medical {
    background: #f5dfdc;
    color: #913e36;
    border-color: #ddb1ab;
}

.dog-status-unknown {
    background: #ece9e3;
    color: #5f5f59;
    border-color: #d3cec5;
}

/* =========================================
   CLEAN HEADER
========================================= */

.site-header {
    background: var(--paper, #f3efe7);
    border-bottom: 1px solid var(--line, #cfc5b8);
}

.header-inner {
    width: min(1500px, calc(100% - 64px));
    min-height: 104px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* BRAND */

.header-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link img {
    display: block;
    width: 120px;
    height: 78px;
    object-fit: contain;
}

.header-center {
    position: static;
    transform: none;

    padding-left: 24px;
    border-left: 1px solid var(--line, #cfc5b8);

    color: #76513f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;

    white-space: nowrap;
}


/* DESKTOP NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;

    margin-left: auto;
}

.desktop-nav a {
    color: var(--ink, #1e1f1c);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--clay, #a9573f);
    transform: translateY(-1px);
}

.desktop-nav .donate-link {
    color: var(--clay, #a9573f);
}


/* MOBILE BUTTON */

.nav-toggle {
    display: none;
}


/* =========================================
   RESPONSIVE HEADER
========================================= */

@media (max-width: 1250px) {

    .header-inner {
        width: min(100% - 40px, 1100px);
        min-height: 90px;
    }

    .desktop-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-left: auto;
    }
}


@media (max-width: 650px) {

    .header-inner {
        width: calc(100% - 32px);
        min-height: 82px;
        gap: 16px;
    }

    .header-brand {
        gap: 12px;
    }

    .logo-link img {
        width: 92px;
        height: 62px;
    }

    .header-center {
        padding-left: 12px;
        font-size: 8px;
        letter-spacing: 0.15em;
        white-space: normal;
        max-width: 125px;
    }
}

/* =========================================
   GLOBAL WARM COLOR SCHEME
   Removes harsh white across the site
========================================= */

:root {
    --paper: #f3eee5;
    --paper2: #e9dfd1;

    --cream: #f8f3ea;
    --cream-dark: #e5d8c7;

    --ink: #25231f;
    --muted: #716b62;

    --clay: #a9573f;
    --clay-dark: #854330;

    --mustard: #d4a94f;
    --blue: #6f8b94;

    --line: #d1c4b3;
    --dark: #292a25;
}


/* MAIN SITE BACKGROUND */

html,
body {
    background: var(--paper);
    color: var(--ink);
}


/* HEADER */

.site-header {
    background: var(--cream);
    border-bottom-color: var(--line);
}


/* PAGE HEROES */

.page-hero {
    background: var(--paper);
}


/* STANDARD SECTIONS */

.section {
    background: var(--paper);
}


/*
Alternate sections can use this slightly
darker warm background.
*/

.section:nth-of-type(even) {
    background: var(--paper2);
}


/* CARDS */

.paper-card,
.dog-tile,
.event-card,
.contact-card,
.info-card {
    background: var(--cream);
    border-color: var(--line);
}


/* DOG CARDS */

.dog-meta {
    background: var(--cream);
}


/* FORM AREAS */

input,
select,
textarea {
    background: var(--cream);
    color: var(--ink);
    border-color: var(--line);
}

input:focus,
select:focus,
textarea:focus {
    background: #fbf7f0;
    border-color: var(--clay);
}


/* PHOTO PLACEHOLDERS */

.photo-placeholder {
    background: var(--paper2);
}


/* BUTTONS */

.btn,
.button,
.primary-button {
    background: var(--clay);
    color: #fffaf3;
}


/* FOOTER */

.site-footer {
    background: var(--dark);
    color: #eee5d8;
}


/* LINKS */

a {
    text-decoration-color: rgba(169, 87, 63, 0.35);
}


/* SELECTION */

::selection {
    background: var(--mustard);
    color: var(--ink);
}

/* =========================================
   HOMEPAGE VIDEO BACKGROUND
========================================= */

.hero-video-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* VIDEO */

.hero-bg-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: -2;
}

/* TRANSPARENT WARM OVERLAY */

.hero-video-overlay {
    position: absolute;
    inset: 0;

    background: rgba(243, 238, 229, 0.72);

    z-index: -1;
    pointer-events: none;
}

/* CONTENT ABOVE VIDEO */

.hero-video-section .hero-grid {
    position: relative;
    z-index: 1;
}

/* MOBILE */

@media (max-width: 768px) {

    .hero-video-overlay {
        background: rgba(243, 238, 229, 0.80);
    }

}

/* =========================================
   PAGE HERO VIDEO
========================================= */

.page-video-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
    min-height: 430px;

    display: flex;
    align-items: center;
}


/* VIDEO */

.page-hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}


/* WARM TRANSPARENT OVERLAY */

.page-hero-video-overlay {
    position: absolute;
    inset: 0;

    background: rgba(243, 238, 229, 0.72);

    z-index: 1;
    pointer-events: none;
}


/* HERO TEXT */

.page-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
}


/* Keep text readable */

.page-video-hero .display {
    max-width: 850px;
}

.page-video-hero p {
    max-width: 650px;
}


/* MOBILE */

@media (max-width: 768px) {

    .page-video-hero {
        min-height: 360px;
    }

    .page-hero-video-overlay {
        background: rgba(243, 238, 229, 0.80);
    }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .page-hero-video {
        display: none;
    }

    .page-video-hero {
        background: var(--paper);
    }

}

/* =========================================
   VIDEO HERO TEXT POSITION FIX
========================================= */

.page-video-hero .page-hero-content {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 70px 0;
}

.page-video-hero .display {
    max-width: 850px;
    margin-left: 0;
    font-size: clamp(58px, 5.5vw, 100px);
    line-height: 0.96;
}

.page-video-hero .kicker,
.page-video-hero p {
    margin-left: 0;
}

.page-video-hero p {
    max-width: 650px;
    margin-top: 22px;
}

@media (max-width: 768px) {

    .page-video-hero .page-hero-content {
        width: calc(100% - 40px);
        padding: 55px 0;
    }

    .page-video-hero .display {
        font-size: clamp(44px, 12vw, 68px);
    }
}