/* Jithesh V Nair, Physiotherapy. Design system: the arch.
   Petrol-black ground, bone paper, one vermilion reserved for the single signal dot and the primary action. */

@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("../fonts/HedvigLettersSerif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #06161a;
  --ink-2: #0b2025;
  --ink-3: #112c32;
  --ink-4: #1a3c43;
  --bone: #efebe2;
  --bone-2: #e3ddd0;
  --paper: #f8f5ee;
  --on-dark: #e9efea;
  --on-dark-2: #a6bbb8;
  --on-light: #08191d;
  --on-light-2: #475b58;
  --arc: #ff5b3a;
  --arc-hot: #ff7455;
  --arc-ink: #b42b14;
  --line-d: rgba(233, 239, 234, 0.14);
  --line-d-2: rgba(233, 239, 234, 0.26);
  --line-l: rgba(8, 25, 29, 0.16);
  --line-l-2: rgba(8, 25, 29, 0.3);

  --serif: "Hedvig Letters Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --header-h: 76px;
  --pad-y: clamp(80px, 11vw, 160px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--ink-4) var(--ink);
  scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 1;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--arc); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; border-radius: 4px; }
.band--bone :focus-visible { outline-color: var(--arc-ink); }
input, textarea { caret-color: var(--arc); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 10px; border: 2px solid var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--arc); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Bands (scoped colour system) ---------- */
.band {
  --bg: var(--ink); --fg: var(--on-dark); --fg-2: var(--on-dark-2);
  --line: var(--line-d); --line-2: var(--line-d-2); --accent-text: var(--arc);
  background: var(--bg); color: var(--fg);
  padding-block: var(--pad-y);
  position: relative;
}
.band--ink-2 { --bg: var(--ink-2); }
.band--bone {
  --bg: var(--bone); --fg: var(--on-light); --fg-2: var(--on-light-2);
  --line: var(--line-l); --line-2: var(--line-l-2); --accent-text: var(--arc-ink);
}
.band--tight { padding-block: clamp(56px, 7vw, 96px); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.fg-2 { color: var(--fg-2); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.05rem, 4.1vw, 3.55rem); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; }
h4 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--fg-2); max-width: 54ch; }
.measure { max-width: 66ch; }
.label {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--fg-2);
}
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: clamp(56px, 7vw, 104px); }

/* ---------- Buttons & links ---------- */
.btn {
  --b-bg: var(--arc); --b-fg: var(--ink); --b-line: var(--arc);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; min-height: 52px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-line);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover { --b-bg: var(--arc-hot); --b-line: var(--arc-hot); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); --b-line: var(--line-2); }
.btn--ghost:hover { --b-bg: var(--fg); --b-fg: var(--bg); --b-line: var(--fg); }
.btn--small { padding: 10px 20px; min-height: 44px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color 0.3s var(--ease), gap 0.4s var(--ease);
}
.link:hover { border-color: currentColor; gap: 16px; }
.link .i { width: 16px; height: 16px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: var(--ink);
  border-bottom: 1px solid var(--line-d);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand__logo { display: block; height: 52px; width: auto; transition: transform 0.6s var(--ease), filter 0.6s var(--ease); }
.brand:hover .brand__logo { transform: translateY(-1px) scale(1.025); filter: drop-shadow(0 6px 18px rgba(255, 91, 58, 0.28)); }
.brand--foot .brand__logo { height: clamp(64px, 7vw, 92px); }
.footer__role { margin: 14px 0 0; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
@media (max-width: 560px) { .brand__logo { height: 42px; } }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav a { white-space: nowrap; text-decoration: none; font-size: 0.93rem; font-weight: 450; color: var(--on-dark-2); padding: 8px 0; position: relative; transition: color 0.3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--arc); transform: translateX(-50%) scale(0); transition: transform 0.4s var(--ease);
}
.nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav .btn { margin-left: 8px; color: var(--ink); }
.nav .btn:hover { color: var(--ink); }
.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d-2);
  background: transparent; cursor: pointer; align-items: center; justify-content: center; color: var(--on-dark);
}
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.nav-open .menu-btn .i-menu { display: none; }
.nav-open .menu-btn .i-close { display: block; }

@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 0; padding: 20px var(--gutter) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: clamp(1.9rem, 7vw, 2.6rem); color: var(--on-dark); padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-d); letter-spacing: -0.015em; }
  .nav a:not(.btn)::after { left: auto; right: 0; bottom: auto; top: 50%; transform: translateY(-50%) scale(0); }
  .nav a[aria-current="page"]::after { transform: translateY(-50%) scale(1); }
  .nav .btn { margin: 28px 0 0; align-self: stretch; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 1181px) and (max-width: 1380px) {
  .brand__logo { height: 48px; }
  .nav { gap: clamp(12px, 1.4vw, 22px); }
  .nav a { font-size: 0.9rem; }
  .nav .btn--book { padding: 5px 5px 5px 20px; min-height: 48px; }
  .nav .btn--book .btn__arrow { width: 38px; height: 38px; }
}

/* ---------- Frame (arch photo with echo arches) ---------- */
.frame { --px: 0; --py: 0; position: relative; width: min(100%, 560px); aspect-ratio: 120 / 150; margin-inline: auto; }
.frame::before, .frame::after {
  content: ""; position: absolute; bottom: 6.667%; border: 1px solid var(--line-d-2); border-bottom: 0; border-radius: 999px 999px 0 0;
  pointer-events: none; clip-path: inset(100% 0 0 0); animation: echo-in 1.9s var(--ease) forwards;
  translate: calc(var(--px) * 7px) calc(var(--py) * 5px); transition: translate 0.7s var(--ease);
}
.frame::before { left: 10.667%; top: 9.867%; width: 78.667%; animation-delay: 0.35s; }
.frame::after { left: 4.667%; top: 5.067%; width: 90.667%; border-color: var(--line-d); animation-delay: 0.6s; }
@keyframes echo-in { to { clip-path: inset(0 0 0 0); } }
.frame__arch {
  position: absolute; left: 16.667%; top: 14.667%; width: 66.667%; height: 78.667%;
  border-radius: 999px 999px 14px 14px; overflow: hidden; isolation: isolate; background: var(--ink-3);
}
.frame__arch img {
  width: 100%; height: 100%; object-fit: cover; scale: 1.1;
  translate: calc(var(--px) * -12px) calc(var(--py) * -9px); transition: translate 0.8s var(--ease);
  animation: drift-zoom 20s ease-in-out 1.6s infinite alternate;
}
@keyframes drift-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.frame__dot {
  position: absolute; left: 50%; top: 5.067%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--arc);
  translate: calc(var(--px) * 7px) calc(var(--py) * 5px); transition: translate 0.7s var(--ease); animation: pop 0.7s var(--ease) 1.5s both;
}
.frame__dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--arc); animation: pulse 3.4s ease-out 2.4s infinite; }
@keyframes pop { from { opacity: 0; scale: 0.2; } to { opacity: 1; scale: 1; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(3.6); opacity: 0; } }
.frame__cap {
  position: absolute; right: 0; bottom: 2%; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--ink-2); border: 1px solid var(--line-d-2); border-radius: 999px; padding: 9px 18px 9px 14px;
  font-size: 0.86rem; color: var(--on-dark); animation: cap-in 0.9s var(--ease) 1.1s both;
}
.frame__cap::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--arc); }
@keyframes cap-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.frame__inset {
  position: absolute; left: -5%; bottom: 14%; width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink-3);
  border: 6px solid var(--ink); box-shadow: 0 0 0 1px var(--line-d-2);
  animation: inset-in 1s var(--ease) 1.2s both, float 8s ease-in-out 2.3s infinite alternate;
}
.frame__inset img { width: 100%; height: 100%; object-fit: cover; scale: 1.25; }
@keyframes inset-in { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes float { from { translate: 0 -7px; } to { translate: 0 9px; } }

/* ---------- Book button (header) ---------- */
.btn--book {
  --mx: 50%; --my: 50%; position: relative; overflow: hidden; isolation: isolate; gap: 16px; min-height: 52px;
  transition: translate 0.6s var(--ease), scale 0.35s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: book-ring 5.2s ease-out 4s infinite;
}
.nav .btn--book { padding: 6px 6px 6px 24px; }
.btn--book::before {
  content: ""; position: absolute; z-index: -1; left: var(--mx); top: var(--my); width: 0; aspect-ratio: 1; border-radius: 50%;
  background: var(--on-dark); translate: -50% -50%; transition: width 0.8s var(--ease);
}
.btn--book:hover, .btn--book:focus-visible { --b-bg: var(--arc); --b-line: var(--arc); }
.btn--book:hover::before, .btn--book:focus-visible::before { width: 420px; }
.btn--book:active { scale: 0.965; }
.btn__label { display: block; height: 1.3em; line-height: 1.3; overflow: hidden; }
.btn__label span { display: block; transition: translate 0.65s var(--ease); }
.btn--book:hover .btn__label span, .btn--book:focus-visible .btn__label span { translate: 0 -100%; }
.btn__arrow { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--arc); overflow: hidden; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.btn--book .btn__arrow .i { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; transition: translate 0.65s var(--ease); }
.btn--book .btn__arrow .i:last-child { translate: -44px 0; }
.btn--book:hover .btn__arrow .i:first-child, .btn--book:focus-visible .btn__arrow .i:first-child { translate: 44px 0; }
.btn--book:hover .btn__arrow .i:last-child, .btn--book:focus-visible .btn__arrow .i:last-child { translate: 0 0; }
.btn--book:hover .i-arrow { transform: none; }
.btn--book:hover .btn__arrow, .btn--book:focus-visible .btn__arrow { background: var(--arc); color: var(--ink); }
.btn--book.is-go { scale: 0.96; }
.btn--book.is-go .btn__arrow { background: var(--ink); color: var(--arc); }
@keyframes book-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 91, 58, 0.5); } 55%, 100% { box-shadow: 0 0 0 16px rgba(255, 91, 58, 0); } }
@media (max-width: 1180px) { .nav .btn--book { justify-content: space-between; min-height: 64px; padding-left: 28px; font-size: 1.05rem; } .nav .btn__arrow { width: 50px; height: 50px; } }

/* ---------- Page transitions (arch curtain; circle wipe into Contact) ---------- */
.wipe { position: fixed; inset: 0 0 -80px 0; z-index: 200; pointer-events: none; visibility: hidden; }
.wipe-in .wipe, .wipe-run .wipe { visibility: visible; }
.wipe__a, .wipe__b { position: absolute; inset: 0; display: grid; place-items: center; }
.wipe__a { background: var(--arc); }
.wipe__b { background: var(--ink-2); }
.wipe__word { display: inline-flex; align-items: center; gap: 18px; max-width: 90vw; font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.025em; color: var(--on-dark); }
.wipe__text::after { content: var(--wipe-label, ""); }
@media (max-width: 600px) { .wipe__word { flex-direction: column; gap: 14px; text-align: center; font-size: clamp(2.2rem, 10vw, 3rem); } }
.wipe__mark { width: auto; height: clamp(52px, 7vw, 84px); filter: drop-shadow(0 8px 28px rgba(255, 91, 58, 0.35)); }
.wipe-in .hero *, .wipe-in .page-hero *, .wipe-in .frame::before, .wipe-in .frame::after { animation-play-state: paused; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 72px) 0; overflow: hidden; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .frame { width: min(100%, 560px, calc((100vh - var(--header-h) - 150px) * 0.8)); min-width: 300px; }
.hero .frame { width: min(100%, 560px, calc((100svh - var(--header-h) - 150px) * 0.8)); min-width: 300px; }
.hero__strip { position: relative; margin-top: clamp(28px, 4vw, 52px); border-top: 1px solid var(--line-d); }
.cred-strip { display: flex; overflow-x: auto; scrollbar-width: none; }
.cred-strip::-webkit-scrollbar { display: none; }
.cred-strip li { flex: none; list-style: none; padding: 20px 28px 22px 0; margin-right: 28px; border-right: 1px solid var(--line-d); }
.cred-strip li:last-child { border-right: 0; margin-right: 0; }
.cred-strip b { display: block; font-weight: 500; color: var(--on-dark); font-size: 0.95rem; }
.cred-strip span { display: block; font-size: 0.8rem; color: var(--on-dark-2); margin-top: 2px; white-space: nowrap; }
.cred-strip { margin: 0; padding: 0; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero .frame { width: min(84%, 360px); min-width: 0; margin: 12px auto 0; }
  .hero { padding-top: 28px; }
  .hero h1 { margin-bottom: 20px; }
  .hero__actions { margin-top: 28px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); margin-bottom: 24px; }
.page-hero .frame { width: min(100%, 420px); }
.page-hero .hero__actions { margin-top: 32px; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero .frame { width: min(72%, 320px); order: -1; }
}

/* ---------- Section head ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lede { margin: 0; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Zones (body-area photo accordion) ---------- */
.zones { display: flex; gap: clamp(8px, 1.2vw, 16px); height: clamp(460px, 72vh, 660px); margin: 0; padding: 0; list-style: none; }
.zone {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 999px 999px 26px 26px; overflow: hidden; isolation: isolate;
  background: var(--ink-3); color: var(--on-dark); cursor: pointer; transition: flex-grow 0.9s var(--ease);
}
.zone.is-on { flex-grow: 4.6; cursor: default; }
.zone > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; scale: 1.12; filter: saturate(0.6) brightness(0.6); transition: filter 0.9s var(--ease), scale 1.8s var(--ease); }
.zone.is-on > img { scale: 1; filter: none; }
.zone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 22, 26, 0.9) 0%, rgba(6, 22, 26, 0.4) 40%, transparent 70%); }
.zone__btn { position: absolute; inset: 0; z-index: 2; border: 0; background: none; padding: 0; cursor: pointer; border-radius: inherit; }
.zone.is-on .zone__btn { pointer-events: none; }
.zone__btn:focus-visible { outline: 2px solid var(--arc); outline-offset: -4px; }
.zone__v {
  position: absolute; left: 50%; bottom: 30px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -0.005em; transition: opacity 0.4s var(--ease);
}
.zone.is-on .zone__v { opacity: 0; }
.zone__body {
  position: absolute; left: clamp(22px, 2.8vw, 40px); right: 20px; bottom: clamp(24px, 3vw, 40px); min-width: 320px; max-width: 560px;
  opacity: 0; visibility: hidden; translate: 0 16px; transition: opacity 0.25s var(--ease), translate 0.25s var(--ease), visibility 0s 0.25s;
}
.zone.is-on .zone__body { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 0.7s var(--ease) 0.4s, translate 0.8s var(--ease) 0.4s, visibility 0s 0.4s; }
.zone__body h3 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.05; margin-bottom: 18px; }
.zone .tags li { border-color: rgba(233, 239, 234, 0.4); color: var(--on-dark); background: rgba(6, 22, 26, 0.35); }
.zone .tags li:hover { background: var(--on-dark); color: var(--ink); }
.zone .link { margin-top: 22px; border-color: rgba(233, 239, 234, 0.4); }
.zones__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: clamp(28px, 4vw, 48px) 0 0; }
.zones__foot span { max-width: 44ch; font-size: 0.98rem; }
@media (max-width: 760px) {
  .zones { flex-direction: column; height: 640px; }
  .zone { border-radius: 30px; }
  .zone::after { background: linear-gradient(to top, rgba(6, 22, 26, 0.95) 0%, rgba(6, 22, 26, 0.84) 55%, rgba(6, 22, 26, 0.35) 100%); }
  .zone.is-on { flex-grow: 5.5; }
  .zone__v { writing-mode: horizontal-tb; transform: translateY(-50%); left: 24px; bottom: auto; top: 50%; font-size: 1.3rem; }
  .zone__body { min-width: 0; right: 22px; left: 22px; }
  .zone__body h3 { font-size: 1.7rem; margin-bottom: 12px; }
  .zone .link { margin-top: 14px; }
}

/* ---------- About teaser / split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--flip .split__media { order: 2; }
.split__media { justify-self: center; width: 100%; max-width: 480px; }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5.4; background: var(--ink-3); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch[data-drift] img { scale: 1.16; }
.arch--wide { aspect-ratio: 4 / 4.6; }
.split h2 { margin-bottom: 24px; }
.countries { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 36px; }
.countries li { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px; font-size: 0.88rem; color: var(--fg); }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { max-width: 360px; }
}

/* ---------- Services index ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc__list { border-top: 1px solid var(--line-2); }
.svc__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px 24px; align-items: center; text-decoration: none;
  padding: 28px 0; border-bottom: 1px solid var(--line-2); position: relative; transition: padding 0.5s var(--ease), color 0.3s;
}
.svc__row::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--arc-ink); transition: width 0.5s var(--ease); }
.svc__row h3 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); transition: transform 0.5s var(--ease); }
.svc__row p { grid-column: 1; margin: 6px 0 0; color: var(--fg-2); max-width: 52ch; font-size: 0.98rem; }
.svc__go { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.5s var(--ease); }
.svc__go .i { width: 18px; height: 18px; }
.svc__row:hover, .svc__row:focus-visible { padding-left: 28px; }
.svc__row:hover::before, .svc__row:focus-visible::before { width: 14px; }
.svc__row:hover .svc__go, .svc__row:focus-visible .svc__go { background: var(--arc-ink); color: var(--paper); border-color: var(--arc-ink); transform: rotate(-45deg); }
.svc__preview { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__preview .arch { aspect-ratio: 4 / 5.6; position: relative; }
.svc__preview img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); transform: scale(1.04); }
.svc__preview img.is-on { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .svc { grid-template-columns: 1fr; }
  .svc__preview { display: none; }
  .svc__row:hover, .svc__row:focus-visible { padding-left: 0; }
}

/* ---------- Ledger (credentials) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.ledger li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) 150px; gap: 12px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease), padding 0.5s var(--ease); }
.ledger li:hover { padding-inline: 16px; background: rgba(233, 239, 234, 0.04); }
.band--bone .ledger li:hover { background: rgba(8, 25, 29, 0.04); }
.ledger b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
.ledger span { color: var(--fg-2); font-size: 0.98rem; }
.ledger em { justify-self: end; text-align: center; font-style: normal; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; white-space: nowrap; }
@media (max-width: 760px) {
  .ledger li { grid-template-columns: 1fr auto; }
  .ledger em { justify-self: end; }
  .ledger span { grid-column: 1 / -1; order: 3; }
}

/* ---------- Stage (approach: scroll-led photo with a drawing line) ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.stage { position: sticky; top: calc(var(--header-h) + 40px); }
.stage__frame { position: relative; width: min(100%, 420px); aspect-ratio: 100 / 130; margin-inline: auto; }
.stage__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.stage__line .base { stroke: var(--line-2); stroke-width: 0.3; }
.stage__line .prog { stroke: var(--arc-ink); stroke-width: 0.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.band:not(.band--bone) .stage__line .prog { stroke: var(--arc); }
.stage__arch { position: absolute; left: 6%; right: 6%; top: 4.615%; bottom: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--ink-3); }
.stage__arch img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; scale: 1.14; clip-path: inset(100% 0 0 0);
  transition: opacity 0s 1s, clip-path 0s 1s, scale 0s 1s;
}
.stage__arch img.is-on { z-index: 2; opacity: 1; scale: 1; clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease), scale 1.8s var(--ease), opacity 0s; }
.stage__word { margin-top: 24px; text-align: center; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; pointer-events: none; }
.stage__word b { font-weight: 400; display: block; }
.stage__word small { display: block; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 12px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: clamp(40px, 8vh, 96px) 0; border-top: 1px solid var(--line-2); min-height: 38vh; }
.step:first-child { border-top: 0; padding-top: 0; }
.step h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 16px; color: #596864; transition: color 0.6s var(--ease); }
.band:not(.band--bone) .step h3 { color: #8aa09c; }
.step.is-on h3 { color: var(--fg); }
.step p { color: var(--fg-2); max-width: 48ch; }
.step ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--fg); font-size: 0.98rem; }
.step li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line); }
.step li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--accent-text); }
@media (max-width: 900px) {
  .approach { grid-template-columns: 1fr; gap: 0; }
  .stage {
    top: var(--header-h); z-index: 5; display: flex; align-items: center; gap: 20px; background: var(--bg);
    padding: 12px var(--gutter); margin-inline: calc(var(--gutter) * -1); border-bottom: 1px solid var(--line);
  }
  .stage__frame { width: 84px; flex: none; margin: 0; }
  .stage__line .base { stroke-width: 1; }
  .stage__line .prog { stroke-width: 2; }
  .stage__word { margin: 0; text-align: left; font-size: 1.9rem; }
  .stage__word small { margin-bottom: 6px; font-size: 0.7rem; }
  .step { min-height: 0; padding: 40px 0; }
}

/* ---------- Philosophy / arches ---------- */
.philo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.philo h2 { margin-bottom: 24px; }
.arches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); align-items: end; }
.arches .arch:nth-child(1) { aspect-ratio: 3 / 5.2; }
.arches .arch:nth-child(2) { aspect-ratio: 3 / 6.4; }
.arches .arch:nth-child(3) { aspect-ratio: 3 / 4.6; }
.arches .arch { animation: bob 9s ease-in-out infinite alternate; }
.arches .arch:nth-child(2) { animation-duration: 11s; animation-delay: -3s; }
.arches .arch:nth-child(3) { animation-duration: 8s; animation-delay: -5s; }
@keyframes bob { from { translate: 0 -8px; } to { translate: 0 10px; } }
.philo__words { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 36px; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.philo__words span::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--arc); margin-left: 14px; vertical-align: middle; }
.philo__words span:last-child::after { display: none; }
@media (max-width: 860px) { .philo { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { overflow: hidden; text-align: center; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1500px, 170vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' fill='none' stroke='%23e9efea' stroke-opacity='.07'%3E%3Ccircle cx='500' cy='500' r='70'/%3E%3Ccircle cx='500' cy='500' r='140'/%3E%3Ccircle cx='500' cy='500' r='210'/%3E%3Ccircle cx='500' cy='500' r='280'/%3E%3Ccircle cx='500' cy='500' r='350'/%3E%3Ccircle cx='500' cy='500' r='420'/%3E%3Ccircle cx='500' cy='500' r='490'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 62%); mask-image: radial-gradient(circle, #000 20%, transparent 62%);
  pointer-events: none;
}
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); max-width: 16ch; margin-inline: auto; }
.cta .lede { margin: 24px auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.cta__phones { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: center; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.cta__phones a { text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 0.3s; }
.cta__phones a:hover { border-color: var(--arc); }

/* ---------- Content blocks ---------- */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
@media (max-width: 820px) { .cols-2 { grid-template-columns: 1fr; } }
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.rule-list > li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule-list h3, .rule-list h4 { margin-bottom: 6px; }
.rule-list p { margin: 0; color: var(--fg-2); font-size: 0.98rem; }
.tick-list { list-style: none; padding: 0; margin: 20px 0 0; }
.tick-list li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--line); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 14px; height: 1px; background: var(--accent-text); }

.feature {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line-2); align-items: start;
}
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature h2, .feature h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; margin-bottom: 14px; }
.feature__body p { color: var(--fg-2); max-width: 60ch; }
.feature .feature__body h3, .feature__body h4 { margin: 28px 0 4px; font-size: 1rem; line-height: 1.4; font-family: var(--sans); font-weight: 600; letter-spacing: 0; color: var(--fg); }
.feature .arch { max-width: 340px; aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .arch { max-width: 280px; } }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 20px; font-size: 0.98rem; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.tags li:hover { background: var(--fg); color: var(--bg); }

.areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: none; }
.area { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px clamp(24px, 6vw, 96px); padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.area h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.area p { margin: 0 0 12px; color: var(--fg-2); }
.area .tags { margin-top: 16px; }
.area .tags li { padding: 5px 14px; font-size: 0.85rem; }
@media (max-width: 820px) { .area { grid-template-columns: 1fr; } }

.callout { border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(24px, 3vw, 40px); }
.callout h3 { margin-bottom: 12px; }
.callout--arc { background: var(--arc); color: var(--ink); border-color: var(--arc); }
.callout--arc p { color: var(--ink); }
.callout--arc .tick-list li { border-color: rgba(6, 22, 26, 0.25); }
.callout--arc .tick-list li::before { background: var(--ink); }

/* Details / FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.25; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.faq summary .pm .i { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--fg); color: var(--bg); }
.faq summary:hover .pm { border-color: var(--fg); }
.faq .faq__body { padding: 0 0 28px; max-width: 68ch; color: var(--fg-2); }
.faq .faq__body p:last-child { margin-bottom: 0; }
.faq .faq__body strong { color: var(--fg); font-weight: 600; }
.faq details > .faq__body { animation: faq-in 0.55s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact__list .ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.contact__list b { display: block; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 4px; }
.contact__list a { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: -0.01em; }
.contact__list a:hover { text-decoration: underline; }
.contact__list p { margin: 0; font-size: 1rem; }
.form { background: var(--ink-2); color: var(--on-dark); border: 1px solid var(--line-d); border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 8px; }
.form > p { color: var(--on-dark-2); margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 500; }
.field label i { color: var(--arc); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line-d-2); border-radius: 14px; padding: 15px 16px; min-height: 52px;
  color: var(--on-dark); transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f8884; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(233, 239, 234, 0.45); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--arc); box-shadow: 0 0 0 3px rgba(255, 91, 58, 0.22); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23a6bbb8' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field input[type="date"] { color-scheme: dark; }
.field .err { display: none; color: #ff9a82; font-size: 0.86rem; }
.field.has-error input, .field.has-error select { border-color: #ff9a82; }
.field.has-error .err { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__note { font-size: 0.85rem; color: var(--on-dark-2); max-width: 44ch; margin: 0; }
.form__ok { display: none; margin-top: 20px; padding: 16px 20px; border-radius: 14px; background: rgba(111, 190, 180, 0.14); border: 1px solid rgba(111, 190, 180, 0.5); color: var(--on-dark); font-size: 0.95rem; }
.form__ok.is-on { display: block; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-d); padding-block: clamp(56px, 7vw, 96px) 32px; color: var(--on-dark-2); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1.1fr; gap: clamp(28px, 4vw, 64px); }
.footer__brand p { max-width: 34ch; margin-top: 20px; }
.footer__brand .footer__role { margin-top: 12px; max-width: none; }
.footer__brand .footer__role + p { margin-top: 20px; }
.footer__brand .brand { margin-bottom: 4px; }
.site-footer h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--on-dark); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer__legal { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.82rem; }
.footer__legal p { margin: 0; max-width: 78ch; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
    padding: 8px; background: rgba(11, 32, 37, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line-d-2); border-radius: 999px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--on-dark); }
  .mbar a.p { background: var(--arc); color: var(--ink); }
  body { padding-bottom: 84px; }
  .nav-open .mbar { display: none; }
}

/* ---------- Smooth scroll ---------- */
html.glide { scroll-behavior: auto; }

/* ---------- Motion ---------- */
/* Above-the-fold entrances run on CSS alone, so the page never waits on a script to show its headline. */
.js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.js .hero .frame__arch.reveal-arch, .js .page-hero .frame__arch.reveal-arch {
  clip-path: inset(0 0 0 0 round 999px 999px 14px 14px); transition: none; animation: arch-up 1.4s var(--ease) var(--d, 0s) both;
}
@keyframes arch-up { from { clip-path: inset(100% 0 0 0 round 999px 999px 14px 14px); } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-arch { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-arch.in { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }
.js .frame__arch.reveal-arch { clip-path: inset(100% 0 0 0 round 999px 999px 14px 14px); }
.js .frame__arch.reveal-arch.in { clip-path: inset(0 0 0 0 round 999px 999px 14px 14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .frame::before, .frame::after { clip-path: none; }
  .js .reveal, .js .reveal-arch { opacity: 1; transform: none; clip-path: none; }
}

@media print {
  .site-header, .mbar, .cta { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Platform hardening (phones, notches, touch-only devices) ---------- */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, .zone { touch-action: manipulation; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.nav { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input, .field select, .field textarea { font-size: 16px; }
@media (max-width: 760px) {
  .mbar { bottom: calc(12px + env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
/* Touch screens have no hover: undo hover-only states so nothing stays "stuck" after a tap. */
@media (hover: none) {
  .btn:hover { --b-bg: var(--arc); --b-line: var(--arc); }
  .btn--ghost:hover { --b-bg: transparent; --b-fg: var(--fg); --b-line: var(--line-2); }
  .btn:hover .i-arrow { transform: none; }
  .btn--book:hover::before { width: 0; }
  .btn--book:hover .btn__label span { translate: 0 0; }
  .btn--book:hover .btn__arrow .i:first-child { translate: 0 0; }
  .btn--book:hover .btn__arrow .i:last-child { translate: -44px 0; }
  .btn--book:hover .btn__arrow { background: var(--ink); color: var(--arc); }
  .link:hover { gap: 10px; border-color: var(--line-2); }
  .tags li:hover { background: transparent; color: inherit; }
  .zone .tags li:hover { background: rgba(6, 22, 26, 0.35); color: var(--on-dark); }
  .ledger li:hover, .band--bone .ledger li:hover { padding-inline: 0; background: none; }
  .svc__row:hover { padding-left: 0; }
  .svc__row:hover::before { width: 0; }
  .svc__row:hover .svc__go { background: transparent; color: inherit; border-color: var(--line-2); transform: none; }
}

/* Nothing may ever scroll the page sideways. `clip` (unlike `hidden`) keeps sticky headers and the approach stage working. */
html { overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } .band { overflow-x: clip; } }
/* Comfortable tap targets for text links and phone numbers. */
.link { min-height: 44px; padding-block: 10px 8px; }
.contact__list a { display: inline-block; padding-block: 8px; }
.cta__phones a { display: inline-block; padding-block: 8px; }
.site-footer li a { display: inline-block; padding-block: 6px; }
