/* ==========================================================================
   MASO — quiet luxury. If it feels loud, remove it.
   ========================================================================== */

:root {
  --espresso: #211009;
  --espresso-2: #2c180f;
  --olive: #C9BD67;
  --gold-light: #E8C98E; /* warm light gold sampled from the jewellery in the hero photos: the hero button */
  --gold-deep: #D4A257;  /* the same gold at its mid tone: the button's hover sweep */
  --cream: #F3E7D7;
  --cream-2: #EEDFCB;
  --forest: #102A21;
  --champagne: #E9CFAC;
  --butter: #FFF5BA;
  --pattern-ground: #FFFBEA;
  --white: #FFFFFF;
  --ink: #161616;

  --text: var(--espresso);
  --text-muted: rgba(33, 16, 9, .72);
  --line-light: rgba(33, 16, 9, .14);
  --line-olive: rgba(201, 189, 103, .6);

  --serif: 'Aref Ruqaa', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --slow: 1.1s;

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1760px; /* content width cap: on a 1920 screen this leaves ~140px each side; laptops are unaffected */
  --header-h: 68px;
  --section-y: clamp(80px, 11vw, 168px);

  --z-header: 30;
  --z-overlay: 40;
  --z-drawer: 50;
  --z-toast: 55;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--olive); color: var(--espresso); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--espresso); color: var(--cream); padding: 12px 18px;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--champagne { background: var(--champagne); }.section--dark .muted, .section--forest .muted { color: rgba(243, 231, 215, .74); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font-family: var(--sans); font-weight: 500; font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase; line-height: 1.4;
}
.eyebrow--olive { color: var(--olive); }
.display, .h1, .h2, .h3, .h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: .005em; }
.display { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.04; }
.h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.h4 { font-size: 1.3rem; line-height: 1.3; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 300; line-height: 1.65; }
.muted { color: var(--text-muted); }
.measure { max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.stack > * + * { margin-top: var(--stack, 1.25rem); }

/* Diamond motif from the logo */
.diamond {
  display: inline-block; width: 7px; height: 7px; flex: none;
  background: var(--olive); transform: rotate(45deg);
}
.divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--olive); margin-inline: auto; max-width: 280px;
}
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line-olive); }
.rule { height: 1px; background: var(--line-olive); border: 0; margin: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 52px; padding: 0 2.1rem; border-radius: 4px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--dark { background: var(--espresso); color: var(--cream); border-color: var(--olive); }
.btn--dark:hover { background: var(--forest); }
.btn--light { background: transparent; color: var(--cream); border-color: var(--olive); }
.btn--light:hover { background: var(--olive); color: var(--espresso); }
.btn--full { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 500; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  padding-block: 6px; cursor: pointer;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(.35);
  transition: transform .5s var(--ease-out);
}
.link:hover::after, .link:focus-visible::after { transform-origin: left; transform: scaleX(1); }
.link--olive { color: var(--olive); }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.25; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--espresso); color: var(--cream);
  border-bottom: 1px solid rgba(201, 189, 103, .22);
  transition: transform .6s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav-primary { display: none; gap: clamp(20px, 2.6vw, 40px); }
.nav-primary a {
  position: relative; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  padding-block: 8px; white-space: nowrap; color: rgba(243, 231, 215, .86); transition: color .3s var(--ease);
}
.nav-primary a::before {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px;
  background: var(--olive); transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .4s var(--ease-out);
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { color: var(--cream); }
.nav-primary a:hover::before, .nav-primary a[aria-current="page"]::before { transform: translateX(-50%) rotate(45deg) scale(1); }

.brand { display: flex; align-items: center; justify-content: center; padding: 6px; }
.brand img { height: 38px; width: auto; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; color: var(--cream); transition: color .3s var(--ease);
}
.icon-btn:hover { color: var(--olive); }
.bag-count {
  position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--olive); color: var(--espresso);
  font-size: .62rem; font-weight: 600; line-height: 16px; text-align: center;
  transform: scale(0); transition: transform .4s var(--ease-out);
}
.bag-count.has-items { transform: scale(1); }
.menu-toggle { justify-self: start; }
.menu-toggle .bars { position: relative; width: 22px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 9px; }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .nav-primary { display: flex; }
  .brand img { height: 44px; }
}

/* Shop menu: opens from the header on hover or keyboard focus */
.nav-shop { display: flex; align-items: center; }
.shop-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); color: var(--espresso); border-bottom: 1px solid var(--line-olive);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s linear .35s;
}
.nav-shop:hover .shop-menu, .nav-shop:focus-within .shop-menu, .nav-shop.is-open .shop-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.nav-shop.is-closed .shop-menu { opacity: 0; visibility: hidden; }
.shop-menu__inner { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); padding-block: 36px 44px; align-items: start; }
.shop-menu__list { display: grid; gap: 2px; margin-top: 18px; }
.nav-primary .shop-menu a { color: var(--espresso); text-transform: none; letter-spacing: 0; font-size: inherit; padding: 0; white-space: normal; }
.nav-primary .shop-menu a::before { display: none; }
.nav-primary .shop-menu__list a { font-family: var(--serif); font-size: 1.35rem; line-height: 1.55; transition: color .3s var(--ease), padding-left .4s var(--ease-out); }
.nav-primary .shop-menu__list a:hover { color: var(--forest); padding-left: 8px; }
.nav-primary .shop-menu__list .link { margin-top: 14px; font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
.nav-primary .shop-menu__list .link:hover { padding-left: 0; }
.shop-menu__feature { display: grid; gap: 14px; }
.shop-menu__feature .frame { display: block; aspect-ratio: 4 / 5; }
.shop-menu__feature img { transition: transform 1.2s var(--ease-out); }
.shop-menu__feature:hover img { transform: scale(1.04); }
.shop-menu .eyebrow { color: var(--text-muted); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-overlay);
  background: var(--espresso); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.35;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .18s; }
.mobile-menu { overflow-y: auto; }
.mobile-menu nav .mobile-cats { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0 0 12px; }
.mobile-menu nav .mobile-cats a { font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 2.8; color: rgba(243, 231, 215, .78); }
.mobile-menu .menu-foot { display: flex; align-items: center; gap: 14px; color: rgba(243, 231, 215, .7); font-size: .9rem; }
.mobile-menu .menu-foot img { width: 34px; }
@media (min-width: 1080px) { .mobile-menu { display: none; } }
body.menu-open { overflow: hidden; }


/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Arch / image reveal: frame fades, image settles from a slight zoom */
.js [data-reveal="image"] { transform: none; }
.js [data-reveal="image"] img { transform: scale(1.12) translateY(4%); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="image"].is-in img { transform: none; }

.js [data-reveal="rule"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.js [data-reveal="rule"].is-in { transform: scaleX(1); }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--champagne); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.arch { border-radius: 9999px 9999px 0 0; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-2x3 { aspect-ratio: 2 / 3; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1 { aspect-ratio: 1; }
[data-parallax] { will-change: transform; }
.p-inner { position: absolute; inset: -8% 0; }
.p-inner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--espresso); color: var(--cream);
  height: calc(100svh - var(--header-h)); min-height: 580px; max-height: 1000px;
}
.hero__media { position: absolute; inset: -6% 0 -6% 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.js .hero__media img { transform: scale(1.08); transition: transform 2.6s var(--ease-out); }
.js .is-ready .hero__media img, .js.is-ready .hero__media img { transform: none; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33, 16, 9, 0) 30%, rgba(33, 16, 9, .78) 100%);
}
.hero__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  padding-bottom: clamp(48px, 9vh, 112px);
}
.hero__content .display { max-width: 11ch; }
.hero__content p { max-width: 38ch; color: rgba(243, 231, 215, .86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 8px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 36px; z-index: 1;
  display: none; align-items: center; gap: 14px; color: rgba(243, 231, 215, .7);
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--olive), transparent); animation: scroll-hint 2.8s var(--ease) infinite; transform-origin: top; }
@keyframes scroll-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 768px) {
  .hero__scrim { background: linear-gradient(90deg, rgba(33, 16, 9, .82) 0%, rgba(33, 16, 9, .45) 42%, rgba(33, 16, 9, 0) 72%); }
  .hero__content { justify-content: center; padding-bottom: 0; }
  .hero__scroll { display: flex; }
}

/* Light hero: the subject walks on the left, so copy sits on the open plaster wall to the right */
.hero--light .hero__media img { object-position: center 20%; }
.hero__media picture { display: contents; }
@media (max-width: 767px) {
  .hero__media { inset: 0; }               /* no parallax on phones, so no overscan needed */
  .hero__media img { transform-origin: center top; }
}
.hero--light .hero__scrim { background: linear-gradient(180deg, rgba(33, 16, 9, 0) 12%, rgba(33, 16, 9, .58) 40%, rgba(33, 16, 9, .9) 100%); }
@media (min-width: 768px) {
  .hero--light { color: var(--espresso); }
  .hero--light .hero__media img { object-position: center; }
  .hero--light .hero__scrim { background: linear-gradient(270deg, rgba(243, 231, 215, .94) 0%, rgba(243, 231, 215, .82) 38%, rgba(243, 231, 215, 0) 64%); }
  .hero--light .hero__copy { margin-left: auto; width: min(520px, 46%); }
  .hero--light .hero__copy p { color: var(--text-muted); }
  .hero--light .eyebrow--olive { color: var(--espresso); }
  /* a slim outlined button, so the photo stays the heaviest thing in the hero */
  .hero--light .btn--light { background: transparent; color: var(--espresso); border-color: var(--espresso); min-height: 48px; padding: 0 1.9rem; }
  .hero--light .btn--light:hover { background: transparent; color: var(--espresso); border-color: var(--olive); }
  .hero--light .hero__scroll { right: auto; left: var(--gutter); color: rgba(243, 231, 215, .8); }
}

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--espresso); color: var(--cream); min-height: clamp(420px, 62vh, 680px); display: flex; align-items: flex-end; }
.page-hero__media { position: absolute; inset: -8% 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33, 16, 9, .15) 0%, rgba(33, 16, 9, .78) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 96px); }
.page-hero .container > * + * { margin-top: 18px; }

.page-hero__copy > * + * { margin-top: 18px; }
.page-hero--about .page-hero__media img { object-position: 22% 30%; }
.page-hero--visit .page-hero__media img { object-position: center 22%; }
.page-hero--about::after { background: linear-gradient(90deg, rgba(33, 16, 9, .72) 0%, rgba(33, 16, 9, .4) 42%, rgba(33, 16, 9, 0) 68%), linear-gradient(180deg, rgba(33, 16, 9, .1) 0%, rgba(33, 16, 9, .55) 100%); }
@media (min-width: 768px) {
  .page-hero--about .page-hero__media img { object-position: center 30%; }
  .page-hero--right .page-hero__copy { margin-left: auto; width: min(560px, 48%); }
  .page-hero--right::after { background: linear-gradient(270deg, rgba(33, 16, 9, .72) 0%, rgba(33, 16, 9, .35) 45%, rgba(33, 16, 9, 0) 70%); }
}

.page-title { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(32px, 4vw, 56px); text-align: center; }
.page-title > * + * { margin-top: 16px; }

/* ---------- Statement ---------- */
.statement { text-align: center; padding-bottom: clamp(56px, 7vw, 112px); }
.statement .h2 { max-width: 20ch; margin-inline: auto; }
.statement p { margin-inline: auto; }

/* ---------- Collection tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 36px); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .tiles--six { grid-template-columns: repeat(3, 1fr); column-gap: clamp(20px, 3vw, 48px); row-gap: clamp(40px, 5vw, 72px); } }
.tile { display: grid; gap: 18px; cursor: pointer; }
.tile .frame { aspect-ratio: 3 / 4.4; }
.tile .frame img { transition: transform 1.6s var(--ease-out); }
.tile:hover .frame img { transform: scale(1.04); }
.tile__label { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tile__label .h4 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.tile__label .diamond { transform: rotate(45deg) scale(0); transition: transform .5s var(--ease-out); }
.tile:hover .tile__label .diamond, .tile:focus-visible .tile__label .diamond { transform: rotate(45deg) scale(1); }

/* ---------- Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div > * + * { margin-top: 14px; }
.section-head--center { justify-content: center; text-align: center; }

/* ---------- Feature (split) ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__media { max-width: 560px; width: 100%; margin-inline: auto; }
.split__media .frame { aspect-ratio: 4 / 5.4; }
.split__body > * + * { margin-top: 22px; }
.spec-list { display: grid; gap: 14px; margin-top: 28px; }
.spec-list li { display: flex; align-items: baseline; gap: 16px; }
.spec-list .diamond { transform: rotate(45deg) translateY(-2px); }
.price { font-family: var(--sans); font-size: 1rem; letter-spacing: .06em; }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px) clamp(14px, 2.4vw, 36px); }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
.card { display: grid; gap: 16px; cursor: pointer; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream-2); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), opacity .8s var(--ease); }
.card__media .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.035); }
  .card:hover .card__media .alt { opacity: 1; }
}
.card__body { display: grid; gap: 4px; text-align: center; }
.card__name { font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.3; }
.card__meta { font-size: .9rem; color: var(--text-muted); }

/* ---------- Details (craft) ---------- */
.details { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-olive); }
.detail { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line-olive); }
.detail .frame { aspect-ratio: 4 / 5; }
.detail__body > * + * { margin-top: 8px; }
.detail__num { font-size: .7rem; letter-spacing: .28em; color: var(--text-muted); }
@media (min-width: 900px) {
  .details { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: clamp(20px, 2.4vw, 36px); }
  .detail { grid-template-columns: 1fr; align-items: start; padding: 0; border: 0; gap: 22px; }
  .detail .frame { aspect-ratio: 4 / 5; }
}

/* ---------- Lookbook ---------- */
.lookbook { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.lookbook > * { min-width: 0; }
.lookbook__quote { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(24px, 4vw, 56px) 0; }
@media (min-width: 900px) {
  .lookbook { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto auto; }
  .lookbook__main { grid-row: 1 / span 3; }
  .lookbook__main .frame { aspect-ratio: 4 / 5; }
  .lookbook__side .frame { aspect-ratio: 4 / 3; }
}
.lookbook__main .frame { aspect-ratio: 4 / 5; }
.lookbook__side .frame { aspect-ratio: 4 / 3; }

/* ---------- Boutique teaser ---------- */
.boutique .split__media .frame { aspect-ratio: 3 / 4; }
.boutique .split__body .meta { display: grid; gap: 6px; padding-top: 10px; color: rgba(243, 231, 215, .74); font-size: .95rem; }

/* ---------- Pattern / newsletter ---------- */
.pattern-surface { position: relative; background-color: var(--pattern-ground); isolation: isolate; }
.pattern-surface::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("../img/c-pattern-olive-1000.webp");
  background-size: 560px auto; background-position: center;
  opacity: var(--pattern-opacity, .32);
}
.newsletter-card {
  background: var(--pattern-ground); max-width: 680px; margin-inline: auto; text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line-olive);
}
.newsletter-card > * + * { margin-top: 18px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; text-align: left; }
.field label, .field .label { font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 0; background: transparent;
  border: 0; border-bottom: 1px solid rgba(33, 16, 9, .38); border-radius: 0;
  font-size: 1rem; color: var(--text); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211009' stroke-width='1.25'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; padding-right: 28px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--espresso); box-shadow: 0 1px 0 0 var(--espresso); }
.input::placeholder, .textarea::placeholder { color: rgba(33, 16, 9, .5); }
.inline-form { display: flex; flex-direction: column; gap: 18px; max-width: 460px; margin-inline: auto; }
@media (min-width: 560px) { .inline-form { flex-direction: row; align-items: flex-end; } .inline-form .field { flex: 1; } }
.form-note { font-size: .85rem; color: var(--text-muted); }
.form-success { display: none; align-items: center; justify-content: center; gap: 14px; font-family: var(--serif); font-size: 1.3rem; }
.is-sent .form-success { display: flex; }
.is-sent .form-body { display: none; }
.field-error { font-size: .82rem; color: #7a2a14; min-height: 1.2em; }
.on-dark .input, .on-dark .select, .on-dark .textarea { color: var(--cream); border-bottom-color: rgba(243, 231, 215, .4); }
.on-dark .input:focus { border-bottom-color: var(--olive); box-shadow: 0 1px 0 0 var(--olive); }
.on-dark .field label { color: rgba(243, 231, 215, .74); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(243, 231, 215, .8); position: relative; }
.footer-edge { height: 34px; background-color: var(--espresso); position: relative; overflow: hidden; }
.footer-edge::before { content: ""; position: absolute; inset: 0; background-image: url("../img/c-pattern-olive-1000.webp"); background-size: 380px auto; background-position: center; opacity: .16; }
.footer-top { display: grid; gap: 48px; padding-block: clamp(64px, 8vw, 112px) 48px; }
.footer-brand img { width: clamp(160px, 18vw, 220px); }
.footer-brand p { margin-top: 22px; max-width: 34ch; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
.footer-cols h3 { font-family: var(--sans); font-weight: 500; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--olive); margin-bottom: 18px; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { font-size: .95rem; transition: color .3s var(--ease); }
.footer-cols a:hover { color: var(--cream); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px 36px; border-top: 1px solid rgba(201, 189, 103, .25); font-size: .8rem; color: rgba(243, 231, 215, .62); }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.2fr 2fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Bag drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(33, 16, 9, .5);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .7s var(--ease-out), visibility 0s linear .7s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease-out); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line-olive); }
.drawer__head .h4 { font-size: 1.4rem; }
.drawer__head .icon-btn { color: var(--espresso); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 24px; border-top: 1px solid var(--line-olive); display: grid; gap: 14px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__empty { padding: 56px 0; text-align: center; display: grid; gap: 18px; justify-items: center; }
.bag-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line-light); }
.bag-item img { aspect-ratio: 4 / 5; object-fit: cover; width: 84px; background: var(--cream-2); }
.bag-item__top { display: flex; justify-content: space-between; gap: 12px; }
.bag-item__name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; }
.bag-item__meta { font-size: .85rem; color: var(--text-muted); }
.bag-item__row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-light); border-radius: 4px; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; }
.qty span { min-width: 24px; text-align: center; font-size: .9rem; }
.remove { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); text-decoration: underline; text-underline-offset: 4px; min-height: 36px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: var(--z-toast);
  display: flex; align-items: center; gap: 12px;
  background: var(--espresso); color: var(--cream); padding: 14px 22px; border-radius: 4px; border: 1px solid rgba(201, 189, 103, .4);
  font-size: .85rem; letter-spacing: .04em;
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease-out);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Search overlay ---------- */
.search-panel {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-drawer); background: var(--cream);
  padding: 28px var(--gutter) 40px; border-bottom: 1px solid var(--line-olive);
  transform: translateY(-100%); visibility: hidden; transition: transform .7s var(--ease-out), visibility 0s linear .7s;
}
.search-panel.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease-out); }
.search-panel form { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.search-panel .input { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); min-height: 64px; }
.search-panel .icon-btn { color: var(--espresso); }

/* ---------- Shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; border-block: 1px solid var(--line-olive); margin-bottom: clamp(36px, 5vw, 64px); }
.filters { display: flex; gap: 6px 26px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .filters { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; } }
.filter {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap;
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted);
  transition: color .3s var(--ease);
}
.filter .diamond { transform: rotate(45deg) scale(0); transition: transform .4s var(--ease-out); }
.filter:hover, .filter[aria-pressed="true"], .filter[aria-current="page"] { color: var(--espresso); }
.filter[aria-pressed="true"] .diamond, .filter[aria-current="page"] .diamond { transform: rotate(45deg) scale(1); }
.sort { display: flex; align-items: center; gap: 12px; }
.sort .select { min-height: 44px; width: auto; border-bottom: 0; font-size: .9rem; }
.result-count { font-size: .85rem; color: var(--text-muted); }
.grid-products .card { transition: opacity .6s var(--ease); }
.grid-products.is-switching .card { opacity: 0; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 64px 0; display: grid; gap: 16px; justify-items: center; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: clamp(32px, 5vw, 80px); padding-top: clamp(16px, 3vw, 40px); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.gallery { position: relative; }
.gallery__track { display: flex; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); background: var(--cream-2); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--cream-2); }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: flex; justify-content: center; gap: 12px; padding-top: 18px; }
.gallery__dots button { width: 28px; height: 28px; display: grid; place-items: center; }
.gallery__dots button span { width: 6px; height: 6px; background: var(--line-light); transform: rotate(45deg); transition: background .3s var(--ease); }
.gallery__dots button[aria-current="true"] span { background: var(--espresso); }
@media (min-width: 960px) {
  .gallery__track { display: grid; gap: 20px; overflow: visible; margin-inline: 0; }
  .gallery__slide { flex: none; }
  .gallery__slide:first-child { border-radius: 9999px 9999px 0 0; overflow: hidden; }
  .gallery__dots { display: none; }
}
.pdp__info { display: grid; gap: 22px; }
@media (min-width: 960px) { .pdp__info { position: sticky; top: calc(var(--header-h) + 32px); } }
.pdp__crumbs { font-size: .78rem; letter-spacing: .12em; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pdp__crumbs a:hover { color: var(--espresso); }
.pdp__title { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; }
.pdp__price { font-size: 1.05rem; letter-spacing: .06em; }
.option-group { display: grid; gap: 12px; }
.option-group__head { display: flex; justify-content: space-between; align-items: baseline; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 52px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 4px;
  font-size: .9rem; transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.size:hover { border-color: var(--espresso); }
.size[aria-checked="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.colour-name { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--text-muted); }
.colours { display: flex; flex-wrap: wrap; gap: 4px; margin-left: -7px; }
.colour { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.colour span { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(33, 16, 9, .22); transition: box-shadow .3s var(--ease); }
.colour[aria-checked="true"] span { box-shadow: inset 0 0 0 1px rgba(33, 16, 9, .22), 0 0 0 3px var(--cream), 0 0 0 4px var(--espresso); }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-light); }
.pdp__note { font-size: .85rem; color: var(--text-muted); }

.accordion { border-top: 1px solid var(--line-olive); }
.accordion details { border-bottom: 1px solid var(--line-olive); }
.accordion summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; cursor: pointer; font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .plus { position: relative; width: 12px; height: 12px; flex: none; }
.accordion summary .plus::before, .accordion summary .plus::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.accordion summary .plus::after { transform: rotate(90deg); }
.accordion details[open] summary .plus::after { transform: rotate(0deg); }
.accordion .panel { padding-bottom: 24px; color: var(--text-muted); }
.accordion .panel > * + * { margin-top: 12px; }
.accordion .panel ul li { display: flex; gap: 12px; align-items: baseline; }
.accordion .panel ul li + li { margin-top: 8px; }
.size-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.size-table th, .size-table td { padding: 10px 6px; text-align: left; border-bottom: 1px solid var(--line-light); }
.size-table th { font-weight: 500; color: var(--espresso); }

/* ---------- About / values ---------- */
.values { display: grid; gap: 40px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); } }
.value { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-olive); }
.value .diamond { margin-bottom: 6px; }
.quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.25; max-width: 24ch; margin-inline: auto; text-align: center; }
.two-images { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 32px); align-items: end; }
.two-images .frame:first-child { aspect-ratio: 3 / 4; }
.two-images .frame:last-child { aspect-ratio: 3 / 4.6; }

/* ---------- Visit ---------- */
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line-olive); }
.info-list > div { display: grid; grid-template-columns: 1fr; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--line-olive); }
@media (min-width: 600px) { .info-list > div { grid-template-columns: 180px 1fr; gap: 24px; } }
.info-list dt { font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted); padding-top: 4px; }
.form-grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.appointment { background: var(--pattern-ground); border: 1px solid var(--line-olive); padding: clamp(28px, 5vw, 64px); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
.sample-note { font-size: .8rem; letter-spacing: .04em; }

/* ---------- Uncut photography ----------
   Every frame below takes its photo's own proportions, so nothing is trimmed. */

/* Home hero: the full landscape frame on desktop; on phones the full photo sits above the copy */
/* z-index:0 makes the photo stack its own layer, so slide z-indexes can never rise above the scrim or copy */
.hero__media { overflow: hidden; z-index: 0; }
.hero__scrim { z-index: 1; }
.hero__content { z-index: 2; }
.hero__scroll { z-index: 3; }
.js .hero__media img { transform: scale(1.04); }
@media (min-width: 768px) {
  .hero { height: auto; aspect-ratio: 1672 / 941; min-height: 0; max-height: none; }
  .hero__media { inset: 0; }
}
@media (max-width: 767px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__media { position: relative; inset: auto; aspect-ratio: 1672 / 941; }
  .hero__scrim { display: none; }
  .hero__content { height: auto; padding-block: 36px 48px; }
}
/* phones held upright: tall 4:5 photos (other looks from the shoot), each shown whole */
@media (max-width: 767px) and (orientation: portrait) {
  .hero__media { aspect-ratio: 4 / 5; }
}

/* Home hero slideshow: slow crossfade, each photo shown whole */
/* Fast wipe: the next photo sweeps in from the right in 0.85s over the current one, then settles */
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center !important;
  z-index: 0; clip-path: inset(0 0 0 100%); transform: scale(1.08) !important; transition: none;
}
.hero__slide.is-leaving { z-index: 1; clip-path: inset(0); transform: none !important; }
.hero__slide.is-active {
  z-index: 2; clip-path: inset(0); transform: none !important;
  transition: clip-path .85s cubic-bezier(.77, 0, .18, 1), transform 3.2s cubic-bezier(.16, 1, .3, 1);
}
.hero__controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { width: 44px; height: 44px; display: flex; align-items: center; cursor: pointer; }
.hero__dot span { position: relative; display: block; width: 100%; height: 2px; overflow: hidden; }
.hero__dot span::before, .hero__dot span::after { content: ""; position: absolute; inset: 0; background: currentColor; }
.hero__dot span::before { opacity: .22; }
.hero__dot span::after { transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current="true"] span::after { transform: scaleX(1); }
.hero__dot.is-running span::after { animation: hero-progress var(--slide-ms, 6500ms) linear forwards; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; margin-left: 6px; transition: opacity .3s var(--ease); opacity: .75; }
.hero__pause:hover { opacity: 1; }
.hero__pause .icon { width: 18px; height: 18px; }
.hero__pause .icon--play, .hero.is-paused .hero__pause .icon--pause { display: none; }
.hero.is-paused .hero__pause .icon--play { display: block; }
@media (max-width: 767px) {
  /* on phones the controls sit on the photo's bottom edge, where the slides change */
  .hero__controls {
    position: absolute; top: -54px; left: var(--gutter); margin: 0; height: 40px; padding: 0 4px 0 12px;
    border-radius: 999px; background: rgba(33, 16, 9, .55); color: var(--cream);
  }
  .hero__dot { width: 34px; height: 40px; }
  .hero__pause { width: 40px; height: 40px; margin-left: 0; }
}

/* ================= Home hero (v2) ================= */
.logo-on-light { display: none; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 1.02; letter-spacing: -.005em; }
.hero__line { display: block; white-space: nowrap; }
.hero__lead { max-width: 40ch; font-size: clamp(1rem, 1.1vw, 1.15rem); line-height: 1.65; }

/* The look: a quiet caption for the piece in the photo, then fine progress lines.
   No panel: on desktop it sits straight on the photo, so the picture stays whole. */
.hero__look { display: grid; gap: 4px; }
.hero--v2 .hero__look p { color: inherit; max-width: none; }
.hero__look-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.hero__caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; margin: 0; }
.hero__look-no { font-family: var(--sans); font-weight: 500; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; opacity: .82; }
.hero__dash { font-family: var(--serif); opacity: .55; }
.hero__piece { font-family: var(--serif); font-size: clamp(1.05rem, 1.25vw, 1.3rem); line-height: 1.3; }
.hero__shop { white-space: nowrap; }
.hero--v2 .hero__controls { position: static; display: flex; align-items: center; gap: 12px; height: auto; margin: 0; padding: 0; border-radius: 0; background: none; color: inherit; }
.hero--v2 .hero__dots { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero--v2 .hero__dot { width: auto; height: 28px; }
.hero--v2 .hero__dot span { height: 1px; }
.hero--v2 .hero__dot span::before { opacity: .35; }
.hero--v2 .hero__pause { width: 40px; height: 40px; margin-left: 0; }
.hero__caption > * { transition: opacity .28s var(--ease), transform .45s var(--ease-out); }
.hero__look.is-swapping .hero__caption > * { opacity: 0; transform: translateY(8px); }

@media (min-width: 768px) {
  /* copy centred in the open wall; the caption pinned to the bottom of the first screen */
  .hero--v2 .hero__content {
    height: 100%; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between;
    padding-top: calc(var(--header-h) + 1.5vw);
    padding-bottom: max(18px, calc(56.28vw - 100svh + 18px));
  }
  /* the copy sits in the open wall, clear of the figure on the left and the plant on the right */
  .hero--v2 .hero__copy { width: 42%; margin: auto 9vw auto 0; gap: 18px; }
  .hero--v2 .hero__title { font-size: clamp(2.2rem, 3.5vw, 3.6rem); }
  .hero--v2 .hero__look { width: 42%; margin-right: 9vw; color: var(--cream); text-shadow: 0 1px 14px rgba(33, 16, 9, .45); }
  /* a soft light only behind the copy, so the photo keeps its warmth; a soft shade in the
     bottom corner, where the floor already falls dark, keeps the cream caption readable */
  .hero--v2 .hero__scrim {
    background:
      radial-gradient(ellipse 60% 30% at 67% 100%, rgba(33, 16, 9, .6) 0%, rgba(33, 16, 9, .32) 48%, rgba(33, 16, 9, 0) 100%),
      radial-gradient(ellipse 44% 56% at 67% 44%, rgba(243, 231, 215, .66) 0%, rgba(243, 231, 215, .36) 46%, rgba(243, 231, 215, 0) 74%),
      linear-gradient(180deg, rgba(243, 231, 215, .5) 0%, rgba(243, 231, 215, 0) 14%);
  }
  /* screens taller than the photo: the hero reaches the bottom of the screen and the caption
     sits in an espresso base under the photo (heights come from heroSlides() in main.js) */
  .hero--v2.has-band { aspect-ratio: auto; height: calc(var(--photo-h) + var(--band)); }
  .hero--v2.has-band .hero__media, .hero--v2.has-band .hero__scrim { bottom: auto; height: var(--photo-h); }
  .hero--v2.has-band .hero__scrim {
    background:
      radial-gradient(ellipse 44% 56% at 67% 46%, rgba(243, 231, 215, .66) 0%, rgba(243, 231, 215, .36) 46%, rgba(243, 231, 215, 0) 74%),
      linear-gradient(180deg, rgba(243, 231, 215, .5) 0%, rgba(243, 231, 215, 0) 14%);
  }
  .hero--v2.has-band .hero__content { padding-bottom: 0; }
  .hero--v2.has-band .hero__look {
    width: 100%; margin-right: 0; height: var(--band); text-shadow: none;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 30%); align-items: center; align-content: center; column-gap: clamp(32px, 5vw, 80px);
  }
  .hero--v2.has-band .hero__look-top { justify-content: flex-start; column-gap: 36px; }
}
/* small laptops/tablets: the photo is short, so keep the copy compact */
@media (min-width: 768px) and (max-width: 1099px) {
  .hero--v2 .hero__lead { display: none; }
  .hero--v2 .hero__copy { gap: 14px; }
  .hero--v2 .hero__copy, .hero--v2 .hero__look { width: 46%; margin-right: 6vw; }
  .hero--v2 .hero__look-top { column-gap: 16px; }
  .hero--v2 .hero__caption { column-gap: 9px; }
  .hero--v2 .hero__piece { font-size: .98rem; }
}
@media (max-width: 767px) {
  .hero--v2 .hero__look { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(201, 189, 103, .3); }
  /* narrow screens: "Look 03" sits above the piece name instead of trailing a dash */
  .hero__caption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__dash { display: none; }
}

/* Home hero, olive drapes photograph: one still photo with the copy in cream on the open brown
   wall to her right; nothing else sits on it. On phones the photo is shown whole, the words
   below on espresso. */
.hero--drape { background: var(--espresso); color: var(--cream); }
@media (max-width: 767px) and (orientation: portrait) {
  .hero--drape .hero__media { aspect-ratio: 1671 / 941; }
}
@media (min-width: 768px) {
  .hero--v2.hero--drape .hero__copy { width: 36%; margin-right: 5vw; }
  .hero--drape .hero__copy p { color: rgba(243, 231, 215, .84); }
  /* the wall is already dark: only a soft deepening behind the words, and along the top for the header */
  .hero--v2.hero--drape .hero__scrim {
    background:
      radial-gradient(ellipse 46% 58% at 76% 48%, rgba(33, 16, 9, .34) 0%, rgba(33, 16, 9, .16) 50%, rgba(33, 16, 9, 0) 76%),
      linear-gradient(180deg, rgba(33, 16, 9, .42) 0%, rgba(33, 16, 9, 0) 16%);
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .hero--v2.hero--drape .hero__copy { width: 42%; margin-right: 3vw; }
}

/* Home hero, content at her back (after the user's sample): she reclines on the right, the
   words sit on the open wall on the left. Two photographs of the same moment, the gown in olive
   and in chocolate, crossfade so the gown seems to change colour; dots and pause bottom-left,
   arrows bottom-right. */
.hero--back .hero__slide { clip-path: none; transform: none !important; opacity: 0; transition: opacity 0s 1.6s; }
.hero--back .hero__slide.is-leaving { z-index: 1; opacity: 1; }
.hero--back .hero__slide.is-active { z-index: 2; opacity: 1; transition: opacity 1.4s var(--ease); }
/* The words: date, rule, city; the brand line on two even lines; a quiet lead; a fine button */
.hero__kicker { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; font-size: .66rem; letter-spacing: .34em; color: rgba(243, 231, 215, .86); }
.hero__content .hero__kicker { max-width: none; }
.hero__kicker-rule { flex: none; width: clamp(44px, 5vw, 88px); height: 1px; background: currentColor; opacity: .55; }
.hero--back .hero__lead { font-weight: 300; font-size: clamp(.95rem, 1vw, 1.06rem); line-height: 1.85; max-width: 31ch; color: rgba(243, 231, 215, .8); }
.btn--gold { background: var(--gold-light); color: var(--espresso); border-color: var(--gold-light); min-height: 54px; padding: 0 2.1rem; gap: 1.1rem; font-size: .7rem; letter-spacing: .28em; }
.btn--gold:hover, .btn--gold:focus-visible { background: var(--gold-light); color: var(--espresso); border-color: var(--gold-deep); }
.btn.btn--gold::before { background: var(--gold-deep); }
.btn--gold .icon { width: 18px; height: 18px; stroke-width: 1.1; transition: transform .4s var(--ease-out); }
.btn--gold:hover .icon { transform: translateX(5px); }
.hero--v2.hero--back .hero__controls { display: flex; align-items: center; gap: 6px; }
.hero--v2.hero--back .hero__dots { flex: none; display: flex; gap: 0; }
.hero--v2.hero--back .hero__dot { width: 28px; height: 28px; justify-content: center; }
.hero--v2.hero--back .hero__dot span { width: 8px; height: 8px; border-radius: 50%; overflow: visible; }
.hero--v2.hero--back .hero__dot span::before { opacity: .45; border-radius: 50%; }
.hero--v2.hero--back .hero__dot span::after { border-radius: 50%; transform: scale(0); transition: transform .45s var(--ease-out); }
.hero--v2.hero--back .hero__dot[aria-current="true"] span::after { transform: scale(1); }
.hero--v2.hero--back .hero__dot.is-running span::after { animation: none; }
.hero--v2.hero--back .hero__pause { width: 36px; height: 36px; }
.hero--v2.hero--back .hero__pause .icon { width: 16px; height: 16px; }
.hero__arrows { display: flex; gap: 12px; margin-left: auto; }
.hero__arrow {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  color: var(--cream); border: 1px solid rgba(243, 231, 215, .85); background: rgba(33, 16, 9, .2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.hero__arrow:hover, .hero__arrow:focus-visible { background: rgba(33, 16, 9, .42); border-color: var(--cream); }
.hero__arrow .icon { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .hero--v2.hero--back .hero__content {
    align-items: stretch; justify-content: space-between;
    padding-top: calc(var(--header-h) + 5vw); padding-bottom: max(20px, 2.6vw, calc(56.35vw - 100svh + 20px));
  }
  .hero--v2.hero--back .hero__copy { width: min(44%, 640px); margin: 0; gap: 26px; }
  .hero--back .hero__title { font-size: clamp(2.6rem, 4.7vw, 5.4rem); line-height: 1.02; }
  .hero--v2.hero--back .hero__actions { margin-top: 10px; }
  /* a soft shade on the wall behind the words, and along the top for the header */
  .hero--v2.hero--back .hero__scrim {
    background:
      linear-gradient(90deg, rgba(33, 16, 9, .42) 0%, rgba(33, 16, 9, .24) 30%, rgba(33, 16, 9, 0) 55%),
      linear-gradient(180deg, rgba(33, 16, 9, .3) 0%, rgba(33, 16, 9, 0) 16%);
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .hero--v2.hero--back .hero__content { padding-top: calc(var(--header-h) + 3vw); }
  .hero--v2.hero--back .hero__copy { width: 50%; gap: 16px; }
}
@media (max-width: 767px) {
  .hero--v2.hero--back .hero__controls { margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(201, 189, 103, .3); }
  .hero__arrow { width: 42px; height: 42px; }
}

/* ================= Homepage sections (v2) ================= */

/* Manifesto: large serif, words light up as you read, small photos between the words */
.manifesto { text-align: center; }
.manifesto__eyebrow { justify-content: center; }
.manifesto__text {
  max-width: 25ch; margin: 28px auto 0; font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3.9rem); line-height: 1.22;
  text-wrap: balance;
}
.mw { transition: opacity .5s var(--ease), color .5s var(--ease); }
.js [data-manifesto] .mw { opacity: .18; }
.js [data-manifesto] .mw.is-lit { opacity: 1; }
.m-img { display: inline-block; vertical-align: middle; width: 2.1em; height: .92em; margin: -.12em .08em 0; border-radius: 999px; overflow: hidden; background: var(--cream-2); }
.m-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.manifesto__text:hover .m-img img { transform: scale(1.08); }
.manifesto__foot { margin-top: 36px; }

/* Category index: big names, hover previews the category */
.cat-index__grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cat-index__head { margin-bottom: clamp(24px, 3vw, 40px); }
.cat-index__head > * + * { margin-top: 14px; }
.cat-index__list { border-top: 1px solid var(--line-olive); counter-reset: none; }
.cat-index__item {
  display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 18px;
  padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line-olive); cursor: pointer;
}
.cat-index__num { font-size: .72rem; letter-spacing: .24em; color: var(--text-muted); }
.cat-index__name { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3.3rem); line-height: 1.1; transition: transform .6s var(--ease-out), color .4s var(--ease); }
.cat-index__count { font-size: .78rem; letter-spacing: .12em; color: var(--text-muted); white-space: nowrap; }
.cat-index__arrow { width: 20px; height: 20px; opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.cat-index__thumb { display: none; width: 48px; height: 60px; border-radius: 999px 999px 0 0; overflow: hidden; }
.cat-index__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-index__list:hover .cat-index__item:not(:hover) .cat-index__name { color: rgba(33, 16, 9, .4); }
.cat-index__item:hover .cat-index__name, .cat-index__item:focus-visible .cat-index__name { transform: translateX(14px); }
.cat-index__item:hover .cat-index__arrow, .cat-index__item:focus-visible .cat-index__arrow { opacity: 1; transform: none; }
.cat-index__preview { display: none; }
.cat-index__frame { position: relative; aspect-ratio: 4 / 5; }
.cat-index__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease-out); }
.cat-index__img.is-active { opacity: 1; transform: none; }
@media (min-width: 960px) {
  .cat-index__grid { grid-template-columns: 1.25fr .85fr; }
  .cat-index__preview { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 959px) {
  .cat-index__item { grid-template-columns: 34px 1fr auto 48px; }
  .cat-index__thumb { display: block; order: 4; }
  .cat-index__arrow { display: none; }
}

/* Signature: close-up in an arch, the full scene overlapping it */
.sig { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.sig__media { position: relative; max-width: 560px; width: 100%; padding: 0 18% 14% 0; }
.sig__main { aspect-ratio: 4 / 5; }
.sig__inset { position: absolute; right: 0; bottom: 0; width: 58%; margin: 0; border: 6px solid var(--forest); border-radius: 2px; }
.sig__inset img { width: 100%; height: 100%; object-fit: cover; }
.sig__specs { display: grid; margin-top: 30px; border-top: 1px solid rgba(201, 189, 103, .3); }
.sig__specs li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(201, 189, 103, .3); }
.sig__n { font-size: .72rem; letter-spacing: .24em; color: var(--olive); padding-top: 3px; }
.sig__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 32px; }
.sig__price { font-family: var(--serif); font-size: 1.9rem; }
@media (min-width: 960px) { .sig { grid-template-columns: 1fr 1fr; } }

/* New arrivals rail */
.arrivals__head { align-items: flex-end; }
.rail-ctl { display: flex; align-items: center; gap: 10px; }
.rail-ctl .link { margin-left: 14px; }
.rail-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.rail-btn:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.rail-btn[disabled] { opacity: .3; cursor: default; background: none; color: inherit; border-color: var(--line-light); }
.rail {
  display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging .card { pointer-events: none; }
.rail .card { flex: 0 0 clamp(230px, 24vw, 340px); scroll-snap-align: start; }
.rail .card__body { text-align: left; }
.card__new { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); }
.rail-progress { position: relative; height: 1px; margin-top: 36px; background: var(--line-light); overflow: hidden; }
.rail-progress span { position: absolute; inset: 0; background: var(--espresso); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .3s var(--ease-out); }

/* The Evening Edit: three staggered gowns that drift at different speeds */
.edit__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.edit__copy { display: grid; gap: 22px; justify-items: start; max-width: 420px; }
.edit__copy .h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1; }
.edit__looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); align-items: start; }
.edit__look { display: grid; gap: 12px; }
.edit__look:nth-child(2) { margin-top: clamp(40px, 6vw, 90px); }
.edit__look:nth-child(3) { margin-top: clamp(80px, 12vw, 180px); }
.edit__frame { display: block; aspect-ratio: 4 / 5; background: var(--espresso-2); }
/* the card (not the clipped frame) is what's observed, so the curtain also opens inside the swipe row on phones */
.js .edit__look[data-reveal] .edit__frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .edit__look.is-in .edit__frame { clip-path: inset(0 0 0 0); }
.reveal-fallback .edit__frame { clip-path: none !important; }
@media (prefers-reduced-motion: reduce) { .js .edit__look .edit__frame { clip-path: none !important; } }
.edit__frame img { transition: transform 1.4s var(--ease-out); }
.edit__look:hover .edit__frame img { transform: scale(1.05); }
.edit__cap { display: grid; gap: 2px; }
.edit__name { font-family: var(--serif); font-size: clamp(.95rem, 1.2vw, 1.2rem); color: var(--cream); }
.edit__price { font-size: .82rem; letter-spacing: .08em; color: rgba(243, 231, 215, .7); }
@media (min-width: 960px) { .edit__grid { grid-template-columns: .8fr 1.7fr; } }
@media (max-width: 767px) {
  /* phones: a swipeable row instead of three narrow columns */
  .edit__looks { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .edit__looks::-webkit-scrollbar { display: none; }
  .edit__look { flex: 0 0 64vw; scroll-snap-align: start; margin-top: 0 !important; }
}

/* The Atelier spread: the trio photo, full width and uncut */
.spread { padding-bottom: var(--section-y); }
.spread__media { margin: 0; width: 100%; }
.spread__media img { width: 100%; height: 100%; object-fit: cover; }
.spread__caption { display: grid; gap: 24px 64px; padding-top: clamp(32px, 4vw, 56px); }
.spread__caption > div > * + * { margin-top: 14px; }
.spread__text { max-width: 46ch; }
@media (min-width: 900px) { .spread__caption { grid-template-columns: 1.2fr 1fr; align-items: end; } }

/* Newsletter with a photograph */
.news { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.news__img { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; }
.news .newsletter-card { margin: 0; }
@media (min-width: 900px) { .news { grid-template-columns: .8fr 1.2fr; } .news__img { justify-self: end; } }

/* Footer: the wordmark, large */
.footer-mark { padding-top: clamp(24px, 4vw, 56px); opacity: .92; }
.footer-mark img { width: 100%; height: auto; }

/* Header floats over the home hero (desktop/tablet) until you scroll */
@media (min-width: 768px) {
  .site-header--overlay { position: fixed; top: 0; left: 0; right: 0; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease-out); }
  /* the hero photograph is dark at the top, so the floating header reads in cream with the olive logo */
  body:not(.menu-open) .site-header--overlay:not(.is-solid) { background: transparent; color: var(--cream); border-bottom-color: transparent; }
  body:not(.menu-open) .site-header--overlay:not(.is-solid) .nav-primary > a,
  body:not(.menu-open) .site-header--overlay:not(.is-solid) .nav-shop__link { color: rgba(243, 231, 215, .86); }
  body:not(.menu-open) .site-header--overlay:not(.is-solid) .nav-primary > a:hover,
  body:not(.menu-open) .site-header--overlay:not(.is-solid) .nav-shop__link:hover { color: var(--cream); }
  body:not(.menu-open) .site-header--overlay:not(.is-solid) .icon-btn { color: var(--cream); }
}
@media (min-width: 1080px) {
  /* her head sits top-left on every slide, so on the home page the logo goes left and the nav right */
  .site-header--overlay .header-inner { grid-template-columns: auto 1fr auto; }
  .site-header--overlay .brand { order: -1; justify-content: flex-start; padding-left: 0; }
  .site-header--overlay .header-inner > div:first-child { justify-self: end; }
}

/* Inner-page heroes at the photo's ratio */
.page-hero--natural { min-height: 0; aspect-ratio: var(--ar); }
.page-hero--natural .page-hero__media { inset: 0; }
@media (max-width: 767px) {
  .page-hero--natural { aspect-ratio: auto; display: block; }
  .page-hero--natural .page-hero__media { position: relative; inset: auto; aspect-ratio: var(--ar); }
  .page-hero--natural::after { display: none; }
  .page-hero--natural .container { padding-block: 32px 44px; }
}

/* The Story hero: an editorial block on the empty dark wall, vertically centred beside her */
.story-intro__sep { color: rgba(201, 189, 103, .6); margin: 0 .25em; }
.story-intro__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: .005em; white-space: nowrap; }
.page-hero__copy > .story-intro__title { margin-top: 16px; }
.page-hero__copy > .story-intro__sub { margin-top: 10px; font-family: var(--serif); color: var(--olive); font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.3; text-wrap: balance; }
.page-hero__copy > .story-intro__rule { display: block; width: 72px; height: 1px; margin-top: 26px; background: rgba(201, 189, 103, .7); }
.page-hero__copy > .story-intro__body { margin-top: 22px; max-width: 44ch; color: rgba(243, 231, 215, .84); font-size: 1rem; line-height: 1.75; }
.page-hero__copy > .story-intro__actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
@media (min-width: 768px) {
  /* anchored ~10% down the photo: her outline stays left of 43% of the width there, and
     only reaches 60% at the elbow (70% down), so a block starting near 62% stays clear */
  .page-hero--story { align-items: flex-start; }
  .page-hero--story .container { padding-block: 5.6vw 32px; }
  .page-hero--story .story-intro { width: min(500px, 34%); }
}
/* below 1400px the wall is narrower: keep the block short so it ends well above her elbow */
@media (min-width: 768px) and (max-width: 1399px) {
  .page-hero--story .story-intro__body { display: none; }
  .page-hero--story .story-intro__rule { margin-top: 20px; }
}

/* Wide landscape photo beside text (Signature, boutique) */
.wide-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wide-split__media { margin: 0; border-radius: 4px; }
.wide-split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .wide-split { grid-template-columns: 1.45fr 1fr; }
  .wide-split--reverse { grid-template-columns: 1fr 1.45fr; }
  .wide-split--reverse .wide-split__media { order: 2; }
}

/* Portrait frames match the 4:5 photographs; no parallax overscan */
.tile .frame, .split__media .frame, .two-images .frame:first-child, .two-images .frame:last-child, .detail .frame { aspect-ratio: 4 / 5; }
.p-inner { inset: 0; transform: none !important; }
.signature .split__media { max-width: 480px; }
@media (min-width: 960px) { .gallery__track { background: none; } }

/* ================= Ported from the earlier MASO site (dependency-free) ================= */

/* 2. Buttons: olive-gold sweeps across on hover */
.btn { overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--olive);
  transform: scaleX(0); transform-origin: right; transition: transform .6s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--espresso); color: var(--espresso); border-color: var(--olive); transition-delay: .14s; }
.btn--light:hover, .hero--light .btn--light:hover { transition-delay: .14s; }
.btn--light:hover, .btn--light:focus-visible { background: transparent; color: var(--espresso); }
.hero--light .btn--light:hover, .hero--light .btn--light:focus-visible { color: var(--espresso); }
@media (min-width: 768px) { .hero--light .btn--light:hover { background: transparent; } }
.btn[disabled]::before, .btn[aria-disabled="true"]::before { display: none; }
.btn[aria-disabled="true"]:hover { color: var(--cream); }

/* 3. Scroll progress: a hairline of olive-gold along the top */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 45; height: 2px; background: var(--olive); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* 4. "View" cursor over product photos (desktop, fine pointer only) */
.view-cursor { position: fixed; left: 0; top: 0; z-index: 46; pointer-events: none; will-change: transform; }
.view-cursor span {
  display: grid; place-items: center; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%;
  background: var(--espresso); color: var(--olive); font-size: .66rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(201, 189, 103, .55), 0 12px 32px rgba(43, 24, 16, .28);
  transform: scale(0); transition: transform .45s var(--ease-out);
}
.view-cursor.is-on span { transform: scale(1); }
.has-view-cursor .card__media, .has-view-cursor .edit__frame { cursor: none; }

/* ---------- Curved reel (see assets/js/reel.js) ---------- */
.reel { position: relative; overflow: hidden; height: var(--reel-h, clamp(580px, 86svh, 860px)); }
@media (max-width: 699px) { .reel { height: var(--reel-h-sm, 540px); } }
/* `color` is the placeholder a tile shows while its photo loads */
.reel__band { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); color: var(--cream-2); }
.reel.is-built .reel__band { opacity: 1; }
.reel__band canvas { display: block; width: 100%; height: 100%; max-width: none; }
.reel__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center; padding-block: clamp(44px, 7vh, 88px);
}
.reel__content > div > * + * { margin-top: 16px; }
.reel__content .h1, .reel__content .h2 { max-width: 24ch; margin-inline: auto; }
.reel__content .h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
.reel__content p { max-width: 46ch; margin-inline: auto; }
.reel--dark { background: var(--espresso); color: var(--cream); }
.reel--dark .muted { color: rgba(243, 231, 215, .74); }
.reel--dark .reel__band { color: var(--espresso-2); }

/* ---------- Headlines: words rise behind a mask ---------- */
.js [data-reveal="split"] { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .05em .18em; margin: -.1em -.05em -.18em; }
.split-w > span { display: inline-block; transform: translateY(112%); transition: transform 1.25s var(--ease-out); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 75ms); }
.js [data-reveal="split"].is-in .split-w > span { transform: none; }

/* ---------- Images: a slow curtain rises over the frame ---------- */
.js [data-reveal="image"] { clip-path: inset(100% 0 0 0); transition: opacity var(--slow) var(--ease-out), clip-path 1.6s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="image"].is-in { clip-path: inset(0 0 0 0); }

/* If the script never runs, show everything after 4s (set by the inline head script) */
.reveal-fallback .split-w > span { transform: none !important; }
.reveal-fallback [data-reveal="image"] { clip-path: none !important; }
.reveal-fallback [data-reveal], .reveal-fallback [data-reveal] img { opacity: 1 !important; transform: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal] img, .js .hero__media img, .split-w > span { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="image"] { clip-path: none !important; }
  [data-parallax] { transform: none !important; }
}
