:root {
  color-scheme: light;
  --navy: #10283e;
  --deep: #0a1c2d;
  --cream: #fbf7ed;
  --sand: #f0e6d5;
  --gold: #e7b96d;
  --ink: #233747;
  --muted: #465866;
  --line: #d8cdb9;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: "DM Serif Text", Georgia, serif; font-weight: 400; line-height: 1.07; }
h2 { font-size: clamp(2.35rem, 5vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
p { margin-top: .8rem; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #3382ba; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; z-index: 2; padding: .7rem; background: var(--cream); transform: translateY(-130%); }
.skip:focus { transform: translateY(0); }
.header-inner, nav, .actions, .site-footer { display: flex; align-items: center; gap: 1rem; }
.header-inner, .site-footer { justify-content: space-between; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { flex: none; padding-block: .4rem; }
.brand img { display: block; width: 116px; height: auto; }
nav { gap: clamp(.65rem, 2.5vw, 2rem); flex-wrap: wrap; justify-content: flex-end; font-weight: 700; font-size: .91rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.12rem; border: 1px solid transparent; border-radius: .35rem; font-weight: 750; text-decoration: none; }
.button-gold { background: var(--gold); color: var(--deep); }
.button-gold:hover { background: #f3cb89; }
.button-light { border-color: #93a1af; color: var(--cream); }
.button-light:hover { background: #ffffff16; }
.hero, .give { background: var(--navy); color: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 8vw, 6.7rem); }
.eyebrow { color: #f3d6a4; font-size: .78rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 1.25rem; }
.eyebrow span { padding-inline: .25rem; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -.06em; }
.hero-copy > p:not(.eyebrow) { max-width: 35rem; color: #e2e8ed; font-size: clamp(1rem, 2vw, 1.2rem); margin-top: 1.35rem; }
.actions { flex-wrap: wrap; gap: .7rem; }
.hero-copy .actions { margin-top: 1.7rem; }
.portrait { max-width: 410px; position: relative; width: 100%; border: 1px solid #ffffff3b; padding: .55rem; justify-self: end; border-radius: 45% 45% .55rem .55rem / 32% 32% .55rem .55rem; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: 50% 73%; border-radius: inherit; }
.portrait figcaption { margin: .35rem .2rem .1rem; font-size: .88rem; color: #f3d6a4; text-align: center; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-heading p, .split p { max-width: 39rem; }
.section-heading p, .dog p, .band p, .story p { color: var(--muted); }
.dog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.8rem; }
.dog { border: 1px solid var(--line); border-top: 4px solid #ab7330; border-radius: .25rem .25rem .55rem .55rem; padding: clamp(1.25rem, 4vw, 2rem); background: #fffdf8; }
.dog a, .story a { display: inline-block; margin-top: 1rem; font-weight: 750; }
.section-link { margin-top: 1.3rem; }
.band { background: var(--sand); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: center; }
.action-panel a { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid #a99b86; font-weight: 750; }
.story { align-items: start; }
.story > div + div { border-left: 2px solid #ab7330; padding-left: 1.4rem; }
.site-footer { padding-block: 1.8rem; }
.site-footer p { margin: .2rem 0 0; }
address { display: grid; font-style: normal; }
@media (max-width: 680px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 310px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .3rem; padding-bottom: .7rem; }
  nav { justify-content: flex-start; }
  .dog-grid { grid-template-columns: 1fr; }
  .eyebrow { letter-spacing: .07em; }
}
.dog-picture { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .3rem; margin-bottom: 1rem; }
.dog-status { color: var(--navy) !important; font-weight: 750; }
.dog-description { white-space: pre-line; overflow-wrap: anywhere; }
