/* ==========================================================================
   MARBLE — Digital Atelier, Vancouver
   styles.css

   Contents:
   01. Tokens & base
   02. Typography utilities
   03. Preloader
   04. Custom cursor
   05. Nav
   06. Hero
   07. Manifesto
   08. Work (completed projects)
   09. Studio
   10. Inquire
   11. Footer
   12. Responsive
   13. Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Tokens & base
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (fixed) */
  --ivory:        #FAF7F2;
  --charcoal:     #1A1A1A;
  --bronze:       #9C7A4D;
  --bronze-foil:  #A8845A;
  --ink-2:        #4A463F;
  --warm-grey:    #8A8580;
  --deep-ink:     #0E0E0E;
  --hairline:     #D9D3C8;

  /* Theme variables (animated by GSAP during the studio dark shift) */
  --bg:     var(--ivory);
  --fg:     var(--charcoal);
  --muted:  #5C574E;   /* secondary text — darkened for legibility */
  --rule:   #D9D3C8;
  --accent: #9C7A4D;

  /* Type */
  --font-display: 'Bodoni Moda', 'Didot', serif;
  --font-body:    'Archivo', 'Helvetica Neue', sans-serif;

  /* Motion */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1400px;
  --gutter: clamp(24px, 6vw, 80px);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* Lenis owns scrolling */
}

html.is-locked {
  overflow: hidden;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* No rounded corners anywhere except circles; no native cursor when the
   custom dot is active */
.has-cursor,
.has-cursor a,
.has-cursor button {
  cursor: none;
}

::selection {
  background: var(--bronze);
  color: var(--ivory);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

section {
  padding-block: clamp(120px, 18vh, 240px);
}

/* --------------------------------------------------------------------------
   02. Typography utilities
   -------------------------------------------------------------------------- */

/* Letterspaced small-caps label */
.label {
  font-family: var(--font-body);
  font-size: 0.6875rem;       /* 11px */
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* Section marker: bronze, with a short leading rule */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 16px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

/* --------------------------------------------------------------------------
   03. Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.preloader__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%; /* slight overlap hides the seam between curtains */
  background: var(--charcoal);
}

.preloader__panel--top    { top: 0; }
.preloader__panel--bottom { bottom: 0; }

.preloader__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.preloader__mark {
  width: 84px;
  height: 84px;
}

.preloader__mark line {
  stroke: var(--ivory);
  stroke-width: 3;
}

.preloader__point {
  fill: var(--bronze-foil);
  opacity: 0;
}

.preloader__corner {
  position: absolute;
  bottom: max(36px, env(safe-area-inset-bottom));
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.55);
}

.preloader__corner--brand   { left: 40px; }
.preloader__corner--counter { right: 40px; }

.preloader__counter {
  font-variant-numeric: tabular-nums;
  color: var(--bronze-foil);
}

/* --------------------------------------------------------------------------
   04. Custom cursor
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none; /* enabled via .has-cursor */
}

.has-cursor .cursor { display: block; }
.cursor.is-on       { opacity: 1; }

.cursor__dot {
  /* Solid, theme-aware dot with a contrast halo so it stays visible on any
     background (no mix-blend — that made it disappear over mid-tones). */
  width: 12px;
  height: 12px;
  border-radius: 50%; /* circles are the one permitted curve */
  background: var(--fg);
  box-shadow: 0 0 0 1.5px var(--bg);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    width  0.5s var(--ease-expo),
    height 0.5s var(--ease-expo),
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.cursor.is-link .cursor__dot {
  width: 38px;
  height: 38px;
  background: transparent;
  box-shadow: 0 0 0 1px var(--accent);
}

.cursor.is-view .cursor__dot {
  width: 100px;
  height: 100px;
  background: var(--accent);
  box-shadow: none;
}

.cursor__label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.25s ease 0.1s;
}

.cursor.is-view .cursor__label { opacity: 1; }

/* --------------------------------------------------------------------------
   05. Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  padding-top: max(26px, env(safe-area-inset-top));
  transform: translateY(0);
  transition:
    transform 0.55s var(--ease-expo),
    background-color 0.4s ease,
    border-color 0.4s ease,
    backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav--hidden {
  transform: translateY(-100%);
}

/* Keep the nav (and its toggle) above the overlay while the menu is open */
.menu-open .nav {
  z-index: 130;
  transform: translateY(0);
}

.nav--solid {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
  padding-block: 18px;
  padding-top: max(18px, env(safe-area-inset-top));
}

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;     /* ~17px */
  letter-spacing: 0.2em;
  text-indent: 0.2em;       /* optical centering per handoff */
  text-transform: uppercase;
  color: var(--fg);
}

.nav__links {
  display: flex;
  gap: 44px;
}

.nav__links a {
  position: relative;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  padding-bottom: 5px;
  transition: color 150ms ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease-expo);
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

/* Mobile toggle — two hairlines that cross into an X when open.
   Hidden on desktop; revealed at the 768px breakpoint. */
.nav__toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 14px;
  background: none;
  border: 0;
  padding: 0;
  z-index: 130;
}

.nav__toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--fg);
  transition: transform 0.5s var(--ease-expo), background-color 0.4s ease;
}

.nav__toggle-line:nth-child(1) { top: 3px; }
.nav__toggle-line:nth-child(2) { bottom: 3px; }

.menu-open .nav__toggle-line { background: var(--charcoal); }
.menu-open .nav__toggle-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__toggle-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Full-bleed ivory overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition: clip-path 0.8s var(--ease-expo);
}

.menu-open .menu {
  clip-path: inset(0 0 0% 0);
  pointer-events: auto;
}

.menu__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 14vw, 4.5rem);
  line-height: 1.18;
  color: var(--charcoal);
  opacity: 0;
  transform: translateY(40px);
}

.menu-open .menu__links a {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-expo), transform 0.9s var(--ease-expo);
}

.menu-open .menu__links a:nth-child(1) { transition-delay: 0.18s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: 0.26s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: 0.34s; }

.menu__index {
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  color: var(--bronze);
}

.menu__foot {
  position: absolute;
  left: var(--gutter);
  bottom: max(clamp(40px, 8vh, 72px), env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.menu__foot .footer__rule { margin: 0 0 18px; }

.menu__foot-label {
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}

.menu__email {
  font-size: 0.875rem;
  color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   06. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 0;
}

.hero__eyebrow {
  margin-bottom: clamp(28px, 4vh, 44px);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.375rem, 8vw, 7rem); /* 38px floor per handoff */
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--fg);
  max-width: 14ch;
}

.hero__line { display: block; }

/* Word masks: padding/negative-margin keeps Bodoni descenders unclipped */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.13em;
  margin-block: -0.13em;
}

.w-in {
  display: inline-block;
  will-change: transform;
}

.hero__rule {
  width: min(38vw, 480px);
  height: 1px;
  background: var(--accent);
  margin-top: clamp(36px, 6vh, 64px);
}

.hero__foot {
  position: absolute;
  bottom: max(44px, env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
}

.hero__scroll .label {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--accent);
}

.hero__booking {
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
}

/* --------------------------------------------------------------------------
   07. Manifesto
   -------------------------------------------------------------------------- */
/* A black card that opens into the page; white text lights up word by word */
.manifesto__box {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  background: var(--deep-ink);
  padding: clamp(40px, 6vw, 104px);
  box-shadow: 0 36px 80px -36px rgba(14, 14, 14, 0.55);
  will-change: clip-path;
}

.manifesto__eyebrow {
  color: var(--bronze-foil);
  margin-bottom: clamp(30px, 5vh, 54px);
}

.manifesto__eyebrow::before { background: var(--bronze-foil); }

.manifesto__text {
  /* Fraunces here by request — it carries more weight than Bodoni's
     hairlines, so the manifesto stays legible at every size */
  font-family: 'Fraunces', var(--font-display);
  font-weight: 480;
  font-size: clamp(1.625rem, 3vw, 3rem);
  line-height: 1.46;
  color: var(--ivory);
}

.manifesto__text .word {
  display: inline-block; /* lets GSAP address each word */
}

/* --------------------------------------------------------------------------
   08. Work — completed projects
   -------------------------------------------------------------------------- */
.work__header {
  margin-bottom: clamp(72px, 12vh, 140px);
}

.work__header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(32px, 5vh, 56px);
}

.work__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.375rem, 5vw, 4.625rem);
  line-height: 1.08;
}

.work__count {
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

/* Completed projects — horizontal gallery (FX) / vertical stack (fallback) */
.work__intro { margin-bottom: clamp(48px, 8vh, 90px); }

.hgallery { position: relative; }

/* default (mobile / no-fx): a clean vertical stack */
.hgallery__track {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 12vh, 130px);
}

.panel { position: relative; }
.panel__ghost { display: none; }

.panel__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.panel__media { position: relative; }

.panel__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.04) brightness(0.94);
  transition: filter 0.9s var(--ease-expo), transform 1.2s var(--ease-expo);
}

.panel__media:hover .panel__img { filter: none; transform: scale(1.04); }

.panel__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(26, 26, 26, 0.16);
  transition: background-color 0.9s var(--ease-expo);
}

.panel__media:hover .panel__frame::after { background: rgba(26, 26, 26, 0); }

.panel__no {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  color: var(--ivory);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
}

.panel__kicker { color: var(--accent); letter-spacing: 0.28em; margin-bottom: 18px; }

.panel__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.panel__study {
  margin-top: 20px;
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 46ch;
}

.panel__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.panel__facts dt { color: var(--accent); font-size: 0.625rem; letter-spacing: 0.24em; margin-bottom: 8px; }
.panel__facts dd { font-size: 0.8125rem; color: var(--fg); }

.panel__quote { margin-top: 26px; padding-left: 22px; border-left: 1px solid var(--accent); }
.panel__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--fg);
  max-width: 42ch;
}
.panel__quote footer { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.panel__author { color: var(--fg); font-size: 0.6875rem; letter-spacing: 0.2em; }
.panel__role { font-size: 0.75rem; color: var(--muted); }

.hgallery__ui { display: none; }

/* ---- FX: horizontal pinned gallery (desktop) ---- */
.fx .hgallery { height: 100vh; overflow: hidden; }
.fx .hgallery__viewport { height: 100vh; }

.fx .hgallery__track {
  flex-direction: row;
  gap: 0;
  height: 100vh;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.fx .panel {
  width: 86vw;
  height: 100vh;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 clamp(40px, 6vw, 110px);
}

.fx .panel__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 4vw, 80px);
}

.fx .panel__frame { aspect-ratio: 4 / 5; max-height: 68vh; }
.fx .panel__img { width: 116%; left: -8%; right: auto; }

.fx .panel__ghost {
  display: block;
  position: absolute;
  top: 50%;
  left: clamp(20px, 3vw, 56px);
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 46vh;
  line-height: 0.7;
  color: var(--fg);
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

.fx .hgallery__ui {
  display: flex;
  align-items: center;
  gap: 20px;
  position: absolute;
  left: clamp(24px, 6vw, 80px);
  bottom: clamp(26px, 5vh, 52px);
  z-index: 3;
}
.fx .hgallery__count { font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: 0.08em; color: var(--fg); font-variant-numeric: tabular-nums; }
.hg-sep, .hg-total { color: var(--muted); }
.fx .hgallery__bar { position: relative; width: clamp(120px, 16vw, 240px); height: 1px; background: var(--rule); overflow: hidden; }
.fx .hgallery__fill { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0); background: var(--accent); }
.fx .hgallery__hint { color: var(--muted); font-size: 0.625rem; letter-spacing: 0.26em; }

/* --------------------------------------------------------------------------
   09. Studio — dark shift section
   -------------------------------------------------------------------------- */
.studio {
  padding-block: clamp(160px, 24vh, 300px);
}

.studio .eyebrow {
  margin-bottom: clamp(48px, 8vh, 80px);
}

.studio__statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  line-height: 1.4;
  max-width: 1080px;
}

.studio__statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.studio__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(80px, 14vh, 160px);
}

.studio__detail {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}

.studio__detail-label {
  color: var(--accent);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}

.studio__detail-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 32ch;
}

/* --------------------------------------------------------------------------
   10. Inquire
   -------------------------------------------------------------------------- */
.inquire .eyebrow {
  margin-bottom: clamp(40px, 6vh, 64px);
}

.inquire__scarcity {
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  margin-bottom: clamp(28px, 4vh, 44px);
}

.inquire__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1.1;
  color: var(--fg);
  padding-bottom: 0.06em;
}

.inquire__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-expo);
}

.inquire__link:hover::after {
  transform: scaleX(1);
}

.inquire__arrow {
  display: inline-flex;
  transition: transform 0.7s var(--ease-expo);
}

.inquire__arrow svg {
  width: 0.72em;
  height: auto;
}

.inquire__link:hover .inquire__arrow {
  transform: translateX(0.22em);
}

.inquire__note {
  margin-top: clamp(28px, 4vh, 44px);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.footer {
  padding-block: clamp(80px, 12vh, 140px) max(48px, env(safe-area-inset-bottom));
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: clamp(56px, 8vh, 96px);
}

.footer__lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__monogram {
  width: 30px;
  height: 30px;
  color: var(--fg);
  margin-bottom: 22px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1875rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
}

.footer__rule {
  width: 44px;
  height: 1px;
  background: var(--accent);
  margin-block: 18px;
}

.footer__tagline {
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.42em;
}

.footer__col {
  font-size: 0.8125rem;
  line-height: 2;
  color: var(--muted);
}

.footer__col a {
  color: var(--fg);
  transition: color 150ms ease;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__col-label {
  color: var(--accent);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.footer__bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(72px, 10vh, 120px);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer__proof {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   11b. Global film grain — a whisper of texture over everything
   -------------------------------------------------------------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* --------------------------------------------------------------------------
   11c. Marquee — slow editorial ticker, hairlines top & bottom
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  padding-block: clamp(18px, 2.6vh, 30px);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  white-space: nowrap;
  will-change: transform;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 3vw, 2.5rem);
  color: var(--fg);
}

.marquee__sep {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   11d. Method — how a project takes shape
   -------------------------------------------------------------------------- */
.method__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.08;
  margin-top: clamp(28px, 4vh, 48px);
  max-width: 18ch;
}

.method__lede {
  margin-top: 28px;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 58ch;
}

.method__list { margin-top: clamp(56px, 9vh, 110px); }

.step {
  display: grid;
  grid-template-columns: clamp(56px, 7vw, 110px) 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  padding: clamp(28px, 4.5vh, 52px) clamp(14px, 2vw, 28px);
  border-top: 1px solid var(--rule);
  transition: background-color 0.4s ease;
}

.step:last-child { border-bottom: 1px solid var(--rule); }
.step:hover { background: #F4F0E8; }

.step__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.625rem, 3vw, 2.75rem);
  line-height: 1;
  color: var(--accent);
}

.step__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.step__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.375rem);
  line-height: 1.1;
}

.step__tag { color: var(--muted); white-space: nowrap; }

.step__body {
  margin-top: 16px;
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 64ch;
}

/* --------------------------------------------------------------------------
   11d-ii. Method as an opening invitation (FX); plain section otherwise
   -------------------------------------------------------------------------- */
.invite { position: relative; }
.invite__doors { display: none; }

.fx .invite { height: 100vh; overflow: hidden; }
.fx .invite__inside {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fx .method__head { margin-bottom: clamp(24px, 4vh, 48px); }
.fx .method__title { margin-top: clamp(16px, 2.4vh, 30px); font-size: clamp(2rem, 4vw, 3.4rem); max-width: none; }
.fx .method__lede { margin-top: 22px; }

/* the four movements unfold into a four-panel letter */
.fx .method__list {
  margin-top: clamp(28px, 4vh, 52px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
}
.fx .step {
  display: block;
  border: 0;
  border-top: 1px solid var(--rule);
  padding: 22px 0 0;
}
.fx .step:last-child { border-bottom: 0; }
.fx .step:hover { background: transparent; }
.fx .step__num { display: block; margin-bottom: 16px; }
.fx .step__row { flex-direction: column; align-items: flex-start; gap: 8px; }
.fx .step__name { font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
.fx .step__body { font-size: 0.875rem; max-width: none; margin-top: 14px; }

/* the closed invitation: two doors meeting at a bronze seal */
.fx .invite__doors { display: block; }
.fx .invite__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background: var(--charcoal);
  z-index: 5;
  display: flex;
  align-items: center;
  overflow: hidden;
  will-change: transform;
}
.fx .invite__door--l { left: 0; justify-content: flex-end; padding-right: clamp(80px, 9vw, 170px); }
.fx .invite__door--r { right: 0; justify-content: flex-start; padding-left: clamp(80px, 9vw, 170px); }
.fx .invite__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6rem);
  color: var(--ivory);
  letter-spacing: 0.02em;
}
.fx .invite__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  will-change: transform, opacity;
}
.fx .invite__mono { width: 66px; height: 66px; }
.fx .invite__seal-label { color: var(--bronze-foil); font-size: 0.625rem; letter-spacing: 0.34em; }

/* --------------------------------------------------------------------------
   11e. Figures — count-up band (lives in Studio, on deep ink)
   -------------------------------------------------------------------------- */
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(56px, 9vh, 120px);
}

.figure {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.figure__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

.figure__label {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
}

/* --------------------------------------------------------------------------
   11f. Inquire details
   -------------------------------------------------------------------------- */
.inquire__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(48px, 7vh, 88px);
}

.inquire__detail {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--muted);
}

.inquire__detail a { color: var(--fg); transition: color 150ms ease; }
.inquire__detail a:hover { color: var(--accent); }

.inquire__detail-label {
  color: var(--accent);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .fx .panel { width: 92vw; padding: 0 clamp(28px, 5vw, 60px); }
  .fx .panel__inner { grid-template-columns: 1fr; row-gap: 22px; align-content: center; }
  .fx .panel__frame { aspect-ratio: 16 / 10; max-height: 38vh; }
  .fx .panel__img { width: 100%; left: 0; }
  .fx .method__list { grid-template-columns: repeat(2, 1fr); gap: 28px 36px; }
}

@media (max-width: 768px) {
  section { padding-block: clamp(96px, 15vh, 140px); }

  .nav { padding: 20px var(--gutter); }
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .hero__foot { bottom: 32px; }
  .hero__booking { display: none; }

  .work__header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hgallery__track { gap: 72px; }

  .panel__inner {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .panel__frame { aspect-ratio: 4 / 5; }

  .panel__study,
  .panel__quote p { max-width: none; }

  .studio__details {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .marquee__item { font-size: 1.375rem; }

  .step {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding-inline: 0;
  }

  .step__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .figures { grid-template-columns: 1fr; gap: 30px; }
  .inquire__details { grid-template-columns: 1fr; gap: 30px; }
}

/* --------------------------------------------------------------------------
   11h. Page-turn curtain — covers navigation between pages
   -------------------------------------------------------------------------- */
.pagewipe {
  position: fixed;
  inset: -1% 0;
  z-index: 205;
  background: var(--charcoal);
  transform: translateY(101%);
  pointer-events: none;
}
.subpage .pagewipe { transform: translateY(0); } /* covers until JS lifts it */
html.reduced .pagewipe { display: none; }

/* Destination motifs inside the curtain (revealed per-journey by JS) */
.pw-gallery,
.pw-seal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
}

.pw-gallery__frame {
  width: clamp(150px, 18vw, 220px);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--bronze-foil);
  position: relative;
}
.pw-gallery__frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(168, 132, 90, 0.45);
}
.pw-gallery__numerals {
  display: flex;
  gap: 26px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--ivory);
}
.pw-gallery__numerals span:nth-child(2) { color: var(--bronze-foil); }
.pw-gallery__label,
.pw-seal__label {
  color: rgba(250, 247, 242, 0.6);
  font-size: 0.625rem;
  letter-spacing: 0.34em;
}
.pw-seal__mono { width: clamp(90px, 10vw, 130px); height: auto; }

/* Fourth menu item (Method) gets its stagger too */
.menu-open .menu__links a:nth-child(4) { transition-delay: 0.42s; }

/* --------------------------------------------------------------------------
   11i. Études — three living art pieces on one canvas
   -------------------------------------------------------------------------- */
.etudes { padding-block: 0; }

.etudes__stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

#etudeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.etudes__ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(36px, 7vh, 72px);
  pointer-events: none;
}

.etudes__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  color: var(--fg);
  margin-top: clamp(18px, 3vh, 30px);
}

.etudes__cap {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
}

.etudes__meta {
  position: absolute;
  top: clamp(96px, 14vh, 130px);
  right: var(--gutter);
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}

.etudes__bar {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(36px, 7vh, 72px);
  width: 1px;
  height: clamp(120px, 22vh, 220px);
  background: var(--rule);
}
.etudes__bar i {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
}

@media (max-width: 768px) {
  .etudes__stage { height: 82svh; }
  .etudes__meta { display: none; }
}

/* --------------------------------------------------------------------------
   11j. The Collection — two doors: the work, or the method
   -------------------------------------------------------------------------- */
.paths { padding-bottom: 0; }
.paths .container { margin-bottom: clamp(40px, 7vh, 72px); }

.paths__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.path {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 66vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(32px, 5vw, 72px);
  transition: background-color 0.6s ease;
}

.path--work {
  background: var(--charcoal);
  color: var(--ivory);
}
.path--work:hover { background: var(--deep-ink); }

.path--method {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--rule);
  border-left: 0;
}
.path--method:hover { background: color-mix(in srgb, var(--fg) 5%, transparent); }

.path__ghost {
  position: absolute;
  top: 46%;
  right: clamp(16px, 3vw, 48px);
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.8;
  opacity: 0.06;
  pointer-events: none;
}

.path__kicker { color: var(--bronze-foil); letter-spacing: 0.3em; }

.path__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.12;
}
.path__title em { font-style: italic; color: var(--bronze-foil); }

.path__go {
  color: inherit;
  opacity: 0.75;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  display: inline-flex;
  gap: 10px;
}
.path__arrow { display: inline-block; transition: transform 0.6s var(--ease-expo); }
.path:hover .path__arrow { transform: translateX(10px); }

@media (max-width: 768px) {
  .paths__row { grid-template-columns: 1fr; }
  .path { min-height: 52vh; }
  .path--method { border-left: 1px solid var(--rule); border-top: 0; }
}

/* --------------------------------------------------------------------------
   11k. Continue + subpage footer
   -------------------------------------------------------------------------- */
.continue { padding-block: clamp(90px, 14vh, 180px); }

.continue__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: clamp(24px, 4vh, 40px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 1.1;
  color: var(--fg);
  padding-bottom: 0.06em;
}
.continue__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-expo);
}
.continue__link:hover::after { transform: scaleX(1); }
.continue__arrow { display: inline-flex; transition: transform 0.7s var(--ease-expo); }
.continue__arrow svg { width: 0.72em; height: auto; }
.continue__link:hover .continue__arrow { transform: translateX(0.22em); }

.continue__note { margin-top: clamp(24px, 4vh, 40px); color: var(--muted); letter-spacing: 0.24em; }
.continue__home { color: var(--accent); }

.footer--sub .footer__bottom { border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 0; }

/* --------------------------------------------------------------------------
   12b. Cross-over band — deliberately set in Nullform's house style
   (ink, coral, Archivo 900, one italic serif word, a rounded sticker —
   the one place this site is allowed to shout)
   -------------------------------------------------------------------------- */
.twin-loud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.6vh, 24px);
  text-align: center;
  background: #0E0C0A;
  padding: clamp(64px, 11vh, 120px) var(--gutter)
           calc(clamp(64px, 11vh, 120px) + env(safe-area-inset-bottom, 0px));
  transition: background-color 0.5s ease;
}

.twin-loud__sticker {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #0E0C0A;
  background: #FF5A2D;
  padding: 7px 14px;
  border-radius: 999px;
  transform: rotate(-3deg);
  transition: background-color 0.5s ease, color 0.5s ease;
}

.twin-loud__text {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #F4EDE1;
  transition: color 0.5s ease;
}

.twin-loud__text em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.12em;
  color: #FF5A2D;
  transition: color 0.5s ease;
}

.twin-loud__go {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #A89F8F;
  transition: color 0.5s ease;
}

.twin-loud:hover { background: #FF5A2D; }
.twin-loud:hover .twin-loud__sticker { background: #0E0C0A; color: #FF5A2D; }
.twin-loud:hover .twin-loud__text,
.twin-loud:hover .twin-loud__text em,
.twin-loud:hover .twin-loud__go { color: #0E0C0A; }

/* --------------------------------------------------------------------------
   14. MARBLE — the name, made visible.
   The dark surfaces become slabs of black marble: faint ivory veins
   run through the manifesto and the charcoal door of the Collection.
   -------------------------------------------------------------------------- */
.manifesto__box::after,
.path--work::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700' viewBox='0 0 700 700' fill='none' stroke='%23FAF7F2'%3E%3Cpath d='M-30 120 C 90 60, 160 210, 300 150 S 520 40, 730 170' stroke-width='1.2'/%3E%3Cpath d='M180 -20 C 150 140, 260 220, 230 360 S 90 560, 200 720' stroke-width='0.8' opacity='0.7'/%3E%3Cpath d='M-40 430 C 140 380, 240 520, 430 460 S 640 350, 740 430' stroke-width='1'/%3E%3Cpath d='M520 -30 C 470 120, 600 260, 540 420 S 430 620, 560 730' stroke-width='0.7' opacity='0.6'/%3E%3Cpath d='M300 150 C 330 190, 310 240, 360 270' stroke-width='0.5' opacity='0.5'/%3E%3Cpath d='M430 460 C 400 500, 430 540, 400 580' stroke-width='0.5' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 700px 700px;
}

/* keep the slab contents above the veining */
.manifesto__box > * { position: relative; z-index: 1; }
.path > * { position: relative; z-index: 1; }

/* ==========================================================================
   15. INVESTMENT (pricing.html) + CONTACT (contact.html)
   Editorial, quiet, bronze-accented — native to the atelier.
   ========================================================================== */

/* -- shared section heading -- */
.section-head { max-width: 46rem; margin-bottom: clamp(48px, 7vh, 90px); }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 20px;
}
.section-head__lede {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
  margin-top: 22px;
  max-width: 40rem;
}

/* -- price hero -- */
.price-hero { padding-top: clamp(140px, 22vh, 260px); padding-bottom: clamp(60px, 10vh, 120px); }
.price-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 28px 0 0;
}
.price-hero__line { display: block; }
.price-hero__line--em { font-style: italic; color: var(--bronze); }
.price-hero__lede {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 42rem;
  margin-top: clamp(28px, 4vh, 48px);
}
.price-hero__lede em { font-style: italic; color: var(--fg); }
.price-hero__min { margin-top: 34px; color: var(--muted); }
.price-hero__figure {
  font-family: var(--font-display);
  font-size: 1.5em;
  color: var(--fg);
  letter-spacing: normal;
  margin-left: 6px;
}

/* -- tiers -- */
.tiers { padding-block: clamp(60px, 10vh, 120px); }
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 48px) clamp(26px, 2.6vw, 40px) clamp(34px, 3.4vw, 48px);
  border: 1px solid var(--hairline);
  background: #FCFAF6;
}
.tier--featured { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.tier__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bronze);
  display: block;
  margin-bottom: 26px;
}
.tier__ribbon {
  position: absolute;
  top: 22px; right: 22px;
  color: var(--bronze-foil);
}
.tier__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 14px;
}
.tier__price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.tier__from { display: block; color: var(--bronze); margin-bottom: 4px; }
.tier--featured .tier__from { color: var(--bronze-foil); }
.tier__desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 26px;
}
.tier--featured .tier__desc { color: #C9C3B8; }
.tier__list { list-style: none; padding: 0; margin: 0 0 auto; border-top: 1px solid var(--hairline); }
.tier--featured .tier__list { border-top-color: rgba(250,247,242,0.18); }
.tier__list li {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--fg);
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.tier--featured .tier__list li { color: #E8E3D9; border-bottom-color: rgba(250,247,242,0.14); }
.tier__list li::before {
  content: "";
  position: absolute; left: 0; top: 20px;
  width: 9px; height: 1px; background: var(--bronze);
}
.tier__lead { margin-top: 26px; color: var(--bronze); }
.tier--featured .tier__lead { color: var(--bronze-foil); }

/* -- continued care (recurring) -- */
.care {
  padding-block: clamp(80px, 13vh, 160px);
  background: linear-gradient(180deg, transparent, rgba(156,122,77,0.05));
  border-top: 1px solid var(--hairline);
}
.care__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 38px);
  border: 1px solid var(--hairline);
  background: var(--ivory);
}
.plan--featured { border-color: var(--bronze); box-shadow: 0 30px 70px -44px rgba(60,44,20,0.5); }
.plan__badge {
  position: absolute; top: -10px; left: 24px;
  background: var(--bronze); color: var(--ivory);
  padding: 5px 12px;
}
.plan__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.plan__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
}
.plan__price {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  white-space: nowrap;
}
.plan__per { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted); }
.plan__desc { font-family: var(--font-body); font-style: italic; color: var(--bronze); margin-bottom: 22px; font-size: 0.98rem; }
.plan__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hairline); }
.plan__list li {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.plan__list li::before {
  content: "";
  position: absolute; left: 0; top: 19px;
  width: 9px; height: 1px; background: var(--bronze);
}

/* -- add-ons -- */
.addons { padding-block: clamp(70px, 11vh, 140px); }
.addons__list { list-style: none; padding: 0; margin: 0 0 clamp(36px,5vh,60px); border-top: 1px solid var(--hairline); }
.addon {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: clamp(18px, 2.4vh, 26px) 0;
  border-bottom: 1px solid var(--hairline);
}
.addon__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.55rem); }
.addon__price { color: var(--bronze); white-space: nowrap; }
.fineprint { color: var(--muted); max-width: 44rem; line-height: 1.7; }

/* -- contact -- */
.contact { padding-top: clamp(140px, 22vh, 260px); padding-bottom: clamp(80px, 12vh, 150px); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 24px 0 0;
}
.contact__line { display: block; }
.contact__line--em { font-style: italic; color: var(--bronze); }
.contact__lede {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
  margin-top: 28px;
  max-width: 34rem;
}
.contact__details { margin-top: clamp(40px, 6vh, 72px); border-top: 1px solid var(--hairline); }
.contact__detail { padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.contact__detail dt { margin-bottom: 8px; color: var(--bronze); }
.contact__detail dd { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--fg); }
.contact__detail dd a { color: var(--fg); border-bottom: 1px solid var(--bronze); padding-bottom: 2px; transition: color 0.3s var(--ease-expo); }
.contact__detail dd a:hover { color: var(--bronze); }

/* -- inquiry form -- */
.contact__form-wrap {
  border: 1px solid var(--hairline);
  background: #FCFAF6;
  padding: clamp(28px, 3.4vw, 52px);
}
.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 30px); }
.field { display: flex; flex-direction: column; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field__label { margin-bottom: 12px; color: var(--bronze); }
.field__input {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
  transition: border-color 0.4s var(--ease-expo);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder { color: var(--warm-grey); }
.field__input:focus { outline: none; border-bottom-color: var(--bronze); }
.field__textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239C7A4D' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 26px;
  cursor: pointer;
}
.inquiry__submit {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: 18px;
  align-self: start;
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--charcoal);
  border: none;
  padding: 20px 34px;
  cursor: pointer;
  transition: background-color 0.4s var(--ease-expo), color 0.4s var(--ease-expo);
}
.inquiry__submit:hover { background: var(--bronze); }
.inquiry__arrow { width: 48px; display: inline-flex; }
.inquiry__arrow svg { width: 100%; }
.inquiry__submit:hover .inquiry__arrow { transform: translateX(5px); transition: transform 0.4s var(--ease-expo); }
.inquiry__note { grid-column: 1 / -1; color: var(--warm-grey); letter-spacing: 0.04em; text-transform: none; font-size: 0.72rem; line-height: 1.6; }
.inquiry__note.is-sent { color: var(--bronze); }

@media (max-width: 900px) {
  .tiers__grid, .care__grid { grid-template-columns: 1fr; }
  .tier--featured { order: -1; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .inquiry { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
}


/* the preloader curtains are slabs too — the veining is anchored to the
   viewport (not each panel) so it runs continuously across the seam where
   the two curtains meet, instead of restarting from each panel's corner */
.preloader__panel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700' viewBox='0 0 700 700' fill='none' stroke='%23FAF7F2' opacity='0.05'%3E%3Cpath d='M-30 120 C 90 60, 160 210, 300 150 S 520 40, 730 170' stroke-width='1.2'/%3E%3Cpath d='M180 -20 C 150 140, 260 220, 230 360 S 90 560, 200 720' stroke-width='0.8'/%3E%3Cpath d='M-40 430 C 140 380, 240 520, 430 460 S 640 350, 740 430' stroke-width='1'/%3E%3Cpath d='M520 -30 C 470 120, 600 260, 540 420 S 430 620, 560 730' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 700px 700px;
  background-position: center center;
  background-attachment: fixed;
}

/* --------------------------------------------------------------------------
   13. Reduced motion — content appears, nothing moves
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

html.reduced .cursor,
html.reduced .preloader {
  display: none;
}

.inquiry__note.is-error { color: #A23B22; }

/* ==========================================================================
   16. LEGAL (privacy.html) + 404 (404.html) + delivery consent
   ========================================================================== */
.legal { padding-top: clamp(150px, 22vh, 260px); padding-bottom: clamp(90px, 14vh, 180px); }
.legal__wrap { max-width: 52rem; }
.legal__head { margin-bottom: clamp(44px, 7vh, 84px); }
.legal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 22px 0 18px;
}
.legal__meta { color: var(--warm-grey); }
.legal__lede {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  color: var(--fg);
  margin-bottom: clamp(36px, 5vh, 56px);
}
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin: clamp(32px, 4.5vh, 52px) 0 14px;
  color: var(--fg);
}
.legal__body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 44rem;
}
.legal__body a { color: var(--fg); border-bottom: 1px solid var(--bronze); padding-bottom: 1px; transition: color 0.3s var(--ease-expo); }
.legal__body a:hover { color: var(--bronze); }
.legal__note {
  font-style: italic;
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  color: var(--warm-grey) !important;
  font-size: 0.92rem !important;
}

/* 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; padding-block: 20vh; }
.notfound__inner { max-width: 44rem; }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.9;
  color: var(--bronze);
  margin-bottom: 8px;
}
.notfound__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.notfound__title em { font-style: italic; color: var(--bronze); }
.notfound__lede { font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 36rem; margin-bottom: clamp(32px, 5vh, 48px); }
.notfound__actions { display: flex; flex-direction: column; gap: 22px; }
.notfound__cta {
  display: inline-flex; align-items: center; gap: 16px; align-self: flex-start;
  font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory); background: var(--charcoal); padding: 18px 32px;
  transition: background-color 0.4s var(--ease-expo);
}
.notfound__cta:hover { background: var(--bronze); }
.notfound__cta .continue__arrow { width: 44px; }
.notfound__cta:hover .continue__arrow { transform: translateX(5px); transition: transform 0.4s var(--ease-expo); }
.notfound__alt { color: var(--warm-grey); }
.notfound__alt a { color: var(--bronze); border-bottom: 1px solid var(--hairline); }
.notfound__alt a:hover { border-bottom-color: var(--bronze); }

/* privacy consent line under the contact form + footer legal links */
.inquiry__consent { grid-column: 1 / -1; font-size: 0.72rem; color: var(--warm-grey); letter-spacing: 0.02em; text-transform: none; line-height: 1.6; margin-top: -6px; }
.inquiry__consent a { color: var(--bronze); border-bottom: 1px solid var(--hairline); }
.footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal-links a { color: var(--muted); transition: color 0.3s ease; }
.footer__legal-links a:hover { color: var(--bronze); }
