/* LÚA Medicina Estética (clínica ficticia) — demo homepage
   Direction: "The place carries it" (seed 145333818). Type: Zodiak + Switzer. Palette from the brand and the room. */

:root {
  --bg: #f4f4f1;          /* paper, the white walls */
  --surface: #e8e8e3;     /* one tone step */
  --ink: #1d3439;         /* deep teal ink, darkest tone in the photographs */
  --muted: #4c5f63;
  --teal: #2f8c9a;        /* the K on the sign */
  --deep: #163a40;        /* dark field */
  --field: #1f6f7a;       /* saturated field for the footer, white text passes AA */
  --wood: #b39b84;        /* the oak wall */
  --accent: #1f6f7a;
  --accent-ink: #ffffff;

  --font-display: "Zodiak", Georgia, serif;
  --font-text: "Switzer", system-ui, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);
  --step-head: clamp(2.5rem, 1.6rem + 2.6vw, 4rem);
  --step-display: clamp(3.25rem, 1rem + 9vw, 9.5rem);

  --margin: clamp(1.25rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 13vw, 13rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.head { font-size: var(--step-head); line-height: 1.02; }
.display { font-size: var(--step-display); line-height: 0.98; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 42ch; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
strong { font-weight: 500; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 3.25rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button .arrow { transition: transform var(--t-ui) var(--ease-out); }
.link { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--deep); }
  .button:hover .arrow { transform: translateX(4px); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- header ---------- */
.site-head { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; justify-content: space-between; align-items: flex-start; padding: 24px var(--margin); color: #fff; font-size: var(--step-small); line-height: 1.25; }
.site-head .letterhead { text-decoration: none; }
.site-head nav ul { display: flex; gap: 0.35em; list-style: none; margin: 0; padding: 0; }
.site-head nav li:not(:last-child)::after { content: ","; }
.site-head nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; transition: border-color var(--t-hover) ease; }
.site-head nav a[aria-current="page"], .site-head nav a:hover { border-bottom-color: currentColor; }
.site-head .phone-only { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: var(--deep); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms ease; background: var(--deep); }
.hero-slides img.is-on { opacity: 1; }
.hero-slides img:first-child { opacity: 1; }
.js .hero-slides img:first-child:not(.is-on) { opacity: 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to top, rgba(10, 24, 27, 0.72), rgba(10, 24, 27, 0.45) 45%, rgba(10, 24, 27, 0)); pointer-events: none; } /* taste-skill-ignore: neutral scrim under text on a photo */
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(to bottom, rgba(10, 24, 27, 0.45), rgba(10, 24, 27, 0)); z-index: 1; pointer-events: none; } /* taste-skill-ignore: neutral scrim under the header */
.hero-foot { position: absolute; z-index: 2; left: var(--margin); right: var(--margin); bottom: 32px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hero h1 { grid-column: 1 / 7; font-size: var(--step-head); line-height: 1; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .line > span { display: block; }
.hero-side { grid-column: 8 / 13; display: grid; justify-items: end; gap: 18px; text-align: right; }
.hero-side p { font-size: var(--step-body); max-width: 36ch; }
.hero-proof { font-size: var(--step-small); opacity: 0.9; }
.hero .button { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hero .button:hover { background: var(--surface); } }

/* ---------- about: wide photo, colour tile, facts ---------- */
.about .lead { margin-top: 24px; grid-column: 1 / 10; max-width: none; }
.about h2 { grid-column: 1 / 10; }
.about-tiles { margin-top: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; align-items: start; }
.about-photo { grid-column: 1 / 9; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.about-photo blockquote { position: absolute; top: 0; right: 0; width: 340px; padding: 22px; background: var(--bg); font-size: var(--step-body); line-height: 1.5; }
.about-photo blockquote footer { margin-top: 10px; color: var(--muted); font-size: var(--step-small); }
.about-side { grid-column: 9 / 13; }
.map-tile { background: var(--teal); color: #fff; aspect-ratio: 8 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.map-tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.facts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; font-size: var(--step-small); }
.facts dt { color: var(--muted); }
.facts dd { font-size: var(--step-body); }

/* ---------- list: statement, table pushed right ---------- */
.treat h2 { text-indent: 3vw; max-width: 22ch; line-height: 0.98; }
.treat-body { margin-top: 96px; }
.treat-photo { grid-column: 1 / 6; align-self: start; position: sticky; top: 12vh; width: 100%; aspect-ratio: 4 / 5; max-height: 76vh; overflow: hidden; }
.treat-name { grid-column: 7 / 8; grid-row: 1; font-size: var(--step-small); color: var(--muted); padding-top: 4px; }
.treat-table { grid-column: 8 / 13; grid-row: 1; border-collapse: collapse; width: 100%; font-size: var(--step-body); }
.treat-table td { padding: 13px 0; vertical-align: baseline; }
.treat-table tr.gap td { padding-top: 44px; }
.treat-table .kind { color: var(--muted); width: 30%; font-size: var(--step-small); }
.treat-table .val { text-align: right; color: var(--muted); font-size: var(--step-small); }
.treat-table a { text-decoration: none; display: inline-flex; gap: 0.4em; align-items: baseline; }
.treat-table a .arrow { color: var(--teal); transition: transform var(--t-ui) var(--ease-out); }
.treat-table a .t { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .treat-table a:hover .arrow { transform: translateX(4px); }
  .treat-table a:hover .t { text-decoration-color: currentColor; }
}

/* ---------- casos: drag row ---------- */
.cases-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-inline: var(--margin); }
.cases-head h2 { font-size: var(--step-lead); }
.row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 0; margin: 32px var(--margin) 0; cursor: grab; list-style: none; }
.row::-webkit-scrollbar { display: none; }
.row.is-drag { cursor: grabbing; scroll-snap-type: none; }
.row.is-drag * { user-select: none; pointer-events: none; }
.case { flex: 0 0 auto; width: calc(min(68svh, 760px) * 0.72); scroll-snap-align: start; }
.case figure { display: block; }
.case .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.case .frame img { transition: transform 900ms var(--ease-soft); }
.case figcaption { padding-top: 14px; font-size: var(--step-small); max-width: 36ch; }
.case figcaption strong { display: block; font-size: var(--step-body); }
.case.note { width: min(30vw, 420px); aspect-ratio: 4 / 5; background: var(--surface); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.case.note p { font-size: var(--step-body); line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .case .frame:hover img { transform: scale(1.03); } }

/* ---------- showcase: one frame, three distances ---------- */
.rino { position: relative; height: 220vh; }
.rino-stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.rino-inner { position: relative; display: grid; justify-items: center; }
.rino h2 { text-align: center; white-space: nowrap; }
.rino .half-a { font-size: var(--step-display); line-height: 1; margin-bottom: 0.15em; }
.rino .half-b { font-size: var(--step-display); line-height: 1; margin-top: -0.3em; position: relative; z-index: 2; opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.rino[data-stage="2"] .half-b, .rino[data-stage="3"] .half-b, .no-js .rino .half-b { opacity: 1; transform: none; }
.rino-fwrap { position: relative; }
.rino-frame { width: 26vw; min-width: 260px; max-height: 40svh; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.rino-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-in-out); transform-origin: 53% 52%; }
.rino[data-stage="2"] .rino-frame img { transform: scale(1.6); transform-origin: 53% 50%; }
.rino[data-stage="3"] .rino-frame img { transform: scale(2.4); transform-origin: 58% 52%; }
.rino-notes { position: absolute; left: calc(100% + 40px); top: 0; width: 28ch; font-size: var(--step-body); }
.rino-notes li { position: absolute; inset: 0 auto auto 0; width: 28ch; opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.rino-notes li strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-lead); margin-bottom: 6px; }
.rino[data-stage="1"] .rino-notes li:nth-child(1), .rino[data-stage="2"] .rino-notes li:nth-child(2), .rino[data-stage="3"] .rino-notes li:nth-child(3) { opacity: 1; transform: none; }
.rino-note-legal { position: absolute; right: var(--margin); bottom: 24px; font-size: var(--step-small); color: var(--muted); max-width: 38ch; text-align: right; }
.rino-cta { position: absolute; left: var(--margin); bottom: 24px; }
.rino-marker { position: absolute; left: 0; width: 1px; height: 1px; } /* taste-skill-ignore: invisible scroll marker */
.rino-marker[data-s="1"] { top: 0; } .rino-marker[data-s="2"] { top: 70vh; } .rino-marker[data-s="3"] { top: 140vh; }

/* ---------- testimonial over a photograph ---------- */
.quote { position: relative; height: 90svh; min-height: 520px; overflow: hidden; color: var(--bg); background: var(--deep); }
.quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.48); transform: scale(1.06); transition: transform 2400ms var(--ease-soft); }
.quote.is-in img { transform: none; }
.quotes { position: absolute; inset: 0; }
.q { position: absolute; width: min(34ch, 40vw); margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 900ms ease, transform 1100ms var(--ease-out), visibility 0s linear 900ms; pointer-events: none; }
.q.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .q:first-child { opacity: 1; visibility: visible; transform: none; }
.q blockquote { font-family: var(--font-display); font-weight: 300; font-size: var(--step-lead); line-height: 1.2; }
.q figcaption { margin-top: 14px; font-size: var(--step-small); opacity: 0.9; }
.q { left: var(--margin); bottom: 64px; }
.js .q.placed { bottom: auto; }

/* ---------- credentials: the diploma and the list ---------- */
.creds .grid { align-items: center; }
.creds-pic { grid-column: 1 / 7; }
.creds-frame { aspect-ratio: 1520 / 1079; overflow: hidden; }
.creds-frame img { object-position: 50% 50%; transform-origin: 50% 50%; will-change: transform; }
.creds-pic figcaption { margin-top: 14px; }
.creds-text { grid-column: 8 / 13; }
.creds-list { margin-top: 40px; }
.creds-list > div { padding: 18px 0; display: flex; flex-direction: column-reverse; }
.creds-list > div + div { margin-top: 4px; }
.creds-list dt { font-size: var(--step-small); color: var(--muted); }
.creds-list dd { margin: 0 0 4px; font-family: var(--font-display); font-weight: 300; font-size: var(--step-lead); line-height: 1.2; }
.creds-list .tbc { font-family: var(--font-text); font-size: var(--step-small); color: var(--muted); }
.creds-foot { margin-top: 32px; font-size: var(--step-body); }

/* ---------- cta: the reply card ---------- */
.reply { background: var(--deep); color: var(--bg); min-height: 86svh; position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 120px var(--margin) 0; }
.reply-intro { grid-column: 1 / 5; align-self: end; padding-bottom: 64px; }
.reply-intro h2 { font-size: var(--step-head); line-height: 1.02; margin-bottom: 24px; }
.reply-intro p { font-size: var(--step-body); line-height: 1.45; }
.reply-intro .small { margin-top: 18px; opacity: 0.85; font-size: var(--step-small); }
.reply-card { grid-column: 6 / 13; align-self: start; background: var(--bg); color: var(--ink); padding: 48px; margin-bottom: 0; text-align: center; transition: transform 700ms var(--ease-out); }
.reply-card h3 { font-size: var(--step-lead); line-height: 1.1; }
.reply-card .to { margin-top: 10px; font-size: var(--step-small); color: var(--muted); max-width: none; }
.reply-sentence { margin: 32px auto 36px; font-family: var(--font-display); font-weight: 300; font-size: var(--step-lead); line-height: 1.6; max-width: 30ch; }
.pick { position: relative; display: inline-block; }
.pick select { width: var(--w, auto); appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 2px solid var(--teal); border-radius: 0; color: var(--field); font-family: var(--font-display); font-weight: 400; font-size: inherit; line-height: 1.2; padding: 0 1.1em 2px 0.1em; cursor: pointer; max-width: 100%; text-align: center; transition: border-color var(--t-hover) ease, color var(--t-hover) ease; }
.pick::after { content: ""; position: absolute; right: 0.15em; top: 50%; width: 0.36em; height: 0.36em; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.pick select:hover { color: var(--deep); border-color: var(--deep); }
.pick.changed select { animation: pick-flash 600ms var(--ease-out); }
@keyframes pick-flash { from { color: var(--teal); } }
.reply-send { display: flex; width: 100%; min-height: 3.5rem; align-items: center; justify-content: center; gap: 0.6em; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.reply-send:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .reply-send:hover { background: var(--field); } }
.reply-preview { margin-top: 16px; font-size: var(--step-small); color: var(--muted); max-width: none; }

/* ---------- how it works: drag row of moments ---------- */
.visit-head { display: flex; justify-content: space-between; align-items: center; padding-inline: var(--margin); }
.visit-head h2 { font-size: var(--step-lead); }
.visit-btns { display: flex; gap: 8px; }
.visit-btns button { width: 48px; height: 48px; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.visit-btns button:active { transform: scale(0.94); }
.visit-btns button:disabled { background: var(--surface); color: var(--muted); cursor: default; }
.visit-bar { margin: 20px var(--margin) 0; height: 6px; background: var(--surface); }
.visit-bar span { display: block; height: 100%; width: 20%; background: var(--ink); transform-origin: left; transition: width 200ms linear; }
.moments { gap: 32px; cursor: grab; }
.moment { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; }
.moment h3 { font-family: var(--font-text); font-weight: 500; font-size: var(--step-body); letter-spacing: -0.01em; }
.moment p { margin-top: 8px; font-size: var(--step-body); color: var(--muted); }
.moment .ph { margin-top: var(--gap, 100px); aspect-ratio: 4 / 5; overflow: hidden; }

/* ---------- faq beside a tall photograph ---------- */
.faq { background: var(--surface); position: relative; padding-block: 0; }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 120px var(--margin) 120px; }
.faq-text { grid-column: 1 / 6; }
.faq-text h2 { font-size: var(--step-lead); }
.faq-facts { margin-top: 24px; font-size: var(--step-body); line-height: 1.6; }
.faq-list { margin-top: 48px; }
.faq-list details + details { margin-top: 28px; }
.faq-list summary { list-style: none; cursor: pointer; font-size: var(--step-body); line-height: 1.35; display: flex; justify-content: space-between; gap: 24px; min-height: 44px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.chev { flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform var(--t-ui) var(--ease-out); }
details[open] .chev { transform: rotate(-135deg) translateY(-3px); }
.faq-list details p { margin-top: 10px; font-size: var(--step-body); color: var(--muted); }
.faq-actions { margin-top: 48px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.faq-pics { grid-column: 7 / 13; position: relative; margin-top: -120px; margin-bottom: -40px; }
.faq-tall { aspect-ratio: 3 / 4; overflow: hidden; }
.faq-square { position: absolute; left: -40px; bottom: -40px; width: 34%; aspect-ratio: 1; overflow: hidden; outline: 12px solid var(--surface); }

/* ---------- contact: visit card on a photograph ---------- */
.visit-card-sec { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--deep); }
.visit-card-sec > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.visit-card { position: absolute; top: 60px; right: calc(var(--margin) + 28px); width: 380px; background: var(--bg); border-radius: 8px; padding: 32px; }
.visit-card h2 { font-size: var(--step-lead); line-height: 1.1; }
.visit-card address { font-style: normal; margin-top: 16px; font-size: var(--step-body); }
.hours { margin-top: 18px; width: 100%; font-size: var(--step-body); border-collapse: collapse; }
.hours td { padding: 3px 0; }
.hours td + td { text-align: right; font-variant-numeric: tabular-nums; }
.visit-card .tel { display: block; margin-top: 16px; }
.visit-card .button { width: 100%; margin-top: 24px; }
.visit-card .maps { display: inline-block; margin-top: 14px; font-size: var(--step-small); }

/* ---------- footer: contact as the headline ---------- */
.foot { background: var(--field); color: #fff; min-height: 90svh; display: flex; flex-direction: column; justify-content: space-between; padding: 40px var(--margin) 28px; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); font-size: var(--step-small); }
.foot-notes { grid-column: 1 / 8; display: grid; grid-template-columns: repeat(3, auto); gap: 24px; justify-content: start; }
.foot-top .top { grid-column: 12 / 13; justify-self: end; }
.foot h2 { font-family: var(--font-display); font-weight: 300; }
.foot-phone { display: block; font-family: var(--font-display); font-weight: 300; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.035em; text-decoration: none; white-space: nowrap; transition: opacity var(--t-hover) ease; }
.foot-phone:hover { opacity: 0.85; }
.foot-label { font-size: var(--step-lead); margin-bottom: 12px; }
.foot-meta { margin-top: 40px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; font-size: var(--step-small); }
.foot-meta ul { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-meta .credit { text-align: center; max-width: 52ch; }
.foot-meta .city { text-align: right; }

/* ---------- mobile WhatsApp bar ---------- */
.wa-bar { display: none; }

/* ---------- motion (content stays visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .shutter[data-reveal] img { transform: scale(1.12); transition: transform 1600ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  .js .hero h1 .line > span { transform: translateY(105%); animation: line-up 1000ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 200ms); }
  .js .hero-side > * { opacity: 0; transform: translateY(16px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 520ms); }
  .js .site-head > * { opacity: 0; animation: fade 700ms ease forwards 150ms; }
  .js .hero-slides img.is-on { animation: drift 9s var(--ease-soft) forwards; }
  .js .reply-card[data-reveal] { opacity: 1; transform: translateY(80px); transition-duration: 900ms, 1300ms; }
  .js .reply-card[data-reveal].is-in { transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .rino-frame img, .hero-slides img, .quote img { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .creds-pic, .creds-text { grid-column: 1 / 13; }
  .creds-text { margin-top: 48px; }
  .treat-body { display: block; }
  .treat-name { display: none; }
  .treat-photo { position: static; width: 40%; max-height: none; margin: 48px 0 0 auto; }
  .hero-foot { display: block; }
  .hero h1 { margin-bottom: 20px; }
  .hero-side { justify-items: start; text-align: left; }
  .rino-frame { width: 44vw; max-height: 36svh; }
  .rino-stage { grid-template-rows: 1fr auto auto; padding-bottom: 20px; gap: 10px; }
  .rino-cta, .rino-note-legal { position: static; text-align: center; max-width: none; }
  .rino-notes { min-height: 7em; }
  .rino-notes { position: relative; left: auto; top: auto; width: 100%; min-height: 8.5em; margin: 16px 0 0; padding: 0; text-align: center; }
  .rino-notes li { left: 0; right: 0; width: auto; transform: translateY(12px); }
  .rino[data-stage="1"] .rino-notes li:nth-child(1), .rino[data-stage="2"] .rino-notes li:nth-child(2), .rino[data-stage="3"] .rino-notes li:nth-child(3) { transform: none; }
  .rino .half-b { margin-top: 0; }
  .reply-intro { grid-column: 1 / 13; padding-bottom: 40px; }
  .reply-card { grid-column: 1 / 13; justify-self: center; width: min(640px, 100%); }
  .reply { padding-top: 96px; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .site-head { padding: 20px; font-size: var(--step-small); }
  .site-head nav .wide { display: none; }
  .site-head nav li:not(:last-child)::after { content: ""; }
  .hero-foot { left: 20px; right: 20px; bottom: 24px; display: block; }
  .hero-side { justify-items: start; text-align: left; margin-top: 18px; gap: 14px; }
  .hero-side p { font-size: var(--step-body); }
  .hero .button { width: 100%; }
  .hero::after { height: 75%; }
  .about h2, .about .lead { grid-column: 1 / 13; }
  .about .lead { font-size: var(--step-body); }
  .about-tiles { display: block; margin-top: 40px; }
  .about-photo { aspect-ratio: 4 / 3; overflow: visible; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .about-photo blockquote { position: static; width: auto; padding: 18px 0 0; background: none; }
  .map-tile { margin-top: 40px; aspect-ratio: 3 / 2; }
  .treat h2 { text-indent: 0; }
  .treat-body { margin-top: 48px; display: block; }
  .treat-name { display: none; }
  .treat-table, .treat-table tbody, .treat-table tr, .treat-table td { display: block; width: 100%; }
  .treat-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; }
  .treat-table tr.gap { padding-top: 36px; }
  .treat-table td { padding: 0; }
  .treat-table tr.gap td { padding-top: 0; }
  .treat-table .kind { grid-column: 1 / 3; width: auto; }
  .treat-table .kind.rep { display: none; }
  .treat-table .val { align-self: baseline; }
  .treat-photo { position: static; width: 60%; max-height: none; margin: 40px 0 0 auto; }
  .row { margin-inline: 20px; gap: 8px; }
  .case, .case.note { width: 72vw; }
  .rino-frame { width: 64vw; }
  .rino h2 { white-space: normal; }
  .rino .half-a, .rino .half-b { font-size: var(--step-head); }
  .rino-frame { max-height: 34svh; }
  .rino-stage { padding-inline: 20px; }
  .quote { height: 80svh; }
  .q { left: 20px; right: 20px; top: auto; bottom: 96px; width: auto; text-align: left; translate: none; }
  .reply { display: block; padding: 80px 20px 80px; min-height: 0; }
  .reply-intro p { font-size: var(--step-body); }
  .reply-card { width: 100%; padding: 28px 22px 32px; margin-bottom: 0; }
  .reply-card h3 { font-size: var(--step-lead); }
  .reply-sentence { font-size: var(--step-lead); line-height: 1.75; }
  .visit-btns { display: none; }
  .visit-head, .cases-head { padding-inline: 20px; }
  .visit-bar { margin-inline: 20px; }
  .moments { gap: 16px; }
  .moment { flex-basis: 72vw; }
  .moment .ph { margin-top: calc(var(--gap, 100px) * 0.4); }
  .faq-grid { display: flex; flex-direction: column; padding: 0 20px 80px; }
  .faq-pics { order: -1; }
  .faq-pics { margin: 0 -20px 48px; }
  .faq-tall { aspect-ratio: 4 / 5; }
  .faq-square { left: auto; right: 20px; bottom: -32px; width: 38%; }
  .faq-text h2 { font-size: var(--step-lead); }
  .faq-actions .button { width: 100%; }
  .visit-card-sec { height: auto; min-height: 0; background: var(--bg); }
  .visit-card-sec > img { position: static; height: 70svh; }
  .visit-card { position: relative; top: auto; right: auto; width: auto; margin: -80px 16px 0; padding: 24px; }
  .visit-card .button { min-height: 3.5rem; }
  .foot { min-height: 80svh; padding: 32px 20px 96px; }
  .foot-notes { grid-column: 1 / 12; grid-template-columns: 1fr; gap: 10px; }
  .foot-meta { grid-template-columns: 1fr; font-size: var(--step-small); }
  .foot-meta .credit, .foot-meta .city { text-align: left; }
  .wa-bar { display: flex; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--bg); padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); gap: 12px; transform: translateY(110%); transition: transform 400ms var(--ease-out); }
  .wa-bar.is-on { transform: none; }
  .wa-bar a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 500; }
  .wa-bar a.primary { background: var(--bg); color: var(--ink); }
}
