/* NIMARS Staging Group
   Black, white and gold. Bodoni Moda for headlines, Jost for text.
   Motion is layered on only when <html> has the "motion" class (set in the
   <head> script when reduced motion is off); without it every scene shows
   its finished state. */

/* ---------- Fonts (self-hosted, Latin subset, variable) ---------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* metric-matched fallbacks keep text from jumping when the web fonts arrive */
@font-face {
  font-family: "Bodoni Fallback";
  src: local("Didot"), local("Bodoni 72"), local("Georgia"), local("Times New Roman");
  size-adjust: 96%;
  ascent-override: 96%;
}
@font-face {
  font-family: "Jost Fallback";
  src: local("Avenir Next"), local("Futura"), local("Arial");
  size-adjust: 97%;
  ascent-override: 104%;
}

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --coal: #0b0a08;
  --ivory: #faf8f4;
  --ink: #15130f;
  --ink-2: #5d564b;
  --mist: #f3efe7;
  --mist-2: #aaa294;
  --gold: #c8a25d;
  --gold-light: #ecd59e;
  --gold-deep: #7a5a2e;
  --line-dark: rgba(200, 162, 93, 0.28);
  --line-light: rgba(21, 19, 15, 0.14);
  --g: linear-gradient(100deg, #7d5c30 0%, #c79f58 24%, #f5e1a6 48%, #c39a53 70%, #87663a 100%);
  --g-deep: linear-gradient(100deg, #5e4320 0%, #9c7637 30%, #bf9853 50%, #8f6c2e 72%, #634725 100%);
  --g-btn: linear-gradient(100deg, #b8914f 0%, #d9b873 34%, #f2dca0 54%, #d3ad68 76%, #b98f4b 100%);
  --serif: "Bodoni Moda", "Bodoni Fallback", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Jost Fallback", "Avenir Next", "Futura", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --hdr: 84px;
  --sec-pad: clamp(96px, 11vw, 176px);
  --radius-card: clamp(22px, 3vw, 40px);
  --vh-gap: calc(100vh - 100svh); /* height of mobile browser chrome */
  color-scheme: dark;
}
@media (max-width: 1099px) {
  :root { --hdr: 68px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--black);
  overflow-x: hidden;
}
html:not(.motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
html.is-locked, html.intro { overflow: hidden; }
body {
  background: var(--black);
  color: var(--mist);
  font: 400 17px/1.65 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(38px, 5.2vw, 84px); }
h3 { font-size: clamp(23px, 1.9vw, 30px); line-height: 1.15; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--black); }

.visually-hidden {
  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;
}
.skip {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.light :focus-visible { outline-color: var(--gold-deep); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.light { background: var(--ivory); color: var(--ink); color-scheme: light; }
.dark { background: var(--black); color: var(--mist); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 2vw, 26px);
  font: 500 12.5px/1.2 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.light .eyebrow { color: var(--gold-deep); }
.lede {
  max-width: 50ch;
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.7;
  color: var(--mist-2);
}
.light .lede { color: var(--ink-2); }
.gold-text {
  background: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.light .gold-text { background-image: var(--g-deep); }

/* ---------- Buttons and links ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 15px/1 var(--sans);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.btn--gold { color: #16110a; }
.btn--gold::before { background: var(--g-btn); }
.btn--gold::after {
  background: linear-gradient(100deg, #f6e4b0, #e2c27e 45%, #f8ebc4);
  opacity: 0;
}
.btn--gold:hover::after { opacity: 1; }
.btn--line { border-color: rgba(243, 239, 231, 0.42); color: var(--mist); }
.btn--line::before {
  background: rgba(236, 213, 158, 0.12);
  transform: scaleY(0);
  transform-origin: 50% 100%;
}
.btn--line:hover::before { transform: none; }
.btn--line:hover { border-color: var(--gold-light); }
.light .btn--line { border-color: rgba(21, 19, 15, 0.34); color: var(--ink); }
.light .btn--line::before { background: rgba(122, 90, 46, 0.08); }
.light .btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ulink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font: 500 14.5px/1.2 var(--sans);
  letter-spacing: 0.04em;
}
.ulink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform-origin: 100% 50%;
  transition: transform 0.7s var(--ease);
}
.ulink:hover::after { transform: scaleX(0); }
.ulink i {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.6s var(--ease);
  transform-origin: 0 50%;
}
.ulink:hover i { transform: scaleX(1.6); }
.light .ulink i { background: var(--gold-deep); }

/* ---------- Logo lockup (SVG paths, see sprite in index.html) ---------- */
.lockup { fill: url(#lg-gold); overflow: visible; }
[data-theme="light"] .lockup { fill: url(#lg-deep); }
.card-brand .lockup { fill: url(#lg-gold); }

/* ---------- Arcs motif ---------- */
.arcs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.arcs svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc {
  fill: none;
  stroke: url(#arc-grad);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}
.arcs--soft { opacity: 0.55; }
.arcs .ap { display: none; }
@media (max-aspect-ratio: 4/5) {
  .arcs .al { display: none; }
  .arcs .ap { display: block; }
}

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--mist);
  transition: transform 0.7s var(--ease);
}
.hdr__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(200, 162, 93, 0.16);
  transition: opacity 0.5s var(--ease);
}
.hdr__bg--light {
  background: rgba(250, 248, 244, 0.9);
  border-bottom-color: rgba(21, 19, 15, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .hdr__bg { background: rgba(0, 0, 0, 0.56); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
  .hdr__bg--light { background: rgba(250, 248, 244, 0.74); }
}
.hdr.is-solid[data-theme="dark"] .hdr__bg:not(.hdr__bg--light),
.hdr.is-solid[data-theme="light"] .hdr__bg--light { opacity: 1; }
.hdr[data-theme="light"] { color: var(--ink); }
.hdr.is-hidden { transform: translateY(-104%); }
.hdr__in {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  height: var(--hdr);
}
.brand { display: block; flex: none; padding: 6px 0; }
.brand .lockup { width: clamp(108px, 9vw, 132px); height: auto; }
.nav { display: flex; gap: clamp(20px, 2.4vw, 36px); margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  opacity: 0.82;
  transition: opacity 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease);
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.hdr__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--g);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.burger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.92;
}
.burger span {
  position: absolute;
  left: 14px; right: 14px; top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  transition: transform 0.6s var(--ease);
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (max-width: 1099px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: calc(var(--hdr) + 32px) var(--gutter) calc(36px + env(safe-area-inset-bottom));
  background: var(--black);
  color: var(--mist);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu:focus { outline: none; }
.menu nav { display: grid; gap: 2px; }
.menu nav a {
  display: block;
  font: 400 clamp(38px, 9vw, 64px)/1.16 var(--serif);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}
.menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i) * 0.06s); }
.menu__foot {
  display: grid;
  gap: 18px;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.menu.is-open .menu__foot { opacity: 1; transition-delay: 0.6s; }
.menu__meta { display: grid; gap: 4px; color: var(--mist-2); font-size: 15px; }
.menu .arcs { opacity: 0.6; }

/* ---------- Intro (recreates the brand video, ~3s, once per visit) ---------- */
.intro-screen { display: none; }
.intro .intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--black);
  cursor: pointer;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.intro-out .intro-screen {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.95s var(--ease-io);
}
.intro-screen__sheen {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 100% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.intro-screen .arcs .arcs__a { clip-path: inset(0 100% 0 0); animation: arcIn 2.2s var(--ease-io) 0.35s forwards; }
.intro-screen .arcs .arcs__b { clip-path: inset(0 0 0 100%); animation: arcIn 2.2s var(--ease-io) 0.7s forwards; }
@keyframes arcIn { to { clip-path: inset(0 0 0 0); } }
.ilock {
  --u: calc(min(74vw, 720px) / 3864);
  position: relative;
  display: grid;
  justify-items: center;
  perspective: 900px;
  transition: transform 0.95s var(--ease-io), opacity 0.6s var(--ease);
}
.intro-out .ilock { transform: translateY(-9vh); opacity: 0; }
.ilock__word {
  display: flex;
  transform-style: preserve-3d;
  transform: rotateY(24deg) scale(1.18);
  animation: wordTurn 1.6s var(--ease) 0.1s forwards;
}
@keyframes wordTurn { to { transform: none; } }
.il {
  position: relative;
  width: calc(var(--w) * var(--u));
  height: calc(735 * var(--u));
  opacity: 0;
  transform: perspective(700px) rotateY(-62deg) translate3d(40%, 0, -160px);
  animation: letterIn 0.95s var(--ease) forwards;
  animation-delay: calc(0.12s + var(--i) * 0.11s);
}
@keyframes letterIn { to { opacity: 1; transform: none; } }
.il svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.il-o {
  fill: none;
  stroke: #ffe6a3;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 4px rgba(255, 232, 170, 0.95)) drop-shadow(0 0 14px rgba(240, 200, 120, 0.7)) drop-shadow(0 0 34px rgba(220, 170, 90, 0.35));
  animation: fadeOut 0.55s var(--ease) 1.78s forwards;
}
.il-f {
  fill: url(#lg-gold);
  opacity: 0;
  animation: fadeIn 0.55s var(--ease) 1.62s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
.ilock__flash {
  position: absolute;
  left: 50%; top: calc(367 * var(--u));
  width: calc(4600 * var(--u));
  height: calc(1500 * var(--u));
  margin: calc(-750 * var(--u)) 0 0 calc(-2300 * var(--u));
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255, 252, 240, 1), rgba(250, 230, 175, 0.6) 38%, rgba(240, 210, 140, 0) 72%);
  opacity: 0;
  transform: scale(0.35, 0.5);
  animation: flash 0.8s ease-out 1.42s forwards;
}
.ilock__flash::after {
  content: "";
  position: absolute;
  left: -20%; right: -20%; top: 50%;
  height: 6%;
  margin-top: -3%;
  background: radial-gradient(closest-side, rgba(255, 252, 240, 1), rgba(255, 240, 200, 0) 100%);
}
@keyframes flash {
  35% { opacity: 1; transform: scale(1, 1); }
  100% { opacity: 0; transform: scale(1.35, 0.7); }
}
.ilock__rule {
  width: calc(3864 * var(--u));
  height: calc(56.2 * var(--u));
  margin-top: calc(143.7 * var(--u));
  background: var(--g);
  transform: scaleX(0);
  animation: ruleIn 0.75s var(--ease) 1.92s forwards;
}
@keyframes ruleIn { to { transform: none; } }
.ilock__sub {
  display: flex;
  margin-top: calc(142.1 * var(--u));
}
.is {
  width: calc(var(--w) * var(--u));
  height: calc(257 * var(--u));
  opacity: 0;
  transform: translateX(calc(var(--d) * 70vw));
  animation: subIn 0.95s var(--ease) 2.08s forwards;
}
.is svg { width: 100%; height: 100%; overflow: visible; fill: url(#lg-gold); }
@keyframes subIn { 30% { opacity: 1; } to { opacity: 1; transform: none; } }
.intro-skip-hint {
  position: absolute;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom) + var(--vh-gap));
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.42);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.9s forwards;
}

/* ---------- Scroll scenes: sticky stages ---------- */
.scene { position: relative; }
.stage { position: relative; }
.motion .scene { height: calc(var(--scene, 150vh) + 200vh); }
.motion .scene--last { height: calc(var(--scene, 150vh) + 100vh); }
/* a fading scene starts under the previous stage, so its own stage is already pinned while it fades in */
.motion .scene--fade { height: calc(var(--scene, 150vh) + 300vh); margin-top: -200vh; background: transparent; }
.motion .scene--fade > .stage { opacity: 0; }
.motion .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
/* the next panel rises over the pinned stage like a curtain */
.motion .curtain { margin-top: -100vh; }
.curtain__cap { display: none; }
.motion .curtain__cap {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 0;
  height: var(--radius-card);
  transform: translateY(-100%);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: inherit;
  pointer-events: none;
}
.dim {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #000;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
/* layers that scale or fade while scrolling are drawn once, then only moved by the GPU */
.motion .scene:not(.scene--last) > .stage,
.motion .hero__photo,
.motion .hero__arcs,
.motion .hero__arch,
.motion .hero__copy,
.motion .why__frame picture,
.motion .tile__frame picture,
.motion .area__photo,
.motion .statement__text { will-change: transform; }
.motion .statement.scene--fade > .stage { will-change: transform, opacity; }
.motion .hero__dim, .motion .hero__glow, .motion .hero__shade { will-change: opacity; }

/* ---------- Hero ---------- */
.hero { --scene: 170vh; background: var(--black); z-index: 1; }
.hero .stage { min-height: 100vh; min-height: 100svh; background: var(--black); }
.hero__arcs { z-index: 0; }
.hero__media {
  --aw: min(36vw, 520px);
  --at: max(124px, 22vh);
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(var(--at) calc(50% - var(--aw) / 2) 0 calc(50% - var(--aw) / 2) round calc(var(--aw) / 2) calc(var(--aw) / 2) 0 0);
}
.hero__media picture, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img, .statement__room img { object-fit: cover; object-position: 46% 62%; }
@media (max-aspect-ratio: 4/5) { .hero__media img, .statement__room img { object-position: 54% 60%; } }
.hero__photo { position: absolute; inset: 0; transform: scale(1.22); transform-origin: 50% 70%; }
.hero__dim { position: absolute; inset: 0; background: #000; opacity: 0.6; }
.hero__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(42% 36% at 22% 50%, rgba(255, 214, 150, 0.55), transparent 70%),
    radial-gradient(40% 34% at 64% 46%, rgba(255, 222, 165, 0.5), transparent 70%),
    linear-gradient(180deg, rgba(255, 236, 200, 0.14), rgba(255, 236, 200, 0) 60%);
}
.hero__shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.82) 100%);
}
.hero__arch {
  --aw: min(36vw, 520px);
  --at: max(124px, 22vh);
  position: absolute;
  z-index: 2;
  left: calc(50% - var(--aw) / 2);
  top: var(--at);
  width: var(--aw);
  bottom: -2px;
  border: 1px solid rgba(240, 214, 151, 0.85);
  border-bottom: 0;
  border-radius: calc(var(--aw) / 2) calc(var(--aw) / 2) 0 0;
  box-shadow: 0 0 40px rgba(240, 214, 151, 0.12), inset 0 0 40px rgba(240, 214, 151, 0.08);
  pointer-events: none;
  transform-origin: 50% 100%;
}
.hero__arch::after {
  content: "";
  position: absolute;
  inset: -16px -16px 0;
  border: 1px solid rgba(240, 214, 151, 0.28);
  border-bottom: 0;
  border-radius: inherit;
  border-top-left-radius: calc(var(--aw) / 2 + 16px);
  border-top-right-radius: calc(var(--aw) / 2 + 16px);
}
.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--hdr) + 20px) 22px calc(86px + var(--vh-gap));
  text-align: center;
}
.hero__copy .eyebrow { color: #e8d4a6; margin-bottom: 0; }
.hero__copy .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.8; }
.hero__title {
  margin: clamp(20px, 2.6vw, 30px) 0 clamp(20px, 2.4vw, 28px);
  font-size: clamp(48px, 8.4vw, 136px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 60px rgba(0, 0, 0, 0.5);
}
.hero__title .line { display: block; }
.hero__sub {
  max-width: 44ch;
  margin-bottom: clamp(26px, 3vw, 36px);
  color: #e2d9c8;
  font-size: clamp(16px, 1.25vw, 18.5px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.hero__copy .btns { justify-content: center; }
.hero__after {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(13vh + var(--vh-gap));
  z-index: 3;
  padding: 0 24px;
  text-align: center;
  pointer-events: none;
}
.hero__after p {
  max-width: 17ch;
  margin: 0 auto;
  font: 400 clamp(32px, 4.6vw, 72px)/1.08 var(--serif);
  letter-spacing: -0.015em;
  text-shadow: 0 4px 44px rgba(0, 0, 0, 0.55);
}
.motion .hero__after p .w { display: inline-block; opacity: 0; transform: translateY(0.5em); }
@media (max-width: 760px) {
  .hero__media, .hero__arch { --aw: min(78vw, 380px); --at: max(118px, 24vh); }
  .hero__copy { padding: calc(var(--hdr) + 8vh) 20px calc(92px + var(--vh-gap)); }
  .hero__title { font-size: clamp(33px, 9.6vw, 50px); letter-spacing: -0.025em; margin: 16px 0 14px; }
  .hero__copy .eyebrow { font-size: 11px; letter-spacing: 0.18em; gap: 10px; }
  .eyebrow__extra { display: none; }
  .hero__copy .eyebrow::before, .hero__copy .eyebrow::after { width: 18px; }
  .hero__sub { font-size: 15px; max-width: 31ch; margin-bottom: 22px; }
  .hero__copy .btns { flex-wrap: nowrap; gap: 8px; }
  .hero__copy .btn { min-height: 46px; padding: 0 17px; font-size: 13.5px; letter-spacing: 0.02em; }
}
/* static hero (reduced motion / no JS): lights on, headline and closing line visible */
html:not(.motion) .hero__photo { transform: none; }
html:not(.motion) .hero__dim { opacity: 0.38; }
html:not(.motion) .hero__glow { opacity: 0.35; }
html:not(.motion) .hero .stage { display: flex; flex-direction: column; justify-content: flex-end; height: auto; min-height: 100vh; min-height: 100svh; }
html:not(.motion) .hero__after { position: relative; bottom: auto; padding: 0 24px calc(30px + var(--vh-gap)); }
html:not(.motion) .hero__after p { font-size: clamp(24px, 3vw, 40px); }
html:not(.motion) .hero__shade { opacity: 0.85; }
@media (max-width: 899px) { html:not(.motion) .hero__after { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Statement ---------- */
.statement { --scene: 130vh; z-index: 2; }
.statement .stage {
  display: grid;
  place-items: center;
  padding: calc(var(--hdr) + 20px) var(--gutter) calc(40px + var(--vh-gap));
  background: var(--ivory);
}
html:not(.motion) .statement .stage { padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
/* the first page shows faintly through the ivory, like frosted glass (raise the opacity for a whiter panel) */
.statement__room { position: absolute; inset: 0; }
.statement__room picture, .statement__room img { position: absolute; inset: 0; width: 100%; height: 100%; }
.statement__room::after { content: ""; position: absolute; inset: 0; background: var(--ivory); opacity: 0.86; }
.statement__text {
  position: relative;
  max-width: 1120px;
  text-align: center;
  font: 400 clamp(29px, 4.3vw, 68px)/1.17 var(--serif);
  letter-spacing: -0.012em;
  color: var(--ink);
}
.statement__text .w { transition: none; }
.motion .statement__text .w { display: inline-block; opacity: 0.2; will-change: opacity; }
.statement__text .gold-text { background-image: var(--g-deep); }
.statement__sig {
  position: absolute;
  left: 50%;
  bottom: calc(38px + var(--vh-gap));
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
html:not(.motion) .statement__sig { position: static; transform: none; margin-top: 48px; text-align: center; }

/* ---------- Services (horizontal row) ---------- */
.services { z-index: 3; background: var(--black); }
.services .stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
}
.services__track {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 36px);
  padding: calc(var(--hdr) + 12px) var(--gutter) 0;
  will-change: transform;
}
.services__intro {
  flex: 0 0 min(470px, 84vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(0px, 4vw, 70px);
}
.services__intro h2 { margin-bottom: 24px; }
.services__intro .lede { margin-bottom: 34px; }
.svc {
  flex: 0 0 clamp(276px, 25vw, 390px);
  display: flex;
  flex-direction: column;
}
.svc__media {
  position: relative;
  overflow: hidden;
  height: min(54vh, 540px);
  border-radius: 2px;
  background: #15120d;
}
.svc__media picture, .svc__media img { width: 100%; height: 100%; }
.svc__media img { object-fit: cover; transform: scale(1.12); }
html:not(.motion) .svc__media img { transform: none; }
.svc__num {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 1;
  font: 400 15px/1 var(--serif);
  letter-spacing: 0.06em;
  color: var(--mist);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.svc__body { padding-top: 22px; }
.svc h3 { margin-bottom: 10px; }
.svc p { max-width: 36ch; margin-bottom: 14px; color: var(--mist-2); font-size: 15.5px; line-height: 1.6; }
.services__bar {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(5vh + var(--vh-gap));
  height: 1px;
  background: var(--line-dark);
}
.services__bar i {
  display: block;
  height: 100%;
  background: var(--g);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.services__count {
  position: absolute;
  right: var(--gutter);
  bottom: calc(5vh + 14px + var(--vh-gap));
  font: 400 14px/1 var(--serif);
  letter-spacing: 0.1em;
  color: var(--mist-2);
}
.services__count b { font-weight: 400; color: var(--gold-light); }
@media (max-width: 760px) {
  .svc { flex-basis: 80vw; }
  .svc__media { height: 42vh; height: 42svh; }
  .services__track { padding-top: calc(var(--hdr) + 4px); }
  .services__intro { flex-basis: 84vw; }
  .svc p { font-size: 15px; }
}
@media (max-width: 899px) {
  .services__bar { bottom: calc(84px + env(safe-area-inset-bottom) + var(--vh-gap)); }
  .services__count { bottom: calc(98px + env(safe-area-inset-bottom) + var(--vh-gap)); }
}
html:not(.motion) .services .stage { padding: var(--sec-pad) 0; }
html:not(.motion) .services__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; scrollbar-width: thin; }
html:not(.motion) .svc, html:not(.motion) .services__intro { scroll-snap-align: start; }
html:not(.motion) .services__bar, html:not(.motion) .services__count { display: none; }

/* ---------- Selected work ---------- */
.work { position: relative; z-index: 4; padding: var(--sec-pad) 0; }
.work__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px 60px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 112px);
}
.work__head .lede { justify-self: end; }
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.col { display: grid; gap: clamp(34px, 3.4vw, 54px); }
.col:nth-child(2) { margin-top: clamp(80px, 11vw, 170px); }
.col:nth-child(3) { margin-top: clamp(30px, 4vw, 64px); }
.tile { margin: 0; }
.tile__btn {
  display: block;
  width: 100%;
  text-align: left;
  cursor: zoom-in;
}
.tile__frame {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ar, 3 / 4);
  background: #e4ddd1;
}
.tile__frame picture, .tile__frame img { width: 100%; height: 100%; }
.tile__frame img { object-fit: cover; transition: transform 1.4s var(--ease); }
.tile__btn:hover .tile__frame img { transform: scale(1.04); }
.motion .tile__frame { clip-path: inset(100% 0 0 0); }
.motion .tile__frame picture { transform: scale(1.28); }
.tile figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}
.tile figcaption b { font: 400 clamp(19px, 1.5vw, 23px)/1.2 var(--serif); }
.tile figcaption span { font-size: 13px; letter-spacing: 0.12em; color: var(--ink-2); }
.tile__btn:focus-visible { outline-offset: 6px; }
@media (max-width: 900px) {
  .work__head { grid-template-columns: 1fr; }
  .work__head .lede { justify-self: start; }
  /* two-column masonry on phones and small tablets */
  .cols { display: block; columns: 2; column-gap: 14px; }
  .col { display: contents; }
  .tile { break-inside: avoid; margin-bottom: 28px; }
  .tile figcaption { margin-top: 10px; }
  .tile figcaption span { display: none; }
}

/* ---------- Before & after (built, hidden until a pair is configured) ---------- */
.ba { --scene: 120vh; z-index: 4; background: var(--black); }
.ba .stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vh, 36px);
  padding: calc(var(--hdr) + 16px) var(--gutter) calc(36px + var(--vh-gap));
}
html:not(.motion) .ba .stage { padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
.ba__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px 40px; width: 100%; max-width: 1240px; margin: 0 auto; }
.ba__head h2 { font-size: clamp(34px, 4.2vw, 64px); }
.ba__head .eyebrow { margin-bottom: 14px; }
.ba__head .lede { max-width: 40ch; }
.ba__frame {
  --x: 100%;
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: min(56vh, 620px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  z-index: 2;
  width: 1px;
  background: var(--gold-light);
  transform: translateX(var(--px, 0px));
}
.ba__handle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  background: rgba(0, 0, 0, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecd59e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.ba__handle:focus-visible::after { box-shadow: 0 0 0 3px rgba(200, 162, 93, 0.6); }
.ba__tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 999px;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line-dark);
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
@media (max-width: 899px) { .motion .ba .stage { padding-bottom: calc(92px + env(safe-area-inset-bottom) + var(--vh-gap)); } }
@media (max-width: 760px) { .ba__frame { height: 48vh; height: 48svh; } }

/* ---------- Process ---------- */
.process { --scene: 260vh; z-index: 5; background: var(--black); }
.process .curtain__cap { background: var(--black); }
.process .stage { background: var(--black); }
.process__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(30px, 6vw, 110px);
  align-items: center;
  height: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(var(--hdr) + 16px) var(--gutter) calc(30px + var(--vh-gap));
}
html:not(.motion) .process__grid { padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
.process__left .lede { margin-top: 22px; }
.process__num {
  position: relative;
  height: 0.84em;
  margin-top: clamp(18px, 4vh, 44px);
  overflow: hidden;
  font: 400 clamp(110px, 15vw, 236px)/0.84 var(--serif);
  font-variant-numeric: lining-nums;
}
.process__digits { display: grid; }
.process__digits span {
  display: block;
  height: 0.84em;
  background: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process__bar {
  position: relative;
  width: min(360px, 100%);
  height: 1px;
  margin-top: clamp(16px, 3vh, 30px);
  background: var(--line-dark);
}
.process__bar i {
  position: absolute;
  inset: 0;
  background: var(--g);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.steps-wrap {
  position: relative;
  padding-left: clamp(26px, 3vw, 44px);
}
.steps-wrap::before {
  content: "";
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--line-dark);
}
.steps { position: relative; list-style: none; padding: 0; }
.steps__line {
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, #f5e1a6, #c79f58 50%, #87663a);
  transform: scaleY(0);
  transform-origin: 50% 0;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 14px;
  padding: clamp(10px, 1.6vh, 16px) 0;
}
.step__k {
  padding-top: 0.5em;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.step h3 { font-size: clamp(24px, 2.3vw, 36px); }
.step__p {
  grid-column: 2;
  max-width: 44ch;
  padding-top: 10px;
  color: var(--mist-2);
  font-size: 16px;
}
/* animated layout: descriptions float below their title; following steps
   are pushed down with transforms (no height animation) */
.motion .steps { min-height: var(--steps-h, auto); }
.motion .step { opacity: 0.32; }
.motion .step__p {
  position: absolute;
  left: calc(54px + 14px);
  top: 100%;
  margin-top: calc(-1 * clamp(10px, 1.6vh, 16px));
  opacity: 0;
  clip-path: inset(0 0 100% 0);
}
@media (max-width: 900px) {
  .process__grid { grid-template-columns: 1fr; align-content: center; gap: 22px; }
  .process__left .lede { display: none; }
  .process__left h2 { font-size: clamp(32px, 8.4vw, 46px); }
  .process__num { font-size: 76px; margin-top: 12px; }
  .process__bar { display: none; }
  .step { grid-template-columns: 40px 1fr; padding: 8px 0; }
  .motion .step__p { left: calc(40px + 14px); margin-top: -8px; font-size: 15px; }
  .step h3 { font-size: 22px; }
}

/* ---------- Why stage with NIMARS ---------- */
.why { position: relative; z-index: 6; padding: var(--sec-pad) 0; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 130px);
  align-items: start;
}
.why__media { position: sticky; top: calc(var(--hdr) + 28px); }
.why__frame {
  position: relative;
  overflow: hidden;
  height: min(calc(100vh - var(--hdr) - 80px), 780px);
  background: #e4ddd1;
}
.why__frame picture, .why__frame img { width: 100%; height: 100%; }
.why__frame img { object-fit: cover; object-position: 50% 60%; }
.motion .why__frame { clip-path: inset(0 0 100% 0); }
.why__list { display: grid; gap: clamp(64px, 9vw, 130px); padding: 4vh 0 10vh; }
.why__list h2 { margin-bottom: -10px; }
.why__item { max-width: 46ch; }
.why__item .rule {
  display: block;
  width: 64px; height: 1px;
  margin-bottom: 22px;
  background: var(--g-deep);
  transform-origin: 0 50%;
}
.why__item .k {
  display: block;
  margin-bottom: 12px;
  font: 400 15px/1 var(--serif);
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.why__item h3 { margin-bottom: 12px; }
.why__item p { color: var(--ink-2); }
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__media { position: relative; top: 0; }
  .why__frame { height: auto; aspect-ratio: 4 / 5; }
  .why__list { padding-top: 0; padding-bottom: 0; }
}

/* ---------- Service area ---------- */
.area { --scene: 150vh; z-index: 7; background: var(--black); }
.area .curtain__cap { background: var(--black); }
.area .stage { display: grid; place-items: center; text-align: center; background: var(--black); }
html:not(.motion) .area .stage { padding: var(--sec-pad) 22px; min-height: 100vh; }
.area__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.area__bg picture, .area__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.area__bg img { object-fit: cover; object-position: 50% 40%; }
.area__photo { position: absolute; inset: 0; transform-origin: 50% 50%; }
.motion .area__bg {
  clip-path: inset(18vh calc(50% - min(17vw, 220px)) 0 calc(50% - min(17vw, 220px)) round min(17vw, 220px) min(17vw, 220px) 0 0);
}
.area__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 50% 50%, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.88)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.7));
}
.area__in {
  position: relative;
  z-index: 1;
  will-change: transform;
  width: 100%;
  padding: calc(var(--hdr) + 10px) 22px calc(28px + var(--vh-gap));
}
.area__in .eyebrow { justify-content: center; }
.area__in .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.8; }
.area__title {
  --s: 1;
  position: relative;
  font-size: clamp(54px, 10vw, 168px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.area__title span { display: inline-block; }
.area__rule {
  width: min(520px, 70vw);
  height: 1px;
  margin: clamp(22px, 4vh, 40px) auto;
  background: var(--g);
}
.motion .area__rule { transform: scaleX(0); }
.area__details p { max-width: 46ch; margin: 0 auto 10px; color: #d8d0c2; }
.area__details address { margin-bottom: 30px; color: var(--gold-light); letter-spacing: 0.04em; }
.area__details .btns { justify-content: center; }
.motion .area__details { opacity: 0; }

/* ---------- Consultation ---------- */
.contact { position: relative; z-index: 8; padding: var(--sec-pad) 0; }
.contact__head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 76px); }
.contact__head .lede { margin-top: 22px; }
.contact__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
/* brand-video contact card */
.card-brand {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4vw, 56px) clamp(22px, 3vw, 44px);
  border-radius: var(--radius-card);
  background: var(--black);
  color: var(--mist);
  isolation: isolate;
}
.card-brand .arcs { z-index: -1; }
.card-brand__sheen {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 45% at 100% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.card-brand .lockup { width: min(220px, 62%); margin: 0 auto clamp(30px, 4vw, 46px); }
.card-brand h3 {
  margin-bottom: 26px;
  text-align: center;
  font-size: clamp(30px, 2.8vw, 40px);
}
.pills { display: grid; gap: 14px; }
.pill {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 10px 24px 10px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(var(--black), var(--black)) padding-box, linear-gradient(100deg, rgba(199, 159, 88, 0.85), rgba(245, 225, 166, 0.7) 45%, rgba(135, 102, 58, 0.85)) border-box;
  transition: transform 0.6s var(--ease);
}
.pill:hover { transform: translateX(6px); }
.pill__icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #f1dba2, #c9a35e 55%, #9c7637);
  color: #16110a;
}
.pill__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pill__label {
  display: block;
  margin-bottom: 2px;
  font: 400 16px/1.2 var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ecd8ad;
}
.pill__value { display: block; font-size: 15px; line-height: 1.35; color: var(--mist); overflow-wrap: anywhere; }
/* form */
.form {
  padding: clamp(26px, 3.6vw, 52px);
  border: 1px solid rgba(21, 19, 15, 0.08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 60px 100px -70px rgba(60, 40, 10, 0.5);
}
.form h3 { margin-bottom: 8px; }
.form__intro { margin-bottom: 28px; font-size: 15px; color: var(--ink-2); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 20px; }
.f { display: grid; gap: 8px; align-content: start; }
.f--full { grid-column: 1 / -1; }
.f label, .chips legend {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.req { color: var(--gold-deep); }
.f input, .f select, .f textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(21, 19, 15, 0.22);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.f textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.f select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a5a2e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.f input:focus, .f select:focus, .f textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(200, 162, 93, 0.28);
}
.f ::placeholder { color: #77706a; }
.f [aria-invalid="true"] { border-color: var(--gold-deep); border-width: 2px; padding: 12px 15px; }
.f__err {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--gold-deep);
}
.f__err::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 17px; height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gold-deep);
  color: #fff;
  font: 600 11px/1 var(--sans);
}
.chips { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chips__row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(21, 19, 15, 0.24);
  border-radius: 999px;
  font-size: 14.5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.6;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--mist); }
.chip input:checked + span::before { background: var(--gold); border-color: var(--gold); opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form__note { font-size: 13.5px; color: var(--ink-2); max-width: 36ch; }
.form__status {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  background: #fbf6ea;
  font-size: 15px;
  line-height: 1.55;
}
.form__status strong { display: block; margin-bottom: 2px; font: 400 20px/1.3 var(--serif); }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }
.form__status--error { border-color: var(--gold-deep); border-width: 2px; background: #fff; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .fgrid { grid-template-columns: 1fr; }
  .pill { padding-right: 16px; gap: 14px; }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 9;
  overflow-x: clip;
  padding: var(--sec-pad) 0 calc(34px + env(safe-area-inset-bottom));
  background: var(--black);
}
.footer__cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 30px;
}
.footer__cta h2 { max-width: 13ch; }
.footer .arcs { opacity: 0.5; }
.fmark {
  --u: calc(min(92vw, 1500px) / 3864);
  display: grid;
  justify-items: center;
  margin-top: clamp(80px, 11vw, 170px);
}
.fmark__word { display: flex; overflow: hidden; padding-top: calc(10 * var(--u)); }
.fl { width: calc(var(--w) * var(--u)); height: calc(735 * var(--u)); }
.fl svg { width: 100%; height: 100%; overflow: visible; fill: url(#lg-gold); }
.fmark__rule {
  width: calc(3864 * var(--u));
  height: max(2px, calc(56.2 * var(--u)));
  margin-top: calc(143.7 * var(--u));
  background: var(--g);
  transform-origin: 50% 50%;
}
.fmark__sub { display: flex; margin-top: calc(142.1 * var(--u)); }
.fs { width: calc(var(--w) * var(--u)); height: calc(257 * var(--u)); }
.fs svg { width: 100%; height: 100%; overflow: visible; fill: url(#lg-gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: 28px;
  border-top: 1px solid rgba(200, 162, 93, 0.2);
  font-size: 14px;
  color: var(--mist-2);
}
.footer__legal { display: grid; gap: 4px; }
.footer__legal strong { font-weight: 500; letter-spacing: 0.08em; color: var(--mist); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__bottom a { transition: color 0.3s; }
.footer__bottom a:hover { color: var(--mist); }
@media (max-width: 899px) { .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); } }

/* ---------- Mobile action bar ---------- */
.mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(200, 162, 93, 0.22);
  transition: transform 0.6s var(--ease);
}
.mbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(243, 239, 231, 0.28);
  font: 500 14px/1 var(--sans);
  letter-spacing: 0.03em;
  color: var(--mist);
}
.mbar a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mbar .mbar__book { flex: 1.7; border: 0; background: var(--g-btn); color: #16110a; }
@media (max-width: 899px) { .mbar { display: flex; } }
.intro .mbar, .is-locked .mbar, .mbar.is-away { transform: translateY(110%); }

/* ---------- Scroll hint: a quiet nudge when a scene is waiting for the visitor ---------- */
.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #d8c69c;
  font: 500 10.5px/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.scroll-hint.is-on { opacity: 0.85; transform: translate(-50%, 0); }
.scroll-hint[data-theme="light"] { color: var(--gold-deep); }
.scroll-hint__line { position: relative; display: block; width: 1px; height: 40px; overflow: hidden; }
.scroll-hint__line::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0.3; }
.scroll-hint__line i {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 18px;
  background: linear-gradient(rgba(0, 0, 0, 0), currentColor);
  transform: translateY(-100%);
  animation: hintGleam 2.4s var(--ease-io) infinite paused;
}
.scroll-hint.is-on .scroll-hint__line i { animation-play-state: running; }
@keyframes hintGleam { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(230%); } }
@media (max-width: 899px) { .scroll-hint { bottom: calc(84px + env(safe-area-inset-bottom)); } }
html:not(.motion) .scroll-hint { display: none; }

/* ---------- Photo viewer ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: 1fr auto;
  background: rgba(0, 0, 0, 0.96);
  color: var(--mist);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: calc(76px + env(safe-area-inset-top)) clamp(16px, 7vw, 110px) 12px;
  overflow: hidden;
  touch-action: pan-y;
}
.lb__stage picture { display: contents; }
.lb__img {
  max-width: 100%;
  max-height: calc(100vh - 210px);
  max-height: calc(100svh - 210px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.8s var(--ease), opacity 0.4s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.lb.is-open .lb__img { transform: none; }
.lb__cap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 16px;
  padding: 10px 20px calc(30px + env(safe-area-inset-bottom));
  text-align: center;
}
.lb__count { font-size: 13px; letter-spacing: 0.16em; color: var(--mist-2); }
.lb__title { font: 400 clamp(19px, 1.8vw, 24px)/1.3 var(--serif); }
.lb__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(236, 213, 158, 0.5);
  background: rgba(0, 0, 0, 0.5);
  color: var(--gold-light);
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.lb__btn:hover { border-color: var(--gold-light); }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb__close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lb__prev, .lb__next { top: 50%; margin-top: -27px; }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
@media (max-width: 700px) {
  .lb__prev, .lb__next { top: auto; margin-top: 0; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .lb__stage { padding-bottom: 80px; }
}

/* ---------- Cursor (mouse only) ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.cursor__ring, .cursor__dot {
  position: fixed;
  left: 0; top: 0;
  z-index: 120;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
}
.cursor.is-on .cursor__ring, .cursor.is-on .cursor__dot { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-light); }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; }
.cursor__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 203, 140, 0.75);
  transition: transform 0.5s var(--ease), background-color 0.5s, border-color 0.5s;
}
.cursor.is-hover .cursor__ring::before { transform: scale(1.5); background: rgba(232, 203, 140, 0.08); }
.cursor.is-label .cursor__ring::before { transform: scale(2); background: var(--gold); border-color: transparent; }
.cursor__label { position: relative; font: 500 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: #16110a; opacity: 0; transition: opacity 0.3s; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- Generic reveals (only with motion) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(34px); }
.motion .split .w { display: inline-block; }
.motion .split-mask .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.motion .split-mask .wm > span { display: inline-block; transform: translateY(110%); }
.motion .hero [data-hero] { opacity: 0; }
.motion .hero .split-mask .wm > span { transform: translateY(110%); }
.motion .hero__arch { clip-path: inset(100% 0 0 0); }
.motion .hero__arcs svg { clip-path: inset(0 100% 0 0); }

/* ---------- Reduced motion: no transitions, no animation ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .btn, .pill, .chip span { border: 1px solid CanvasText; }
  .lockup, .fl svg, .fs svg, .is svg { fill: CanvasText; }
}
