/* Cedar Point Veterinary: fictional sample by Venant Studio (redesign 2026-09-28).
   Friendly and straightforward: terracotta from the paw logo, pale sky blue, cedar green,
   soft organic shapes, and a pet's life told as a journey you scroll through sideways. */
:root {
  --terra: #a9452c;
  --terra-deep: #7f3120;
  --sky: #e6eef0;
  --sky-2: #d3e2e6;
  --cedar: #2f5d50;
  --ink: #253d43;
  --ink-2: #4f666b;
  --paper: #f3f7f8;
  --sun: #f3c969;
  --display: "Baloo 2", "Trebuchet MS", sans-serif;
  --body: "Commissioner", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 10px; }
[id] { scroll-margin-top: 90px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--terra); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 60; }
.skip:focus { top: 12px; }
.notice { background: var(--ink); color: #d3e2e6; font-size: .8125rem; }
.notice .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 8px; }
.notice a { color: #fff; }

.hdr { position: sticky; top: 0; z-index: 40; background: rgba(251,250,246,.94); backdrop-filter: blur(10px); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 44px; height: 44px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: .9; color: var(--terra); }
.brand small { display: block; font-family: var(--body); font-weight: 600; font-size: .78rem; color: var(--ink-2); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--terra); }
.menu-btn { display: none; border: 2px solid var(--ink); background: none; border-radius: 12px; padding: 8px 16px; font: 700 .95rem var(--body); color: var(--ink); cursor: pointer; }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; padding: 13px 22px; font-weight: 700; text-decoration: none; border: 2px solid var(--terra); background: var(--terra); color: #fff; cursor: pointer; font-size: 1rem; transition: background-color .18s, transform .18s; }
.btn:hover { background: var(--terra-deep); border-color: var(--terra-deep); transform: translateY(-1px); }
.btn.soft { background: transparent; color: var(--terra); }
.btn.soft:hover { background: #f6e3dc; }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 100px); overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero .who { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--cedar); }
.hero .who svg { width: 22px; height: 22px; }
.hero h1 { margin-top: 12px; font-size: clamp(2.8rem, 1.4rem + 4.6vw, 5.2rem); }
.hero .lead { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); max-width: 30em; }
.hero .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.blob { position: relative; }
.blob .shape { aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 58% 42% 48% 52% / 46% 52% 48% 54%; background: var(--sky); }
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; }
.blob .bubble { position: absolute; left: -4%; bottom: 8%; background: #fff; border-radius: 22px 22px 22px 6px; padding: 14px 18px; box-shadow: 0 20px 40px -22px rgba(37,61,67,.45); font-weight: 600; font-size: .95rem; line-height: 1.35; max-width: 16em; }
.blob .bubble b { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--terra); }
.imgnote { margin-top: 12px; font-size: .78rem; color: var(--ink-2); text-align: right; }
.chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--sky); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .92rem; }

/* life stages: vertical scroll moves the cards sideways */
.stages { background: var(--sky); --edge: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); }
.stages .pin { position: sticky; top: 76px; height: calc(100vh - 76px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.stages .head { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.stages h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); max-width: 10em; }
.stages .head p { color: var(--ink-2); max-width: 22em; padding-bottom: .4em; }
.track { margin-top: clamp(28px, 4vh, 48px); display: flex; gap: 22px; padding-inline: var(--edge); will-change: transform; }
.stage { flex: 0 0 min(420px, 78vw); background: #fff; border-radius: 32px; padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 50px -36px rgba(37,61,67,.5); }
.stage .age { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--cedar); background: #e3efe9; align-self: start; border-radius: 999px; padding: 3px 12px; }
.stage h3 { font-size: 1.9rem; }
.stage p { color: var(--ink-2); }
.stage svg { width: 64px; height: 64px; margin-top: auto; align-self: flex-end; }
.stages .progress { margin: 26px var(--edge) 0; height: 6px; border-radius: 999px; background: var(--sky-2); overflow: hidden; }
.stages .progress i { display: block; height: 100%; background: var(--terra); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* estimates */
.estimates { padding-block: clamp(72px, 9vw, 128px); }
.estimates .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.estimates h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); }
.estimates .lede { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); max-width: 32em; }
.estimates .checks { margin-top: 26px; display: grid; gap: 10px; }
.estimates .checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.estimates .checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--cedar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6 11 3.5 3.5L16 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; flex: none; }
.estimate-card { background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 30px 60px -40px rgba(37,61,67,.6); border: 2px solid var(--sky-2); transform: rotate(-2deg); }
.estimate-card h3 { font-size: 1.5rem; }
.estimate-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 2px dashed var(--sky-2); font-weight: 600; }
.estimate-card .row span:last-child { color: var(--ink-2); font-weight: 500; }
.estimate-card .pick { margin-top: 16px; background: var(--sky); border-radius: 16px; padding: 12px 14px; font-weight: 600; }

/* team */
.team { padding-block: 0 clamp(72px, 9vw, 128px); }
.team h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); }
.people { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.people .ph { aspect-ratio: 1; overflow: hidden; border-radius: 42% 58% 50% 50% / 50% 44% 56% 50%; background: var(--sky); }
.people li:nth-child(2) .ph { border-radius: 55% 45% 44% 56% / 46% 56% 44% 54%; }
.people li:nth-child(3) .ph { border-radius: 48% 52% 58% 42% / 56% 48% 52% 44%; }
.people img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); transform-origin: 50% 24%; }
.people h3 { margin-top: 18px; font-size: 1.7rem; }
.people .role { font-weight: 700; color: var(--terra); }
.people p { margin-top: 6px; color: var(--ink-2); }

/* hours */
.hours { background: var(--cedar); color: #e7f0ec; padding-block: clamp(72px, 9vw, 128px); }
.hours .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hours h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); color: #fff; }
.hours .lede { margin-top: 16px; color: #c5dbd2; }
.hours address { margin-top: 22px; font-style: normal; font-weight: 700; color: #fff; }
.hours address small { display: block; font-weight: 400; color: #a9c7bb; font-size: .85rem; }
.days { background: rgba(255,255,255,.08); border-radius: 24px; padding: 8px 22px; }
.days li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.days li:last-child { border-bottom: 0; }
.days li.sat span:last-child { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 0 10px; font-weight: 700; }
.days .off { color: #9fbdb1; }

/* faq, demo */
.faq { padding-block: clamp(72px, 9vw, 128px); }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); }
.qs details { background: #fff; border-radius: 20px; margin-bottom: 10px; box-shadow: 0 0 0 2px var(--sky); }
.qs summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; font-size: 1.1rem; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 9l4 4 4-4' fill='none' stroke='%23253d43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; transition: transform .2s; }
.qs details[open] summary::after { transform: rotate(180deg); }
.qs details p { padding: 0 22px 18px; color: var(--ink-2); }
.demo { background: #f6e3dc; padding-block: clamp(72px, 9vw, 128px); }
.demo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.demo h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); }
.demo .lede { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.demo .demo-note { margin-top: 20px; border: 2px dashed #e0b6a8; border-radius: 18px; padding: 14px 16px; color: var(--ink-2); font-size: .92rem; }
.form { background: #fff; border-radius: 30px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 18px; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form select, .form input { width: 100%; min-height: 50px; font: 500 1rem var(--body); color: var(--ink); background: var(--paper); border: 2px solid var(--sky-2); border-radius: 16px; padding: 12px 14px; }
.form select:focus-visible, .form input:focus-visible { border-color: var(--terra); }
.form .err { color: #a3261c; font-weight: 700; font-size: .9rem; margin-top: 6px; }
.form .err:empty { display: none; }
.form .btn { justify-content: center; }
.preview { background: var(--sky); border-radius: 18px; padding: 14px 16px; }
.preview[hidden] { display: none; }
.preview b { display: block; font-family: var(--display); font-size: 1.4rem; }

.ftr { background: var(--ink); color: #cfdde0; padding-block: 56px 30px; }
.ftr .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.ftr .brand span { color: #fff; }
.ftr h3 { font-family: var(--body); font-weight: 700; font-size: .95rem; color: #fff; }
.ftr ul { margin-top: 10px; display: grid; gap: 6px; }
.ftr a { text-decoration: none; } .ftr a:hover { text-decoration: underline; }
.ftr .base { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; margin-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: #9fb6bb; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 2px solid var(--sky); padding: 8px var(--pad) 20px; }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 12px 0; font-size: 1.1rem; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .hero .wrap, .estimates .wrap, .hours .wrap, .faq .wrap, .demo .wrap, .ftr .wrap { grid-template-columns: 1fr; }
  .blob { max-width: 420px; width: 92%; margin-inline: auto; }
  .blob .bubble { left: 0; }
  .people { grid-template-columns: 1fr; max-width: 400px; }
  .estimate-card { transform: none; }
}
/* without the scroll effect (small screens, reduced motion, no JS): a normal swipeable row */
.stages:not(.is-pinned) { padding-block: clamp(64px, 8vw, 110px); }
.stages:not(.is-pinned) .pin { position: static; height: auto; overflow: visible; }
.stages:not(.is-pinned) .track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding-bottom: 14px; transform: none !important; scrollbar-width: thin; }
.stages:not(.is-pinned) .stage { scroll-snap-align: start; }
.stages:not(.is-pinned) .progress { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---- New first screen, 2026-11-12 ---- */
.hx [data-in] { opacity: 0; transform: translateY(18px); animation: hx-in .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes hx-in { to { opacity: 1; transform: none; } }
.hx-note { font-size: .75rem; opacity: .75; }
@media (prefers-reduced-motion: reduce) { .hx [data-in] { opacity: 1; transform: none; animation: none; } }

.hx-cedar { padding-block: clamp(28px, 3.5vw, 52px) clamp(40px, 5vw, 72px); background: var(--paper); }
.hx-cedar .hx-head { text-align: center; max-width: 960px; }
.hx-cedar .hx-tag { font-weight: 700; color: var(--cedar); }
.hx-cedar h1 { margin-top: 8px; font-size: clamp(2.5rem, 1.2rem + 3.8vw, 4.5rem); line-height: 1; color: var(--ink); }
.hx-cedar .hx-lead { margin: 18px auto 0; max-width: 34em; font-size: 1.1875rem; color: var(--ink-2); }
.hx-cedar .hx-stage { position: relative; margin-top: clamp(22px, 3vw, 36px); }
.hx-cedar .hx-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 2; max-height: calc(100vh - 330px); min-height: 300px; width: 100%; background: var(--sky); }
.hx-cedar .hx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
/* the touch: a pet walks in, paw by paw, from the left edge to the door */
.hx-cedar .hx-walk { position: absolute; left: 4%; bottom: 26px; width: 50%; height: 70px; pointer-events: none; }
.hx-cedar .hx-walk span { position: absolute; bottom: 0; left: calc(var(--i) * 14.5%); width: 28px; height: 28px; color: #fff; opacity: 0; transform: rotate(78deg) scale(.6); animation: hx-paw .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 260ms + 900ms); filter: drop-shadow(0 2px 6px rgba(37,61,67,.45)); }
.hx-cedar .hx-walk span:nth-child(odd) { bottom: 22px; }
.hx-cedar .hx-walk svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes hx-paw { to { opacity: .95; transform: rotate(78deg) scale(1); } }
.hx-cedar .hx-door { position: absolute; right: calc(var(--pad) + 28px); bottom: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; background: var(--paper); padding: 22px; border-radius: 20px; box-shadow: 0 24px 50px -24px rgba(37,61,67,.55); min-width: 240px; }
.hx-cedar .hx-btn { display: block; text-align: center; padding: 15px 22px; border-radius: 12px; background: var(--terra); color: #fff; font-weight: 700; text-decoration: none; transition: background .2s, transform .15s; }
.hx-cedar .hx-btn:hover { background: var(--terra-deep); } .hx-cedar .hx-btn:active { transform: scale(.98); }
.hx-cedar .hx-link { text-align: center; font-weight: 700; color: var(--cedar); text-underline-offset: 4px; }
.hx-cedar .hx-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 36px; margin-top: 22px; color: var(--cedar); font-weight: 600; }
.hx-cedar .hx-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hx-cedar .hx-facts svg { width: 22px; height: 22px; }
.hx-cedar .hx-note { text-align: right; margin-top: 6px; color: var(--ink-2); }
@media (max-width: 900px) {
  .hx-cedar .hx-photo { aspect-ratio: 16 / 10; }
  .hx-cedar .hx-walk { width: 70%; bottom: 52px; }
  .hx-cedar .hx-door { position: relative; right: auto; bottom: auto; margin-top: -40px; margin-inline: auto; width: min(92%, 420px); }
}
@media (max-width: 600px) {
  .hx-cedar .hx-head { text-align: left; }
  .hx-cedar .hx-lead { margin-left: 0; }
  .hx-cedar .hx-photo { aspect-ratio: 4 / 3; border-radius: 20px; max-height: none; min-height: 0; }
  .hx-cedar .hx-walk { display: none; }
  .hx-cedar .hx-door { margin-top: 18px; width: 100%; min-width: 0; padding: 0; box-shadow: none; background: none; }
  .hx-cedar .hx-facts { justify-content: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hx-cedar .hx-walk span { animation: none; opacity: .95; transform: rotate(78deg); } }
