/* Tasman Cliffs. One stylesheet for every page.

   Language: quiet, photography-led, graphite with one cedar-orange accent
   (taken from the timber cladding in the photos). Dark by default, light
   variant via prefers-color-scheme. The page never flips theme mid-scroll.

   Shape system (one rule, used everywhere):
     buttons, chips, tool pills  -> full pill
     photos and cards            -> --r-card (20px)
     form inputs                 -> --r-in (12px)

   Motion: transform and opacity only. Scroll-linked effects use native CSS
   scroll-driven animation where supported and fall back to plain layout.
   Everything animated is behind prefers-reduced-motion: no-preference. */

@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark light;
  --bg: #0e1011;
  --bg-2: #14181a;
  --surface: #171b1d;
  --surface-2: #1f2427;
  --ink: #eceeef;
  --ink-2: #c3c9cd;
  --muted: #9aa2a8;
  --dim: #4a5258;
  --line: rgba(236, 238, 239, 0.12);
  --line-2: rgba(236, 238, 239, 0.22);
  --line-3: rgba(236, 238, 239, 0.4);
  --accent: #e07b45;
  --accent-hi: #ec9461;
  --accent-ink: #1c0f08;
  --accent-text: #ee9a6c;
  --err: #ff9a8c;
  --ok: #8fd6a4;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-card: 20px;
  --r-in: 12px;
  --pad: clamp(20px, 4.5vw, 64px);
  --max: 1240px;
  --head: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* z-index scale */
  --z-header: 50;
  --z-menu: 45;

  interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f4f4;
    --bg-2: #e9ecec;
    --surface: #ffffff;
    --surface-2: #eceeee;
    --ink: #101314;
    --ink-2: #2f3639;
    --muted: #56606a;
    --dim: #b3babf;
    --line: rgba(16, 19, 20, 0.12);
    --line-2: rgba(16, 19, 20, 0.22);
    --line-3: rgba(16, 19, 20, 0.5);
    --accent: #b84e18;
    --accent-hi: #cb5c22;
    --accent-ink: #ffffff;
    --accent-text: #a4430d;
    --err: #b3261e;
    --ok: #1f7a3d;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html:has(.viewer[open]), html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 0.5em; }
p { margin: 0 0 1.2em; }
.i { flex: none; fill: currentColor; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.wrap-wide { --max: 1560px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 999px; }
.skip:focus { left: 8px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65em;
  height: 52px; padding: 0 28px; white-space: nowrap;
  font: 500 0.95rem/1 var(--font); letter-spacing: 0.01em; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 999px; cursor: pointer;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform 0.5s var(--ease), box-shadow 0.3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent-hi); transform: translateY(101%); transition: transform 0.5s var(--ease);
}
@media (hover: hover) { .btn:hover::before { transform: none; } }
.btn .i { transition: transform 0.45s var(--ease); }
@media (hover: hover) { .btn:hover .i { transform: translateX(4px); } }
.btn:active { scale: 0.97; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn-ghost::before { background: var(--surface-2); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-glass::before { background: rgba(255, 255, 255, 0.22); }
@media (prefers-reduced-transparency: reduce) { .btn-glass { background: rgba(14, 16, 17, 0.8); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.btn-load { position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.4) 50%, transparent 80%); transform: translateX(-100%); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-load { opacity: 1; animation: sweep 1.1s linear infinite; }
@keyframes sweep { to { transform: translateX(100%); } }

.link-arrow { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease); }
@media (hover: hover) { .link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; } }
.link-arrow .i { transition: transform 0.45s var(--ease); }
@media (hover: hover) { .link-arrow:hover .i { transform: translateX(5px); } }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; transition: background 0.3s; }
@media (hover: hover) { .icon-btn:hover { background: color-mix(in srgb, currentColor 14%, transparent); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--head);
  color: var(--hc, var(--ink)); transition: color 0.4s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line); transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
@media (pointer: coarse) { .site-header::before { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; } }
body.has-hero .site-header:not(.is-scrolled) { --hc: #fff; }
.menu-open .site-header { --hc: var(--ink); }
.menu-open .site-header::before { opacity: 0; }
.bar { height: 100%; padding-inline: var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { font: 400 1.5rem/1 var(--font-display); letter-spacing: -0.025em; text-decoration: none; justify-self: start; white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 16px; font-size: 0.95rem; text-decoration: none; opacity: 0.82; transition: opacity 0.3s; }
.nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .nav a:hover { opacity: 1; } }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; } }
.nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a[aria-current='page'] { opacity: 1; }
.bar-end { display: flex; align-items: center; gap: 6px; justify-self: end; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; color: inherit; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: calc(var(--head) + 12px) var(--pad) 40px;
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease), visibility 0s 0.8s;
}
.menu-open .menu { visibility: visible; clip-path: inset(0); transition: clip-path 0.8s var(--ease), visibility 0s; }
.menu-nav { display: grid; }
.menu-nav a { font: 300 clamp(2.6rem, 13vw, 4.6rem)/1.12 var(--font-display); letter-spacing: -0.03em; text-decoration: none; padding: 4px 0; }
.menu-nav a, .menu-foot { opacity: 0; transform: translateY(28px); transition: opacity 0.4s, transform 0.4s; }
.menu-open .menu-nav a, .menu-open .menu-foot { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(0.18s + var(--i) * 0.06s); }
.menu-foot { display: grid; gap: 16px; justify-items: start; }
.menu-tel { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); }

@media (max-width: 899px) {
  .brand { font-size: 1.35rem; }
  .bar { grid-template-columns: 1fr auto; }
  .nav, .bar-end .btn { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 900px) { .menu { display: none; } }
html:not(.js) .nav { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; overflow: clip; background: #101314; }
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; }
@media (max-width: 700px) { .hero-img { object-position: 68% 50%; } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 10, 11, 0.9) 0%, rgba(8, 10, 11, 0.68) 30%, rgba(8, 10, 11, 0.3) 58%, rgba(8, 10, 11, 0.12) 78%, rgba(8, 10, 11, 0.45) 100%); }
.hero-copy { position: relative; width: min(100% - 2 * var(--pad), var(--max)); margin: 0 auto; padding-bottom: clamp(36px, 9vh, 96px); }
.hero-title { font: 300 clamp(3.1rem, 8.4vw, 8rem)/0.98 var(--font-display); letter-spacing: -0.04em; margin: 0 0 clamp(18px, 2.6vw, 30px); max-width: 11em; }
.hero-title .line { display: block; }
@media (max-width: 640px) { .hero-title { font-size: 12.4vw; } }
.hero-sub { max-width: 38ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, 0.88); margin: 0 0 clamp(24px, 3vw, 36px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Statement ---------- */
.statement { padding: clamp(96px, 15vw, 220px) 0 clamp(56px, 9vw, 130px); }
.quiet { font: 400 1.2rem/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--accent-text); margin: 0 0 clamp(20px, 3vw, 36px); }
.statement-text { font: 300 clamp(1.9rem, 4.3vw, 3.9rem)/1.16 var(--font-display); letter-spacing: -0.025em; max-width: 24em; margin: 0 0 clamp(28px, 4vw, 48px); text-wrap: balance; }
h2.statement-text { margin-bottom: clamp(28px, 4vw, 48px); }
.highlights { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 44px); margin: clamp(64px, 10vw, 140px) 0 0; padding: clamp(28px, 4vw, 44px) 0 0; border-top: 1px solid var(--line-2); }
.highlights li { display: grid; align-content: start; gap: 6px; }
.highlights .i { color: var(--accent-text); margin-bottom: 14px; }
.highlights h3 { font: 400 clamp(1.15rem, 1.5vw, 1.35rem)/1.25 var(--font-display); letter-spacing: -0.015em; margin: 0; }
.highlights p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 1000px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .highlights { grid-template-columns: 1fr; gap: 26px; }
  .highlights li { grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 2px; align-items: start; }
  .highlights .i { grid-row: 1 / 3; margin: 2px 0 0; }
}

/* ---------- Tiles (anything that opens the viewer) ---------- */
.tile { display: block; color: inherit; text-decoration: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.tile-media { display: block; position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface); }
.tile-media picture { display: block; width: 100%; height: 100%; }
.tile-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; }
@media (hover: hover) { .tile:hover .tile-img { transform: scale(1.05); } }
.tile:focus-visible { outline-offset: 5px; border-radius: var(--r-card); }
.tile-cap { display: block; margin-top: 12px; font-size: 0.92rem; color: var(--muted); }

/* ---------- Tour (horizontal pan) ---------- */
.tour { --th: min(48vh, 520px); position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.tour-head { padding-inline: var(--pad); margin-bottom: clamp(28px, 4vw, 48px); max-width: calc(62ch + 2 * var(--pad)); }
.tour-head h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.tour-head p { color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); margin: 0; }
.tour-track { display: flex; gap: clamp(16px, 2vw, 28px); align-items: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); padding: 4px var(--pad) 20px; scrollbar-width: none; }
.tour-track::-webkit-scrollbar { display: none; }
.tour .tile { flex: none; scroll-snap-align: start; }
.tour .tile-media { width: calc(var(--th) * 1.5); height: var(--th); }
.tour-end { flex: none; align-self: flex-start; width: calc(var(--th) * 0.78); height: var(--th); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line-3); color: var(--ink); text-decoration: none; font: 300 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -0.02em; scroll-snap-align: start; transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s; }
.tour-end .i { align-self: flex-end; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .tour-end:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } }
@media (hover: hover) { .tour-end:hover .i { transform: translate(4px, -4px); } }
@media (max-width: 899px) { .tour { --th: min(46vh, 62vw); } .tour .tile-media { width: calc(var(--th) * 1.4); } }

@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .js .tour { height: calc(var(--shift, 140vw) / 2.6 + 100vh); padding: 0; view-timeline: --tour block; }
    .js .tour-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--head) + 2vh); }
    .js .tour-head { margin-bottom: clamp(20px, 3.4vh, 40px); }
    .js .tour-head h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 0.3em; }
    .js .tour-track { overflow: visible; width: max-content; scroll-snap-type: none; padding-bottom: 0; animation: pan linear both; animation-timeline: --tour; animation-range: contain 0% contain 100%; }
    @keyframes pan { to { transform: translateX(calc(var(--shift, 0px) * -1)); } }
  }
}

/* ---------- Story (sticky image, scroll-linked) and shared frame ---------- */
.story { padding: clamp(80px, 12vw, 180px) 0; }
.story-head { max-width: 62ch; margin-bottom: clamp(40px, 6vw, 88px); }
.story-head h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.story-head p { color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); margin: 0; }
.story-grid, .amen-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-media, .amen-media { position: sticky; top: calc(var(--head) + 4vh); }
.story-frame { position: relative; width: 100%; height: min(76dvh, 780px); }
.story-slide { position: absolute; inset: 0; display: grid; grid-auto-rows: minmax(0, 1fr); gap: clamp(10px, 1.2vw, 16px); opacity: 0; transition: opacity 0.9s var(--ease); }
.story-slide.is-on { opacity: 1; }
.story-slide picture { display: block; min-height: 0; overflow: hidden; border-radius: var(--r-card); background: var(--surface); }
.story-slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .story-slide { transform: scale(1.07); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); }
  .story-slide.is-on { transform: none; }
}
.story-group { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; opacity: 0.3; transition: opacity 0.7s var(--ease); }
.story-group.is-on { opacity: 1; }
.story-group h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 0; }
.story-inline { display: none; margin: 0 0 24px; }
.plain { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; color: var(--ink-2); }
.plain li { position: relative; padding-left: 26px; }
.plain li::before { content: ''; position: absolute; left: 0; top: 0.82em; width: 12px; height: 1px; background: var(--accent-text); }
@media (max-width: 899px) {
  .story-grid, .amen-grid { grid-template-columns: 1fr; }
  .story-media, .amen-media { display: none; }
  .story-group { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .story-inline { display: grid; gap: 10px; }
  .story-inline picture { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
  .story-inline img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Reviews ---------- */
.reviews { padding: clamp(80px, 12vw, 180px) 0; }
.rev-title { font-size: clamp(2.6rem, 6vw, 5.2rem); margin-bottom: clamp(32px, 5vw, 64px); }
.rev-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.rev-score { display: grid; gap: 14px; justify-items: start; }
.rev-num { margin: 0; font: 300 clamp(5rem, 11vw, 9.5rem)/0.9 var(--font-display); letter-spacing: -0.05em; }
.stars { display: flex; gap: 4px; color: var(--accent-text); }
.rev-sum { margin: 0; color: var(--ink-2); font-weight: 500; }
.rev-note { margin: 0; max-width: 40ch; color: var(--muted); font-size: 0.95rem; }
.rev-cats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px 36px; width: 100%; margin: 10px 0 6px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.rev-cats div { display: flex; flex-direction: column-reverse; }
.rev-cats dd { margin: 0; font: 300 1.9rem/1 var(--font-display); letter-spacing: -0.03em; }
.rev-cats dt { margin-top: 6px; color: var(--muted); font-size: 0.86rem; }
.rev-stage { min-width: 0; }
.rev-rail { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rev-rail::-webkit-scrollbar { display: none; }
.rev-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; padding-right: clamp(0px, 3vw, 40px); min-height: clamp(260px, 28vw, 340px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.rev-slide blockquote { margin: 0; }
.rev-slide p { margin: 0; font: 300 clamp(1.4rem, 2.3vw, 2rem)/1.28 var(--font-display); letter-spacing: -0.02em; text-wrap: pretty; }
.rev-slide figcaption { display: flex; align-items: center; gap: 16px; }
.rev-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.rev-initial { display: grid; place-items: center; font: 400 1.35rem/1 var(--font-display); color: var(--accent-text); background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); }
.rev-who { display: block; min-width: 0; }
.rev-name { display: block; font-weight: 500; }
.rev-meta { display: block; color: var(--muted); font-size: 0.92rem; min-height: 1.4em; }
.rev-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(24px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--line-2); }
.rev-count { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.rev-btns { display: flex; gap: 10px; }
.rev-btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-3); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s, opacity 0.3s; }
@media (hover: hover) { .rev-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } }
.rev-btn:active { scale: 0.93; }
.rev-btn[disabled] { opacity: 0.35; pointer-events: none; }
@media (max-width: 899px) { .rev-grid { grid-template-columns: 1fr; } .rev-slide { min-height: 0; padding-right: 0; gap: 24px; } .rev-slide blockquote { min-height: 7.5em; } }

/* ---------- Footer (full-width call to action, recognition, links) ---------- */
.site-footer { padding: 0 0 28px; }
.foot-cta { position: relative; isolation: isolate; overflow: clip; display: flex; align-items: flex-end; min-height: clamp(440px, 76vh, 820px); padding: clamp(72px, 10vw, 140px) 0 clamp(40px, 6vw, 88px); color: #fff; background: #101314; }
.foot-media { position: absolute; inset: 0; z-index: -2; }
.foot-media picture, .foot-media img { width: 100%; height: 100%; object-fit: cover; }
.foot-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 10, 11, 0.86), rgba(8, 10, 11, 0.4) 55%, rgba(8, 10, 11, 0.2)); }
.foot-cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 3vw, 40px); }
.foot-cta-h { margin: 0; max-width: 13em; font: 300 clamp(2.6rem, 7.4vw, 7rem)/1 var(--font-display); letter-spacing: -0.04em; text-wrap: balance; }
.foot-body { padding-top: clamp(40px, 6vw, 72px); }

.foot-badges { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.badge { display: flex; align-items: center; gap: 14px 22px; flex-wrap: nowrap; padding: 20px 26px; border: 1px solid var(--line-3); border-radius: var(--r-card); color: var(--ink); text-decoration: none; transition: background 0.4s var(--ease), border-color 0.4s; }
@media (hover: hover) { .badge:hover { background: var(--surface); border-color: var(--accent-text); } }
.badge-title { display: flex; align-items: center; gap: 12px; font: 400 1.15rem/1.1 var(--font-display); letter-spacing: -0.01em; color: var(--accent-text); }
.badge-title span { color: var(--ink); }
.badge-text { flex: 1 1 0; min-width: 0; margin: 0; font-size: 0.98rem; line-height: 1.4; color: var(--ink-2); }
.badge-score { display: grid; justify-items: center; gap: 4px; }
.badge-score strong, .badge-count strong { font: 400 1.7rem/1 var(--font-display); letter-spacing: -0.02em; }
.badge-score .stars .i { width: 12px; height: 12px; }
.badge-score .stars { gap: 2px; }
.badge-count { display: grid; justify-items: center; gap: 2px; padding-left: 24px; border-left: 1px solid var(--line-2); }
.badge-count span { font-size: 0.82rem; color: var(--muted); }

.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; margin-top: clamp(40px, 6vw, 72px); }
.foot-h { margin: 0 0 14px; font: 500 0.9rem/1.2 var(--font); letter-spacing: 0; color: var(--muted); }
.foot-p { margin: 0 0 12px; color: var(--ink-2); }
.foot-p a, .foot-links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
@media (hover: hover) { .foot-p a:hover, .foot-links a:hover { background-size: 100% 1px; } }
.foot-links { display: grid; gap: 8px; color: var(--ink-2); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.foot-base a { color: inherit; }
@media (max-width: 1180px) { .foot-badges { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .foot-links a, .foot-p a { display: inline-block; padding: 5px 0; } .foot-links { gap: 2px; } }
@media (max-width: 640px) {
  .foot-cta { min-height: 100vw; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-grid .foot-col:last-child { grid-column: 1 / -1; }
  .badge { flex-wrap: wrap; padding: 18px 20px; gap: 12px 18px; }
  .badge-text { flex: 1 1 100%; order: 3; }
  .badge-count { padding-left: 18px; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(var(--head) + clamp(48px, 9vw, 130px)) 0 clamp(40px, 6vw, 88px); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 7.4rem); line-height: 1; letter-spacing: -0.04em; max-width: 14em; margin: 0; text-wrap: balance; }
.lead { max-width: 60ch; margin: clamp(22px, 3vw, 36px) 0 0; font-size: clamp(1.1rem, 1.6vw, 1.38rem); line-height: 1.55; color: var(--ink-2); }
.lost { min-height: 78vh; display: flex; align-items: center; }

/* about */
.about-body { padding-bottom: clamp(64px, 10vw, 140px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.about-media { position: sticky; top: calc(var(--head) + 4vh); }
.about-media .tile-media { aspect-ratio: 4 / 5; }
.prose p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.7; color: var(--ink-2); margin: 0 0 1.5em; }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; } .about-media { position: static; } .about-media .tile-media { aspect-ratio: 3 / 2; } }
.band { position: relative; height: clamp(240px, 46vw, 740px); overflow: clip; background: var(--surface); }
.band picture, .band img { width: 100%; height: 100%; object-fit: cover; }
.closing { padding: clamp(80px, 13vw, 190px) 0; }

.awards { padding: clamp(24px, 5vw, 72px) 0 clamp(72px, 11vw, 150px); }
.awards h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 0.3em; }
.awards-sub { max-width: 52ch; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin-bottom: 0; }
.award-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 44px); margin: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); padding: clamp(24px, 3vw, 36px) 0 0; border-top: 1px solid var(--line-2); }
.award-list li { display: grid; align-content: start; gap: 4px; }
.award-list .i { color: var(--accent-text); margin-bottom: 14px; }
.award-list h3 { font: 400 clamp(1.15rem, 1.5vw, 1.35rem)/1.25 var(--font-display); letter-spacing: -0.015em; margin: 0; }
.award-list p { margin: 0; color: var(--muted); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 0; }
@media (max-width: 1000px) { .award-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .award-list { grid-template-columns: 1fr; } }

/* amenities */
.amen { padding-bottom: clamp(56px, 9vw, 120px); }
.accordion { border-top: 1px solid var(--line-2); }
.accordion details { border-bottom: 1px solid var(--line-2); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 3vw, 34px) 0; cursor: pointer; list-style: none; font: 300 clamp(1.7rem, 3.2vw, 2.7rem)/1.1 var(--font-display); letter-spacing: -0.025em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .i { transition: transform 0.6s var(--ease); color: var(--accent-text); }
.accordion details[open] summary .i { transform: rotate(135deg); }
@media (hover: hover) { .accordion summary:hover .i { color: var(--ink); } }
.acc-body { padding: 0 0 clamp(24px, 3vw, 40px); }
.acc-body .plain { margin-top: 4px; }
.acc-sub { color: var(--muted); margin: 0 0 18px; }
.accordion details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.6s var(--ease), content-visibility 0.6s allow-discrete; }
.accordion details[open]::details-content { block-size: auto; }
.accordion details:not([open])::details-content { opacity: 0; }

.know { padding: clamp(24px, 4vw, 60px) 0 clamp(56px, 8vw, 120px); }
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 2vw, 24px); }
.b-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(26px, 3.6vw, 48px); }
.b-card h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.b-card > p { color: var(--ink-2); margin-bottom: 0; }
.b-eat { grid-row: 1 / 3; }
.places { list-style: none; margin: 28px 0 0; padding: 0; }
.places a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 16px 14px; margin-inline: -14px; border-radius: var(--r-in); color: inherit; text-decoration: none; transition: background 0.4s var(--ease); }
@media (hover: hover) { .places a:hover { background: var(--surface-2); } }
.pl-name { font-size: 1.08rem; }
.pl-area { font-size: 0.9rem; color: var(--muted); }
.places .i { color: var(--accent-text); transition: transform 0.5s var(--ease); }
@media (hover: hover) { .places a:hover .i { transform: translate(3px, -3px); } }
.b-kitchen { position: relative; overflow: hidden; padding: 0; display: grid; align-items: end; min-height: 380px; color: #fff; border: 0; }
.b-kitchen-img { position: absolute; inset: 0; }
.b-kitchen-img picture, .b-kitchen-img img { width: 100%; height: 100%; object-fit: cover; }
.b-kitchen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 10, 11, 0.9), rgba(8, 10, 11, 0.5) 55%, rgba(8, 10, 11, 0.15)); }
.b-kitchen-copy { position: relative; z-index: 1; padding: clamp(26px, 3.6vw, 48px); }
.b-kitchen-copy p { color: rgba(255, 255, 255, 0.9); margin: 0; }
@media (max-width: 899px) { .bento { grid-template-columns: 1fr; } .b-eat { grid-row: auto; } }

/* photos */
.gallery-sec { padding-bottom: clamp(64px, 10vw, 140px); }
.chips { position: relative; display: flex; gap: 4px; width: fit-content; max-width: 100%; overflow-x: auto; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 0.92rem/1 var(--font); cursor: pointer; transition: color 0.35s; }
@media (hover: hover) { .chip:hover { color: var(--ink); } }
.chip[aria-pressed='true'] { color: var(--accent-ink); }
.chip-n { font-size: 0.78rem; opacity: 0.65; font-variant-numeric: tabular-nums; }
.chip-pill { position: absolute; z-index: 0; left: 0; top: 0; height: 44px; width: var(--w, 0px); border-radius: 999px; background: var(--accent); transform: translate(var(--x, 6px), var(--y, 6px)); opacity: 0; }
.chips.is-ready .chip-pill { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .chips.is-ready .chip-pill { transition: transform 0.6s var(--ease), width 0.6s var(--ease); } }
.gallery { columns: 3 320px; column-gap: clamp(12px, 1.6vw, 20px); }
@media (max-width: 639px) { .gallery { columns: 2; column-gap: 10px; } .g-tile { margin-bottom: 10px; } .g-tile .tile-media { border-radius: 14px; } }
.g-tile { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 20px); }
.g-tile[hidden] { display: none; }
.gallery.is-filtering .g-tile { transition: none !important; opacity: 1; transform: none; }
.gallery-empty { color: var(--muted); }

/* contact */
.contact { padding-bottom: clamp(72px, 11vw, 150px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: clamp(28px, 4vw, 44px); }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-in); padding: 22px 24px; }
.notice h2 { font: 500 1.1rem/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--accent-text); margin: 0 0 8px; }
.notice p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.who { display: grid; gap: 10px; justify-items: start; }
.who-name { font: 300 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--font-display); letter-spacing: -0.02em; margin: 0; }
.who-tel { display: inline-flex; align-items: center; gap: 12px; font: 300 clamp(1.9rem, 3.2vw, 2.7rem)/1.1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; color: var(--accent-text); }
@media (hover: hover) { .who-tel:hover { text-decoration: underline; text-underline-offset: 6px; } }
.who-ig { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; }
@media (hover: hover) { .who-ig:hover { color: var(--ink); } }
.contact-photo { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.contact-photo picture, .contact-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } .contact-photo { display: none; } }

.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); padding: clamp(24px, 4vw, 52px); }
.form { position: relative; }
.form-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 8px; }
.form-sub { color: var(--muted); margin-bottom: 32px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.f-full { grid-column: 1 / -1; }
@media (max-width: 599px) { .f-grid { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 500; color: var(--ink-2); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; height: 54px; padding: 0 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-3); border-radius: var(--r-in); font: inherit; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { height: auto; min-height: 156px; padding: 14px 16px; resize: vertical; }
.field input::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); }
.field [aria-invalid='true'] { border-color: var(--err); }
.f-err { margin: 6px 0 0; font-size: 0.86rem; color: var(--err); min-height: 0; }
.f-err:empty { display: none; }
.stepper { display: flex; border: 1px solid var(--line-3); border-radius: var(--r-in); background: var(--bg); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.stepper:focus-within { border-color: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); }
.stepper input { border: 0; border-radius: 0; text-align: center; box-shadow: none !important; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { flex: none; width: 54px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background 0.3s; }
@media (hover: hover) { .stepper button:hover { background: var(--surface-2); } }
.stepper button:active { scale: 0.92; }
input[type='date'] { color-scheme: dark light; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.f-status { margin: 0; font-size: 0.95rem; min-height: 1.4em; color: var(--muted); }
.f-status.is-err { color: var(--err); }
.form-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), visibility 0s 0.6s; }
.form-done .i { color: var(--ok); margin-bottom: 14px; }
.form-done h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 6px; }
.form-done p { color: var(--ink-2); margin: 0 0 24px; }
.form.is-done .f-grid, .form.is-done .form-title, .form.is-done .form-sub { opacity: 0; visibility: hidden; transform: translateY(-12px); }
.form.is-done .form-done { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s; }
.form.is-done { min-height: 320px; }

/* ---------- Photo viewer ---------- */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.viewer:not([open]) { display: none; }
.viewer [hidden] { display: none !important; }
.viewer::backdrop { background: transparent; }
.v-backdrop { position: absolute; inset: 0; background: rgba(6, 8, 9, 0.985); opacity: var(--bd, 1); }
.v-stage { position: absolute; inset: 0; touch-action: none; user-select: none; -webkit-user-select: none; cursor: zoom-in; }
.v-stage.is-zoomed { cursor: grab; }
.v-stage.is-dragging { cursor: grabbing; }
.v-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 50% 50%; will-change: transform; user-select: none; -webkit-user-drag: none; border-radius: 4px; }
.v-top { position: absolute; inset: 0 0 auto 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) 18px 0; pointer-events: none; }
.v-top > * { pointer-events: auto; }
.v-count { margin: 0; padding: 0 6px; font-size: 0.92rem; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.78); }
.v-tools { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.v-btn, .v-nav { display: grid; place-items: center; border: 0; color: #fff; cursor: pointer; transition: background 0.3s, opacity 0.3s, transform 0.4s var(--ease); }
.v-btn { width: 44px; height: 44px; border-radius: 50%; background: none; }
@media (hover: hover) { .v-btn:hover, .v-nav:hover { background: rgba(255, 255, 255, 0.16); } }
.v-btn:active, .v-nav:active { scale: 0.92; }
.v-btn[disabled] { opacity: 0.35; cursor: default; }
.v-btn[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); }
.v-ico-pause, .v-ico-out { display: none; }
.v-btn[aria-pressed='true'] .v-ico-play { display: none; }
.v-btn[aria-pressed='true'] .v-ico-pause { display: block; }
.viewer.is-full .v-ico-in { display: none; }
.viewer.is-full .v-ico-out { display: block; }
.v-nav { position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.v-prev { left: 18px; }
.v-next { right: 18px; }
.v-bottom { position: absolute; inset: auto 0 0 0; z-index: 3; display: grid; justify-items: center; gap: 12px; padding: 40px 0 max(14px, env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(6, 8, 9, 0.9), transparent); pointer-events: none; }
.v-bottom > * { pointer-events: auto; }
.v-cap { max-width: min(68ch, 88vw); min-height: 1.5em; margin: 0; text-align: center; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.v-strip { display: flex; gap: 8px; max-width: 100%; padding: 6px 18px 4px; overflow-x: auto; scrollbar-width: none; }
.v-strip::-webkit-scrollbar { display: none; }
.v-thumb { flex: none; width: 76px; height: 50px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #222; cursor: pointer; opacity: 0.5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.35s, outline-color 0.35s, transform 0.5s var(--ease); }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .v-thumb:hover { opacity: 0.85; } }
.v-thumb[aria-selected='true'] { opacity: 1; outline-color: var(--accent); transform: translateY(-3px); }
.v-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.v-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.viewer.ui-hidden .v-top, .viewer.ui-hidden .v-bottom, .viewer.ui-hidden .v-nav { opacity: 0; pointer-events: none; }
.v-top, .v-bottom, .v-nav { transition: opacity 0.4s var(--ease); }
@media (max-width: 700px) {
  .v-nav { display: none; }
  .v-thumb { width: 60px; height: 42px; }
  .v-tools #v-full { display: none; }
}

/* ---------- Reveal on scroll (IntersectionObserver adds .in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal], .js .g-tile { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].in, .js .g-tile.in { opacity: 1; transform: none; }
  .js .facts [data-reveal] { transform: translateY(24px); }

  /* hero intro: lines rise, then copy and buttons follow */
  .js .hero-title .line { overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
  .js .hero-title .line > span { display: block; transform: translateY(108%); animation: rise 1.3s var(--ease) forwards; }
  .js .hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
  .js .hero-title .line:nth-child(2) > span { animation-delay: 0.3s; }
  .js .hero-sub, .js .hero-cta { opacity: 0; transform: translateY(20px); animation: fade-up 1.1s var(--ease) forwards; }
  .js .hero-sub { animation-delay: 0.7s; }
  .js .hero-cta { animation-delay: 0.85s; }
  .js .hero-img { animation: settle 2.8s var(--ease) both; }
  @keyframes rise { to { transform: none; } }
  @keyframes fade-up { to { opacity: 1; transform: none; } }
  @keyframes settle { from { scale: 1.12; } to { scale: 1; } }
}

/* ---------- Scroll-driven effects (native, no JS) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-parallax] img { scale: 1.16; animation: par linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes par { from { translate: 0 -6.5%; } to { translate: 0 6.5%; } }
    .js .hero-media .hero-img { animation-name: settle, hero-par; animation-duration: 2.8s, auto; animation-timing-function: var(--ease), linear; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; animation-fill-mode: both; }
    @keyframes hero-par { to { translate: 0 12%; } }

    .js [data-split] { view-timeline: --split block; }
    .js [data-split] .w { opacity: 0.22; animation: lit linear both; animation-timeline: --split; animation-range: cover calc(6% + var(--i) * 0.75%) cover calc(24% + var(--i) * 0.75%); }
    @keyframes lit { to { opacity: 1; } }
  }
}

/* ---------- Page transitions (cross-document view transitions) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: 0.3s var(--ease-io) both vt-out; }
  ::view-transition-new(root) { animation: 0.7s var(--ease) both vt-in; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Touch refinements ---------- */
a, button, summary, .chip, .tile { touch-action: manipulation; }
.brand { min-height: 44px; display: inline-flex; align-items: center; }
.bar { padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
@media (pointer: coarse) {
  .foot-links a, .foot-p a { display: inline-block; padding: 10px 0; }
  .foot-links { gap: 0; }
  .foot-base a { display: inline-block; padding: 12px 10px; margin: -12px -10px; }
  .who-tel, .who-ig { min-height: 44px; }
  .menu-nav a { padding: 8px 0; }
  .menu-tel { min-height: 44px; }
}
