:root {
  --canvas: #F7F3EA;
  --surface: #FFFFFF;
  --ink: #12332F;
  --ink-soft: #4A625E;
  --teal: #17605C;
  --teal-2: #1F7A73;
  --teal-pale: #CFE7E1;
  --orange: #E8742F;
  --orange-ink: #B24C16;
  --yellow: #F4C542;
  --line: #4A2418;
  --dark: #0D3431;

  --f-display: "Fredoka", "Geist", system-ui, sans-serif;
  --f-text: "Geist", system-ui, sans-serif;

  --r-1: 12px;
  --r-2: 20px;
  --r-3: 28px;

  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 14vw, 200px);
  --bar-h: 76px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --e1: 0 2px 6px -2px rgba(18, 51, 47, .18);
  --e2: 0 14px 34px -16px rgba(18, 51, 47, .38), 0 3px 8px -4px rgba(18, 51, 47, .16);
  --e3: 0 34px 70px -30px rgba(13, 52, 49, .5), 0 8px 18px -8px rgba(13, 52, 49, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--bar-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main { overflow-x: clip; width: 100%; max-width: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
input, textarea { caret-color: var(--orange); }
html { scrollbar-color: var(--teal-2) var(--canvas); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: var(--r-1); }
.skip:focus { top: 12px; }

.display { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; margin: 0; }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.9rem); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--ink-soft); max-width: 44ch; margin: 0 auto; text-wrap: pretty; }
.body { max-width: 52ch; color: var(--ink-soft); text-wrap: pretty; margin: 0; }

/* buttons: one radius scale, no pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-1);
  font: 600 1rem/1 var(--f-text); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 140ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: var(--e2); }
.btn--orange { background: var(--orange-ink); color: #fff; box-shadow: var(--e2); }
.btn--line { border-color: var(--teal); color: var(--teal); background: rgba(255, 255, 255, .6); }
@media (hover: hover) and (pointer: fine) {
  .btn--teal:hover { background: #124F4C; }
  .btn--orange:hover { background: #9C4111; }
  .btn--line:hover { background: #fff; }
}
.link { font-weight: 600; color: var(--teal); text-decoration: underline; text-decoration-color: var(--orange); }

/* ---------- bar + corridor rail ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(247, 243, 234, .94);
  border-bottom: 1px solid rgba(18, 51, 47, .08);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__head { width: 44px; height: 44px; display: block; }
.logo__head svg { width: 100%; height: 100%; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font: 700 1.5rem/1 var(--f-display); color: var(--teal); letter-spacing: -0.01em; }
.logo__name b { color: var(--orange-ink); font-weight: 700; }
.logo__sub { font-size: .7rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: .01em; }

.rail { position: relative; justify-self: center; width: min(620px, 100%); }
.rail__track { position: absolute; left: 8.333%; right: 8.333%; top: 13px; height: 2px; background: rgba(18, 51, 47, .14); border-radius: 2px; }
.rail__fill { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--rail, 0)); border-radius: 2px; }
.rail__paws { position: absolute; inset: -9px 0; }
.rail__paws i { position: absolute; top: 0; width: 12px; height: 12px; margin-left: -6px; opacity: 0; transform: translateY(4px) scale(.8); transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23E8742F'%3E%3Cellipse cx='12' cy='15.5' rx='5.5' ry='4.6'/%3E%3Ccircle cx='5.2' cy='9.6' r='2.3'/%3E%3Ccircle cx='9.4' cy='5.6' r='2.3'/%3E%3Ccircle cx='14.6' cy='5.6' r='2.3'/%3E%3Ccircle cx='18.8' cy='9.6' r='2.3'/%3E%3C/g%3E%3C/svg%3E"); }
.rail__paws i:nth-child(even) { top: 9px; }
.rail__paws i.on { opacity: 1; transform: none; }
.rail__doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.rail__doors a { display: grid; justify-items: center; gap: 4px; text-decoration: none; color: var(--ink-soft); font-size: .74rem; font-weight: 500; padding: 0 2px 2px; border-radius: 8px; }
.door { width: 18px; height: 24px; border: 2px solid currentColor; border-radius: 9px 9px 2px 2px; background: var(--canvas); position: relative; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.door::after { content: ""; position: absolute; right: 3px; top: 11px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.rail__doors a.is-past { color: var(--orange-ink); }
.rail__doors a.is-past .door { background: #FBE3D1; }
.rail__doors a[aria-current] { color: var(--teal); font-weight: 600; }
.rail__doors a[aria-current] .door { background: var(--teal); border-color: var(--teal); }
.rail__doors a[aria-current] .door::after { background: #fff; }
@media (hover: hover) and (pointer: fine) { .rail__doors a:hover { color: var(--teal); } }
.rail__name { white-space: nowrap; }
.rail__now { display: none; }

/* ---------- the guide ---------- */
.guide {
  position: fixed; right: clamp(12px, 2.4vw, 32px); bottom: 14px; z-index: 40;
  width: 124px; pointer-events: none;
  opacity: 0; transform: translateY(24px);
  transition: opacity 260ms var(--ease), transform 520ms var(--ease);
}
.guide.is-on { opacity: 1; transform: none; }
.guide.is-off { opacity: 0; transform: translateX(170%); transition: opacity 400ms var(--ease) 200ms, transform 700ms var(--ease); }
.guide__dog { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.guide:not(.is-on) .guide__dog { pointer-events: none; }
.guide__dog svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 8px 10px rgba(13, 52, 49, .2)); }
.guide__say {
  position: absolute; right: 70%; bottom: 82%; width: max-content; max-width: 230px; margin: 0;
  background: #fff; color: var(--ink); border: 2px solid var(--teal); border-radius: var(--r-2) var(--r-2) 4px var(--r-2);
  padding: 10px 14px; font-size: .92rem; line-height: 1.35; box-shadow: var(--e2);
  opacity: 0; transform: translateY(6px) scale(.95); transform-origin: 100% 100%;
  transition: opacity 180ms var(--ease), transform 220ms var(--ease);
}
.guide.is-talk .guide__say { opacity: 1; transform: none; }

/* mascot parts */
.yo .yo-shut { display: none; }
.yo .is-wink .yo-open { display: none; }
.yo .is-wink .yo-shut { display: inline; }
.yo-tail { transform-box: view-box; transform-origin: 138px 200px; }
.yo-head { transform-box: view-box; transform-origin: 100px 156px; }
.yo-ear-l { transform-box: view-box; transform-origin: 62px 60px; transition: transform 220ms var(--ease); }
.yo-ear-r { transform-box: view-box; transform-origin: 138px 60px; transition: transform 220ms var(--ease); }
.yo-paw { transform-box: view-box; }
.guide.is-walk .yo-paw-l { animation: trot 300ms ease-in-out infinite alternate; }
.guide.is-walk .yo-paw-r { animation: trot 300ms ease-in-out infinite alternate-reverse; }
.guide.is-walk .yo-head { animation: bob 300ms ease-in-out infinite alternate; }
.guide.is-perk .yo-ear-l { transform: rotate(-8deg); }
.guide.is-perk .yo-ear-r { transform: rotate(8deg); }
@keyframes trot { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes bob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-4px) rotate(1.5deg); } }

/* ---------- hero: Recepção ---------- */
.hero { position: relative; height: 190vh; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.plane { position: absolute; inset: 0; will-change: transform; }
.plane--wall { inset: -4% 0 0 0; }
.wall__tiles {
  position: absolute; left: 0; right: 0; top: 58%; bottom: 0;
  background:
    linear-gradient(#E9E2D3, #E9E2D3) bottom/100% 15% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(18, 51, 47, .07) 119px 120px) bottom/100% 15% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23258A82' opacity='.55'%3E%3Cg transform='translate(22 26) rotate(-18)'%3E%3Cellipse cx='0' cy='6' rx='7' ry='6'/%3E%3Ccircle cx='-8' cy='-2' r='2.8'/%3E%3Ccircle cx='-3' cy='-7' r='2.8'/%3E%3Ccircle cx='3' cy='-7' r='2.8'/%3E%3Ccircle cx='8' cy='-2' r='2.8'/%3E%3C/g%3E%3Cg transform='translate(84 82) rotate(16)'%3E%3Cellipse cx='0' cy='6' rx='7' ry='6'/%3E%3Ccircle cx='-8' cy='-2' r='2.8'/%3E%3Ccircle cx='-3' cy='-7' r='2.8'/%3E%3Ccircle cx='3' cy='-7' r='2.8'/%3E%3Ccircle cx='8' cy='-2' r='2.8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0/120px 120px,
    var(--teal-2);
  border-top: 6px solid var(--teal);
}
.plane--word { display: grid; place-items: end center; padding-bottom: 14vh; pointer-events: none; }
.bigword { display: flex; gap: 2vw; font: 700 clamp(9rem, 27vw, 26rem)/.8 var(--f-display); color: #2C978E; letter-spacing: -0.02em; }
.bigword i { font-style: normal; display: block; will-change: transform; }
.hero__copy { position: relative; z-index: 3; text-align: center; padding: calc(var(--bar-h) + clamp(28px, 6vh, 64px)) var(--gutter) 0; will-change: transform, opacity; }
.hero__h1 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); max-width: 64rem; margin: 0 auto 18px; color: var(--teal); }
.hero__h1 .hl { color: var(--orange-ink); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.plane--dog { z-index: 2; pointer-events: none; }
.hero__dog { position: absolute; left: 50%; bottom: 7.5%; width: min(24vw, 31vh); transform-origin: 50% 100%; translate: -50% 0; will-change: transform; }
.hero__dog svg { width: 100%; height: auto; display: block; overflow: visible; }
.floor-shadow { position: absolute; left: 50%; bottom: calc(7.5% - 10px); width: min(20vw, 26vh); height: 22px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 52, 49, .28), transparent); }
.plane--front { z-index: 4; pointer-events: none; }
.bowl { position: absolute; left: calc(50% - min(24vw, 31vh) - 120px); bottom: 4%; width: clamp(130px, 13vw, 200px); }
.bubble { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .9) 0 12%, rgba(255, 255, 255, .18) 13% 100%); box-shadow: inset -3px -4px 8px rgba(31, 122, 115, .18); }
.b1 { width: 54px; height: 54px; left: 64%; bottom: 30%; }
.b2 { width: 26px; height: 26px; left: 69%; bottom: 44%; }
.b3 { width: 38px; height: 38px; left: 27%; bottom: 36%; }
.b4 { width: 18px; height: 18px; left: 72%; bottom: 22%; }

/* ---------- rooms ---------- */
.room { padding: var(--section) var(--gutter); }
.consult__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.consult__copy .h2 { color: var(--teal); margin-bottom: 26px; }
.consult__copy .body { margin-bottom: 26px; }
.consult__photo { margin: 0; position: relative; justify-self: center; width: min(380px, 100%); }
.consult__photo::before { content: ""; position: absolute; inset: 8% -9% -6% 12%; background: var(--yellow); border-radius: var(--r-3); transform: rotate(4deg); }
.frame { position: relative; border-radius: var(--r-3); overflow: hidden; border: 8px solid #fff; box-shadow: var(--e3); aspect-ratio: 4 / 5.4; transform: rotate(-2deg); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

.consult { padding-top: clamp(64px, 8vw, 120px); }
.exams { padding-top: 0; }
.exams__h { max-width: 1200px; margin: 0 auto 40px; color: var(--teal); }
.acc { max-width: 1200px; margin: 0 auto; display: flex; gap: 10px; height: clamp(380px, 52vh, 480px); }
.acc__item { display: flex; flex: 0 0 82px; min-width: 0; border-radius: var(--r-2); overflow: hidden; background: var(--c); color: var(--ink); transition: flex-grow 520ms var(--ease), flex-basis 520ms var(--ease); box-shadow: var(--e1); }
.acc__item.is-open { flex: 1 1 auto; }
.acc__tab { flex: 0 0 82px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: end center; padding: 22px 0; font: 600 1.25rem/1 var(--f-display); }
.acc__tab span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.acc__tab:focus-visible { outline-offset: -6px; }
.acc__panel { flex: 1 1 auto; min-width: 0; padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 44px) clamp(24px, 3vw, 44px) 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; opacity: 0; transition: opacity 260ms var(--ease); }
.acc__panel > * { width: min(440px, 100%); min-width: 260px; }
.acc__item.is-open .acc__panel { opacity: 1; transition-delay: 160ms; }
.acc__icon { width: 56px; min-width: 0; height: 56px; margin-bottom: auto; }
.acc__panel h3 { font: 600 clamp(1.9rem, 3vw, 2.8rem)/1 var(--f-display); margin: 0; letter-spacing: -0.01em; }
.acc__panel p { margin: 0; font-size: 1.08rem; max-width: 34ch; }
.acc__go { display: inline-flex; width: auto !important; min-width: 0 !important; align-self: flex-start; align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--r-1); background: var(--ink); color: var(--c); font-weight: 600; text-decoration: none; margin-top: 6px; }
.acc__item[style*="#17605C"] .acc__go { background: #FFF8EE; color: #17605C; }
.acc__item[style*="#17605C"] .acc__tab, .acc__item[style*="#17605C"] .acc__panel { color: #FFF8EE; }

/* ---------- cirurgia: dark act ---------- */
.surgery { position: relative; height: 270vh; background: var(--dark); color: #F4EFE4; }
.surgery__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: calc(var(--bar-h) + 24px) var(--gutter) 40px; max-width: 1320px; margin: 0 auto; }
.scrub-words { font-size: clamp(2rem, 3.7vw, 3.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.scrub-words .w { opacity: .16; transition: opacity 120ms linear; }
.scrub-words .w.lit { opacity: 1; }
.scrub-words .w.em { color: var(--yellow); }
.cases { position: relative; height: min(560px, 70svh); }
.case { position: absolute; margin: 0; background: #FFFDF8; color: var(--ink); padding: 12px 12px 16px; border-radius: 6px; box-shadow: var(--e3); width: min(300px, 80%); will-change: transform, opacity; }
.case img { width: 100%; border-radius: 3px; }
.case figcaption { font-size: .92rem; line-height: 1.4; margin-top: 12px; color: var(--ink-soft); }
.case figcaption b { display: block; font: 600 1.25rem/1.1 var(--f-display); color: var(--ink); margin-bottom: 4px; }
.case--a { left: 0; top: 2%; rotate: -4deg; width: min(270px, 47%); }
.case--b { right: 0; top: 24%; rotate: 3deg; width: min(330px, 55%); }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.case__pair img { aspect-ratio: 160 / 238; object-fit: cover; }

/* authored silence */
.hush { height: 55vh; background: linear-gradient(var(--dark), #E3F1EE); }

/* ---------- banho e tosa: PEAK ---------- */
.bath { position: relative; height: 380vh; background: #E3F1EE; }
.bath__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 89px, rgba(31, 122, 115, .1) 89px 90px),
    repeating-linear-gradient(90deg, transparent 0 89px, rgba(31, 122, 115, .1) 89px 90px),
    #E3F1EE; }
.bath__tub { --tw: min(580px, 92vw); position: absolute; left: 50%; bottom: 0; width: var(--tw); translate: -50% 0; z-index: 1; }
.tub { position: relative; z-index: 2; width: 100%; display: block; margin-bottom: 4vh; }
.tub__floor { position: absolute; left: -60vw; right: -60vw; bottom: 0; height: 6vh; background: #CFE2DD; border-top: 3px solid rgba(31, 122, 115, .25); z-index: 0; }
.tub__dog { position: absolute; z-index: 1; left: 50%; bottom: calc(4vh + var(--tw) * 0.25); width: 44%; translate: -50% 0; transition: transform 600ms var(--ease); }
.tub__dog svg { width: 100%; height: auto; display: block; }
.bath__title { position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--bar-h) + 6vh); text-align: center; font-size: clamp(3.2rem, 8.5vw, 8rem); color: var(--teal); }
.bath__reveal { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: center; align-items: center; gap: clamp(32px, 6vw, 96px); padding: calc(var(--bar-h) + 20px) var(--gutter) 40px; visibility: hidden; }
.bath.is-revealed .bath__reveal { visibility: visible; }
.bath.is-revealed .bath__tub, .bath.is-revealed .bath__title { visibility: hidden; }
.zelda { margin: 0; background: #fff; padding: 12px 12px 18px; border-radius: 6px; box-shadow: var(--e3); width: min(330px, 70vw); rotate: -3deg; }
.zelda img { width: 100%; height: auto; border-radius: 3px; }
.zelda figcaption { font: 600 1.15rem/1.2 var(--f-display); color: var(--teal); margin-top: 12px; text-align: center; }
.bath__copy .h2 { color: var(--teal); margin-bottom: 20px; }
.bath__copy .body { margin-bottom: 28px; color: var(--ink); }
.foam { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: auto; }
.foam__line { position: absolute; z-index: 4; left: 0; right: 0; top: 50%; translate: 0 -50%; text-align: center; font-size: clamp(2.6rem, 6vw, 5.4rem); color: var(--teal); opacity: 0; pointer-events: none; }

/* ---------- saída: the ID tag ---------- */
.exit { position: relative; background: var(--canvas);
  padding: calc(var(--section) * .8) var(--gutter) 0; min-height: 100svh; display: flex; flex-direction: column; }
.exit__grid { flex: 1; max-width: 1200px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.exit__scene { position: relative; height: clamp(420px, 62svh, 560px); align-self: end; }
.hook { position: absolute; left: 28%; top: 0; translate: -50% 0; }
.hook__plate { display: block; width: 74px; height: 30px; border-radius: 8px; background: #E9E2D3; border: 3px solid var(--line); }
.hook__pin { position: absolute; left: 50%; top: 22px; width: 14px; height: 26px; translate: -50% 0; border: 4px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; background: transparent; }
.tag { position: absolute; left: 28%; top: 38px; translate: -50% 0; width: clamp(240px, 24vw, 300px); padding-top: 34px; display: block; text-decoration: none; color: #5A3B06; transform-origin: 50% 8px; transform: rotate(var(--sw, 0deg)); }
.tag__ring { position: absolute; left: 50%; top: 0; width: 34px; height: 46px; translate: -50% 0; border: 5px solid #8A8F8D; border-radius: 50%; z-index: 0; }
.tag__plate { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; padding: 30px 20px 26px; text-align: center; border-radius: 46% 46% 44% 44% / 40% 40% 40% 40%;
  background: radial-gradient(120% 90% at 30% 20%, #FFE9A3 0%, #F4C542 38%, #D9A21E 100%);
  border: 4px solid var(--line); box-shadow: var(--e3), inset 0 2px 0 rgba(255, 255, 255, .55); transition: transform 140ms var(--ease); }
.tag__brand { font: 700 1.6rem/1 var(--f-display); color: #6B4508; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.tag__num { font: 600 1.55rem/1.1 var(--f-display); letter-spacing: .01em; color: #4A2E03; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.tag__cta { white-space: nowrap; margin-top: 8px; font-size: .9rem; font-weight: 600; color: #fff; background: var(--teal); padding: 8px 14px; border-radius: 10px; }
.tag:active .tag__plate { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .tag:hover .tag__cta { background: #124F4C; } }
.exit__dog { position: absolute; right: 4%; bottom: -4px; width: clamp(150px, 15vw, 210px); }
.exit__dog svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 10px 12px rgba(13, 52, 49, .25)); }
.exit__facts { padding-bottom: 56px; }
.exit__facts .h2 { color: var(--teal); margin-bottom: 18px; }
.exit__facts .body { margin-bottom: 26px; color: var(--ink); }
.facts { margin: 0; display: grid; gap: 14px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(18, 51, 47, .14); }
.facts dt { font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
.facts dd { margin: 0; font-weight: 500; }
.foot { margin: 0 calc(var(--gutter) * -1); padding: 26px max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))) 30px; background: var(--teal-2); border-top: 6px solid var(--teal); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #E4F1EE; font-size: .9rem; }
.foot a { color: #fff; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  :root { --bar-h: 64px; }
  .bar { grid-template-columns: auto auto; justify-content: space-between; gap: 12px; }
  .logo__head { width: 38px; height: 38px; }
  .logo__name { font-size: 1.3rem; }
  .logo__sub { display: none; }
  .bar__cta { min-height: 44px; padding: 0 14px; font-size: .9rem; }
  .rail { position: absolute; left: 0; right: 0; bottom: -26px; width: 100%; justify-self: stretch; height: 26px; background: rgba(247, 243, 234, .94); border-bottom: 1px solid rgba(18, 51, 47, .08); }
  .rail__doors { display: none; }
  .rail__track { left: var(--gutter); right: calc(var(--gutter) + 110px); top: 12px; }
  .rail__now { display: block; position: absolute; right: var(--gutter); top: 4px; margin: 0; font-size: .75rem; font-weight: 600; color: var(--teal); }
  html { scroll-padding-top: calc(var(--bar-h) + 26px); }

  .guide { width: 78px; right: 10px; bottom: 10px; }
  .guide__say { max-width: 190px; font-size: .85rem; right: 64%; }

  .hero { height: 155vh; }
  .hero__copy { padding-top: calc(var(--bar-h) + 50px); }
  .hero__h1 { font-size: clamp(2.1rem, 8.6vw, 2.9rem); }
  .lede { font-size: 1rem; }
  .hero__ctas .btn { width: min(320px, 100%); }
  .hero__dog { width: min(46vw, 26svh); bottom: 6%; }
  .floor-shadow { width: 36vw; bottom: calc(6% - 10px); }
  .wall__tiles { top: 66%; }
  .plane--word { padding-bottom: 9vh; }
  .bigword { font-size: 34vw; }
  .bowl { left: 4%; width: 96px; bottom: 3%; }
  .b1 { left: 76%; bottom: 26%; } .b3 { left: 8%; bottom: 26%; }

  .consult__grid { grid-template-columns: 1fr; }
  .consult__photo { width: min(300px, 78%); }

  .acc { flex-direction: column; height: auto; }
  .acc__item { flex: none; flex-direction: column; }
  .acc__item.is-open { flex: none; }
  .acc__tab { flex: none; place-items: center start; padding: 18px 20px; min-height: 60px; }
  .acc__tab span { writing-mode: horizontal-tb; transform: none; }
  .acc__panel { display: grid; grid-template-rows: 0fr; padding: 0 20px; transition: grid-template-rows 360ms var(--ease), opacity 260ms var(--ease), padding 360ms var(--ease); }
  .acc__panel > * { min-width: 0; }
  .acc__item.is-open .acc__panel { grid-template-rows: auto; padding: 0 20px 22px; }
  .acc__item:not(.is-open) .acc__panel { height: 0; overflow: hidden; }
  .acc__icon { display: none; }
  .acc__panel h3 { display: none; }

  .surgery { height: 240vh; }
  .surgery__pin { grid-template-columns: 1fr; align-content: center; gap: 22px; padding-top: calc(var(--bar-h) + 40px); }
  .scrub-words { font-size: clamp(1.6rem, 6.4vw, 2.2rem); }
  .cases { height: 42svh; }
  .case { padding: 8px 8px 10px; }
  .case--a { width: 46%; }
  .case--b { width: 54%; top: 18%; }
  .case figcaption { font-size: .78rem; margin-top: 8px; }
  .case figcaption b { font-size: 1rem; }

  .bath__title { font-size: clamp(2.8rem, 13vw, 4rem); }
  .bath__reveal { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 24px; text-align: center; padding-top: calc(var(--bar-h) + 40px); }
  .zelda { width: min(220px, 56vw); }
  .bath__copy .body { margin-inline: auto; }
  .bath__copy .h2 { font-size: 1.9rem; }

  .exit__grid { grid-template-columns: 1fr; }
  .exit__scene { height: 400px; order: 2; }
  .exit__facts { padding-bottom: 8px; }
  .hook, .tag { left: 36%; }
  .tag { width: 236px; }
  .tag__plate { padding: 26px 14px 22px; }
  .tag__cta { font-size: .84rem; padding: 8px 12px; }
  .exit__dog { right: -2%; bottom: -4px; width: 112px; }
  .foot { color: #E4F1EE; }
  .facts div { grid-template-columns: 90px 1fr; }
}

/* ---------- reduced motion: fewer and gentler, complete ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__pin { position: relative; height: 100svh; min-height: 640px; }
  .surgery { height: auto; }
  .surgery__pin { position: relative; height: auto; min-height: 100svh; }
  .scrub-words .w { opacity: 1; }
  .bath { height: auto; }
  .bath__pin { position: relative; height: auto; min-height: 100svh; }
  .bath .bath__tub, .bath .bath__title, .foam, .foam__line { display: none; }
  .bath .bath__reveal { position: relative; visibility: visible; min-height: 100svh; }
  .hush { height: 20vh; }
  .guide.is-walk .yo-paw-l, .guide.is-walk .yo-paw-r, .guide.is-walk .yo-head { animation: none; }
  .guide, .guide.is-off { transition: opacity 200ms linear; }
  .acc__item { transition: none; }
}
