/* Local fonts. Sections follow the cinema sequence, adapted for the rug shop. */

/* ---------- fonts ---------- */
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- design tokens ---------- */
:root {
  /* ground and surfaces: near-black, very slightly warm */
  --bg: #070708;
  --bg-2: #0b0b0d;
  --surface: #101012;
  --surface-2: #161619;
  /* ink */
  --ink: #f2efe9;
  --ink-2: rgba(242, 239, 233, 0.72);
  --ink-3: rgba(242, 239, 233, 0.56);
  --line: rgba(242, 239, 233, 0.09);
  --line-2: rgba(242, 239, 233, 0.17);
  --line-3: rgba(242, 239, 233, 0.32);
  /* one accent: champagne. RGB triplet so canvas scenes can read it */
  --accent-rgb: 207, 185, 138;
  --accent: rgb(var(--accent-rgb));
  --danger: #e8a08f;
  /* type */
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.9rem, 8.2vw, 6.6rem);
  --fs-hero-lead: clamp(1rem, 1.4vw, 1.15rem);
  --fs-display: clamp(2.15rem, 1.25rem + 3.5vw, 4.6rem);
  --fs-h2: clamp(2.1rem, 1.35rem + 2.5vw, 3.9rem);
  --fs-h3: clamp(1.65rem, 1.25rem + 1.3vw, 2.5rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  /* layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --space-section: clamp(80px, 11vw, 176px);
  --header-h: 128px;
  /* radius scale: buttons and chips are pills, fields 12, panels 20, media and cards 28 */
  --r-field: 12px;
  --r-panel: 20px;
  --r-card: 28px;
  /* depth */
  --shadow-panel: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  --shadow-float: 0 18px 50px -18px rgba(0, 0, 0, 0.8);
  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 140ms;
  --t-ui: 200ms;
  --t-reveal: 720ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.has-dialog { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: rgba(var(--accent-rgb), 0.34); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 8px); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: var(--fs-sm); font-weight: 500;
  transform: translateY(-160%); transition: transform var(--t-ui) var(--ease-out);
}
.skip:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--space-section); }

/* ---------- type ---------- */
.serif, .display, .h2, .h3 { font-family: var(--serif); font-weight: 400; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.032em; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.028em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.display em, .h2 em, .h3 em { font-style: italic; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }
.eyebrow {
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-2);
}
.meta { font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- icons (Lucide grammar, hairline) ---------- */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 22px; height: 22px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.005em; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease, border-color var(--t-ui) ease, color var(--t-ui) ease, box-shadow var(--t-ui) ease, opacity var(--t-ui) ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 1.9rem; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 1.15rem; font-size: 0.875rem; }
.btn .ic-tail { transition: transform var(--t-ui) var(--ease-out); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

/* Glass pill (signature): dark translucent interior + 1px gradient rim + blur.
   The rim is a second background layer clipped to the border box. */
.btn-glass {
  color: var(--ink);
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(26, 26, 30, 0.78), rgba(14, 14, 17, 0.66)),
    linear-gradient(170deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.10) 28%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.10) 72%, rgba(255,255,255,0.38) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px -12px rgba(0, 0, 0, 0.6);
}
/* Glowing CTA: the glass pill with a warm halo. Use once or twice per page. */
.btn-glow { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 1px rgba(var(--accent-rgb), 0.16), 0 12px 44px -10px rgba(var(--accent-rgb), 0.42); }
.btn-ghost { color: var(--ink-2); border: 1px solid var(--line-2); background: transparent; }
.btn-plain { min-height: 44px; padding: 0; color: var(--ink); gap: 0.5rem; }
.btn-plain .label { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  .btn-glass:hover {
    background-image:
      linear-gradient(rgba(38, 38, 43, 0.82), rgba(20, 20, 24, 0.7)),
      linear-gradient(170deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.14) 28%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.14) 72%, rgba(255,255,255,0.5) 100%);
  }
  .btn-glow:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 0 1px rgba(var(--accent-rgb), 0.26), 0 16px 56px -10px rgba(var(--accent-rgb), 0.55); }
  .btn-ghost:hover { color: var(--ink); border-color: var(--line-3); background: rgba(255,255,255,0.03); }
  .btn:hover .ic-tail { transform: translateX(3px); }
  .btn-plain:hover { color: var(--accent); }
}
/* loading state: label swaps, a slow light sweeps the pill */
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.14) 50%, transparent 80%) -100% 0 / 60% 100% no-repeat;
  animation: sweep 1.1s var(--ease-in-out) infinite;
}
@keyframes sweep { to { background-position: 220% 0; } }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: transform var(--t-press) var(--ease-out), border-color var(--t-ui) ease, background-color var(--t-ui) ease;
}
.icon-btn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { border-color: var(--line-3); background: rgba(255,255,255,0.04); } }

/* ---------- header: ivory editorial nameplate ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #f3eee6; color: #1c1916;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.mast-top {
  position: relative; display: grid; place-items: center;
  min-height: 78px; padding: 1.35rem var(--gutter) 0.7rem;
}
.site-header .wordmark, .menu .wordmark {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.15rem, 3.1vw, 2.85rem);
  line-height: 1; letter-spacing: 0.14em; color: #1c1916;
}
.mast-cart {
  position: absolute; right: max(12px, var(--gutter)); top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.4rem;
  min-width: 44px; min-height: 44px; color: #1c1916;
}
.mast-cart .ic { width: 22px; height: 22px; stroke-width: 1.25; }
.mast-cart .cart-count {
  position: static; min-width: 0.7em; font-family: var(--serif); font-size: 1.05rem;
  line-height: 1; color: #1c1916;
}
.mast-toggle { display: none; }
.mast-nav { margin-inline: var(--gutter); border-top: 1px solid rgba(28, 25, 22, 0.55); }
.mast-nav ul {
  display: flex; justify-content: center; align-items: baseline; flex-wrap: nowrap;
  gap: clamp(0.85rem, 2.2vw, 2.15rem); list-style: none;
  padding: 0.72rem 0 0.85rem;
}
.mast-nav a {
  font-family: var(--serif); font-style: italic; font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  line-height: 1.2; letter-spacing: 0.01em; color: rgba(28, 25, 22, 0.72); white-space: nowrap;
}
.mast-nav a[aria-current="page"] { color: #1c1916; text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .mast-nav a:hover { color: #1c1916; } }
.site-header a:focus-visible, .site-header button:focus-visible,
.menu a:focus-visible, .menu button:focus-visible {
  outline: 1px solid rgb(var(--accent-rgb)); outline-offset: 4px; border-radius: 0;
}
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .mast-nav { display: none; }
  .mast-top {
    display: flex; align-items: center; justify-content: flex-start;
    min-height: 64px; height: var(--header-h); padding: 0 12px 0 16px;
  }
  .site-header .wordmark { font-size: 1.45rem; letter-spacing: 0.12em; }
  .mast-cart { position: static; transform: none; margin-left: auto; }
  .mast-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: 0.15rem; color: #1c1916;
  }
  .mast-toggle .ic { width: 22px; height: 22px; stroke-width: 1.25; }
}

/* ---------- hero ----------
   Centered type over a procedural ribbon backdrop: headline, one lead, one
   glass pill. No photograph, no eyebrow, no second button. The headline sits
   in the optical middle of the first screen with generous air above it. */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero-visual { position: absolute; inset: 0; z-index: -1; }
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scrim { position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(to top, rgba(7,7,8,0.96), rgba(7,7,8,0.55) 45%, rgba(7,7,8,0)); }
.hero-content {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-block: calc(var(--header-h) + 7.5rem) 9rem;
}
.hero-title { max-width: 11.2em; font-family: var(--serif); font-weight: 400; font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.035em; font-kerning: normal; }
.display .line { display: block; }
@media (min-width: 1024px) { .display .line { white-space: nowrap; } }
.hero-title em { font-style: italic; padding-right: 0.04em; }
.hero-lead { margin-top: 2rem; max-width: 40rem; font-size: var(--fs-hero-lead); line-height: 1.6; color: rgba(242,239,233,0.88); text-wrap: pretty; }
.hero-actions { margin-top: 2.9rem; display: flex; justify-content: center; }
.btn-hero { min-height: 62px; padding: 0 3.25rem; font-size: 1rem; }

/* ---------- manifesto (the breath) ---------- */
.manifesto { min-height: 64vh; display: grid; place-items: center; padding-block: clamp(96px, 10vw, 152px) clamp(48px, 5vw, 80px); text-align: center; }
.manifesto-text { margin-inline: auto; }
.manifesto-text .w { display: inline-block; }

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(40px, 5vw, 72px); max-width: 44rem; }
/* split head: headline left, supporting copy bottom-right (desktop only) */
@media (min-width: 1024px) {
  .split-head { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); column-gap: 4rem; align-items: end; }
  .split-head .lead { padding-bottom: 0.35rem; }
}

/* ---------- moments ---------- */
.moment-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: 640px; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); box-shadow: var(--shadow-panel);
}
.moment-copy { display: grid; grid-template-rows: auto 1fr auto; gap: 40px; padding: clamp(28px, 4vw, 56px); }
.moment-index { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.moment-index b { font-weight: 500; color: var(--ink); letter-spacing: 0.08em; }
.moment-index .rule { flex: none; width: 40px; height: 1px; background: var(--line-2); }
.moment-panel { align-self: center; }
.moment-panel:focus-visible { outline-offset: 8px; }
.glyph { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); margin-bottom: 2rem; }
.moment-panel p { margin-top: 1.1rem; max-width: 27rem; color: var(--ink-2); }
.moment-panel .moment-spec { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink); font-size: var(--fs-sm); max-width: 27rem; }
.js .moment-panel.is-entering > * { animation: panelIn 560ms var(--ease-out) both; }
.js .moment-panel.is-entering > *:nth-child(2) { animation-delay: 50ms; }
.js .moment-panel.is-entering > *:nth-child(3) { animation-delay: 100ms; }
.js .moment-panel.is-entering > *:nth-child(4) { animation-delay: 150ms; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  position: relative; overflow: hidden; height: 44px; padding: 0 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500;
  transition: transform var(--t-press) var(--ease-out), color var(--t-ui) ease, background-color var(--t-ui) ease, border-color var(--t-ui) ease;
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--ink); color: #0b0b0c; border-color: var(--ink); }
.tab-progress { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 7px; height: 1px; background: currentColor; opacity: 0.45; transform: scaleX(0); transform-origin: left center; }
.moments.is-autoplay .tab[aria-selected="true"] .tab-progress { animation: progress var(--dwell, 7s) linear forwards; }
.moments.is-paused .tab-progress { animation-play-state: paused !important; }
@keyframes progress { to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .tab:not([aria-selected="true"]):hover { color: var(--ink); border-color: var(--line-3); } }
.moment-media { position: relative; overflow: hidden; min-height: 420px; background: #050506; }
.moment-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.045); transition: opacity 900ms var(--ease-out), transform 1600ms var(--ease-out); }
.moment-media img.is-active { opacity: 1; transform: none; }

/* ---------- night film (full-bleed, letterbox opens) ---------- */
.film-frame { position: relative; height: clamp(560px, 88vh, 920px); overflow: hidden; }
.film-frame img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 60% 55%; }
.js .film-frame { clip-path: inset(10% 0 10% 0); transition: clip-path 1600ms var(--ease-out); }
.js .film-frame.is-in { clip-path: inset(0 0 0 0); }
.film-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,8,0.92) 0%, rgba(7,7,8,0.4) 34%, rgba(7,7,8,0) 60%), linear-gradient(90deg, rgba(7,7,8,0.55) 0%, rgba(7,7,8,0) 50%), linear-gradient(180deg, rgba(7,7,8,1) 0%, rgba(7,7,8,0) 14%); }
.film-caption { position: absolute; left: 0; right: 0; bottom: clamp(48px, 8vh, 96px); }
.film-caption .h2 { max-width: 13ch; }
.film-caption p { margin-top: 1.25rem; max-width: 30rem; color: rgba(242,239,233,0.8); }

/* ---------- design: built to be kept ---------- */
.design-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.design-media { position: sticky; top: calc(var(--header-h) + 24px); }
.design-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 52%; border-radius: var(--r-card); }
.design-media figcaption { margin-top: 1rem; }
.design-copy .lead { margin-top: 1.5rem; }
.parts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2rem; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.part { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; align-content: start; }
.part .glyph-sm { grid-row: span 2; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); }
.part h3 { font-size: 1rem; font-weight: 500; }
.part p { color: var(--ink-2); font-size: 0.9375rem; }
.specs { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; text-align: left; font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.015em; }
.specs-toggle .pm { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 320ms var(--ease-out), border-color var(--t-ui) ease; }
.specs-toggle[aria-expanded="true"] .pm { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .specs-toggle:hover .pm { border-color: var(--line-3); } }
.specs-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease-out); }
.specs-panel.is-open { grid-template-rows: 1fr; }
.specs-panel > div { overflow: hidden; }
.spec-groups { display: grid; padding: 0 0 1.5rem; }
.spec-group { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem 0; }
.spec-group + .spec-group { border-top: 1px solid var(--line); }
.spec-group h4 { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.2rem; }
.spec-group dl { display: grid; gap: 0.55rem; }
.spec-group dl div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem; font-size: 0.9375rem; }
.spec-group dt { color: var(--ink-3); }
.spec-group dd { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- companion statement (canvas stage) ---------- */
.companion { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(88px, 8vw, 128px) var(--space-section); }
.companion > .fx { z-index: -1; }
.companion::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,8,0) 18%, rgba(7,7,8,0) 82%, var(--bg) 100%); }
.companion-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.companion .eyebrow { margin-bottom: 1.5rem; }

.companion .lead { margin-top: 1.75rem; }
.glass-panel {
  border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(28,28,32,0.72), rgba(14,14,17,0.62));
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: var(--shadow-panel);
}
.eq-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.eq-head h3 { font-size: 1rem; font-weight: 500; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: var(--ink-2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9fc79a; box-shadow: 0 0 0 3px rgba(159,199,154,0.16); }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.25rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), color var(--t-ui) ease, background-color var(--t-ui) ease, border-color var(--t-ui) ease;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #0b0b0c; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip input:active + span { transform: scale(0.97); }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { opacity: 0.36; text-decoration: line-through; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):not(:disabled):hover + span { color: var(--ink); border-color: var(--line-3); } }
.eq-graph { margin-top: 1.5rem; border-radius: var(--r-panel); border: 1px solid var(--line); background: rgba(0,0,0,0.28); padding: 14px 14px 8px; }
.eq-graph svg { width: 100%; height: auto; overflow: visible; }
.eq-axis { display: flex; justify-content: space-between; padding: 6px 2px 0; font-size: 0.6875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.eq-desc { margin-top: 1.1rem; min-height: 3.2em; color: var(--ink-2); font-size: 0.9375rem; }
.eq-readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.1rem; border-top: 1px solid var(--line); }
.eq-readouts div { padding-top: 0.9rem; }
.eq-readouts dt { font-size: var(--fs-xs); color: var(--ink-3); }
.eq-readouts dd { font-family: var(--serif); font-size: 1.5rem; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.01em; }
.eq-foot { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line-2); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.35rem; padding: 2rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat dd { font-family: var(--serif); font-size: clamp(2.5rem, 1.7rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; }
.stat dt { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- rooms ---------- */
.rooms-head { display: grid; gap: 1.25rem; max-width: 40rem; margin-bottom: clamp(40px, 5vw, 64px); }
.rooms-stage { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 404px); }
.rooms-media { grid-column: 1 / 3; grid-row: 1; position: relative; margin: 0; min-height: 520px; }
.rooms-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; border-radius: var(--r-card); }
.rooms-media figcaption { position: absolute; left: 24px; bottom: 20px; padding: 6px 12px; border-radius: 999px; background: rgba(7,7,8,0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); color: var(--ink-2); }
.rooms-panel { grid-column: 2 / 4; grid-row: 1; align-self: center; margin-block: 56px; position: relative; z-index: 1; }
.panel {
  border-radius: var(--r-card); padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(24,24,27,0.9), rgba(14,14,16,0.92));
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow-panel), var(--shadow-float);
}
.panel h3 { font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1.1; }
fieldset { border: 0; min-width: 0; }
legend, .label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); margin-bottom: 0.6rem; }
.group + .group { margin-top: 1.4rem; }
.room-meta { display: grid; gap: 0.35rem; margin-top: 0.9rem; font-size: var(--fs-sm); color: var(--ink-2); }
.room-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.chip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chip-grid .chip span { width: 100%; justify-content: center; padding: 0 0.5rem; }
.chip-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-inline: -2px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); scroll-snap-type: x proximity; }
.chip-row .chip { scroll-snap-align: start; }
.chip-row.at-end { -webkit-mask-image: none; mask-image: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-day span { flex-direction: column; gap: 0; min-height: 56px; min-width: 64px; justify-content: center; line-height: 1.15; }
.chip-day small { font-size: 0.6875rem; font-weight: 400; opacity: 0.75; }

/* ---------- fields ---------- */
.fields { display: grid; gap: 1rem; }
.fields-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 0.5rem; min-width: 0; }
.field label { font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.input {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--r-field);
  background: rgba(255,255,255,0.035); border: 1px solid var(--line-2); color: var(--ink);
  transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease, background-color var(--t-ui) ease;
}
textarea.input { padding: 12px 14px; min-height: 132px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8b5ae' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select.input option { background: #141416; color: var(--ink); }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: none; border-color: rgba(var(--accent-rgb), 0.75); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14); background: rgba(255,255,255,0.05); }
.input[aria-invalid="true"] { border-color: rgba(232,160,143,0.8); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(232,160,143,0.16); }
.error { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.8125rem; color: var(--danger); }
.error:empty { display: none; }
.error .ic { width: 15px; height: 15px; margin-top: 0.15em; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-3); background: rgba(255,255,255,0.03); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 1.5px solid #0b0b0c; border-bottom: 1.5px solid #0b0b0c; transform: translateY(-1px) rotate(-45deg) scale(0.6); opacity: 0; transition: transform var(--t-ui) var(--ease-out), opacity var(--t-ui) ease; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: rgba(232,160,143,0.8); }
.check a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.form-actions { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.form-actions .btn { width: 100%; }
.form-note { font-size: 0.8125rem; color: var(--ink-3); text-align: center; text-wrap: balance; }

/* success blocks */
.success { display: grid; gap: 1rem; animation: panelIn 600ms var(--ease-out) both; }
.success-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), 0.5); color: var(--accent); background: rgba(var(--accent-rgb), 0.08); }
.success-mark .ic { width: 24px; height: 24px; }
.success p { color: var(--ink-2); }
.receipt { display: grid; gap: 0.55rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.receipt div { display: flex; justify-content: space-between; gap: 1rem; }
.receipt dt { color: var(--ink-3); }
.receipt dd { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- journal ---------- */
.journal-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); }
.entry { display: grid; align-content: start; gap: 1rem; border-radius: var(--r-panel); }
.entry .entry-img { overflow: hidden; border-radius: var(--r-panel); background: var(--surface); }
.entry img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.entry h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.entry p { color: var(--ink-2); max-width: 34rem; }
.entry .read { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.entry .read .ic { transition: transform var(--t-ui) var(--ease-out); }
.entry-side { display: grid; gap: clamp(28px, 3vw, 44px); align-content: start; }
.entry-side .entry h3 { font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.75rem); }
.entry-feature img { aspect-ratio: 1 / 1; object-position: 58% 50%; }
.entry-side .entry img { aspect-ratio: 16 / 9; }
@media (hover: hover) and (pointer: fine) {
  .entry:hover img { transform: scale(1.035); }
  .entry:hover .read .ic { transform: translateX(3px); }
  .entry:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line-3); }
}

/* ---------- reserve (closing invitation) ---------- */
.reserve { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-section) clamp(96px, 10vw, 152px); }
.reserve > .fx { z-index: -1; }
.reserve::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,8,0) 22%); }
.reserve-head { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.reserve-head .display { font-size: clamp(2.9rem, 7.6vw, 6rem); line-height: 0.98; }
.reserve-head .lead { max-width: 34rem; margin-inline: auto; }
.reserve-panel { max-width: 1120px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.reserve-panel > * { padding: clamp(24px, 3.4vw, 44px); }
.reserve-config { border-right: 1px solid var(--line); display: grid; align-content: start; gap: 1.75rem; }
.finishes { display: grid; gap: 8px; }
.finish { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 1rem; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color var(--t-ui) ease, background-color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.finish:active { transform: scale(0.985); }
.finish input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.finish:has(input:checked) { border-color: rgba(242,239,233,0.6); background: rgba(255,255,255,0.045); }
.finish:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .finish:hover { border-color: var(--line-3); } }
.swatch { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), inset 0 -2px 4px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.12); }
.swatch-obsidian { background: radial-gradient(circle at 32% 28%, #5a5a60 0%, #1b1b1e 42%, #050506 100%); }
.swatch-graphite { background: radial-gradient(circle at 32% 28%, #b9bbbf 0%, #6c6e73 40%, #2c2d31 100%); }
.swatch-champagne { background: radial-gradient(circle at 32% 28%, #fbf0d4 0%, #cfb98a 42%, #7d6a45 100%); }
.finish-name { display: block; font-weight: 500; }
.finish-note { display: block; font-size: 0.8125rem; color: var(--ink-3); }
.finish-price { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 0.9375rem; }
.finish .tick { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #0b0b0c; display: grid; place-items: center; transform: scale(0.6); opacity: 0; transition: transform 240ms var(--ease-out), opacity 200ms ease; }
.finish .tick .ic { width: 13px; height: 13px; stroke-width: 2.25; }
.finish:has(input:checked) .tick { transform: none; opacity: 1; }
.summary { display: grid; gap: 0.7rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; }
.summary dt { color: var(--ink-2); }
.summary dd { font-variant-numeric: tabular-nums; text-align: right; }
.summary .total { padding-top: 0.7rem; border-top: 1px solid var(--line); font-weight: 500; }
.summary .total dd { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.reserve-form .fields { gap: 1.1rem; }
.assurances { max-width: 1120px; margin: clamp(40px, 5vw, 64px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.assurance { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; align-content: start; }
.assurance .glyph-sm { grid-row: span 3; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); }
.assurance h3 { font-size: 1rem; font-weight: 500; }
.assurance p { font-size: 0.9375rem; color: var(--ink-2); }
.assurance a { justify-self: start; display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-sm); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 4px; transition: text-decoration-color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .assurance a:hover { text-decoration-color: var(--accent); } }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(72px, 8vw, 112px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 3rem; align-items: end; padding-bottom: clamp(56px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.footer-sign { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1.04; letter-spacing: -0.028em; }
.newsletter .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.newsletter .msg { margin-top: 0.75rem; min-height: 1.4em; font-size: 0.8125rem; color: var(--ink-3); }
.newsletter .msg.is-ok { color: var(--accent); }
.newsletter .msg.is-err { color: var(--danger); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(48px, 5vw, 72px); }
.footer-cols h2 { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.footer-cols ul { list-style: none; display: grid; gap: 0.2rem; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); font-size: 0.9375rem; transition: color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover { color: var(--ink); } }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.75rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-3); }
.footer-base .wordmark { font-size: 1.25rem; color: var(--ink); }
.base-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.social { display: flex; gap: 6px; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: color var(--t-ui) ease, border-color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .social a:hover { color: var(--ink); border-color: var(--line-3); } }
.end-title { font-family: var(--serif); font-size: clamp(5rem, 22vw, 21rem); line-height: 0.8; letter-spacing: -0.05em; text-align: center; color: transparent; background: linear-gradient(180deg, rgba(242,239,233,0.1), rgba(242,239,233,0) 78%); -webkit-background-clip: text; background-clip: text; margin-top: 0.5rem; margin-bottom: -0.12em; user-select: none; pointer-events: none; }

/* ---------- sheets (journal entries, policies, contact) ---------- */
dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(3, 3, 4, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet { margin: 0 0 0 auto; width: min(620px, 100%); height: 100dvh; max-height: 100dvh; overflow: hidden; }
.sheet-inner { height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--bg-2); border-left: 1px solid var(--line-2); box-shadow: -40px 0 80px -40px rgba(0,0,0,0.9); opacity: 0; transform: translateX(32px); transition: opacity 260ms ease, transform 420ms var(--ease-out); }
.sheet.is-open .sheet-inner { opacity: 1; transform: none; }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 20px 14px 28px; background: rgba(11,11,13,0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sheet-body { padding: 32px 28px 56px; }
.sheet-body > .h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); }
.sheet-body .sheet-img { margin: 0 0 2rem; }
.sheet-body .sheet-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-panel); }
.prose { margin-top: 1.5rem; display: grid; gap: 1.1rem; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; max-width: 62ch; }
.prose h3 { margin-top: 1rem; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.015em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.sheet-foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- mobile menu: full-height ivory editorial ---------- */
.menu { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; background: #f3eee6; color: #1c1916; }
.menu::backdrop { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-inner {
  height: 100%; display: flex; flex-direction: column;
  padding: 0 1.35rem max(28px, env(safe-area-inset-bottom));
  background: #f3eee6; color: #1c1916;
  opacity: 0; transition: opacity 240ms ease; overflow-y: auto;
}
.menu.is-open .menu-inner { opacity: 1; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; flex: none; border-bottom: 1px solid rgba(28, 25, 22, 0.35); }
.menu .wordmark { font-size: 1.45rem; letter-spacing: 0.12em; }
.menu-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #1c1916; }
.menu-close .ic { width: 22px; height: 22px; stroke-width: 1.25; }
.menu-links { list-style: none; display: grid; margin-top: 1.5rem; }
.menu-links a {
  display: block; padding: 0.7rem 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.85rem, 8vw, 2.8rem); line-height: 1.15; letter-spacing: -0.02em; color: #1c1916;
  border-bottom: 1px solid rgba(28, 25, 22, 0.18);
}
.menu-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.js .menu .menu-links li { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: calc(60ms + var(--i, 0) * 50ms); }
.js .menu.is-open .menu-links li { opacity: 1; transform: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; width: max-content; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 0.6rem; padding: 12px 18px; border-radius: 999px; background: rgba(24,24,27,0.94); border: 1px solid var(--line-2); box-shadow: var(--shadow-float); font-size: var(--fs-sm); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity 220ms ease, transform 320ms var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { color: var(--accent); }

/* ---------- motion: entrances and reveals ---------- */
/* Hero entrance: runs on load, never waits for scroll. Gated behind .js */
/* three steps (headline, lead, button), finished inside 900 ms */
.js .hero-in { animation: rise 640ms var(--ease-out) both; animation-delay: calc(60ms + var(--d, 0) * 80ms); }
.js .hero .fx { animation: fadeIn 860ms ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fadeIn { from { opacity: 0; } }
/* Scroll reveals: visible by default; only hidden once JS has marked the page */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .manifesto-text .w { opacity: 0.16; transition: opacity 1000ms var(--ease-out); transition-delay: calc(var(--wi, 0) * 70ms); }
.js .manifesto-text.is-in .w { opacity: 1; }
/* Gentle parallax with scroll-driven animations where supported (no scroll listeners) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual { animation: heroDrift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes heroDrift { to { transform: translateY(12vh); } }
    .film-frame img { animation: filmDrift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes filmDrift { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .moment-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .moment-media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .design-grid { grid-template-columns: minmax(0, 1fr); }
  .design-media { position: static; max-width: 560px; }
  .companion-grid { grid-template-columns: minmax(0, 1fr); }
  .rooms-stage { grid-template-columns: minmax(0, 1fr); }
  .rooms-media { grid-column: auto; grid-row: auto; min-height: 0; }
  .rooms-media img { position: static; height: auto; aspect-ratio: 16 / 10; }
  .rooms-media figcaption { bottom: 116px; }
  .rooms-panel { grid-column: auto; grid-row: auto; margin: -96px auto 0; width: min(560px, calc(100% - 32px)); }
  .reserve-panel { grid-template-columns: minmax(0, 1fr); }
  .reserve-config { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal-grid { grid-template-columns: minmax(0, 1fr); }
  .entry-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-feature img { aspect-ratio: 3 / 2; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .hero-content { padding-inline: 4px; }
  .manifesto { min-height: 0; }
  .film-frame { height: 82svh; min-height: 560px; }
  .film-frame img { object-position: 90% 55%; }
  .film-scrim { background: linear-gradient(0deg, rgba(7,7,8,0.96) 0%, rgba(7,7,8,0.55) 38%, rgba(7,7,8,0) 62%), linear-gradient(180deg, rgba(7,7,8,1) 0%, rgba(7,7,8,0) 14%); }
  .parts { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .spec-group { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 1.75rem 1rem 1.75rem 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rooms-media img { aspect-ratio: 4 / 3; object-position: 58% 55%; }
  .rooms-media figcaption { left: 12px; top: 12px; bottom: auto; }
  .rooms-panel { margin-top: -56px; width: calc(100% - 16px); }
  .fields-2 { grid-template-columns: minmax(0, 1fr); }
  .entry-side { grid-template-columns: minmax(0, 1fr); }
  .assurances { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .sheet { margin: auto 0 0; width: 100%; height: auto; max-height: 92dvh; }
  .sheet-inner { max-height: 92dvh; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 24px 24px 0 0; transform: translateY(40px); }
  .sheet-body { padding: 24px 20px 48px; }
}
@media (max-width: 480px), (min-width: 1024px) and (max-width: 1279px) {
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segmented .chip span { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter .row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- reduced motion: calm stills, instant reveals ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .manifesto-text .w, .js .menu.is-open .menu-links li, .menu.is-open .menu-inner { opacity: 1; transform: none; }
  .js .film-frame { clip-path: none; }
  .btn:active, .tab:active, .chip input:active + span { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .btn-glass, .glass-panel, .panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface-2); }
}

/* Shop and paper surfaces. Marketing pages stay on the cinema ground. */
body { overflow-wrap: break-word; }
body.paper {
  --bg: #f3eee6;
  --ink: #1c1916;
  --ink-2: rgba(28, 25, 22, 0.78);
  --ink-3: rgba(28, 25, 22, 0.64);
  --line: rgba(28, 25, 22, 0.12);
  --line-2: rgba(28, 25, 22, 0.18);
  --line-3: rgba(28, 25, 22, 0.32);
  --surface: #faf7f2;
  --surface-2: #f7f1e8;
  --danger: #8d3d32;
  background: #f3eee6;
  color: #1c1916;
  color-scheme: light;
}
.site-footer, .sheet, .toast, .cookie {
  --bg: #070708;
  --bg-2: #0b0b0d;
  --surface: #101012;
  --surface-2: #161619;
  --ink: #f2efe9;
  --ink-2: rgba(242, 239, 233, 0.72);
  --ink-3: rgba(242, 239, 233, 0.56);
  --line: rgba(242, 239, 233, 0.09);
  --line-2: rgba(242, 239, 233, 0.17);
  --line-3: rgba(242, 239, 233, 0.32);
  --danger: #e8a08f;
  color: #f2efe9;
}
.site-footer { background: #070708; }
.page-head { padding-top: calc(var(--header-h) + 3.4rem); padding-bottom: 1.5rem; }
.page-head h1, .prose-page h1 {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2);
  line-height: 1.04; letter-spacing: -0.028em; text-wrap: balance;
}
.prose-page { padding-top: calc(var(--header-h) + 3.4rem); padding-bottom: 5rem; max-width: 74ch; }
.prose-page.is-wide { max-width: none; }
form.reserve-span { display: contents; }
.prose-page h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); margin-top: 2.2rem; letter-spacing: -0.02em; }
.prose-page h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-top: 1.4rem; }
.prose-page p, .prose-page li { color: var(--ink-2); margin-top: 0.85rem; }
.prose-page ul, .prose-page ol { padding-left: 1.15rem; display: grid; gap: 0.35rem; }
.prose-page a, .box a, .cart-list a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; margin-bottom: 0.8rem; }
.product-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem; padding-bottom: var(--space-section);
}
.card {
  display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none;
  background: #faf7f2; border: 1px solid rgba(28, 25, 22, 0.1); border-radius: 28px; overflow: hidden;
}
.card-media { aspect-ratio: 4 / 5; background: #e8e0d4; display: block; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-body { display: grid; gap: 0.35rem; padding: 1.05rem 1.15rem 1.2rem; }
.card-name { font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + 0.6vw, 1.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.price { font-family: var(--serif); font-variant-numeric: tabular-nums; font-size: 1.45rem; letter-spacing: -0.02em; }
.pdp {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: var(--space-section);
}
.pdp .pdp-media { background: #e8e0d4; border-radius: 28px; padding: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.pdp .pdp-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pdp-copy { display: grid; align-content: start; gap: 1rem; padding-top: 0.4rem; }
.pdp-copy .price { font-size: clamp(2rem, 1.4rem + 1vw, 2.6rem); }
.checkout-grid, .split-2 {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem; align-items: start; padding-bottom: 4.5rem;
}
.box {
  background: #faf7f2; border: 1px solid rgba(28, 25, 22, 0.1);
  border-radius: 28px; padding: clamp(18px, 3vw, 28px);
}
.cart-list { list-style: none; display: grid; }
.cart-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.qty { display: inline-flex; align-items: center; gap: 0.35rem; }
.qty button {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); color: inherit;
}
.cart-total { display: flex; justify-content: space-between; gap: 1rem; margin: 1.2rem 0; font-size: 1.2rem; }
.pay-mark { height: 18px; width: auto; }
.icon-btn { position: relative; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cookie {
  position: fixed; z-index: 70; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(720px, calc(100% - 24px));
  display: flex; gap: 1rem; align-items: center;
  padding: 14px 14px 14px 18px; border-radius: 28px;
  background: rgba(14, 14, 17, 0.94); border: 1px solid rgba(242, 239, 233, 0.17);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.8);
}
.cookie p { color: rgba(242, 239, 233, 0.78); font-size: 0.875rem; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions .btn { min-width: 9.5rem; }
.cookie[hidden] { display: none; }
.design-media .fx { position: relative; display: block; aspect-ratio: 4 / 5; min-height: 420px; border-radius: var(--r-card); overflow: hidden; }
.rooms-media .fx { position: absolute; inset: 0; }
.cat-block { margin-bottom: 2.5rem; }
.cat-block h2 { margin-bottom: 1rem; }
body.paper .input {
  background: #fff; color: #1c1916; border-color: rgba(28, 25, 22, 0.16);
}
body.paper .input:focus { background: #fff; }
body.paper select.input option { background: #fff; color: #1c1916; }
body.paper .check input:checked { background: #1c1916; border-color: #1c1916; }
body.paper .check input::after { border-left-color: #f3eee6; border-bottom-color: #f3eee6; }
body.paper .btn-glass {
  color: #1c1916;
  background-image:
    linear-gradient(rgba(255, 252, 247, 0.92), rgba(243, 238, 230, 0.88)),
    linear-gradient(170deg, rgba(28, 25, 22, 0.45) 0%, rgba(28, 25, 22, 0.08) 42%, rgba(28, 25, 22, 0.28) 100%);
}
body.paper .site-header .btn-glass,
body.paper .site-footer .btn-glass,
body.paper .menu .btn-glass,
body.paper .cookie .btn-glass,
body.paper .sheet .btn-glass {
  color: #f2efe9;
  background-image:
    linear-gradient(rgba(26, 26, 30, 0.78), rgba(14, 14, 17, 0.66)),
    linear-gradient(170deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.10) 28%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.10) 72%, rgba(255,255,255,0.38) 100%);
}
body.paper .site-footer .input {
  background: rgba(255,255,255,0.035); color: #f2efe9; border-color: rgba(242, 239, 233, 0.17);
}
.js .manifesto-text .w, .js .manifesto-text.is-in .w { opacity: 1; }
.js .film-frame { clip-path: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .film-frame.is-in { animation: letterOpen 1600ms var(--ease-out) forwards; }
}
@keyframes letterOpen { from { clip-path: inset(10% 0 10% 0); } to { clip-path: inset(0 0 0 0); } }
@media (hover: hover) and (pointer: fine) {
  .btn-plain:hover { color: var(--ink); }
  .card:hover { border-color: rgba(28, 25, 22, 0.28); }
}
.newsletter .msg.is-ok { color: var(--ink); }
.container { width: min(calc(100vw - 2 * var(--gutter)), var(--maxw)); }
.hero, .hero-content, .hero-title, .hero-lead, .prose-page, .page-head, .header-inner { min-width: 0; max-width: 100%; }
.hero-content { width: 100%; padding-inline: var(--gutter); box-sizing: border-box; }
.hero-title { width: min(11.2em, calc(100vw - 2.5rem)); max-width: calc(100vw - 2.5rem); }
.hero-lead { width: min(40rem, calc(100vw - 2.5rem)); max-width: calc(100vw - 2.5rem); }
.prose-page, .page-head { width: min(74ch, calc(100vw - 2 * var(--gutter))); max-width: calc(100vw - 2 * var(--gutter)); }
h1, h2, h3, p, a, figcaption { overflow-wrap: break-word; }
body.paper .site-header {
  background: #f3eee6;
  color: #1c1916;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
@media (max-width: 1023px) {
  .site-header .header-actions .btn { display: none; }
  .rooms-media { min-height: 280px; }
}
.hero-title .line { display: block; }
@media (max-width: 760px) {
  .hero { width: 100%; overflow: hidden; }
  .hero-content { align-items: stretch; width: 100%; padding-inline: 1.25rem; }
  .hero-title, .hero-lead {
    display: block;
    width: auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-title { font-size: 2rem; max-width: 20.5rem; margin-inline: auto; }
  .hero-lead { font-size: 0.95rem; width: 300px; max-width: 300px; margin-inline: auto; }
  .container, .prose-page, .page-head {
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding-inline: 1.25rem;
    box-sizing: border-box;
  }
  .prose-page h1, .page-head h1 { font-size: 2rem; max-width: 330px; }
  .prose-page p, .page-head p, .prose-page li { max-width: 330px; }
  .site-header .container { padding-inline: 16px; }
  .cookie { width: 348px; max-width: calc(100% - 20px); box-sizing: border-box; }
  .cookie p { overflow-wrap: anywhere; max-width: 100%; }
  .header-inner { gap: 0.5rem; }
  .end-title { font-size: 4.2rem; }
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp, .checkout-grid, .split-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .btn { min-width: 0; width: 100%; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .cart-list .price { grid-column: 1 / -1; }
}
.moment-media { background: #14110e; }
.moment-media img { opacity: 1; transform: none; object-fit: contain; background: #14110e; }
.moment-media img[hidden] { display: none !important; }
.design-media { background: transparent; }
.design-media img { object-fit: contain; background: #14110e; }
.rooms-media img { object-fit: contain; background: #14110e; }
.photo-grid, .photo-rooms {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 1.5rem; align-items: start;
}
.photo-grid figure, .photo-rooms figure {
  margin: 0; background: transparent; border-radius: var(--r-card); overflow: hidden; min-width: 0;
}
.photo-grid a, .photo-rooms a { display: block; }
.photo-grid img, .photo-rooms img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; display: block;
  object-fit: cover; object-position: center; border-radius: var(--r-card);
}
.photo-grid figcaption, .photo-rooms figcaption { padding: 0.75rem 0.15rem 0; color: var(--ink-2); }
.gallery-block { padding-bottom: var(--space-section); }
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; margin-top: 1.5rem; }
.cat-tile { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; color: inherit; text-decoration: none; }
.cat-tile img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; display: block; border-radius: var(--r-card); }
.cat-tile span { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 0.6vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.1; }
.care-teaser {
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(16px, 3vw, 36px);
  align-items: center; margin-top: 1.6rem; color: inherit; text-decoration: none;
}
.care-teaser img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; display: block; border-radius: var(--r-card); }
.care-teaser p { margin-top: 0.7rem; color: var(--ink-2); }
@media (max-width: 800px) {
  .cat-tiles, .care-teaser { grid-template-columns: 1fr 1fr; }
  .care-teaser { grid-template-columns: minmax(0, 1fr); }
}

.crumb-sep { margin-inline: 0.15rem; color: var(--ink-3); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.4rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.spec-table th { width: 46%; padding-right: 1rem; color: var(--ink-3); font-size: 0.82rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.2rem; }
.form-note { margin: 0; font-size: 0.875rem; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

body.feature { background: #070708; color: #f2efe9; }
.mag-hero { position: relative; margin-top: var(--header-h); min-height: calc(100svh - var(--header-h)); }
.mag-hero img { width: 100%; height: calc(100svh - var(--header-h)); object-fit: cover; object-position: center; }
.mag-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(to top, rgba(7,7,8,0.9) 0%, rgba(7,7,8,0.55) 38%, rgba(7,7,8,0) 70%), linear-gradient(to right, rgba(7,7,8,0.6), rgba(7,7,8,0) 55%); pointer-events: none; }
.mag-hero-copy { position: absolute; z-index: 1; left: clamp(1.25rem, 6vw, 6.5rem); right: auto; bottom: 9vh; width: min(62rem, calc(100% - 2.5rem)); color: #f3eee6; text-shadow: 0 2px 24px rgba(7,7,8,0.55); }
.mag-kicker { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 0.85rem; color: rgb(var(--accent-rgb)); }
.mag-hero h1 { max-width: 9.5em; overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; font-family: var(--serif); font-weight: 400; font-size: clamp(3.1rem, 7.4vw, 6.4rem); line-height: 0.92; letter-spacing: -0.035em; }
.mag-stand { margin-top: 1.1rem; max-width: 36rem; font-size: 1.05rem; line-height: 1.55; color: rgba(243,238,230,0.9); }
.mag-chapter { display: grid; grid-template-columns: minmax(0, 640px) minmax(14rem, 22rem); justify-content: start; column-gap: clamp(2rem, 4vw, 4.5rem); row-gap: 1.4rem; padding: 3.4rem clamp(1.25rem, 6vw, 6.5rem) 0.4rem; }
.mag-prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.05; }
.mag-prose p { max-width: 640px; margin-top: 1rem; font-size: 1.0625rem; line-height: 1.7; color: rgba(242,239,233,0.86); }
.mag-prose a { text-decoration: underline; text-underline-offset: 3px; }
.mag-lead::first-letter { font-family: var(--serif); float: left; font-size: 4.6rem; line-height: 0.72; padding: 0.08em 0.12em 0 0; color: rgb(var(--accent-rgb)); }
.mag-pull { margin: 2rem 0 0.4rem; padding-top: 0.85rem; border-top: 1px solid rgba(242,239,233,0.28); }
.mag-pull p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.15; color: #f3eee6; max-width: 16em; }
.mag-note { align-self: start; padding-top: 0.35rem; border-top: 1px solid rgba(207,185,138,0.5); color: rgba(242,239,233,0.66); font-size: 0.95rem; line-height: 1.55; }
.mag-note b { display: block; margin-bottom: 0.45rem; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.2rem; color: rgb(var(--accent-rgb)); }
.mag-band, .mag-bleed { width: 100%; margin: 3.2rem 0; }
.mag-band { display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 0.5rem; }
.mag-band-flip { grid-template-columns: 0.8fr 1.35fr; }
.mag-shot { margin: 0; }
.mag-shot img { width: 100%; height: 72vh; object-fit: cover; object-position: center; display: block; }
.mag-bleed .mag-shot img { height: 78vh; }
.mag-shot figcaption { padding: 0.7rem clamp(1.25rem, 6vw, 6.5rem) 0; font-family: var(--serif); font-style: italic; color: rgba(242,239,233,0.7); }
.mag-close { padding: 4.5rem clamp(1.25rem, 6vw, 6.5rem) 6rem; }
.mag-close a { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.03em; border-bottom: 1px solid rgb(var(--accent-rgb)); }
@media (max-width: 860px) {
  .mag-chapter, .mag-band, .mag-band-flip { grid-template-columns: minmax(0, 1fr); }
  .mag-hero h1 { font-size: 2.7rem; }
  .mag-shot img, .mag-bleed .mag-shot img { height: 58vh; }
  .mag-lead::first-letter { font-size: 3.4rem; }
}

/* ---------- Journal rubric (nav + menu) ---------- */
.mast-nav li.nav-rubric { display: flex; align-items: baseline; }
.mast-nav li.nav-rubric::before { content: ""; align-self: center; width: 1px; height: 1.05em; margin-right: clamp(0.85rem, 2.2vw, 2.15rem); background: rgba(28, 25, 22, 0.4); }
.mast-nav .nav-rubric a { font-style: normal; font-weight: 400; font-variant-caps: all-small-caps; letter-spacing: 0.16em; font-size: clamp(0.98rem, 1.1vw, 1.1rem); color: rgba(28, 25, 22, 0.82); }
.nav-rubric .rubric-no { display: inline-block; margin-right: 0.42em; font-variant-caps: normal; letter-spacing: 0; font-size: 0.78em; opacity: 0.62; transform: translateY(-0.04em); }
.menu-links li.nav-rubric { margin-top: 1.6rem; border-top: 1px solid rgba(28, 25, 22, 0.55); }
.menu-links .nav-rubric a { padding-top: 0.95rem; font-style: normal; font-variant-caps: all-small-caps; letter-spacing: 0.14em; font-size: clamp(1.7rem, 7vw, 2.5rem); }
.menu-links .nav-rubric .rubric-no { font-size: 0.62em; vertical-align: 0.18em; }
