/*
Theme Name: levon
Theme URI: https://levonhouse.com
Author: White Wolf Marketing
Author URI: https://whitewolfmarketing.com
Description: Standalone custom theme for LE VŌN HOUSE. Realizes the active Novamira design system "LE VŌN HOUSE": Slate ground, Sand type, Bronze rules, one Oxblood action per view, zero radius, one easing. No parent theme, no page builder.
Version: 1.8.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: levon
*/

/* ==========================================================================
   0. Tokens
   Every value comes from theme.json (printed by WordPress as --wp--preset-*
   and --wp--custom-*). The short aliases below are the names used in this file;
   the literal fallbacks keep the theme intact if global styles are ever disabled.
   ========================================================================== */
:root {
  --slate: var(--wp--preset--color--slate, #0A0B0C);
  --charcoal: var(--wp--preset--color--charcoal, #2A2B2D);
  --charcoal-hover: var(--wp--preset--color--charcoal-hover, #333436);
  --sand: var(--wp--preset--color--sand, #E3DCD1);
  --ash: var(--wp--preset--color--ash, #8A847D);
  --bronze: var(--wp--preset--color--bronze, #A97C5E);
  --bronze-hover: var(--wp--preset--color--bronze-hover, #C49A7B);
  --bronze-deep: var(--wp--preset--color--bronze-deep, #7A5236);
  --oxblood: var(--wp--preset--color--oxblood, #430F21);
  --oxblood-hover: var(--wp--preset--color--oxblood-hover, #6B1E38);
  --eucalyptus: var(--wp--preset--color--eucalyptus, #1D413D);
  --eucalyptus-hover: var(--wp--preset--color--eucalyptus-hover, #2E5E58);
  --ember-light: var(--wp--preset--color--ember-light, #D8654C);
  --hairline-color: var(--wp--preset--color--hairline, rgba(169, 124, 94, 0.2));
  --header-bg: var(--wp--preset--color--header, rgba(10, 11, 12, 0.92));

  --font-display: var(--wp--preset--font-family--display, "LEVON Display", "Marcellus", serif);
  --font-body: var(--wp--preset--font-family--body, "LEVON Body", "Inter", system-ui, sans-serif);
  --font-editorial: var(--wp--preset--font-family--editorial, "LEVON Editorial", "Newsreader", Georgia, serif);
  --font-light: var(--wp--preset--font-family--light, "LEVON Light", "Jost", sans-serif);

  --size-label: var(--wp--preset--font-size--label, 13px);
  --size-body-s: var(--wp--preset--font-size--body-s, 14px);
  --size-body: var(--wp--preset--font-size--body, 16px);
  --size-body-l: var(--wp--preset--font-size--body-l, 20px);
  --size-display-s: var(--wp--preset--font-size--display-s, 31px);
  --size-display-m: var(--wp--preset--font-size--display-m, 49px);
  --size-display-l: var(--wp--preset--font-size--display-l, 61px);
  --size-display-xl: var(--wp--preset--font-size--display-xl, 76px);

  --space-xs: var(--wp--preset--spacing--xs, 8px);
  --space-sm: var(--wp--preset--spacing--sm, 16px);
  --space-md: var(--wp--preset--spacing--md, 24px);
  --space-lg: var(--wp--preset--spacing--lg, 48px);
  --space-xl: var(--wp--preset--spacing--xl, 72px);
  --space-xxl: var(--wp--preset--spacing--xxl, 120px);

  --radius: var(--wp--custom--radius, 0px);
  --gutter: var(--wp--custom--gutter, 24px);
  --gutter-mobile: var(--wp--custom--gutter-mobile, 16px);
  --max-width: var(--wp--custom--max-width, 1280px);
  --section: var(--wp--custom--section-desktop, 120px);
  --section-mobile: var(--wp--custom--section-mobile, 72px);
  --header-h: var(--wp--custom--header-height, 88px);
  --button-h: var(--wp--custom--button-height, 48px);
  --hairline: var(--wp--custom--hairline, 1px solid rgba(169, 124, 94, 0.2));
  --focus-ring: var(--wp--custom--focus-ring, 2px solid #E3DCD1);
  --focus-offset: var(--wp--custom--focus-offset, 2px);

  --ease: var(--wp--custom--easing, cubic-bezier(0.22, 1, 0.36, 1));
  --t-standard: var(--wp--custom--duration--standard, 400ms);
  --t-page: var(--wp--custom--duration--page, 600ms);
  --t-hero: var(--wp--custom--duration--hero, 900ms);
  --t-heading: var(--wp--custom--duration--heading, 1200ms);
  --t-reduced: var(--wp--custom--duration--reduced, 200ms);

  --track-display-lg: var(--wp--custom--tracking--display-large, 0.06em);
  --track-display-sm: var(--wp--custom--tracking--display-small, 0.14em);
  --lead-display: var(--wp--custom--leading--display, 1.05);
  --lead-body: var(--wp--custom--leading--body, 1.5);
  --lead-editorial: var(--wp--custom--leading--editorial, 1.3);
  --measure-body: var(--wp--custom--measure--body, 68ch);
  --measure-display: var(--wp--custom--measure--display, 24ch);
  --macron-h: var(--wp--custom--macron--height, 2px);
  --macron-w: var(--wp--custom--macron--width, 60%);

  color-scheme: dark;
}

/* ==========================================================================
   1. Reset and base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; border-radius: var(--radius); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html, body { margin: 0; min-height: 100%; background: var(--slate); color: var(--sand); }
body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--lead-body);
  letter-spacing: 0;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd, fieldset, hr) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(fieldset) { padding: 0; border: 0; min-width: 0; }
:where(img, svg, video, picture) { display: block; max-width: 100%; height: auto; }
:where(button, input, select, textarea) { font: inherit; color: inherit; letter-spacing: inherit; }
:where(button) { background: none; border: 0; padding: 0; cursor: pointer; }
:where(a) { color: var(--bronze); text-decoration: none; transition: color var(--t-standard) var(--ease); }
:where(a:hover) { color: var(--bronze-hover); }
:where(hr) { border: 0; border-top: var(--hairline); }
::selection { background: var(--bronze); color: var(--slate); }

:focus { outline: none; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

.skip-link {
  position: absolute; left: var(--space-md); top: -100px; z-index: 1000;
  background: var(--oxblood); color: var(--sand); padding: 12px 20px;
  font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase;
  font-size: var(--size-label); letter-spacing: var(--track-display-sm); font-weight: 600;
}
.skip-link:focus { top: var(--space-md); outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ==========================================================================
   2. Type
   ========================================================================== */
.t-display, h1, h2, h3, h4, .price, .btn, .t-label, .eyebrow {
  font-family: var(--font-display);
  font-stretch: 125%;
  text-transform: uppercase;
  font-weight: 600;
  line-height: var(--lead-display);
  letter-spacing: var(--track-display-lg);
  text-align: left;
}
h1, h2, h3, h4 { max-width: var(--measure-display); text-wrap: balance; }
.t-display-xl, h1 { font-size: clamp(31px, 5.4vw, var(--size-display-xl)); line-height: 1.0; }
.t-display-l { font-size: clamp(28px, 4.4vw, var(--size-display-l)); line-height: 1.02; }
.t-display-m, h2 { font-size: clamp(26px, 3.5vw, var(--size-display-m)); }
.t-display-s, h3 { font-size: clamp(22px, 2.2vw, var(--size-display-s)); line-height: 1.1; }
h4 { font-size: 20px; line-height: 1.15; letter-spacing: var(--track-display-sm); }
.t-label, .eyebrow, .btn, .price small { font-size: var(--size-label); letter-spacing: var(--track-display-sm); line-height: 1.2; }
.t-display-400 { font-weight: 400; }

p, li, dd, dt, label, td, th, figcaption, blockquote { font-size: var(--size-body); line-height: var(--lead-body); }
p, blockquote, dd, .measure { max-width: var(--measure-body); }
.t-body-s, figcaption, small { font-size: var(--size-body-s); }
.t-body-l, .lede { font-size: var(--size-body-l); }
.t-body { font-size: var(--size-body); }
.t-ash, figcaption { color: var(--ash); }
.t-bronze { color: var(--bronze); }
.t-editorial, .pullquote {
  font-family: var(--font-body); font-style: normal; font-weight: 300;
  font-size: clamp(24px, 2.6vw, var(--size-display-s)); line-height: var(--lead-editorial);
  text-transform: none; letter-spacing: 0; max-width: var(--measure-body);
}
.t-light { font-family: var(--font-light); font-weight: 300; text-transform: none; letter-spacing: 0.04em; }
.t-light--regular { font-weight: 400; }
strong, b { font-weight: 600; }
em, i { font-style: italic; }

.prose > * + * { margin-top: var(--space-md); }
.prose h2, .prose h3 { margin-top: var(--space-xl); }
.prose h2 + *, .prose h3 + * { margin-top: var(--space-md); }
.prose ul, .prose ol { padding-left: 1.25em; max-width: var(--measure-body); }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: var(--space-xs); }
.prose a, .lede a { text-decoration: underline; text-decoration-color: var(--hairline-color); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose a:hover, .lede a:hover { text-decoration-color: currentColor; }
.prose blockquote { border-left: var(--macron-h) solid var(--bronze); padding-left: var(--space-md); }
.prose img, .prose figure { margin-top: var(--space-lg); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 12px 0; border-top: var(--hairline); }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--gutter); }
.section { padding-block: var(--section); }
.section--flush { padding-block: 0; }
.section--tight { padding-block: var(--space-xl); }
.section--rule { border-top: var(--hairline); }
.section__head { margin-bottom: var(--space-xl); }
.section__head .lede { margin-top: var(--space-md); }
.stack > * + * { margin-top: var(--space-md); }
.stack--lg > * + * { margin-top: var(--space-lg); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.site-main { display: block; }

/* Column helpers used by templates */
.col-1-6 { grid-column: 1 / span 6; } .col-7-12 { grid-column: 7 / span 6; }
.col-1-5 { grid-column: 1 / span 5; } .col-7-6 { grid-column: 7 / span 6; }
.col-1-7 { grid-column: 1 / span 7; } .col-8-5 { grid-column: 8 / span 5; }
.col-1-8 { grid-column: 1 / span 8; } .col-1-10 { grid-column: 1 / span 10; } .col-2-10 { grid-column: 2 / span 10; } .col-2-8 { grid-column: 2 / span 8; }
.col-1-4 { grid-column: 1 / span 4; } .col-5-4 { grid-column: 5 / span 4; } .col-9-4 { grid-column: 9 / span 4; }
.col-1-3 { grid-column: 1 / span 3; } .col-4-3 { grid-column: 4 / span 3; } .col-7-3 { grid-column: 7 / span 3; } .col-10-3 { grid-column: 10 / span 3; }
.col-full { grid-column: 1 / -1; }

/* The Macron Rule: 2px Bronze, 60% of the element it sits above, drawn left to right */
.macron { position: relative; padding-top: var(--space-md); --macron-scale: 1; }
.macron::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: var(--macron-w); height: var(--macron-h); background: var(--bronze);
  transform: scaleX(var(--macron-scale)); transform-origin: left center;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-standard) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--charcoal); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--sand); }
.brand:hover { color: var(--sand); }
.brand svg { width: 140px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: var(--space-lg); margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 40px; }
.site-nav__list a {
  white-space: nowrap;
  font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600;
  font-size: 15px; letter-spacing: var(--track-display-sm); line-height: 1.2;
  color: var(--sand); padding: 6px 0; position: relative;
}
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform var(--t-standard) var(--ease); }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { color: var(--sand); }
.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after, .site-nav__list .current_page_item > a::after { transform: scaleX(1); }

/* Mobile panel */
.nav-panel {
  position: fixed; inset: 0; z-index: 200; background: var(--slate); color: var(--sand);
  display: none; flex-direction: column; padding: var(--space-md) var(--gutter-mobile) var(--space-xl);
  overflow-y: auto;
}
.nav-panel[aria-hidden="false"] { display: flex; }
.nav-panel__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.nav-panel__list { margin-top: var(--space-xl); display: grid; gap: var(--space-md); }
.nav-panel__list a {
  font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600;
  font-size: var(--size-display-s); letter-spacing: var(--track-display-lg); line-height: 1.1; color: var(--sand);
  display: block; padding-block: var(--space-xs);
}
.nav-panel__cta { margin-top: auto; padding-top: var(--space-xl); }
body.nav-open { overflow: hidden; }

.site-nav .menu-toggle { display: none; }
@media (max-width: 1023px) {
  .site-nav__list { display: none; }
  .site-nav .menu-toggle { display: inline-flex; }
  .site-header .btn--primary { display: none; }
}

/* ==========================================================================
   5. Buttons and links
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--button-h); padding: 0 32px; white-space: nowrap; font-size: 15px !important;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color var(--t-standard) var(--ease), border-color var(--t-standard) var(--ease), color var(--t-standard) var(--ease);
}
.btn--primary { background: var(--oxblood); color: var(--sand); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--oxblood-hover); color: var(--sand); }
.btn--secondary { background: transparent; color: var(--sand); border-color: var(--hairline-color); }
.btn--secondary:hover { border-color: var(--bronze); color: var(--sand); }
.btn--water { background: var(--eucalyptus); color: var(--sand); }
.btn--water:hover { background: var(--eucalyptus-hover); color: var(--sand); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--charcoal); color: var(--ash); cursor: not-allowed; }
.btn--block { width: 100%; }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px; color: var(--bronze); min-height: 0; padding: 0; font-size: 15px !important;
  font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600;
  font-size: var(--size-label); letter-spacing: var(--track-display-sm); line-height: 1.2;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: color var(--t-standard) var(--ease), background-size var(--t-standard) var(--ease);
}
.btn-text:hover, .btn-text:focus-visible { color: var(--bronze-hover); background-size: 100% 1px; }
.btn-text--sand { color: var(--sand); }
.btn-text--sand:hover { color: var(--sand); }

.link { color: var(--bronze); text-decoration: underline; text-decoration-color: var(--hairline-color); text-underline-offset: 4px; }
.link:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   6. Components
   ========================================================================== */
/* Eyebrow: label in Bronze with the Macron Rule above */
.eyebrow { display: block; color: var(--bronze); }
.eyebrow.macron { padding-top: var(--space-sm); }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3, .eyebrow + .t-display { margin-top: var(--space-md); }

/* Card */
.card {
  position: relative; background: var(--charcoal); padding: var(--space-md);
  border: 1px solid transparent;
  transition: background-color var(--t-standard) var(--ease), border-color var(--t-standard) var(--ease);
}
.card:hover, .card:focus-within { background: var(--charcoal-hover); border-color: var(--hairline-color); }
.card > * + * { margin-top: var(--space-sm); }
.card__title { font-size: 20px; letter-spacing: var(--track-display-sm); line-height: 1.15; }
.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }

/* Tier card */
.tier { display: flex; flex-direction: column; background: var(--charcoal); padding: var(--space-lg) var(--space-md); border: 1px solid transparent; transition: background-color var(--t-standard) var(--ease), border-color var(--t-standard) var(--ease); }
.tier:hover { background: var(--charcoal-hover); border-color: var(--hairline-color); }
.tier .eyebrow { padding-top: 0; }
.tier .eyebrow::before { display: none; }
.price { font-size: clamp(var(--size-display-s), 4vw, var(--size-display-m)); font-weight: 400; margin-top: var(--space-md); }
/* Marcellus carries old-style figures only; numerals set in the light face for lining figures. */
.price, .cornerstone-count__number, .timeline__time, .facts__value, .principles__n { font-family: var(--font-light); font-weight: 400; letter-spacing: 0.04em; }
.price small { font-family: var(--font-display); letter-spacing: var(--track-display-sm); }
.price small { display: block; color: var(--ash); margin-top: var(--space-xs); font-weight: 600; }
.tier__list { margin-top: var(--space-lg); flex: 1; }
.tier__list li { padding-block: 12px; border-top: var(--hairline); font-size: var(--size-body); }
.tier__list li:last-child { border-bottom: var(--hairline); }
.tier .btn, .tier .btn-text { margin-top: var(--space-lg); align-self: flex-start; }
.tier--featured { border-color: var(--bronze); }

/* Zone card */
.zone { position: relative; display: block; color: var(--sand); }
.zone:hover { color: var(--sand); }
.zone__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.zone__media img { width: 100%; height: 100%; object-fit: cover; }
.zone__body { padding-top: var(--space-md); }
.zone__mark { width: 64px; height: 64px; color: var(--bronze); margin-bottom: 0; flex: none; }
.zone__head { display: flex; align-items: center; gap: var(--space-md); }
.zone__head .eyebrow { display: block; margin-bottom: 6px; }
.zone__mark svg { width: 100%; height: 100%; }
.zone__name { font-size: clamp(24px, 2.6vw, var(--size-display-s)); line-height: 1.1; }
.zone__name a { color: inherit; }
.zone__line { margin-top: var(--space-sm); color: var(--ash); }
.zone--water .zone__mark, .zone-page--water .zone__mark { color: var(--eucalyptus-hover); }
.cornerstone-count .price { font-size: clamp(var(--size-display-m), 5vw, var(--size-display-l)); }

/* Form field */
.field { display: block; }
.field + .field { margin-top: var(--space-md); }
.field__label { display: block; font-size: var(--size-body-s); color: var(--ash); margin-bottom: var(--space-xs); }
.field__input, .field input, .field select, .field textarea {
  width: 100%; min-height: var(--button-h); background: var(--charcoal); color: var(--sand);
  border: 1px solid var(--ash); padding: 12px 16px; appearance: none; -webkit-appearance: none;
  transition: border-color var(--t-standard) var(--ease), background-color var(--t-standard) var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ash); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand); outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--ember-light); }
.field__error { display: block; color: var(--ember-light); font-size: var(--size-body-s); margin-top: var(--space-xs); }
.field__hint { display: block; color: var(--ash); font-size: var(--size-body-s); margin-top: var(--space-xs); }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; margin-top: 2px; }
.field--check input:checked { background: var(--bronze); border-color: var(--bronze); }
.field--check .field__label { margin: 0; color: var(--sand); font-size: var(--size-body); }

/* Figure with wipe reveal */
.figure { position: relative; overflow: hidden; background: var(--charcoal); }
.figure img, .figure video { width: 100%; height: auto; }
.figure--cover img, .figure--cover video { height: 100%; object-fit: cover; }
.figure figcaption { margin-top: var(--space-sm); }
[data-wipe] { display: block; position: relative; overflow: hidden; --wipe: -101%; }
[data-wipe]::after { content: ""; position: absolute; inset: 0; background: var(--slate); transform: translateY(var(--wipe)); pointer-events: none; }

/* Gallery grid for lightbox */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.gallery__item { margin: 0; }
.gallery__item:nth-child(6n+1) { grid-column: span 7; }
.gallery__item:nth-child(6n+2) { grid-column: span 5; }
.gallery__item:nth-child(6n+3) { grid-column: span 4; }
.gallery__item:nth-child(6n+4) { grid-column: span 8; }
.gallery__item:nth-child(6n+5) { grid-column: span 6; }
.gallery__item:nth-child(6n+6) { grid-column: span 6; }
.gallery__link { display: block; color: inherit; }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: var(--slate); color: var(--sand); display: none; flex-direction: column; }
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--gutter); border-bottom: var(--hairline); }
.lightbox__count { color: var(--ash); font-size: var(--size-body-s); }
.lightbox__stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: var(--space-md) var(--gutter); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--gutter); border-top: var(--hairline); }
.lightbox__caption { color: var(--sand); font-size: var(--size-body-s); max-width: var(--measure-body); }
.lightbox__nav { display: flex; gap: var(--space-lg); flex: none; }

/* Hero */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; --hero-scale: 1.05; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--hero-scale)); transform-origin: center; }
.hero__media video { position: absolute; inset: 0; }
.hero__media video[hidden] { display: none; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; --scrim: 0.4; background: linear-gradient(to top, rgba(10, 11, 12, 1) 0%, rgba(10, 11, 12, 0.96) 22%, rgba(10, 11, 12, var(--scrim)) 62%, rgba(10, 11, 12, 0.12) 100%); }
.hero__content { position: relative; padding-block: var(--section) var(--space-xl); }
.hero h1 { font-size: clamp(34px, 5.4vw, var(--size-display-xl)); max-width: none; }
.hero__content .lede { margin-top: var(--space-md); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.hero--full { min-height: 100svh; }
.hero--70 { min-height: 70vh; }
.hero--top { align-items: flex-start; }
.hero--top .hero__scrim { background: linear-gradient(to bottom, rgba(10, 11, 12, 0.92) 0%, rgba(10, 11, 12, 0.7) 28%, rgba(10, 11, 12, 0.18) 60%, rgba(10, 11, 12, 0.12) 100%); }
.hero--top .hero__content { padding-block: var(--space-xl) var(--section); }
.hero--still .hero__media { --hero-scale: 1; }
.hero--still .hero__media img { transform: none; }
.hero__title { max-width: none; }
.hero__title--l { font-size: clamp(34px, 5.4vw, var(--size-display-xl)); }
.hero__title--xl { font-size: clamp(34px, 5.4vw, var(--size-display-xl)); }
.hero__line { display: block; }
.hero--video .hero__scrim { background: linear-gradient(to bottom, rgba(10, 11, 12, var(--scrim)) 0%, rgba(10, 11, 12, 0.7) 100%); }
.zone-hero .hero__media { --hero-scale: 1; }
.zone__mark--32 { width: 64px; height: 64px; }
.zone__mark--48 { width: 48px; height: 48px; margin-bottom: var(--space-md); }
.hero--plain { min-height: 0; align-items: flex-start; }
.hero--plain .hero__content { padding-block: var(--section) var(--space-xl); }

/* Heading line reveal wrappers (added by JS) */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > .line__inner { display: block; will-change: transform; }

/* Page header */
.page-head { padding-block: var(--section) var(--space-xl); border-bottom: var(--hairline); }
.page-head h1 { font-size: clamp(34px, 5.4vw, var(--size-display-xl)); }
.page-head .lede { margin-top: var(--space-md); }
.entry-meta { color: var(--ash); font-size: var(--size-body-s); margin-top: var(--space-sm); }
.post-list { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.post-list > * { grid-column: span 6; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .card__title a { color: inherit; }
.pagination { display: flex; gap: var(--space-md); margin-top: var(--space-xl); }
.pagination .page-numbers { color: var(--bronze); font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-size: var(--size-label); letter-spacing: var(--track-display-sm); }
.pagination .page-numbers.current { color: var(--sand); }

/* Manifesto / pull quote block */
.pullquote cite { display: block; margin-top: var(--space-md); font-family: var(--font-body); font-style: normal; font-size: var(--size-body-s); color: var(--ash); }

/* Definition rows */
.rows { border-top: var(--hairline); }
.rows__row { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); padding-block: var(--space-md); border-bottom: var(--hairline); }
.rows__row dt { color: var(--ash); font-size: var(--size-body-s); }

/* Swatches and type specimens (styleguide) */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--gutter); }
.swatch { border: var(--hairline); }
.swatch__chip { height: 96px; }
.swatch__meta { padding: 12px 14px; font-size: var(--size-body-s); color: var(--ash); }
.swatch__meta strong { display: block; color: var(--sand); font-weight: 500; }
.specimen { border-top: var(--hairline); padding-block: var(--space-md); display: grid; grid-template-columns: 180px 1fr; gap: var(--gutter); align-items: baseline; }
.specimen__meta { color: var(--ash); font-size: var(--size-body-s); }
.specimen > :last-child { max-width: none; }


/* ==========================================================================
   6b. Page sections (front page, zones, schedule, events)
   ========================================================================== */
.manifesto__body { margin-top: var(--space-lg); max-width: var(--measure-body); }
.manifesto__body p { font-family: var(--font-body); font-weight: 300; font-size: var(--size-body-l); line-height: 1.7; font-style: normal; max-width: var(--measure-body); }
.manifesto__body p + p { margin-top: var(--space-md); }
.eyebrow.macron + h2, h2.eyebrow + * { margin-top: var(--space-md); }
h2.eyebrow { font-size: var(--size-label); letter-spacing: var(--track-display-sm); line-height: 1.2; max-width: none; }
.zones-grid .zone { color: var(--sand); }
.zones-grid .zone .eyebrow { display: block; margin-bottom: var(--space-xs); }
.zones-grid .zone__mark { margin-bottom: 0; }

/* Timeline: five moments on one hairline track */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); border-top: var(--hairline); }
.timeline__item { padding-top: var(--space-md); position: relative; }
.timeline__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 24px; height: 2px; background: var(--bronze); }
.timeline__time { display: block; color: var(--bronze); }
.timeline__title { margin-top: var(--space-sm); font-size: clamp(22px, 1.75vw, var(--size-display-s)); }
.timeline__line { margin-top: var(--space-sm); color: var(--ash); font-size: var(--size-body); }

/* Tiers row on the front page */
.tiers-row .tier .eyebrow { padding-top: 0; }
.tiers-foot { margin-top: var(--space-lg); display: grid; gap: var(--space-md); }
.tiers-foot__daypass { color: var(--ash); }

/* Bands */
.band--charcoal { background: var(--charcoal); }
.band--charcoal .tier, .band--charcoal .card { background: var(--slate); }
.band__action { margin-top: var(--space-lg); }
.band h2 { font-size: clamp(26px, 2.9vw, 42px); }
h2 + .lede, h1 + .lede { margin-top: var(--space-md); }
.band__count { align-self: end; }
.band--charcoal .price small { color: var(--ash); }

/* Where */
.where__body { margin-top: var(--space-md); }
.where__rows { margin-top: var(--space-lg); }
.where__photo { align-self: stretch; margin: 0; min-height: 520px; }
.where__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Zone page */
.zone-description { margin-top: var(--space-md); }
.zone-disclosure { margin-top: var(--space-md); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-lg); }
.facts__item { border-top: var(--hairline); padding-top: var(--space-sm); }
.facts__item dt { color: var(--bronze); }
.facts__value { margin-top: var(--space-xs); }
.steps { counter-reset: step; }
.steps__item { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-sm); padding-block: var(--space-sm); border-top: var(--hairline); }
.steps__item:last-child { border-bottom: var(--hairline); }
.steps__safety { margin-top: var(--space-md); }
.gallery--two .gallery__item { grid-column: span 6 !important; }
.class-list { border-top: var(--hairline); }
.class-list__row { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--hairline); }
.class-list__name { color: var(--sand); font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600; font-size: var(--size-label); letter-spacing: var(--track-display-sm); }
.class-list__name:hover { color: var(--bronze-hover); }
.next-zone { display: block; color: var(--sand); border-top: var(--hairline); border-bottom: var(--hairline); background: var(--slate); transition: background-color var(--t-standard) var(--ease); }
.next-zone:hover { background: var(--charcoal); color: var(--sand); }
.next-zone__inner { display: flex; align-items: center; gap: var(--space-lg); padding-block: var(--space-xl); }
.next-zone__label { color: var(--bronze); }
.next-zone__mark { margin: 0; color: var(--bronze); flex: none; }
.next-zone--water .next-zone__mark { color: var(--eucalyptus-hover); }
.next-zone__name { margin: 0; }

/* The Baths: Eucalyptus for the sub-mark, the facts values and the hairlines */
.zone-page--water { --hairline-color: rgba(46, 94, 88, 0.6); --hairline: 1px solid rgba(46, 94, 88, 0.6); }
.zone-page--water .zone__mark, .zone-page--water .facts__value, .zone-page--water .timeline__item::before { color: var(--eucalyptus-hover); }

/* Schedule table */
.schedule-group + .schedule-group { margin-top: var(--space-xl); }
.schedule-group__title { margin-bottom: var(--space-md); }
.schedule { width: 100%; border-collapse: collapse; }
.schedule th { text-align: left; font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600; font-size: var(--size-label); letter-spacing: var(--track-display-sm); color: var(--bronze); padding: 12px 0; border-bottom: var(--hairline); }
.schedule td { padding: 16px 0; border-bottom: var(--hairline); vertical-align: top; }
.schedule__name { color: var(--sand); font-weight: 500; }
.schedule__name:hover { color: var(--bronze-hover); }
.schedule__format { display: block; }

/* Event cards */
.event-card__title { margin-top: var(--space-sm); }
.event-card__title a { color: var(--sand); }
.event-card__title a:hover { color: var(--bronze-hover); }
.event-card__foot { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-md); }

@media (max-width: 1023px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; }
  .timeline__item { border-top: var(--hairline); }
  .facts { grid-template-columns: 1fr; }
  .gallery--two .gallery__item { grid-column: span 12 !important; }
  .schedule thead { display: none; }
  .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
  .schedule tr { padding: var(--space-md) 0; border-bottom: var(--hairline); }
  .schedule td { padding: 4px 0; border: 0; }
  .schedule td::before { content: attr(data-label); display: block; font-size: var(--size-body-s); color: var(--ash); }
  .next-zone__inner { flex-wrap: wrap; gap: var(--space-sm); }
}


/* ==========================================================================
   6c. Memberships, About, Join, Gallery, 404
   ========================================================================== */
.col-3 { grid-column: span 3; }
h1.eyebrow { font-size: var(--size-label); letter-spacing: var(--track-display-sm); line-height: 1.2; max-width: none; }
h1.eyebrow + * { margin-top: var(--space-md); }
.pending-label { display: inline-block; margin-top: var(--space-sm); border: var(--hairline); padding: 6px 10px; }
.tier__fee { margin-top: var(--space-sm); }
.tier__line { max-width: var(--measure-body); }
.compare { margin-top: var(--space-xl); overflow-x: auto; }
.compare__table { width: 100%; border-collapse: collapse; }
.compare__table thead th { background: var(--charcoal); color: var(--sand); text-align: left; padding: 14px 16px; font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600; font-size: var(--size-label); letter-spacing: var(--track-display-sm); }
.compare__table tbody th { text-align: left; color: var(--ash); font-weight: 400; padding: 14px 16px 14px 0; border-bottom: var(--hairline); width: 24%; font-size: var(--size-body); }
.compare__table td { padding: 14px 16px; border-bottom: var(--hairline); vertical-align: top; }
.benefits { margin-top: var(--space-lg); }
.accordion { border-top: var(--hairline); }
.accordion__item { border-bottom: var(--hairline); }
.accordion__q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) 0; cursor: pointer; list-style: none; font-size: var(--size-body-l); color: var(--sand); }
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q::marker { content: ""; }
.accordion__plus { position: relative; flex: none; width: 16px; height: 16px; transition: transform var(--t-standard) var(--ease); }
.accordion__plus::before, .accordion__plus::after { content: ""; position: absolute; background: var(--bronze); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.accordion__plus::before { width: 16px; height: 2px; }
.accordion__plus::after { width: 2px; height: 16px; }
.accordion__item[open] .accordion__plus { transform: rotate(45deg); }
.accordion__a { padding: 0 0 var(--space-md); }
.accordion__a p { max-width: var(--measure-body); }
.principles { display: grid; gap: 0; border-top: var(--hairline); }
.principles__item { display: grid; grid-template-columns: 64px 1fr; column-gap: var(--gutter); padding-block: var(--space-md); border-bottom: var(--hairline); align-items: baseline; }
.principles__n { padding-top: 6px; }
.principles__line { grid-column: 2; margin-top: var(--space-xs); color: var(--ash); }
.science__item + .science__item { margin-top: var(--space-lg); }
.science__item h3 { font-size: 20px; letter-spacing: var(--track-display-sm); }
.science__item p { margin-top: var(--space-sm); }
.science__item .pending-label { margin-top: var(--space-sm); }
.science__disclaimer { margin-top: var(--space-xl); }
.photo-pending { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: var(--charcoal); border: var(--hairline); }
.tier-select__card { display: block; position: relative; height: 100%; padding: var(--space-md); background: var(--charcoal); border: 1px solid transparent; cursor: pointer; transition: border-color var(--t-standard) var(--ease), background-color var(--t-standard) var(--ease); }
.tier-select__card:hover { background: var(--charcoal-hover); }
.tier-select__card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tier-select__card:has(input:checked) { border-color: var(--bronze); }
.tier-select__card:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.tier-select__card--featured { border-color: var(--hairline-color); }
.tier-select__name { display: block; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: var(--track-display-sm); line-height: 1.15; }
.tier-select__line { display: block; margin-top: var(--space-xs); }
.tier-select__count { display: block; margin-top: var(--space-md); }
.tier-select__count .price { font-size: var(--size-display-s); }
.form-panel { max-width: 560px; margin-top: var(--space-xl); background: var(--charcoal); padding: var(--space-lg) var(--space-md); border: var(--hairline); }
.form-panel--flush { margin-top: 0; }
.form-panel__placeholder { margin-top: var(--space-sm); color: var(--ash); font-family: var(--font-body); }
.not-found { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.not-found__inner { display: grid; gap: var(--space-lg); justify-items: start; padding-block: var(--space-xl); }
.not-found__mark { width: 120px; color: var(--sand); }
@media (max-width: 1023px) { .col-3 { grid-column: span 6; } }
@media (max-width: 767px) {
  .compare__table thead { display: none; }
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table td, .compare__table tbody th { display: block; width: 100%; }
  .compare__table tr { padding-block: var(--space-sm); border-bottom: var(--hairline); }
  .compare__table tbody th { border: 0; padding: 0 0 4px; color: var(--bronze); font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600; font-size: var(--size-label); letter-spacing: var(--track-display-sm); }
  .compare__table td { border: 0; padding: 4px 0; }
  .compare__table td::before { content: attr(data-label) ": "; color: var(--ash); }
  .principles__item { grid-template-columns: 48px 1fr; }
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer { border-top: var(--hairline); padding-block: var(--space-xl) var(--space-lg); }
.site-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.site-footer__col { grid-column: span 3; }
.site-footer__lockup svg { width: 230px; max-width: 100%; height: auto; color: var(--sand); }
.site-footer__tagline { margin-top: var(--space-md); color: var(--ash); }
.site-footer__col .t-label { color: var(--bronze); margin-bottom: var(--space-sm); display: block; }
.site-footer__list { display: grid; gap: 10px; }
.site-footer__list a { color: var(--sand); }
.site-footer__list a:hover { color: var(--bronze-hover); }
.site-footer__placeholder { color: var(--ash); }
.site-footer__seal { margin: var(--space-xl) auto var(--space-md); width: 96px; color: var(--sand); }
.site-footer__seal svg { width: 96px; height: 96px; }
.site-footer__legal { text-align: center; color: var(--ash); font-size: var(--size-body-s); }
.site-footer__legal p { margin-inline: auto; }
.site-footer__legal p + p { margin-top: var(--space-xs); }

/* ==========================================================================
   8. Motion
   The JS layer runs only under prefers-reduced-motion: no-preference.
   No-JS renders everything visible; reduced motion collapses to a 200ms fade.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(16px); }
  html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity var(--t-standard) var(--ease), transform var(--t-standard) var(--ease); }
  html.motion h1:not([data-split]), html.motion h2:not([data-split]) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 0; transition: opacity var(--t-reduced) linear; }
  html.js [data-reveal].is-in { opacity: 1; }
  .btn, .btn-text, .card, .tier, a, .site-header { transition-duration: var(--t-reduced); transition-timing-function: linear; }
  .hero__media video { display: none; }
  .hero__media img { display: block; transform: none; }
  .macron::before { transform: none; }
  [data-wipe]::after { display: none; }
}

/* Lantern (off by default; enabled by the LANTERN constant in levon.js) */
.lantern { position: fixed; inset: 0; z-index: 50; pointer-events: none; --lx: 50vw; --ly: 50vh;
  background: radial-gradient(600px circle at var(--lx) var(--ly), rgba(169, 124, 94, 0.07), transparent 60%); }

/* ==========================================================================
   6d. Notice strip, photo bands, rooms grid
   ========================================================================== */
.notice-strip { background: var(--oxblood); color: var(--sand); }
.notice-strip__row { display: flex; align-items: center; justify-content: center; gap: var(--space-md); min-height: 44px; position: relative; }
.notice-strip__link { color: var(--sand); font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; font-weight: 600; font-size: var(--size-label); letter-spacing: var(--track-display-sm); text-decoration: none; padding-block: 12px; }
.notice-strip__link:hover, .notice-strip__link:focus-visible { color: var(--sand); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.notice-strip__close { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); color: var(--sand); font-size: var(--size-label); }
.notice-strip__close:hover { color: var(--sand); }
.strip-off .notice-strip { display: none; }
.page-head__statement { margin-top: var(--space-md); }
.manifesto__photo { align-self: stretch; margin-top: var(--space-xl); aspect-ratio: auto; min-height: 640px; }
.photo-strip { margin-top: var(--space-xl); }
.photo-band { margin: 0; position: relative; overflow: hidden; background: var(--charcoal); }
.photo-band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-band--tall { aspect-ratio: 4 / 5; }
.photo-band--wide { aspect-ratio: 16 / 9; }
.photo-band--square { aspect-ratio: 1 / 1; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-sm) var(--space-md); background: var(--slate); color: var(--ash); font-size: var(--size-body-s); }
.seal-panel { background: var(--charcoal); border: var(--hairline); display: flex; align-items: center; justify-content: center; min-height: 100%; padding: var(--space-xl); }
.seal-panel__mark { width: min(260px, 50%); color: var(--bronze); }
.seal-panel__mark svg { width: 100%; height: auto; display: block; }
.rooms { margin-top: var(--space-xl); }
.rooms__head { margin-bottom: var(--space-lg); }
.rooms__head p { max-width: var(--measure-body); margin-top: var(--space-md); }
.room { display: block; }
.room__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.room__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room__name { display: block; margin-top: var(--space-sm); }
.room__line { margin-top: 4px; color: var(--ash); font-size: var(--size-body-s); }
@media (max-width: 1023px) { .notice-strip__row { justify-content: flex-start; padding-right: 72px; } .rooms .col-1-4, .rooms .col-5-4, .rooms .col-9-4 { grid-column: span 6; } }
@media (max-width: 767px) { .notice-strip__link { font-size: 11px; } }


/* Glass surfaces (replace the flat Charcoal panels; Sharissa 2026-10-27) */
:root { --glass: rgba(227, 220, 209, 0.045); --glass-hover: rgba(227, 220, 209, 0.085); --glass-border: rgba(169, 124, 94, 0.28); --glass-border-hover: rgba(169, 124, 94, 0.65); --glass-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(227, 220, 209, 0.08); }
.glass, .tier, .card, .form-panel, .tier-select__card, .seal-panel, .compare__table thead th, .field__input, .field input, .field select, .field textarea, .photo-pending {
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(227, 220, 209, 0.06);
  transition: background-color var(--t-standard) var(--ease), border-color var(--t-standard) var(--ease), transform var(--t-standard) var(--ease), box-shadow var(--t-standard) var(--ease);
}
.tier:hover, .card:hover, .card:focus-within, .tier-select__card:hover, .tier-select__card:has(input:checked), .seal-panel:hover {
  background: var(--glass-hover); border-color: var(--glass-border-hover); transform: translateY(-4px); box-shadow: var(--glass-shadow);
}
.tier--featured, .tier-select__card--featured { border-color: var(--glass-border-hover); }
.band--charcoal { background: var(--glass); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.band--charcoal .tier, .band--charcoal .card { background: var(--glass); }
.compare__table thead th { -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-bottom: 1px solid var(--glass-border); }
.field__input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--glass-border-hover); background: var(--glass-hover); }
.zone__media, .room__media, .photo-band, .figure { background: rgba(227, 220, 209, 0.03); }
.notice-strip, .site-header { background-color: initial; }
.site-header { background: var(--header-bg); }
.notice-strip { background: var(--oxblood); }
@media (prefers-reduced-motion: reduce) { .tier:hover, .card:hover, .tier-select__card:hover, .seal-panel:hover { transform: none; } }

/* Membership feature matrix and the VIP signup */
.tiers-row--matrix { margin-top: var(--space-xl); align-items: stretch; }
.tier--matrix { height: 100%; padding: var(--space-lg) var(--space-lg) var(--space-lg); position: relative; }
.tier__flag { position: absolute; top: 0; right: 0; background: var(--bronze); color: var(--slate); padding: 8px 14px; font-size: 11px; }
.price--xl { font-size: clamp(44px, 4.6vw, 64px); line-height: 1; }
.price__per { display: inline-block; margin-left: 10px; font-family: var(--font-body); font-size: var(--size-body-s); color: var(--ash); letter-spacing: 0; vertical-align: baseline; }
.features { list-style: none; margin: var(--space-lg) 0 var(--space-lg); padding: 0; border-top: var(--hairline); flex: 1 1 auto; }
.features__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: var(--hairline); font-size: var(--size-body); line-height: 1.45; }
.features__mark { flex: none; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; color: var(--bronze); font-size: 15px; border: 1px solid var(--glass-border); margin-top: 1px; }
.features__item--off { color: var(--ash); }
.features__item--off .features__mark { color: var(--ash); border-color: transparent; }
.features__value { display: block; color: var(--bronze-hover); font-size: var(--size-body-s); margin-top: 2px; }
.tier--matrix .btn--block { width: 100%; margin-top: auto; }
.vip__line { margin-top: var(--space-sm); }
.vip__form .frm_forms { max-width: 560px; }
.vip__form .frm_form_title, .vip__form .frm_description { display: none; }
.vip__form .frm_form_field { margin-bottom: var(--space-sm); }
.vip__form .frm_primary_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vip__form input[type="text"], .vip__form input[type="email"] { width: 100%; min-height: var(--button-h); background: var(--glass); color: var(--sand); border: 1px solid var(--glass-border); padding: 12px 16px; font: inherit; font-size: var(--size-body); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.vip__form input:focus { outline: 2px solid var(--sand); outline-offset: 2px; border-color: var(--glass-border-hover); }
.vip__form input::placeholder { color: var(--ash); }
.vip__form .frm_submit { margin-top: var(--space-sm); }
.vip__form .frm_submit button, .vip__form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: var(--button-h); padding: 0 32px; background: var(--oxblood); color: var(--sand); border: 1px solid transparent; cursor: pointer; font-family: var(--font-display); text-transform: uppercase; font-size: 15px; letter-spacing: var(--track-display-sm); transition: background-color var(--t-standard) var(--ease); }
.vip__form .frm_submit button:hover { background: var(--oxblood-hover); }
.vip__form .frm_error, .vip__form .frm_error_style { color: var(--ember, #D8654C); font-size: var(--size-body-s); margin-top: 6px; }
.vip__form .frm_message { padding: var(--space-md); border: 1px solid var(--glass-border-hover); background: var(--glass); }
.vip__form .frm_message p { margin: 0; }
.vip--compact .vip__form { margin-top: var(--space-md); }
/* Formidable ships its own theme with high specificity; these win. */
.vip__form .with_frm_style input[type="text"], .vip__form .with_frm_style input[type="email"], .vip__form .frm_forms input[type="text"], .vip__form .frm_forms input[type="email"] { background: var(--glass) !important; color: var(--sand) !important; border: 1px solid var(--glass-border) !important; border-radius: 0 !important; box-shadow: inset 0 1px 0 rgba(227, 220, 209, 0.06) !important; padding: 12px 16px !important; min-height: var(--button-h) !important; font-family: var(--font-body) !important; font-size: var(--size-body) !important; }
.vip__form .with_frm_style input:focus { border-color: var(--glass-border-hover) !important; background: var(--glass-hover) !important; box-shadow: none !important; }
.vip__form .with_frm_style input::placeholder { color: var(--ash) !important; opacity: 1 !important; }
.vip__form .with_frm_style .frm_submit button, .vip__form .frm_forms .frm_button_submit { background: var(--oxblood) !important; color: var(--sand) !important; border: 1px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; font-family: var(--font-display) !important; text-transform: uppercase !important; font-size: 15px !important; letter-spacing: var(--track-display-sm) !important; padding: 0 32px !important; min-height: var(--button-h) !important; font-weight: 400 !important; }
.vip__form .with_frm_style .frm_submit button:hover { background: var(--oxblood-hover) !important; }
.vip__form .with_frm_style .frm_error, .vip__form .with_frm_style .frm_error_style { background: transparent !important; border: 0 !important; color: #D8654C !important; padding: 0 !important; }
.vip__form .with_frm_style .frm_message { background: var(--glass) !important; border: 1px solid var(--glass-border-hover) !important; color: var(--sand) !important; border-radius: 0 !important; }
@media (max-width: 1023px) { .tiers-row--matrix .col-1-4, .tiers-row--matrix .col-5-4, .tiers-row--matrix .col-9-4 { grid-column: 1 / -1; } }

/* ==========================================================================
   9. Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .site-footer__col { grid-column: span 6; }
  .post-list > * { grid-column: span 12; }
}
@media (max-width: 767px) {
  :root { --gutter: var(--gutter-mobile); --section: var(--section-mobile); }
  .grid > [class*="col-"] { grid-column: 1 / -1; }
  .site-footer__col { grid-column: span 12; }
  .gallery__item { grid-column: span 12 !important; }
  .specimen { grid-template-columns: 1fr; }
  .rows__row { grid-template-columns: 1fr; gap: var(--space-xs); }
  .hero__content { padding-block: var(--space-xl); }
  .btn { white-space: normal; text-align: center; padding-block: 12px; }
  .lightbox__foot { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   10. WordPress specifics
   ========================================================================== */
.alignwide, .alignfull { max-width: none; }
.wp-block-image img { height: auto; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .nav-panel, .admin-bar .lightbox { top: var(--wp-admin--admin-bar--height, 32px); }
