:root {
  --blue: #99c7ee;
  --deep: #173a5a;
  --paper: #f6fafd;
  --sky: #e6f2fb;
  --gold: #a58a52;
  --ink: #223d53;
  --muted: #536c80;
  --line: #ccdfed;
  --serif: "Gloock", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.65; }
img { width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 10; background: var(--deep); color: var(--paper); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.preview-note { background: var(--deep); color: var(--paper); padding: 6px 18px; text-align: center; font-size: 11px; letter-spacing: .035em; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.brand > span { font-family: var(--serif); font-size: 31px; line-height: 1; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 7px; font-family: "DM Sans", sans-serif; font-size: 9px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 38px; font-size: 13px; font-weight: 600; }
.nav-contact { border-bottom: 1px solid var(--gold); padding-block: 9px; }
nav span { margin-left: 15px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 60px; padding-top: 54px; padding-bottom: 76px; }
.eyebrow { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; line-height: 1.5; }
h1 { font-size: clamp(52px, 5.3vw, 76px); margin-top: 23px; }
h1 em { color: #587e9a; font-style: normal; }
.hero-description { max-width: 390px; margin-top: 25px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 16px 25px; font-size: 13px; font-weight: 600; border-radius: 6px; line-height: 1.5; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-blue { background: var(--deep); color: var(--paper); }
.button-blue:hover { background: #315a7b; }
.hero .button { margin-top: 30px; }
.hero-map { display: block; width: fit-content; margin-top: 19px; font-size: 11px; color: var(--muted); }
.hero-map span { margin-left: 9px; }
.hero-portrait { position: relative; width: min(100%, 360px); justify-self: center; }
.hero-portrait > img { aspect-ratio: .86; object-fit: cover; object-position: center; border-radius: 4px 90px 4px 4px; }
.hero-portrait figcaption { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; gap: 16px; background: var(--deep); color: var(--paper); font-size: 12px; }
.hero-portrait figcaption span { font-size: 10px; opacity: .8; }
.care-section { background: var(--sky); }
.care-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; padding-block: 70px; }
h2 { font-size: clamp(39px, 3.5vw, 53px); margin-top: 14px; }
.care-copy > p { color: var(--muted); font-size: 15px; max-width: 430px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; padding-bottom: 5px; border-bottom: 1px solid var(--gold); font-size: 12px; font-weight: 600; line-height: 1.5; }
.care-copy .text-link { margin-top: 25px; }
.gallery-section { padding-top: 83px; padding-bottom: 76px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 38px; }
.gallery-grid { display: grid; grid-template-columns: 1.05fr .85fr; gap: 85px; align-items: start; }
.gallery-card img { aspect-ratio: .9; object-fit: cover; border-radius: 3px; }
.pet-art { padding-top: 80px; }
.pet-art img { aspect-ratio: auto; object-fit: contain; background: var(--sky); }
.gallery-card figcaption { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
h3 { font-size: 27px; }
.gallery-card p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.photo-credit { margin-top: 33px; font-size: 10px; color: var(--muted); }
.photo-credit a { text-decoration: underline; text-underline-offset: 3px; }
.appointment-section { background: var(--deep); color: var(--paper); }
.appointment-inner { display: grid; grid-template-columns: 1.12fr .85fr; gap: 90px; align-items: center; padding-block: 76px; }
.appointment-copy > p:not(.eyebrow) { max-width: 410px; margin-top: 24px; font-size: 14px; color: #c1d5e5; }
.appointment-copy .eyebrow { color: #b6d7ef; }
.button-light { background: var(--paper); color: var(--deep); margin-top: 27px; }
.button-light:hover { background: #d6e8f4; }
.location-card { border-left: 1px solid #53728b; padding-left: 50px; }
.location-card h3 { font-size: 31px; margin-top: 15px; }
address { font-style: normal; color: #c1d5e5; font-size: 14px; line-height: 1.9; margin-top: 18px; }
.location-card .text-link { margin-top: 23px; }
.phone { display: block; width: fit-content; margin-top: 17px; color: #c1d5e5; font-size: 12px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 30px; font-size: 11px; color: var(--muted); }
.footer strong { color: var(--deep); font-size: 13px; }
.footer p span { margin-left: 22px; }
.footer > a { border-bottom: 1px solid var(--line); padding-bottom: 3px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 35px; }
  h1 { font-size: 52px; }
  .care-inner, .appointment-inner { gap: 40px; }
  .gallery-grid { gap: 40px; }
  .location-card { padding-left: 30px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .preview-note { font-size: 9px; padding-block: 5px; }
  .masthead { padding-block: 17px; }
  .brand { gap: 10px; }
  .brand img { width: 43px; height: 43px; }
  .brand > span { font-size: 26px; }
  .brand small { font-size: 8px; margin-top: 5px; letter-spacing: .2em; }
  nav { font-size: 11px; }
  .nav-photos { display: none; }
  nav span { margin-left: 8px; }
  .nav-contact { padding-block: 7px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 43px; padding-bottom: 49px; }
  .eyebrow { font-size: 9px; letter-spacing: .13em; }
  h1 { font-size: clamp(44px, 12vw, 54px); margin-top: 18px; letter-spacing: -.045em; }
  .hero-description { font-size: 14px; margin-top: 22px; line-height: 1.8; }
  .button { padding: 15px 21px; gap: 27px; font-size: 12px; }
  .hero .button { margin-top: 24px; }
  .hero-map { font-size: 10px; margin-top: 15px; }
  .hero-portrait > img { aspect-ratio: .94; border-radius: 3px 65px 3px 3px; }
  .hero-portrait figcaption { padding: 12px 15px; font-size: 10px; }
  .hero-portrait figcaption span { font-size: 9px; }
  .care-inner { grid-template-columns: 1fr; gap: 23px; padding-block: 46px; }
  h2 { font-size: 37px; margin-top: 12px; }
  .care-copy > p { font-size: 14px; }
  .text-link { font-size: 11px; gap: 17px; }
  .care-copy .text-link { margin-top: 20px; }
  .gallery-section { padding-top: 50px; padding-bottom: 47px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > .text-link { margin-top: 23px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 35px; }
  .gallery-card img { aspect-ratio: .87; }
  .pet-art { padding-top: 0; }
  .pet-art img { aspect-ratio: auto; }
  .gallery-card figcaption { padding-top: 17px; margin-top: 16px; }
  h3 { font-size: 25px; }
  .gallery-card p { font-size: 11px; }
  .photo-credit { font-size: 9px; margin-top: 26px; }
  .appointment-inner { grid-template-columns: 1fr; gap: 38px; padding-block: 49px; }
  .appointment-copy > p:not(.eyebrow) { font-size: 13px; margin-top: 20px; }
  .appointment-copy .button { margin-top: 24px; }
  .location-card { border-left: 0; border-top: 1px solid #53728b; padding-top: 30px; padding-left: 0; }
  .location-card h3 { font-size: 29px; }
  address { font-size: 13px; margin-top: 15px; }
  .location-card .text-link { margin-top: 18px; }
  .footer { align-items: flex-start; padding-block: 24px; font-size: 10px; }
  .footer strong { font-size: 12px; }
  .footer p span { display: block; margin-left: 0; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
