/* The Longe. Colour and type follow the brand book (brand/README.md): ivory and
   charcoal grounds, terracotta accent, forestry green.
   Type: Basis Grotesque Pro Regular for headings and text, GT Pressura Regular
   for the small caps labels. Both are purchased fonts served from public/fonts
   exactly as delivered. Only the Regular weight of each is licensed, so the
   whole site is set in one weight; hierarchy comes from size, colour and the
   label face. The accent phrase in a heading (<em>) is emboldened by the browser.
   Layout: one 1200px column on a 12-column grid with 24px gutters. Two-column
   blocks always break at column 7 or column 8, so edges line up down the page. */

@font-face { font-family: "Basis Grotesque Pro"; src: url("fonts/BasisGrotesquePro-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Pressura"; src: url("fonts/GT-Pressura-Standard-Regular.woff2") format("woff2"), url("fonts/GT-Pressura-Standard-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper:    #F4F0E7;
  --paper-2:  #EAE5D8;
  --card:     #FBF9F4;
  --ink:      #121212;
  --ink-2:    #201F1D;
  --line:     rgba(18, 18, 18, .14);
  --line-strong: rgba(18, 18, 18, .3);
  --muted:    #6B665E;
  --clay:     #A65134;
  --clay-2:   #CC7648;
  --moss:     #626F4C;
  --moss-2:   #D8D8B4;
  --sand:     #B8AC98;
  --on-dark:  #F4F0E7;
  --on-dark-muted: #BAB3A6;
  --line-dark: rgba(244, 240, 231, .18);

  --display: "Basis Grotesque Pro", "Helvetica Neue", Arial, system-ui, sans-serif;
  --label: "GT Pressura", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 32px;
  --gap: 24px;
  --section: 120px;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
b, strong { font-weight: 400; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
::selection { background: var(--clay-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--clay-2); outline-offset: 3px; border-radius: 4px; }

/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(rgba(18, 18, 18, .045) .6px, transparent .7px),
    radial-gradient(rgba(18, 18, 18, .03) .5px, transparent .6px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}
.nav, main, .foot { position: relative; z-index: 1; }

/* ---------- layout ---------- */

.nav, main > section, .band > .band-inner, .hero-inner, .strip-wrap, .foot-inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
main > section { padding-top: var(--section); padding-bottom: var(--section); }
main > section + section { border-top: 1px solid var(--line); }

/* Every two-column block shares the 12-column grid. */
.section-head, .split, .science, .ask, .why, .closing, .loft-hero, .inc-grid, .price-grid, .contact-grid, .book-grid, .team-cols, .faq-sec {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
}
.split > :first-child, .science > :first-child, .ask > :first-child, .price-grid > :first-child, .team-cols > :first-child { grid-column: 1 / span 6; }
.why > :first-child, .closing > :first-child, .loft-hero > :first-child, .inc-grid > :first-child, .contact-grid > :first-child, .book-grid > :first-child { grid-column: 1 / span 7; }
.split > :last-child, .science > :last-child, .ask > :last-child, .price-grid > :last-child, .team-cols > :last-child,
.why > :last-child, .closing > :last-child, .loft-hero > :last-child, .inc-grid > :last-child, .contact-grid > :last-child, .book-grid > :last-child { grid-column: 8 / span 5; }

/* Section heading: label on top, heading left, supporting line right, sharing a baseline. */
.section-head { margin-bottom: 56px; align-items: end; }
.section-head > * { grid-column: 1 / -1; }
.section-head > h2 { grid-column: 1 / span 7; }
.section-head > .lede-sm { grid-column: 8 / span 5; margin: 0 0 .35em; }

/* Full-bleed dark bands keep the inner column aligned with everything else. */
main > section.band, main > section.hero { width: 100%; }
.band { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.band > .band-inner { position: relative; z-index: 1; }
.band .eyebrow { color: var(--on-dark-muted); }
.band .lede-sm, .band .muted { color: var(--on-dark-muted); }
.band-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .38; filter: saturate(.8); }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.35), rgba(18,18,18,.85)); }
main > section.band + section, main > section + section.band { border-top: 0; }

/* ---------- nav ---------- */

.nav { display: flex; align-items: center; gap: 40px; height: 92px; }
.logo { display: block; flex: none; margin-right: auto; width: 176px; aspect-ratio: 262.41 / 39.79; color: var(--ink); background: currentColor; -webkit-mask: url("img/logo-horiz.svg") left center / contain no-repeat; mask: url("img/logo-horiz.svg") left center / contain no-repeat; }
.nav nav { display: flex; gap: 36px; }
.nav nav a { position: relative; color: var(--muted); font-size: 15px; font-weight: 400; text-decoration: none; padding: 8px 0; transition: color .2s; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav nav a:hover::after, .nav nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { flex: none; }

/* Home and Bath House: the nav floats over the dark hero photo. */
body.dark-top { position: relative; }
body.dark-top .nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
body.dark-top .logo, body.dark-top .nav nav a[aria-current="page"], body.dark-top .nav nav a:hover { color: var(--on-dark); }
body.dark-top .nav nav a { color: rgba(244,240,231,.72); }
body.dark-top .nav-cta { background: transparent; color: var(--on-dark); border-color: rgba(244,240,231,.45); }
body.dark-top .nav-cta:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* ---------- buttons + pills ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: inherit; font-weight: 400; font-size: 16px; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn-clay:hover { background: #8F4329; border-color: #8F4329; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.band .btn, .hero .btn { border-color: var(--on-dark); background: var(--on-dark); color: var(--ink); }
.band .btn-clay, .hero .btn-clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.band .btn-clay:hover, .hero .btn-clay:hover { background: var(--clay-2); border-color: var(--clay-2); color: var(--ink); }
.band .btn-ghost, .hero .btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(244,240,231,.45); }
.band .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--on-dark); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--label); font-weight: 400; font-size: 12px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.pill::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill-clay { background: var(--clay-2); border-color: var(--clay-2); color: var(--ink); }
.pill-moss { background: var(--moss); border-color: var(--moss); color: var(--on-dark); }
.pill-outline-dark { border-color: rgba(244,240,231,.4); color: var(--on-dark); }

/* ---------- type ---------- */

/* One label style for every small caps line on the site. */
.kicker, .eyebrow, .mono, .chips-head, .strip dt, .facts dt, .terms dt, .offer-terms dt, .amen li span:first-child, .field label, .person .role, .use .count, .team-cols h3, .hours span, .source, .foot-label, .cal .dow, .city .tag, .gallery figcaption, figcaption.cap {
  font-family: var(--label); font-weight: 400; font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase;
}
.kicker, .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay-2); flex: none; }

/* Big type is pulled left by its side bearing so the stems sit on the column edge. */
h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.024em; max-width: 14ch; margin-left: -.035em; }
h1.mega { font-size: clamp(46px, 9.2vw, 124px); line-height: .95; letter-spacing: -0.03em; max-width: none; }
h2 { font-size: clamp(32px, 4.5vw, 60px); line-height: 1.04; letter-spacing: -0.022em; margin-left: -.03em; }
h3 { font-size: 24px; letter-spacing: -0.015em; }
/* The accent phrase: one per heading, in bold. */
/* Only Regular is licensed, so the browser draws this bold; it needs a little air. */
h1 em, h2 em, .foot-brand em { font-style: normal; font-weight: 700; letter-spacing: -0.005em; }

.lede { margin: 32px 0 0; max-width: 580px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; text-wrap: pretty; }
.lede-sm { margin: 20px 0 0; max-width: 520px; color: var(--muted); font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.note { margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.muted { color: var(--muted); }
.source { margin-top: 28px; color: var(--muted); max-width: 640px; font-size: 11px; line-height: 1.7; letter-spacing: .06em; }
.band .source { color: var(--on-dark-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- hero ---------- */

.hero { padding: 0; position: relative; color: var(--on-dark); background: var(--ink); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: url("img/hero-banya.jpg") center 40% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.62) 0%, rgba(18,18,18,.3) 38%, rgba(18,18,18,.93) 100%); }
.hero-photo-events { background-image: url("img/loft-workshop.jpg"); background-position: center 60%; }
.hero-photo-events::after { background: linear-gradient(180deg, rgba(18,18,18,.78) 0%, rgba(18,18,18,.55) 42%, rgba(18,18,18,.95) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 184px 0 48px; min-height: min(860px, 94vh); display: flex; flex-direction: column; justify-content: flex-end; }
.hero .kicker { color: var(--on-dark-muted); margin-bottom: 28px; }
.hero .lede { color: var(--on-dark); }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-bottom .cta-row { margin-top: 0; }

/* The official wordmark, drawn with a mask so it takes the text colour. */
.wordmark { display: block; width: clamp(180px, 22vw, 280px); aspect-ratio: 204.46 / 33.51; margin-bottom: 40px; background: currentColor; -webkit-mask: url("img/logo-wordmark.svg") left center / contain no-repeat; mask: url("img/logo-wordmark.svg") left center / contain no-repeat; }

/* Facts strip under a hero: label over value, on the page grid. */
.strip-wrap { position: relative; z-index: 1; border-bottom: 1px solid var(--line); }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.strip.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.strip > div { padding: 30px 0 32px; }
.strip dt { color: var(--muted); }
.strip dd { margin: 10px 0 0; font-weight: 400; font-size: 17px; line-height: 1.35; }
.strip dd a { text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.strip dd a:hover { color: var(--clay); text-decoration-color: currentColor; }
.strip-wrap + section { border-top: 0; }

/* Sub-page hero: cream, text only. */
.page-hero { border-bottom: 1px solid var(--line); overflow: visible; }
main > section.page-hero { width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.page-hero .hero-inner { width: auto; min-height: 0; padding: 72px 0 80px; justify-content: flex-start; }
.page-hero.cream { background: transparent; color: var(--ink); }
.page-hero.cream .kicker { color: var(--muted); }
.page-hero.cream .lede { color: var(--ink); }
.page-hero.cream .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-hero.cream .btn-clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.page-hero.cream .btn-clay:hover { background: #8F4329; border-color: #8F4329; color: #fff; }
.page-hero.cream .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.page-hero.cream .btn-ghost:hover { border-color: var(--ink); }
.page-hero + section { border-top: 0; }

/* ---------- cards ---------- */

.uses, .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.use { display: flex; flex-direction: column; padding: 28px 28px 16px; border-radius: var(--r); color: var(--on-dark); min-height: 280px; }
.use.gather { background: var(--ink-2); }
.use.host { background: var(--clay); }
.use.make { background: var(--moss); }
.use.sand { background: var(--moss-2); color: var(--ink); }
.use.clay2 { background: var(--clay-2); color: var(--ink); }
.use h3 { font-size: 30px; letter-spacing: -0.02em; }
.use ul { margin: auto 0 0; padding: 28px 0 0; list-style: none; font-size: 16px; line-height: 1.4; }
.use ul li { padding: 12px 0; border-top: 1px solid rgba(244,240,231,.22); }
.use.sand ul li, .use.clay2 ul li { border-top-color: rgba(18,18,18,.2); }

/* Programme themes: number on top, title and line at the foot of the card. */
.programme .use { min-height: 260px; padding-bottom: 28px; }
.use .count { opacity: .7; }
.programme .use h3 { margin-top: auto; padding-top: 48px; }
.use .blurb { margin: 12px 0 0; max-width: 300px; font-size: 16px; line-height: 1.45; opacity: .88; text-wrap: pretty; }
.use.cta-card { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); align-items: flex-start; }
.use.cta-card .blurb { color: var(--muted); opacity: 1; }
.use.cta-card .btn { margin-top: 20px; }

.stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; padding: 28px; border-radius: var(--r); background: var(--ink-2); color: var(--on-dark); }
.stat.clay { background: var(--clay); }
.stat.clay-2 { background: var(--clay-2); color: var(--ink); }
.stat b { font-size: clamp(56px, 7vw, 96px); font-weight: 400; letter-spacing: -0.025em; line-height: .95; margin-left: -.04em; }
.stat span { font-size: 18px; opacity: .9; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.duo-card { padding: 40px; border-radius: var(--r); background: var(--paper-2); display: flex; flex-direction: column; align-items: flex-start; min-height: 380px; }
.duo-card h2 { margin: 0 0 18px -.03em; font-size: clamp(28px, 3vw, 40px); max-width: 14ch; }
.duo-card p:not(.eyebrow) { margin: 0 0 32px; color: var(--muted); max-width: 440px; text-wrap: pretty; }
.duo-card.dark { background: var(--ink); color: var(--on-dark); }
.duo-card.dark .eyebrow { color: var(--on-dark-muted); }
.duo-card.dark p:not(.eyebrow) { color: var(--on-dark-muted); }
.duo-card .btn { margin-top: auto; }
.duo-card.dark .btn-clay { background: var(--clay-2); border-color: var(--clay-2); color: var(--ink); }
.duo-card.dark .btn-clay:hover { background: var(--on-dark); border-color: var(--on-dark); }

/* ---------- home ---------- */

.why, .closing { align-items: end; }
.why p:not(.eyebrow) { color: var(--on-dark-muted); font-size: 18px; text-wrap: pretty; }
.closing .aside { color: var(--muted); font-size: 18px; }
.closing .cta-row { margin-top: 28px; }
.closing .more { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.closing .more a { color: var(--clay); text-decoration: none; font-weight: 400; white-space: nowrap; }
.closing .more a:hover { text-decoration: underline; }

/* ---------- gallery: a fixed 3:2 module on the page grid ---------- */

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.gallery li { margin: 0; grid-column: span 4; position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.gallery li:nth-child(1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery li:hover img { transform: scale(1.035); }
.gallery figcaption, figcaption.cap { white-space: nowrap; position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(18,18,18,.6); color: var(--on-dark); font-size: 11px; line-height: 1; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- past events (home) ---------- */

.pe-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.pe-card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--paper-2); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pe-card a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(18,18,18,.12); }
.pe-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pe-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.pe-date { margin: 0 0 10px; font-family: var(--label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pe-body h3 { font-size: 22px; line-height: 1.2; }
.pe-body p:not(.pe-date) { margin: 10px 0 20px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.pe-link { margin-top: auto; color: var(--clay); font-size: 15px; }
.pe-card a:hover .pe-link { text-decoration: underline; text-underline-offset: 4px; }
.pe-more { margin-top: 28px; color: var(--muted); font-size: 16px; }
.pe-more a { color: var(--clay); text-decoration: none; white-space: nowrap; }
.pe-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .pe-list { grid-template-columns: minmax(0, 1fr); } .pe-card a { flex-direction: row; } .pe-card img { width: 38%; flex: none; aspect-ratio: auto; } }
@media (max-width: 560px) { .pe-card a { flex-direction: column; } .pe-card img { width: 100%; aspect-ratio: 1; } }

/* ---------- photo gallery (gallery.js) ----------
   Masonry by CSS columns: photos keep their own shape, portrait or landscape. */

.pg-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.pg-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font: 400 15px/1 var(--display); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pg-chip span { font-family: var(--label); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.pg-chip:hover { border-color: var(--ink); }
.pg-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pg-chip[aria-pressed="true"] span { color: var(--on-dark-muted); }
.room-more { margin: 28px 0 0; display: flex; justify-content: flex-end; }
.room-more a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 400; transition: border-color .2s, background .2s, color .2s; }
.room-more a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.room-more a span { transition: transform .2s var(--ease); }
.room-more a:hover span { transform: translateX(3px); }
@media (max-width: 760px) { .room-more { justify-content: flex-start; } }
.pg-note { display: flex; align-items: baseline; gap: 10px; margin: -12px 0 28px; color: var(--muted); font-size: 15.5px; }
.pg-note::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--clay-2); transform: translateY(-2px); }
.photo-gallery:not(.pg-ready) .pg-filters, .photo-gallery:not(.pg-ready) .pg-more { display: none; }
.pg-grid { columns: 3; column-gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.pg-grid li { break-inside: avoid; margin: 0 0 var(--gap); border-radius: var(--r-sm); overflow: hidden; background: var(--paper-2); }
.pg-grid a { display: block; cursor: zoom-in; }
.pg-grid img { width: 100%; height: auto; transition: transform 1.2s var(--ease), opacity .3s; }
.pg-grid a:hover img { transform: scale(1.03); }
.pg-more { display: flex; justify-content: center; margin-top: 16px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 12, .96); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(12, 12, 12, .96); }
html.lb-open { overflow: hidden; }
.lb-stage { position: absolute; inset: 56px 88px 72px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lb-stage img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; object-fit: contain; border-radius: 4px; opacity: 0; transition: opacity .25s; }
.lb-stage img.ready { opacity: 1; }
.lb-caption { max-width: 720px; text-align: center; color: var(--on-dark-muted); font-size: 15px; line-height: 1.4; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(244,240,231,.3); border-radius: 50%; background: rgba(18,18,18,.4); color: var(--on-dark); font: 300 30px/1 var(--display); cursor: pointer; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 20px; top: 16px; width: 44px; height: 44px; font-size: 26px; }
.lb-count { position: absolute; left: 24px; top: 28px; margin: 0; font-family: var(--label); font-size: 12px; letter-spacing: .08em; color: var(--on-dark-muted); }

/* ---------- bath house ---------- */

.cities { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.city { grid-column: span 2; position: relative; min-height: 360px; border-radius: var(--r); overflow: hidden; background: var(--ink-2); color: #fff; display: flex; align-items: flex-end; padding: 18px; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.35) 0%, rgba(18,18,18,0) 35%, rgba(18,18,18,.75) 100%); }
.city span { position: relative; z-index: 1; font-size: 17px; line-height: 1.3; }
.city .tag { position: absolute; top: 18px; left: 18px; z-index: 1; font-size: 11px; opacity: .9; }
.city.sf { grid-column: span 4; background: var(--clay); flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; padding: 28px; }
.city.sf::after { display: none; }
.city.sf b { font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
.city.sf .tag { top: 28px; left: 28px; }

.split { align-items: start; }
.split p { color: var(--muted); margin: 0 0 16px; }
.split > div > p:last-child { margin-bottom: 0; }
.split .eyebrow { margin-bottom: 24px; }
.split .note { margin: 20px 0 0; }
.chips-head { color: var(--muted); margin: 40px 0 14px; }
.split .chips-head { margin: 40px 0 14px; }
.chips-head:first-child { margin-top: 0; }
.facts { margin: 32px 0 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-size: 16px; font-weight: 400; }
.elevation { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); background: #F8F5EE; padding: 28px; }

.science { align-items: center; }
.ring { position: relative; aspect-ratio: 5 / 4; width: 100%; }
.ring-circle { position: absolute; left: 22%; top: 15%; width: 56%; aspect-ratio: 1; border: 1px solid rgba(244,240,231,.6); border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 24px; }
.ring-circle b { font-size: clamp(19px, 2vw, 24px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
.ring-circle b span { display: block; }
.ring-item { position: absolute; transform: translateY(-50%); font-family: var(--label); font-weight: 400; font-size: 11px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ring-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay-2); flex: none; }
.ring-item.l { flex-direction: row-reverse; }

.team-cols { align-items: start; }
.team-cols h3 { color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.people { margin: 0; padding: 0; list-style: none; }
.person { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.person img, .person .avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: center top; filter: grayscale(1); border: 1px solid var(--line); background: #fff; }
.person img.logo-avatar { object-position: center; }
.person .avatar { display: grid; place-items: center; font-weight: 400; font-size: 11px; text-align: center; color: var(--ink); padding: 8px; line-height: 1.2; }
.person .role { display: block; color: var(--muted); font-size: 11px; }
.person h4 { margin: 6px 0 3px; font-size: 21px; font-weight: 400; letter-spacing: -0.015em; }
.person p { color: var(--muted); font-size: 15px; }

.ask { align-items: center; }
.ask-list { margin: 40px 0 0; padding: 0; list-style: none; counter-reset: ask; position: relative; }
.ask-list li { counter-increment: ask; position: relative; padding: 0 0 36px 48px; }
.ask-list li::before { content: counter(ask); position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--moss); color: #fff; font-family: var(--label); font-size: 11px; display: grid; place-items: center; }
.ask-list li::after { content: ""; position: absolute; left: 12.5px; top: 34px; bottom: 6px; width: 1px; background: var(--moss); opacity: .5; }
.ask-list li:last-child::after { display: none; }
.ask-list li:last-child { padding-bottom: 0; }
.ask-list b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.ask-list span { display: block; margin-top: 6px; color: var(--muted); font-size: 17px; }
.ask img { border-radius: var(--r); width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 55%; }

/* ---------- host ---------- */

.loft-hero { align-items: end; }
.loft-hero figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.loft-hero figure img { width: 100%; height: 100%; object-fit: cover; }

.offer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: 56px 0; border-radius: var(--r); background: var(--moss); color: var(--on-dark); }
.offer > :first-child { grid-column: 1 / span 7; padding-left: 48px; }
.offer > :last-child { grid-column: 8 / span 5; padding-right: 48px; }
.offer .eyebrow { color: var(--on-dark); opacity: .85; }
.offer .eyebrow::before { background: var(--moss-2); }
.offer h2 { font-size: clamp(30px, 3.8vw, 50px); }
.offer .lede-sm { color: rgba(244,240,231,.85); }
.offer .btn-ghost { color: var(--on-dark); border-color: rgba(244,240,231,.45); }
.offer .btn-ghost:hover { border-color: var(--on-dark); }
.offer-terms { margin: 0; }
.offer-terms div { display: grid; grid-template-columns: minmax(0, 120px) 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(244,240,231,.25); align-items: baseline; }
.offer-terms div:last-child { border-bottom: 1px solid rgba(244,240,231,.25); }
.offer-terms dt { opacity: .85; }
.offer-terms dd { margin: 0; font-weight: 400; }
.offer-terms s { opacity: .6; font-weight: 400; margin-right: 6px; }

.inc-grid { align-items: start; }
.amen { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); border-top: 1px solid var(--line); }
.amen li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.amen li span:first-child { color: var(--muted); white-space: nowrap; }
.amen li span:last-child { text-align: right; }
.place { padding: 32px; border-radius: var(--r); background: var(--paper-2); }
.place h3 { margin: 12px 0 14px; font-size: 28px; }
.place p { color: var(--muted); font-size: 16px; }
.place .chips-head { margin: 28px 0 10px; font-size: 12px; }

/* booking */
.book-grid { align-items: start; }
.panel { padding: 32px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.step { display: flex; flex-direction: column; gap: 16px; }
.step + .step { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.step-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav button { width: 40px; height: 40px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 18px; border-radius: 999px; cursor: pointer; }
.cal-nav button:hover:not([disabled]) { border-color: var(--ink); }
.cal-nav button[disabled] { opacity: .35; cursor: default; }
.cal-month { min-width: 150px; text-align: center; font-size: 18px; font-weight: 400; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0; }
.day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: 400 16px/1 var(--display); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-variant-numeric: tabular-nums; }
.day:hover:not([disabled]) { box-shadow: inset 0 0 0 1px var(--ink); }
.day[disabled] { color: var(--sand); cursor: default; background: transparent; }
.day.booked { color: var(--sand); background: transparent; text-decoration: line-through; }
.day.partial::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.day.empty { visibility: hidden; }
.legend-cal { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13.5px; }
.legend-cal i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.cal-booked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; }
.cal-booked[hidden] { display: none; }
.cal-booked-range { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; }

.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { color: var(--muted); font-size: 11px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(18,18,18,.22); border-radius: var(--r-sm); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(18,18,18,.45); }
.field textarea { resize: vertical; min-height: 128px; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: #C0392B; }
.field-full { grid-column: 1 / -1; }
.hint { color: var(--muted); font-size: 14.5px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.check input { width: 20px; height: 20px; accent-color: var(--clay); flex: none; margin: 2px 0 0; }
.err { color: #C0392B; font-size: 14.5px; }
.check input[aria-invalid="true"] { outline: 2px solid #C0392B; outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192, 57, 43, .14); }

/* Pop-up notice (host.js): what is missing before a request can be sent. */
.notice { width: min(460px, calc(100% - 40px)); padding: 36px 32px 32px; border: 0; border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(18, 18, 18, .4); }
.notice::backdrop { background: rgba(18, 18, 18, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.notice[open] { animation: notice-in .25s var(--ease); }
@keyframes notice-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.notice h3 { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.notice ul { margin: 0 0 28px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.notice li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.notice li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--clay-2); transform: translateY(-3px); }
.notice .btn { width: 100%; }

.summary { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); }
.summary .mono { color: var(--on-dark-muted); }
.sum-when { font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -0.015em; }
.sum-when small { display: block; margin-top: 8px; font-size: 15.5px; font-weight: 400; letter-spacing: 0; color: var(--on-dark-muted); }
.lines { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.lines div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-variant-numeric: tabular-nums; }
.lines .total { border-bottom: 0; padding-top: 16px; font-size: 20px; font-weight: 400; }
.lines .disc { color: var(--moss-2); }
.due { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--clay); color: #fff; }
.due b { font-size: 24px; font-weight: 400; }
.summary .btn { width: 100%; }
.fine { color: var(--on-dark-muted); font-size: 13.5px; line-height: 1.5; }
.confirm { padding: 22px; border-radius: var(--r-sm); background: rgba(244,240,231,.08); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 10px; }
.confirm h3 { font-size: 20px; }
.ref { font-family: var(--label); color: var(--clay-2); font-size: 13px; letter-spacing: .08em; word-break: break-all; }

.price-grid { align-items: start; }
.rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 400; letter-spacing: -0.03em; line-height: .95; margin-left: -.035em; font-variant-numeric: lining-nums; }
.rate small { font-size: 18px; letter-spacing: 0; line-height: 1.2; color: var(--muted); font-weight: 400; }
.rate-note { margin: 14px 0 0; color: var(--muted); max-width: 420px; }
.terms a, .offer-terms a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.terms { margin: 36px 0 0; display: flex; flex-direction: column; }
.terms div { display: grid; grid-template-columns: minmax(0, 170px) 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.terms div:last-child { border-bottom: 1px solid var(--line); }
.terms dt { color: var(--muted); }
.terms dd { margin: 0; font-size: 16px; }
.hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 32px; }
.total-hours { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border: 1px dashed rgba(18,18,18,.22); border-radius: var(--r-sm); font-size: 16px; }
.offer .lede-sm + .lede-sm { margin-top: 16px; }
.hours div { padding: 18px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.hours span { color: var(--muted); font-size: 11px; }
.hours b { font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.cancel { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.cancel-row { display: grid; grid-template-columns: minmax(0, 170px) 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.cancel-row b { font-weight: 400; font-size: 17px; }
.cancel-row span { color: var(--muted); font-size: 16px; }

.faq-sec { align-items: start; }
.faq-sec > .section-head { display: block; grid-column: 1 / span 5; margin-bottom: 0; }
.faq-sec > .faq { grid-column: 7 / span 6; }
.faq { border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 24px 48px 24px 0; font-size: 19px; font-weight: 400; letter-spacing: -0.01em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; right: 4px; transform: translateY(-50%); color: var(--clay); font-size: 28px; line-height: 1; font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding: 0 48px 26px 0; }

/* ---------- contact ---------- */

.contact-grid { align-items: start; }
.register form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.register .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.register .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 15px; min-height: 1.4em; }
.form-msg.form-error { color: #C0392B; }
.register form.is-sent .field, .register form.is-sent .btn, .register form.is-sent .hp { display: none; }
.form-msg.form-success { display: flex; align-items: center; gap: 16px; padding: 28px; background: rgba(98, 111, 76, .1); border: 1px solid var(--moss); border-radius: var(--r); color: var(--ink); font-size: 20px; line-height: 1.45; min-height: 0; }
.form-msg.form-success::before { content: "✓"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--moss); color: #fff; font-size: 22px; font-weight: 700; }
.form-msg.form-success strong { color: var(--moss); font-weight: 400; }
.contact-aside { padding: 32px; border-radius: var(--r); background: var(--paper-2); font-size: 17px; }
.contact-aside .mono { display: block; margin-bottom: 12px; }
.contact-aside a { text-decoration: none; }
.maplink { margin: 16px 0 0; font-weight: 400; }
.maplink a { color: var(--clay); text-decoration: none; }
.maplink a:hover { text-decoration: underline; }

/* ---------- footer ---------- */

.foot { margin-top: 0; background: var(--ink); color: var(--on-dark); }
.foot-inner { padding: 88px 0 36px; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.foot-brand { grid-column: 1 / span 6; }
.foot-brand p { max-width: 14ch; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.06; letter-spacing: -0.02em; margin-left: -.03em; }
.foot-col { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 16px; }
.foot-col:nth-child(2) { grid-column: 8 / span 2; }
.foot-col:last-child { grid-column: span 3; }
.foot-label { color: var(--on-dark-muted); margin-bottom: 8px; }
.foot a { text-decoration: none; color: var(--on-dark); transition: color .2s; }
.foot a:hover { color: var(--clay-2); }
.foot-col p { color: var(--on-dark); line-height: 1.45; }
.foot-word { display: block; width: 100%; aspect-ratio: 204.46 / 33.51; margin: 96px 0 0; background: var(--on-dark); -webkit-mask: url("img/logo-wordmark.svg") center / contain no-repeat; mask: url("img/logo-wordmark.svg") center / contain no-repeat; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-family: var(--label); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- motion ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery img, .btn, .pg-grid img, .lb-stage img { transition: none; }
  .notice[open] { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  :root { --gutter: 28px; --section: 104px; }
  .nav { gap: 28px; }
  .nav nav { gap: 26px; }
  .city { grid-column: span 3; min-height: 300px; }
  .city.sf { grid-column: 1 / -1; min-height: 220px; }
}

@media (max-width: 900px) {
  :root { --section: 88px; --gap: 16px; }
  .section-head, .split, .science, .ask, .why, .closing, .loft-hero, .inc-grid, .price-grid, .contact-grid, .book-grid, .team-cols, .faq-sec, .offer { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .section-head { row-gap: 0; margin-bottom: 40px; }
  .section-head > *, .section-head > h2, .section-head > .lede-sm,
  .split > *, .science > *, .ask > *, .why > *, .closing > *, .loft-hero > *, .inc-grid > *, .price-grid > *, .contact-grid > *, .book-grid > *, .team-cols > *, .faq-sec > *, .offer > * { grid-column: 1 / -1 !important; }
  .section-head > .lede-sm { margin: 20px 0 0; }
  .why, .closing { row-gap: 28px; }
  .faq-sec > .section-head { margin-bottom: 0; }
  .offer { padding: 40px 0; }
  .offer > :first-child, .offer > :last-child { padding: 0 28px; }
  .uses, .stats { grid-template-columns: minmax(0, 1fr); }
  .use, .programme .use { min-height: 0; }
  .programme .use h3 { padding-top: 36px; }
  .stat { min-height: 200px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo-card { min-height: 0; padding: 32px 28px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid { columns: 2; column-gap: 12px; }
  .pg-grid li { margin-bottom: 12px; }
  .gallery li, .gallery li:nth-child(1) { grid-column: span 1; grid-row: auto; aspect-ratio: 3 / 2; }
  .gallery li:nth-child(1) { grid-column: span 2; }
  .gallery li:nth-child(6):last-child { grid-column: span 2; }
  .strip, .strip.five { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; }
  .strip > div { padding: 22px 16px 24px 0; }
  .strip > div:nth-child(n+3), .strip.five > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .strip.five > div:last-child { grid-column: 1 / -1; }
  .summary { position: static; }
  .nav-cta { display: none; }
  .loft-hero figure { aspect-ratio: 4 / 3; }
  .ask img { aspect-ratio: 4 / 3; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col:nth-child(2), .foot-col:last-child { grid-column: span 4; }
  .foot-word { margin-top: 64px; }
}

@media (max-width: 760px) {
  .lb-stage { inset: 56px 0 64px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; width: 44px; height: 44px; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .pg-chip { height: 36px; padding: 0 13px; font-size: 14px; }
  :root { --gutter: 20px; --section: 72px; --r: 16px; }
  body { font-size: 16.5px; }
  .hero-inner { padding-top: 176px; padding-bottom: 36px; min-height: 0; }
  .hero-bottom { margin-top: 36px; padding-top: 24px; }
  .page-hero .hero-inner { padding-top: 40px; padding-bottom: 56px; }
  .nav { flex-wrap: wrap; align-content: center; gap: 8px 14px; height: auto; padding-top: 20px; padding-bottom: 12px; }
  .logo { width: 152px; }
  .nav nav { order: 3; width: 100%; gap: 24px; }
  .register form, .row { grid-template-columns: minmax(0, 1fr); }
  .amen { grid-template-columns: minmax(0, 1fr); }
  .city { grid-column: span 6; min-height: 220px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .facts dd { text-align: left; }
  .person { grid-template-columns: 60px 1fr; gap: 16px; }
  .person img, .person .avatar { width: 60px; height: 60px; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding: 14px 26px; }
  .panel, .summary, .place, .contact-aside { padding: 24px 20px; }
  .terms div, .cancel-row, .offer-terms div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hours { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 18px; padding: 20px 40px 20px 0; }
  .faq p { padding-right: 0; }
  .foot-inner { padding-top: 64px; }
  .foot-col, .foot-col:nth-child(2), .foot-col:last-child { grid-column: 1 / -1; }
  .foot-word { margin-top: 48px; }
}

@media (max-width: 620px) {
  /* The ring's labels don't fit beside the circle on a phone: list them under it. */
  .ring { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .ring-circle { position: static; grid-column: 1 / -1; width: min(240px, 70%); margin: 0 auto 28px; }
  .ring-item, .ring-item.l { position: static; transform: none; flex-direction: row; white-space: normal; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 10.5px; line-height: 1.3; }
}

@media (max-width: 620px) {
  .gallery li:not(:nth-child(1)):not(:nth-child(6):last-child) figcaption { display: none; }
}

@media (max-width: 460px) {
  .strip, .strip.five { grid-template-columns: minmax(0, 1fr); }
  .strip > div + div { border-top: 1px solid var(--line); }
  .nav nav { gap: 20px; }
  .nav nav a { font-size: 14.5px; }
  .cal { gap: 3px; }
}
