:root {
  --paper: #f4f6fa;
  --white: #fff;
  --ink: #121a2a;
  --navy: #111b31;
  --muted: #465368;
  --line: #d8dfeb;
  --blue: #2549dd;
  --blue-dark: #1737b8;
  --blue-light: #eaf0ff;
  --blue-tint: #b8cbff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { width: min(1216px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: -8rem; z-index: 10; padding: 1rem; background: var(--white); }
.skip:focus { top: 0; }
:focus-visible { outline: 3px solid #5374ff; outline-offset: 4px; }

.header { border-bottom: 1px solid var(--line); background: var(--white); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 5px; font-size: 1.35rem; font-weight: 780; letter-spacing: -.055em; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand i { font-style: normal; color: var(--blue); }
.brand-icon { color: var(--white); background: var(--blue); border-radius: 8px; width: 32px; height: 32px; display: inline-grid; place-items: center; margin-right: 4px; font: 1.1rem/1 Georgia, serif; }
nav { display: flex; gap: clamp(20px, 3.5vw, 45px); }
nav a, .text-link { text-decoration: none; font-weight: 670; color: var(--blue-dark); font-size: .94rem; }
nav a { color: var(--muted); }
nav a:hover, .text-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: .72rem 1.2rem; border-radius: 8px; color: white; background: var(--blue); border: 1px solid var(--blue); text-decoration: none; line-height: 1.3; font-size: .94rem; font-weight: 690; transition: background .18s, border-color .18s; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button:disabled { cursor: default; background: #e9edf4; color: #4b586b; border-color: #d8dfeb; }
.button-small { background: transparent; color: var(--blue-dark); border-color: #acbafb; min-height: 40px; padding: .6rem .9rem; }
.button-small:hover { background: var(--blue-light); border-color: #778ce9; }

.hero { display: grid; grid-template-columns: .98fr 1.02fr; overflow: hidden; border-radius: 20px; background: var(--navy); color: var(--white); margin-top: clamp(24px, 4.3vw, 66px); }
.hero-copy { padding: clamp(30px, 5vw, 76px) clamp(26px, 4vw, 61px); align-self: center; }
.eyebrow { font-size: .875rem; font-weight: 730; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; color: var(--blue-dark); }
.hero .eyebrow, .hero em { color: var(--blue-tint); }
h1, h2, h3 { line-height: 1.05; font-weight: 770; letter-spacing: -.052em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.6rem, 4.75vw, 4.65rem); margin-block: 13px 20px; }
h1 em { display: block; font-style: normal; }
.hero-copy > p:not(.eyebrow) { color: #dde5f7; font-size: 1.063rem; max-width: 32ch; }
.actions { display: flex; gap: 17px; align-items: center; margin-top: 25px; flex-wrap: wrap; }
.hero .button { background: #d9e3ff; border-color: #d9e3ff; color: #132c98; }
.hero .button:hover { background: #fff; border-color: #fff; }
.hero .text-link { color: #e6edff; }
.litter-video { margin-top: 15px; }
.hero-photo { min-height: 390px; position: relative; background: #b6c4dd; }
.hero-photo img, .story-photo img { position: absolute; inset: 0; }
.hero-photo img { object-position: 50% 51%; }
.hero-photo figcaption, .story-photo figcaption { position: absolute; inset: auto auto 14px 14px; background: #fff; color: var(--navy); border-radius: 6px; padding: 6px 10px; font-size: .84rem; font-weight: 670; }

.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-top: 16px; }
.facts-grid > div { padding: 15px clamp(15px, 2.5vw, 32px); }
.facts-grid > div + div { border-left: 1px solid var(--line); }
.facts-grid dt { font-size: .86rem; color: var(--muted); }
.facts-grid dd { margin-top: 2px; font-weight: 730; }

.section { padding-block: clamp(46px, 6.6vw, 92px); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
h2 { font-size: clamp(2.1rem, 4.45vw, 3.9rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.8rem); }
.section-intro p { margin-top: 11px; max-width: 62ch; color: var(--muted); }
.section-intro strong { color: var(--ink); }
.section-intro > a { flex: 0 0 auto; }
.next-steps { border-left: 3px solid #657ee5; background: var(--blue-light); padding: .83rem 1rem; color: #243968; margin-bottom: 13px; }
.notice { margin-bottom: 20px; color: var(--muted); font-size: .88rem; }

.puppy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2vw, 24px); }
.puppy { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.puppy-photo { aspect-ratio: 1.6; background-color: #cad6e8; background-image: url('/assets/litter.jpg'); background-size: 630% auto; position: relative; }
.puppy-photo img { position: absolute; inset: 0; }
.puppy-photo span { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: var(--white); color: #27344e; padding: 4px 7px; border-radius: 5px; font-size: .76rem; font-weight: 650; }
.puppy-info { padding: clamp(15px, 2vw, 23px); flex: 1; display: flex; flex-direction: column; }
.puppy-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.availability { font-size: .825rem; font-weight: 690; background: var(--blue-light); color: var(--blue-dark); border-radius: 20px; padding: 3px 9px; }
.availability[data-matched="true"] { background: #e9edf4; color: #4b586b; }
.coat { font-size: .91rem; color: #32425d; margin-top: 7px; font-weight: 650; }
.puppy-note { margin: 8px 0 12px; color: var(--muted); flex: 1; }
.video { font-size: .86rem; color: var(--muted); }
.video a { color: var(--blue-dark); text-underline-offset: 3px; }
.offer-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 11px; margin-top: 14px; margin-bottom: 12px; }
.offer-line span { font-size: .875rem; color: var(--muted); }
.offer-line strong { font-size: 1.25rem; letter-spacing: -.035em; }
.puppy .button { width: 100%; }
.identifier { margin-top: .65rem; line-height: 1.4; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }

.video-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(18px, 4vw, 55px); align-items: center; padding: clamp(23px, 5vw, 62px); background: var(--navy); color: var(--white); border-radius: 16px; margin-bottom: 18px; }
.video-feature p { margin-top: 11px; color: #dde5f7; }
.video-feature video { display: block; width: min(100%, 250px); height: auto; aspect-ratio: 478 / 850; border-radius: 10px; background: #000; }
@media (max-width: 620px) {
  .video-feature { grid-template-columns: minmax(0, 1fr); }
  .video-feature video { width: min(100%, 290px); justify-self: center; }
}

.handover { padding: clamp(23px, 4vw, 50px); background: #e7eeff; border-radius: 16px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 24px; margin-bottom: clamp(46px, 6.6vw, 92px); }
.handover > div p { margin-top: 10px; color: #33466d; }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.check-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; }
.check-list li::before { content: '✓'; color: var(--blue-dark); font-weight: bold; }
.handover .check-list { margin: 0; }
.story { background: #fff; border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 7vw, 86px); align-items: center; }
.story-photo { border-radius: 14px; overflow: hidden; min-height: 370px; position: relative; background: #b6c4dd; }
.story-photo img { object-position: 50% 56%; }
.story-copy > p { margin-top: 15px; color: var(--muted); max-width: 49ch; }
.parent-weights { display: flex; gap: 14px; margin-top: 20px; }
.parent-weights p { min-width: 105px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.parent-weights strong, .parent-weights span { display: block; }
.parent-weights span { color: var(--muted); }
.breed { margin-top: clamp(32px, 5vw, 62px); }
.breed-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.breed-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 15px; }
.breed-grid dt { font-weight: 720; }
.breed-grid dd { margin-top: 5px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.steps article { border-top: 3px solid #7890ef; background: var(--white); border-radius: 2px 2px 9px 9px; padding: 19px; }
.steps p { margin-top: 9px; color: var(--muted); }
.faq { padding-top: 0; }
.questions { margin-top: 19px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 13px 0; }
summary { cursor: pointer; font-weight: 680; }
details p { margin-top: 8px; color: var(--muted); max-width: 70ch; }
footer { background: var(--navy); color: var(--white); padding: 38px 0; }
.footer-content { display: flex; justify-content: space-between; gap: 25px; }
footer p { margin-top: 7px; font-size: .9rem; color: #d2dcf3; }
footer .brand-icon { background: #dbe5ff; color: #182e91; }
footer .brand i { color: #b8cbff; }
footer a { display: block; text-decoration: none; }

dialog { width: min(650px, calc(100% - 24px)); max-height: 90dvh; padding: clamp(18px, 5vw, 32px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); }
dialog::backdrop { background: #101a32bc; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.dialog-head h2 { font-size: clamp(1.75rem, 5vw, 2.7rem); margin-top: 6px; }
.close { background: var(--blue-light); color: var(--blue-dark); border: 0; border-radius: 8px; width: 40px; height: 40px; flex: 0 0 40px; font-size: 1.7rem; line-height: 1; }
form { margin-top: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 15px; }
label { display: block; font-weight: 650; }
input:not([type=checkbox]), textarea, select { width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #8493ad; border-radius: 7px; color: var(--ink); background: #fff; }
textarea { resize: vertical; min-height: 70px; }
.fine { font-size: .87rem; margin-top: .55rem; color: var(--muted); }
fieldset { margin: 20px 0 10px; border: 0; padding: 0; min-width: 0; }
legend { font-size: 1.2rem; font-weight: 710; padding: 0; margin-bottom: 9px; }
fieldset label + label { margin-top: 10px; }
.checkbox { display: flex; align-items: baseline; gap: 8px; font-size: .9rem; margin-bottom: 14px; }
input[type=checkbox] { accent-color: var(--blue); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#form-error { color: #943822; margin-bottom: 10px; }
#success p { margin: 12px 0; }
.review-note { margin: 18px 0; max-width: 70ch; }
.review-item { background: var(--white); padding: 0 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.review-item dl { margin: 0 0 12px; }
.review-item dd { margin: 0 0 8px; white-space: pre-wrap; }
.review-item dt { font-weight: 700; }
.review-item form { display: flex; align-items: end; gap: 10px; margin-bottom: 12px; }
.review-item form label { width: min(250px, 60%); }

@media (max-width: 970px) {
  .wrap { width: calc(100% - 52px); }
  .hero-photo { min-height: 350px; }
  .puppy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .breed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 62px; gap: 10px; }
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 29px 23px; }
  .hero-photo { min-height: clamp(230px, 61vw, 395px); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 9px 12px; align-items: baseline; }
  .facts-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts-grid dd { margin: 0; }
  .section-intro { display: block; }
  .section-intro > a { display: inline-block; margin-top: 10px; }
  .story-grid, .handover, .steps { grid-template-columns: 1fr; }
  .story-photo { min-height: clamp(250px, 63vw, 400px); }
  .story-copy { grid-row: 1; }
}
@media (max-width: 520px) {
  .puppy-grid, .form-grid { grid-template-columns: 1fr; }
  .brand { font-size: 1.22rem; }
  .nav .button { padding-inline: .68rem; }
  .footer-content { flex-wrap: wrap; }
}
@media (max-width: 370px) { .breed-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
