/* =========================================================
   元憩 GENKI — Massage Studio
   Plain HTML / CSS. No build step.
   ========================================================= */

:root {
  /* Warm paper, sumi ink, and one accent: vermilion from the studio's iron artwork */
  --paper: #F3EFE7;
  --paper-2: #EAE4D8;
  --paper-3: #E1D9CA;
  --ink: #231E1A;
  --ink-2: #1A1613;
  --soft: #6A6259;
  --hair: rgba(35, 30, 26, .16);
  --hair-light: rgba(243, 239, 231, .2);
  --vermilion: #B5432E;
  --on-dark: #F3EFE7;
  --on-dark-soft: rgba(243, 239, 231, .66);

  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --sans-en: "Noto Sans", "Helvetica Neue", Arial, var(--sans);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .7, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

/* ---------- Base ---------- */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-anchor: none; /* the language switch restores the reading position itself */
}
p { text-wrap: pretty; }

/* Subtle paper grain, echoing the textured stock of the logo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.16 0 0 0 0 0.12 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--soft);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--vermilion); flex: none; }
.eyebrow--light { color: var(--on-dark-soft); }
.hero .eyebrow { margin-bottom: 26px; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.4;
  letter-spacing: .1em;
  text-wrap: balance;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .16em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
@media (hover: hover) {
  .btn:hover { color: var(--btn-bg); }
  .btn:hover::after { transform: scaleY(1); }
}
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--primary { min-width: 268px; }           /* same box in both languages */
.btn--sm { min-height: 42px; width: 140px; padding: 0 12px; font-size: 13.5px; gap: 9px; }
.btn--block { width: 100%; }
.btn__icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--sm .btn__icon { width: 15px; height: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .14em;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow span:last-child { transition: transform .5s var(--ease); }
@media (hover: hover) {
  .link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
  .link-arrow:hover span:last-child { transform: translateX(4px); }
}
.link-arrow--light { color: var(--on-dark); }

/* =========================================================
   Header
   --p (0 → 1) comes from scroll (main.js). Over the video the bar
   becomes denser frosted glass, so the light text gets clearer as
   you scroll; past the video it switches to solid paper + ink.
   ========================================================= */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.site-header {
  --p: 0;
  --toggle-on: var(--ink);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-dark);
  background-color: rgb(24 20 17 / calc(var(--p) * .58));
  -webkit-backdrop-filter: blur(calc(var(--p) * 18px)) saturate(calc(1 + var(--p) * .25));
  backdrop-filter: blur(calc(var(--p) * 18px)) saturate(calc(1 + var(--p) * .25));
  box-shadow: 0 1px 0 rgb(243 239 231 / calc(var(--p) * .1));
  transition: --p .2s linear, background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header::before {   /* keeps light text legible over bright frames before the glass fills in */
  content: "";
  position: absolute; inset: 0 0 -40px 0; z-index: -1;
  background: linear-gradient(to bottom, rgb(20 16 12 / .4), rgb(20 16 12 / 0));
  opacity: calc(1 - var(--p) * 1.4);
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.site-header.is-solid,
.menu-open .site-header {
  --toggle-on: var(--paper);
  color: var(--ink);
  background-color: rgb(243 239 231 / .94);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--hair);
}
.site-header.is-solid::before, .menu-open .site-header::before { opacity: 0; }

.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; fill: currentColor; transition: transform 1.2s var(--ease-out); }
.brand__word { width: 118px; height: calc(118px / 5.836); fill: currentColor; }
.brand:hover .brand__mark { transform: rotate(90deg); }

.site-nav { margin-right: 12px; }
.site-nav ul { display: flex; }
.site-nav a {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 88px; height: 40px;  /* fixed slots: switching language doesn't move the bar */
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .2em;
}
.site-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 4px; height: 4px; background: var(--vermilion);
  transform: translateX(-50%) scale(0);
  transition: transform .4s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-current::after { transform: translateX(-50%) scale(1); }

/* Header CTA: outline over the video, filled ink on the paper bar */
.btn--header { --btn-bg: transparent; --btn-fg: var(--on-dark); color: var(--on-dark); border-color: rgb(243 239 231 / .45); }
.btn--header::after { background: var(--on-dark); }
@media (hover: hover) { .btn--header:hover { color: var(--ink); border-color: var(--on-dark); } }
.is-solid .btn--header { --btn-bg: var(--ink); --btn-fg: var(--paper); background-color: var(--ink); border-color: var(--ink); color: var(--paper); }
.is-solid .btn--header::after { background: var(--paper); }
@media (hover: hover) { .is-solid .btn--header:hover { color: var(--ink); } }

/* Language toggle: a small square segmented control with a sliding fill */
.lang-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 76px;
  height: 32px;
  padding: 2px;
  border: 1px solid color-mix(in srgb, currentColor 38%, transparent);
  flex: none;
}
.lang-toggle::before {
  content: "";
  position: absolute; top: 2px; bottom: 2px; left: 2px;
  width: calc(50% - 2px);
  background: currentColor;
  transition: transform .45s var(--ease-out);
}
html[lang="en"] .lang-toggle::before { transform: translateX(100%); }
.lang-toggle button {
  position: relative;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
  transition: color .3s var(--ease);
}
.lang-toggle button[lang="zh-Hant"] { font-family: var(--serif); }
.lang-toggle button[lang="en"] { font-family: var(--sans-en); font-size: 11px; letter-spacing: .12em; }
.lang-toggle button[aria-pressed="true"] { color: var(--toggle-on); cursor: default; }
.lang-toggle button[aria-pressed="false"] { opacity: .75; }
.lang-toggle button[aria-pressed="false"]:hover { opacity: 1; }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: flex-end; outline: none; -webkit-tap-highlight-color: transparent; }
.menu-toggle__lines { position: relative; width: 26px; height: 10px; }
.menu-toggle__lines i { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle__lines i:first-child { top: 0; }
.menu-toggle__lines i:last-child { top: 9px; }
.menu-open .menu-toggle__lines i:first-child { top: 5px; transform: rotate(20deg); }
.menu-open .menu-toggle__lines i:last-child { top: 5px; transform: rotate(-20deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.mobile-menu[hidden] { display: flex; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.mobile-menu ol { border-top: 1px solid var(--hair); }
.mobile-menu ol li { border-bottom: 1px solid var(--hair); }
.mobile-menu ol a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 26px; letter-spacing: .14em; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  background: var(--ink-2);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-in 2.4s var(--ease-out) both;
}
@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(22, 17, 13, .78) 0%, rgba(22, 17, 13, .4) 40%, rgba(22, 17, 13, .06) 70%, rgba(22, 17, 13, .3) 100%),
    linear-gradient(to right, rgba(22, 17, 13, .42) 0%, rgba(22, 17, 13, 0) 60%);
}

.hero__content {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(72px, 12vh, 120px);
  text-shadow: 0 1px 24px rgba(20, 16, 12, .28);
}
.hero__content .btn { text-shadow: none; }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6.6vw, 96px);
  line-height: 1.3;
  letter-spacing: .1em;
  margin-bottom: 28px;
}
.hero__title span { display: block; }
.hero__lead {
  max-width: 30em;
  min-height: calc(2 * 1.9em);   /* reserve two lines so the title doesn't jump between languages */
  margin-bottom: 40px;
  font-size: clamp(15px, 1.15vw, 16px);
  color: var(--on-dark-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }

.hero__toggle {
  position: absolute;
  right: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 11px; letter-spacing: .2em;
  color: var(--on-dark-soft);
}
.hero__toggle:hover { color: var(--on-dark); }
.hero__toggle-icon { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.hero__toggle[aria-pressed="true"] .hero__toggle-icon {
  width: 0; height: 0; border: 0;
  border-left: 8px solid currentColor; border-block: 5px solid transparent;
}

.js .hero__line {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.2s var(--ease-out) forwards;
  animation-delay: calc(.3s + var(--d, 0) * .1s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: clamp(96px, 12vw, 168px); }
.section--tint { background: var(--paper-2); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gutter);
  align-items: start;
}
.about__head { grid-column: 1 / span 5; }
.about__body { grid-column: 7 / span 6; padding-top: 38px; }
.about__body p { margin-bottom: 1.2em; color: #3b342e; }

.name-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--hair);
}
.name-card { display: flex; align-items: flex-start; gap: clamp(24px, 3vw, 44px); padding: clamp(32px, 4vw, 52px) 0; }
.name-card + .name-card { border-left: 1px solid var(--hair); padding-left: clamp(24px, 4vw, 60px); }
.name-card__char { font-family: var(--serif); font-weight: 500; font-size: clamp(84px, 9vw, 136px); line-height: 1; }
.name-card__roman { font-family: var(--latin); font-size: 22px; letter-spacing: .24em; color: var(--vermilion); margin-bottom: 8px; }
.name-card__text { font-size: 15px; color: var(--soft); max-width: 24em; }

/* ---------- Space ---------- */
.space__head { margin-bottom: clamp(48px, 6vw, 80px); }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.gallery__item figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .14em; color: var(--soft); }

.frame { position: relative; overflow: hidden; background: var(--paper-3); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.frame__motion { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease), transform 1.6s var(--ease-out); }
.frame__motion.is-playing { opacity: 1; }
@media (hover: hover) { .gallery__item:hover .frame img, .gallery__item:hover .frame video { transform: scale(1.03); } }

.gallery__item--room { grid-column: 1 / span 7; }
.gallery__item--room .frame { aspect-ratio: 4 / 3; }
.gallery__item--records { grid-column: 9 / span 4; margin-top: clamp(64px, 10vw, 160px); }
.gallery__item--records .frame { aspect-ratio: 4 / 5; }
.gallery__item--records .frame > * { object-position: 46% 50%; }
.gallery__item--bed { grid-column: 2 / span 6; }
.gallery__item--bed .frame { aspect-ratio: 3 / 2; }
.gallery__item--bed .frame > * { object-position: 50% 62%; }
.gallery__note { grid-column: 9 / span 3; align-self: end; padding-bottom: 40px; color: var(--soft); font-size: 15px; }

.js .gallery .frame::after {   /* a quiet curtain lift on reveal */
  content: ""; position: absolute; inset: 0; background: var(--paper-2);
  transform-origin: top; transition: transform 1.4s var(--ease-out) var(--rd, 0s);
}
.js .gallery .is-in .frame::after { transform: scaleY(0); }

/* ---------- Band ---------- */
.band { position: relative; height: clamp(340px, 66vh, 720px); overflow: hidden; background: var(--ink-2); }
.band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }

/* ---------- Booking (dark) ---------- */
.booking { background: var(--ink-2); color: var(--on-dark); }
.booking__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 56px var(--gutter);
  align-items: start;
}
.booking__head { grid-column: 1 / span 5; }
.booking__head .display { margin-bottom: 16px; }
.booking__sub { color: var(--on-dark-soft); margin-bottom: 36px; max-width: 24em; }

.steps { grid-column: 7 / span 6; border-top: 1px solid var(--hair-light); }
.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 20px;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--hair-light);
}
.step__num { font-family: var(--latin); font-size: 40px; line-height: 1; color: var(--vermilion); font-variant-numeric: lining-nums; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .12em; line-height: 1.6; margin-bottom: 6px; }
.step p { color: var(--on-dark-soft); font-size: 15px; }
.step p strong { color: var(--on-dark); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--on-dark); padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 48px var(--gutter);
  padding-top: 64px;
  padding-bottom: 56px;
}
.site-footer__grid::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--hair-light);
}
.site-footer__word { width: 190px; height: calc(190px / 5.836); fill: currentColor; margin-bottom: 14px; }
.site-footer__brand p { font-size: 13px; letter-spacing: .24em; color: var(--on-dark-soft); }

.social-link {
  display: grid;
  grid-template-columns: 20px auto 1fr auto;
  align-items: center;
  column-gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair-light);
}
.site-footer__links li:first-child .social-link { border-top: 1px solid var(--hair-light); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }
.social-link span { font-family: var(--latin); font-size: 20px; letter-spacing: .02em; }
.social-link small { font-size: 12px; letter-spacing: .04em; color: var(--on-dark-soft); }
.social-link i { font-style: normal; transition: transform .4s var(--ease); }
.social-link:hover i { transform: translate(3px, -3px); }

.site-footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .14em; color: var(--on-dark-soft);
}
.site-footer__base a:hover { color: var(--on-dark); }

/* Social row (mobile menu) */
.social { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.social a { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; font-family: var(--latin); font-size: 18px; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  display: none;
  align-items: center; justify-content: center; gap: 12px;
  min-height: 54px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .14em;
  box-shadow: 0 10px 30px -10px rgba(20, 16, 12, .5);
  transform: translateY(150%);
  transition: transform .6s var(--ease);
}
.sticky-cta svg { width: 18px; height: 18px; fill: currentColor; }
.sticky-cta.is-visible { transform: none; }
/* The open menu already has its own booking button */
.menu-open .sticky-cta { transform: translateY(150%); pointer-events: none; visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out) var(--rd, 0s), transform 1.1s var(--ease-out) var(--rd, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Language
   ========================================================= */
/* Swap cross-fade (main.js adds .is-switching for ~160 ms) */
[data-i18n] { transition: opacity .28s var(--ease); }
.is-switching [data-i18n] { opacity: 0 !important; transition-duration: .14s; }

/* Until JS has swapped in English, keep the page hidden; fail-safe reveal after 1.2 s. */
.lang-pending-en main, .lang-pending-en .site-header { opacity: 0; animation: lang-reveal 0s linear 1.2s forwards; }
@keyframes lang-reveal { to { opacity: 1; } }

/* English: Latin faces, sized so headings keep the same line boxes as the Chinese */
html[lang="en"] body { font-family: var(--sans-en); letter-spacing: .005em; line-height: 1.75; }
html[lang="en"] .display,
html[lang="en"] .hero__title,
html[lang="en"] .step h3,
html[lang="en"] .site-nav a,
html[lang="en"] .mobile-menu ol a,
html[lang="en"] .btn,
html[lang="en"] .sticky-cta,
html[lang="en"] .link-arrow { font-family: var(--latin); letter-spacing: .01em; }
html[lang="en"] .display { font-size: clamp(36px, 4vw, 56px); line-height: 1.2; }
html[lang="en"] .hero__title { font-size: clamp(48px, 7.6vw, 110px); line-height: 1.13; letter-spacing: 0; }
html[lang="en"] .hero__lead { max-width: 34em; line-height: 1.9; }
html[lang="en"] .step h3 { font-size: 24px; line-height: 1.33; }
html[lang="en"] .site-nav a { font-size: 18px; font-weight: 500; }
html[lang="en"] .mobile-menu ol a { font-size: 32px; font-weight: 500; padding: 15px 0 16px; }
html[lang="en"] .btn { font-size: 18px; font-weight: 500; letter-spacing: .03em; }
html[lang="en"] .btn--sm { font-size: 16px; }
html[lang="en"] .sticky-cta { font-size: 18px; }
html[lang="en"] .link-arrow { font-size: 18px; }
html[lang="en"] .gallery__item figcaption { letter-spacing: .06em; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { gap: 16px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .btn--header { display: none; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__word { width: 104px; height: calc(104px / 5.836); }

  .hero__shade { background: linear-gradient(to top, rgba(22, 17, 13, .85) 0%, rgba(22, 17, 13, .5) 45%, rgba(22, 17, 13, .15) 75%, rgba(22, 17, 13, .45) 100%); }
  .hero__video { object-position: 38% 50%; }
  .hero__lead { min-height: calc(3 * 1.9em); }
  .hero__actions .btn { width: 100%; }
  .hero__toggle { bottom: 18px; }
  .hero__content { padding-bottom: 72px; }

  .about__head, .about__body { grid-column: 1 / -1; }
  .about__body { padding-top: 0; }
  .name-cards { grid-template-columns: 1fr; }
  .name-card + .name-card { border-left: 0; border-top: 1px solid var(--hair); padding-left: 0; }

  .gallery { grid-template-columns: 1fr; gap: 40px; }
  .gallery__item--room, .gallery__item--records, .gallery__item--bed, .gallery__note { grid-column: 1 / -1; margin-top: 0; }
  .gallery__item--records { width: 78%; margin-left: auto; }
  .gallery__note { padding-bottom: 0; }

  .booking__head, .steps { grid-column: 1 / -1; }
  .booking__head .btn { width: 100%; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; }

  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .site-footer__grid { grid-template-columns: 1fr; }

  .sticky-cta { display: flex; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .hero__line { opacity: 1; transform: none; }
  .js .gallery .frame::after { display: none; }
}
