.vet {
    --paper: #fffaf0;
    --ink: #203b33;
    --accent: #204a3c;
    --line: #bdc9b5;
    --display: 'Fraunces', Georgia, serif;
}
.vet .topbar { position: sticky; top: 0; border-bottom: 1px solid var(--line); }
.vet .site-brand svg { color: #9a4533; }
.vet-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.vet-carousel { background: var(--paper); }
.vet-banner {
    --banner-bg: #203b33;
    --banner-text: #fffaf0;
    --banner-accent: #f3cf9e;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--banner-bg);
    color: var(--banner-text);
}
.vet-banner:nth-child(2) { --banner-bg: #3d4b30; }
.vet-banner:nth-child(3) { --banner-bg: #543d32; }
.vet-banner-grid { display: flex; align-items: center; min-height: clamp(470px, 46vw, 620px); }
.vet-copy {
    position: relative;
    z-index: 1;
    width: min(51%, 585px);
    padding: clamp(24px, 4vw, 58px) clamp(25px, 4vw, 62px) clamp(24px, 4vw, 58px) 0;
    background: var(--banner-bg);
}
.vet-copy .eyebrow { color: var(--banner-accent); margin-bottom: 15px; }
.vet-copy h2 { font-size: clamp(3rem, 6vw, 5.85rem); line-height: .96; text-wrap: pretty; }
.vet-intro { margin: 16px 0 23px; max-width: 39ch; }
.vet .button { --button-radius: 4px; }
.vet-copy .button {
    border-color: var(--banner-accent);
    color: var(--banner-accent);
    background: transparent;
    padding-inline: 15px;
    gap: 20px;
    transition: background .25s, color .25s;
}
.vet-copy .button:not(:disabled):hover { background: var(--banner-accent); color: var(--banner-bg); transform: none; box-shadow: none; }
.vet-copy .button span { transition: transform .25s; }
.vet-copy .button:hover span { transform: translateX(4px); }
.vet-banner-art { position: absolute; inset: 0 0 0 40%; overflow: hidden; }
.vet-banner-art img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.vet-controls { justify-content: space-between; align-items: stretch; gap: 12px; }
.vet-controls:not([hidden]), .vet-indicators, .vet-arrows { display: flex; }
.vet-indicators { gap: clamp(9px, 2.5vw, 32px); }
.vet-controls button {
    min-height: 50px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: color .2s, background .2s;
}
.vet-indicators button {
    position: relative;
    color: #42594c;
    padding: 8px 2px;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.17;
    text-align: left;
}
.vet-indicators button::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: #a6533a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.vet-indicators button[aria-pressed="true"] { color: var(--ink); }
.vet-indicators button:is([aria-pressed="true"], :hover)::after { transform: scaleX(1); }
.vet-arrows button { width: 48px; border-inline-start: 1px solid var(--line); }
.vet-arrows button:last-child { border-inline-end: 1px solid var(--line); }
.vet-arrows button:hover { background: #e6edd9; }
.vet-quick { background: #204a3c; color: #fff9ef; }
.vet-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.vet-quick a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 4px; font-weight: 700; }
.vet-quick a + a { border-left: 1px solid #fff9ef38; }
.vet-quick span { color: #ffd29e; font-size: 1.24rem; transition: transform .23s ease; }
.vet-quick a:hover span { transform: scale(1.2); }
.vet-services, .vet-clinic, .vet-visit { scroll-margin-top: 86px; padding-block: clamp(40px, 7vw, 92px); }
.vet-services > h2 { text-align: center; margin-bottom: 29px; }
.vet-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 26px); }
.vet-card { background: #f6edda; border: 1px solid var(--line); border-radius: 21px; overflow: hidden; display: flex; flex-direction: column; }
.vet-card:nth-child(2) { background: #e7eed9; }
.vet-card:nth-child(3) { background: #f7e1d5; }
.vet-card-photo { overflow: hidden; }
.vet-card-photo img { width: 100%; height: auto; aspect-ratio: 1.54; object-fit: cover; transition: transform .5s ease; }
.vet-card:hover .vet-card-photo img { transform: scale(1.06); }
.vet-card-info { padding: clamp(13px, 2.2vw, 24px); display: flex; flex-direction: column; flex: 1; }
.vet-card h3 { margin-bottom: 8px; font-size: clamp(1.4rem, 2.3vw, 1.86rem); }
.vet-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 16px; margin-top: auto; }
.vet-card-bottom a { color: var(--accent); border: 1px solid var(--line); border-radius: 4px; flex: 0 0 35px; height: 35px; display: grid; place-items: center; transition: transform .25s; }
.vet-card-bottom a:hover { transform: translateX(3px); }
.vet-clinic { background: #e6edd9; }
.vet-clinic-grid, .vet-visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 6vw, 72px); align-items: center; }
.vet-clinic img { width: 100%; height: auto; border-radius: 20px 75px 20px 20px; }
.vet-clinic p:not(.eyebrow), .vet-visit p { margin-top: 12px; }
.vet-clinic dl { margin: 22px 0 0; }
.vet-clinic dl > div { padding: 9px 0; border-top: 1px solid var(--line); }
.vet-clinic dt { font-weight: 700; }
.vet-clinic dd { margin: 0; }
.vet-visit { align-items: start; }
.vet-visit .button { margin-top: 17px; }
.vet-questions details { padding-block: 12px; border-bottom: 1px solid var(--line); }
.vet-questions details:first-child { border-top: 1px solid var(--line); }
.vet-questions summary { display: flex; list-style: none; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 700; }
.vet-questions summary::-webkit-details-marker { display: none; }
.vet-questions summary span { transition: transform .24s ease; }
.vet-questions details[open] summary span { transform: rotate(45deg); }

@media (prefers-reduced-motion: no-preference) {
    .vet-banner:not([hidden]) .vet-copy { animation: vet-copy-in .43s ease both; }
    .vet-banner:not([hidden]) .vet-banner-art img { animation: vet-photo-in .68s ease both; }
    .vet-card:nth-child(2) { transition-delay: .08s; }
    .vet-card:nth-child(3) { transition-delay: .15s; }
    .vet-questions details[open] > p { animation: vet-copy-in .28s ease both; }
    @keyframes vet-copy-in { from { opacity: 0; transform: translateY(12px); } }
    @keyframes vet-photo-in { from { opacity: .55; transform: scale(1.045); } }
}
@media (max-width: 660px) {
    .vet-banner-grid { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: 0; }
    .vet-banner-art { position: relative; inset: auto; height: clamp(195px, 62vw, 390px); margin-inline: -16px; }
    .vet-copy { width: 100%; padding: 23px 0 25px; }
    .vet-copy h2 { font-size: clamp(2.55rem, 9.4vw, 4.1rem); }
    .vet-intro { margin: 10px 0 15px; }
    .vet-indicators button { font-size: .74rem; }
    .vet-arrows button { width: 34px; }
    .vet-quick a { flex-direction: column; gap: 2px; font-size: .82rem; line-height: 1.2; }
    .vet-service-grid, .vet-clinic-grid, .vet-visit { grid-template-columns: 1fr; }
}
