/* =========================================================
   MOD MORÉN — public site
   Black, ivory and a touch of champagne. Bodoni + Jost.
   ========================================================= */

/* Fonts are hosted on your own server (faster, and no visitor data sent to Google) */
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --ink: #f3efe8;
  --muted: rgba(243, 239, 232, .58);
  --faint: rgba(243, 239, 232, .32);
  --line: rgba(243, 239, 232, .14);
  --gold: #c9b38a;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--bg); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: var(--bg); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Logo (typographic wordmark) ---------- */
.logo { display: inline-flex; justify-content: center; line-height: 1; }
.logo__mark { display: inline-flex; gap: .9em; align-items: baseline; white-space: nowrap; font-size: 1.32rem; }
.logo__word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1em;
  letter-spacing: .34em;
  margin-right: -.34em;          /* cancels trailing letter-spacing so it stays centered */
  text-transform: uppercase;
}
.logo--xl .logo__mark { font-size: clamp(2.4rem, 9.5vw, 9.5rem); }
.logo--xl .logo__word { letter-spacing: .16em; margin-right: -.16em; font-weight: 400; }
.logo--xl .logo__mark { gap: .42em; }

/* ---------- Small text styles ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.link-line {
  position: relative;
  display: inline-block;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding-bottom: .55rem;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transition: transform .7s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }
.link-line::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s .15s var(--ease);
}
.link-line:hover::before { transform: scaleX(1); }

.btn-outline {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(243, 239, 232, .6);
  padding: 1.15rem 2.8rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn-outline::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.btn-outline:hover { color: var(--bg); border-color: var(--ink); }
.btn-outline:hover::before { transform: scaleY(1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
  transition: background .6s var(--ease), height .6s var(--ease), border-color .6s;
  border-bottom: 1px solid transparent;
}
.has-hero .site-header { background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)) border-box no-repeat; }
.site-header.is-scrolled,
body:not(.has-hero) .site-header {
  background: rgba(10, 10, 10, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled { height: 70px; }
.nav { display: flex; gap: 2.4rem; }
.nav--right { justify-content: flex-end; }
.nav a {
  font-size: .68rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink); opacity: .85; transition: opacity .3s, color .3s;
  position: relative; padding: .4rem 0;
}
.nav a:hover, .nav a[aria-current] { opacity: 1; color: var(--gold); }
.burger { display: none; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: .4rem; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1.15;
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s var(--ease);
}
.menu__links a span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--gold); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu__foot { position: absolute; bottom: 2rem; left: var(--pad); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

body:not(.has-hero) main { padding-top: var(--header-h); }

/* ---------- Placeholder (shown before images are uploaded) ---------- */
.ph {
  width: 100%; height: 100%; min-height: 100%;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, #232323 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, #1b1914 0%, transparent 55%),
    #0e0e0e;
}
.ph span { font-family: var(--serif); letter-spacing: .4em; text-transform: uppercase; font-size: .8rem; color: rgba(243, 239, 232, .14); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bg-2); }
.hero__media { position: absolute; inset: -6% 0 0 0; will-change: transform; }
.hero__media img, .hero__media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.hero__img { animation: kenburns 14s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.25) 60%, rgba(10,10,10,.92) 100%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad) clamp(5rem, 13vh, 9rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9.5vw, 10rem);
  line-height: .95;
  letter-spacing: -.015em;
  max-width: 14ch;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.hero__subtitle { font-size: .78rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.6rem; }
.hero__eyebrow, .hero__title, .hero__subtitle, .hero__cta { animation: rise 1.6s var(--ease) both; }
.hero__eyebrow { animation-delay: .5s; }
.hero__title { animation-delay: .7s; }
.hero__subtitle { animation-delay: .95s; }
.hero__cta { animation-delay: 1.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute; right: var(--pad); bottom: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .6rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll i { display: block; width: 1px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

.hero--collection { height: 88vh; height: 88svh; }

/* ---------- Sections ---------- */
.section { padding: clamp(6rem, 16vh, 12rem) var(--pad); }
.section--tight { padding-top: 2rem; }

.house { text-align: center; max-width: 1180px; margin: 0 auto; }
.house__statement {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.2vw, 3.8rem);
  line-height: 1.18;
  letter-spacing: -.005em;
  margin: 0 auto 2.4rem;
  max-width: 22ch;
  text-wrap: balance;
}
.house__text { max-width: 560px; margin: 0 auto 2.8rem; color: var(--muted); font-size: 1.02rem; }
.house__text--lg { max-width: 760px; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.6; color: var(--ink); }

/* Featured collection */
.feature {
  display: grid; grid-template-columns: 7fr 5fr; align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: 0 var(--pad) clamp(6rem, 14vh, 10rem);
}
.feature--flip { grid-template-columns: 5fr 7fr; }
.feature--flip .feature__media { order: 2; }
.feature__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.feature__media img, .feature__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.feature__media:hover img { transform: scale(1.05); }
.feature__num {
  display: block;
  font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 8vw, 7.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 179, 138, .65);
  margin-bottom: 2rem;
}
.feature__title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; margin-bottom: 1.6rem; }
.feature__text { color: var(--muted); max-width: 42ch; margin-bottom: 2.4rem; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 2.2rem 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 3rem; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4.6vw, 4.2rem); white-space: nowrap; line-height: 1.1; }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 1rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; }
.section-title { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: .95; }
.section-sub { color: var(--muted); max-width: 32ch; margin: 0; text-align: right; }

/* Masonry gallery */
.masonry { columns: 3; column-gap: clamp(.8rem, 1.6vw, 1.6rem); }
.masonry__item { break-inside: avoid; margin: 0 0 clamp(1.6rem, 3vw, 3rem); }
.masonry__item a { display: block; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform 1.6s var(--ease), opacity .6s; }
.masonry__item a:hover img { transform: scale(1.045); }
.masonry__item figcaption { display: flex; gap: 1rem; margin-top: .9rem; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.masonry__item figcaption span { color: var(--gold); }

/* Contact banner */
.cta { position: relative; height: 88vh; min-height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.cta__media { position: absolute; inset: -8% 0; }
.cta__media img, .cta__media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.cta__shade { position: absolute; inset: 0; background: rgba(5, 5, 5, .55); }
.cta__content { position: relative; padding: 0 var(--pad); }
.cta__title { font-family: var(--serif); font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1; margin-bottom: 1.4rem; }
.cta__content p { color: var(--muted); margin-bottom: 2.6rem; }

/* ---------- Inner pages ---------- */
.page-head { text-align: center; padding: clamp(6rem, 16vh, 10rem) var(--pad) clamp(4rem, 10vh, 7rem); }
.page-title { font-family: var(--serif); font-size: clamp(3.2rem, 10vw, 9rem); line-height: .95; letter-spacing: -.015em; margin-bottom: 2rem; }
.page-intro { color: var(--muted); max-width: 52ch; margin: 0 auto; font-size: 1.05rem; }

.collections-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem) clamp(1rem, 2.5vw, 2.5rem); padding: 0 var(--pad) clamp(6rem, 14vh, 10rem); }
.col-card { display: block; }
.col-card__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.col-card--wide { grid-column: 1 / -1; }
.col-card--wide .col-card__media { aspect-ratio: 16 / 8; }
.col-card__media img, .col-card__media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform 1.8s var(--ease); }
.col-card:hover .col-card__media img { transform: scale(1.04); }
.col-card__meta { display: flex; align-items: baseline; gap: 1.4rem; padding-top: 1.4rem; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.col-card__num { font-size: .7rem; letter-spacing: .2em; color: var(--gold); }
.col-card__meta h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; flex: 1; }
.col-card__season { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

.next-col { display: block; text-align: center; padding: clamp(5rem, 14vh, 9rem) var(--pad); border-top: 1px solid var(--line); transition: background .6s; }
.next-col:hover { background: var(--bg-2); }
.next-col .eyebrow { display: block; }
.next-col__title { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 8vw, 7rem); line-height: 1; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; padding: 0 var(--pad) clamp(5rem, 12vh, 8rem); }
.about__media { overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 1rem); }
.about__media img, .about__media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.about__text { font-size: 1.08rem; color: var(--muted); padding-top: 2rem; }
.about__text p:first-child { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.4; color: var(--ink); }
.quote blockquote { margin: 0 auto; max-width: 1000px; text-align: center; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4.5vw, 4rem); line-height: 1.2; }
.quote cite { font-style: normal; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.about-wide { padding: 0 var(--pad) clamp(5rem, 12vh, 8rem); }
.about-wide img { width: 100%; max-height: 90vh; object-fit: cover; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(2rem, 7vw, 8rem); padding: 0 var(--pad) clamp(6rem, 14vh, 10rem); max-width: 1400px; margin: 0 auto; }
.contact__info { display: flex; flex-direction: column; gap: 2.4rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.contact__info h3 { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; font-weight: 400; }
.contact__info a, .contact__info p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.contact__info a:hover { color: var(--gold); }
.lux-form { display: flex; flex-direction: column; gap: 2.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: 300 1.05rem/1.5 var(--sans); padding: 1.6rem 0 .7rem; border-radius: 0;
  transition: border-color .4s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field span {
  position: absolute; left: 0; top: 1.6rem; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); pointer-events: none; transition: transform .4s var(--ease), color .4s;
  transform-origin: left top;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-1.5rem) scale(.85); color: var(--gold); }
.lux-form .btn-outline { align-self: flex-start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { border-left: 1px solid #c87a6a; padding: .4rem 0 .4rem 1.2rem; margin-bottom: 2rem; color: #e0a596; font-size: .95rem; }
.form-errors p { margin: .2rem 0; }
.notice { border-top: 1px solid var(--line); padding-top: 2rem; }
.notice__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .6rem; }
.notice p:last-child { color: var(--muted); }
.empty-note { text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(4rem, 10vh, 7rem) var(--pad) 2rem; }
.footer__brand { text-align: center; margin-bottom: clamp(3rem, 8vh, 5rem); }
.footer__brand .logo { display: flex; }
.footer__tagline { margin-top: 1.4rem; font-size: .7rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2.4rem; padding: 2.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer__grid h3 { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 400; }
.footer__grid a, .footer__grid p { display: block; color: var(--muted); font-size: .92rem; margin: 0 0 .45rem; transition: color .3s; }
.footer__grid a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 1.6rem; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 6, 6, .97); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .5s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 88vw; text-align: center; }
.lightbox__figure img { max-width: 88vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; object-fit: contain; transition: opacity .35s; }
.lightbox__figure figcaption { margin-top: 1rem; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.lightbox button { background: none; border: 0; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.lightbox__close { position: absolute; top: 1.6rem; right: var(--pad); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; padding: .6rem 0; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.6rem; padding: 1.4rem; opacity: .7; transition: opacity .3s; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 1vw; }
.lightbox__next { right: 1vw; }
.lightbox__count { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); font-size: .68rem; letter-spacing: .3em; color: var(--muted); }

/* ---------- Intro curtain (first visit only) ---------- */
.curtain { display: none; }
.intro .curtain {
  animation: curtainAuto 0s 4s forwards; /* safety: never stays stuck */
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: clip-path 1.1s var(--ease); clip-path: inset(0 0 0 0);
}
@keyframes curtainAuto { to { visibility: hidden; } 
}
.curtain .logo__mark { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.curtain .logo__word { opacity: 0; animation: fadeLogo 1.1s .1s var(--ease) forwards; }
.curtain.is-done { clip-path: inset(0 0 100% 0); }
@keyframes fadeLogo { from { opacity: 0; letter-spacing: .1em; } to { opacity: 1; letter-spacing: .34em; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-header.is-scrolled { height: 64px; }
  .nav { display: none; }
  .logo { grid-column: 1; justify-content: flex-start; position: relative; z-index: 60; }
  .logo__mark { font-size: 1.05rem; }
  .logo__word { letter-spacing: .28em; margin-right: -.28em; }
  .logo--xl .logo__mark { font-size: clamp(2rem, 11vw, 5rem); }
  .burger {
    grid-column: 3; display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; padding: 0 0 0 10px;
  }
  .burger span { display: block; height: 1px; width: 100%; background: var(--ink); transition: transform .5s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-open .site-header { background: transparent !important; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__num { font-size: 3.4rem; margin-bottom: 1rem; }
  .masonry { columns: 2; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-sub { text-align: left; }
  .collections-grid { grid-template-columns: 1fr; }
  .col-card--wide .col-card__media { aspect-ratio: 4 / 5; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .masonry { column-gap: .7rem; }
  .masonry__item figcaption { font-size: .58rem; letter-spacing: .16em; }
  .footer__bottom { flex-direction: column; gap: .4rem; }
  .btn-outline { padding: 1rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* When the intro curtain plays, start the hero animation after it lifts */
.intro .hero__img { animation-delay: 1.1s; }
.intro .hero__eyebrow { animation-delay: 1.5s; }
.intro .hero__title { animation-delay: 1.7s; }
.intro .hero__subtitle { animation-delay: 1.95s; }
.intro .hero__cta { animation-delay: 2.15s; }

/* ---------- Contact form above the footer (every page) ---------- */
.footer-contact { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-2); scroll-margin-top: var(--header-h); }
.footer-contact__bg { position: absolute; inset: 0; }
.footer-contact__bg img, .footer-contact__bg .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; opacity: .22; filter: grayscale(.4); }
.footer-contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.92) 100%); }
.footer-contact__inner {
  position: relative; max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2.5rem, 7vw, 8rem);
  padding: clamp(5rem, 13vh, 9rem) var(--pad);
}
.footer-contact__title { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1; margin-bottom: 1.4rem; }
.footer-contact__text { color: var(--muted); max-width: 34ch; margin-bottom: 2.4rem; }
.footer-contact__details { display: flex; flex-direction: column; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.footer-contact__details a { font-family: var(--serif); font-size: 1.25rem; transition: color .3s; }
.footer-contact__details a:hover { color: var(--gold); }
.footer-contact + .site-footer { border-top: 1px solid var(--line); }
@media (max-width: 980px) {
  .footer-contact__inner { grid-template-columns: 1fr; }
}
.footer-contact__bg img, .footer-contact__bg .ph { opacity: .9; filter: none; }
.footer-contact__bg::after { background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.5) 55%, rgba(10,10,10,.68) 100%); }
@media (max-width: 980px) { .menu { justify-content: flex-start; padding-top: calc(var(--header-h) + 5vh); padding-bottom: 3rem; overflow-y: auto; height: 100vh; height: 100dvh; } .menu__links a { font-size: clamp(1.9rem, 8vw, 3.2rem); } .menu__foot { position: static; margin-top: 3rem; } .menu-open .site-header { background: var(--bg) !important; border-bottom-color: var(--line); } }
.hero__media picture { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) { .hero:not(.hero--collection) .hero__media { inset: 0; transform: none !important; background: var(--bg); } .hero:not(.hero--collection) .hero__media img { object-fit: contain; object-position: center 28%; animation: none; } }
@media (max-width: 700px) { .hero:not(.hero--collection) .hero__media::before { content: ""; position: absolute; inset: -60px; background: var(--hero-bg) center / cover no-repeat; filter: blur(30px) brightness(.5) saturate(1.15); transform: scale(1.15); } .hero:not(.hero--collection) .hero__media img { position: relative; z-index: 1; } }
@media (max-width: 980px) { .footer-contact__bg { bottom: auto; } .footer-contact__bg img, .footer-contact__bg .ph { height: auto; aspect-ratio: auto; object-fit: contain; opacity: 1; } .footer-contact__bg::after { background: linear-gradient(to bottom, rgba(10,10,10,.45) 0%, rgba(10,10,10,.6) 55%, var(--bg-2) 100%); } }
.house--bg { max-width: none; position: relative; overflow: hidden; } .house--bg > *:not(.house__bg) { position: relative; z-index: 1; } .house__bg { position: absolute; inset: 0; } .house__bg img, .house__bg .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; } .house__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,10,.55) 0%, rgba(10,10,10,.82) 75%), linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); } .house--bg .house__text { color: rgba(243, 239, 232, .78); }
.house__bg::after { background: radial-gradient(ellipse at center, rgba(10,10,10,.38) 0%, rgba(10,10,10,.62) 75%), linear-gradient(to bottom, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%); } .house--bg .house__statement, .house--bg .house__text { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
@media (min-width: 981px) { .house--bg > *:not(.house__bg) { max-width: 26vw; margin-left: auto; margin-right: auto; left: 1.7vw; } .house--bg .house__statement { font-size: clamp(1.5rem, 2.3vw, 3rem); } .house--bg .house__text { font-size: .95rem; } }

/* ---------- Enquire about a look ---------- */
.masonry__item figcaption { align-items: baseline; }
.enquire {
  margin-left: auto; flex-shrink: 0; color: var(--gold); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  padding-bottom: 2px; border-bottom: 1px solid rgba(201, 179, 138, .4); transition: color .3s, border-color .3s;
}
.enquire:hover { color: var(--ink); border-color: var(--ink); }
.lightbox__enquire {
  position: absolute; bottom: 1.4rem; right: var(--pad); color: var(--gold); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  border: 1px solid rgba(201, 179, 138, .5); padding: .8rem 1.4rem; transition: background .3s, color .3s;
}
.lightbox__enquire:hover { background: var(--gold); color: var(--bg); }
.lightbox__enquire[hidden] { display: none; }
@media (max-width: 700px) {
  .lightbox__enquire { left: 50%; right: auto; transform: translateX(-50%); bottom: 3.6rem; white-space: nowrap; }
}
@media (max-width: 980px) { .house--bg { padding-top: calc(66vw + 1.5rem); } .house__bg { bottom: auto; height: 70vw; } .house__bg img, .house__bg .ph { height: 100%; object-fit: cover; object-position: center top; } .house__bg::after { background: linear-gradient(to bottom, rgba(10,10,10,.15) 0%, rgba(10,10,10,.1) 55%, var(--bg) 100%); } .house--bg .house__statement, .house--bg .house__text { text-shadow: none; } }
