/* ==========================================================================
   Maison Aurèle — high jewelry, Geneva & New York
   Quiet luxury: ivory, ink, a thread of champagne gold.
   ========================================================================== */

:root {
  --ivory: #F6F2EB;
  --ink: #14110F;
  --gold: #B79A65;
  --stone: #D9D2C6;
  --oxblood: #5C1D24;

  /* tints derived from the five colours above */
  --ivory-deep: #EEE8DD;
  --ink-soft: #4F4943;      /* body copy on ivory: 8:1 */
  --ink-mute: #6A635B;      /* captions on ivory: 5.2:1 */
  --ivory-soft: rgba(246, 242, 235, .76);
  --line: rgba(20, 17, 15, .16);
  --line-dark: rgba(246, 242, 235, .2);

  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-slow: cubic-bezier(.16, .8, .24, 1);

  --gutter: clamp(20px, 5.2vw, 80px);
  --header-h: 88px;
  --section: clamp(96px, 13vw, 200px);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
section[id] { scroll-margin-top: 56px; }
::selection { background: var(--ink); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.on-dark :focus-visible,
.mobile-menu :focus-visible,
.sticky-cta :focus-visible { outline-color: var(--ivory); }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--ivory);
  padding: 14px 22px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Type --------------------------------------------------------------- */
.h2, .promise__statement, .hero__title, .wordmark, .footer__mark,
.slide__name, .ptab__name, .step__title, .stab, .spanel__address,
.entry__title, .success__title, .mm-num + *, .mobile-menu a {
  font-family: var(--serif);
  font-optical-sizing: auto;
}
.h2 {
  font-weight: 400;
  font-size: clamp(2.125rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.012em;
}
em { font-style: italic; }
.h2, .promise__statement, .entry__title, .success__title, .step__title, .ppanel__intro { text-wrap: balance; }
.h2 em, .promise__statement em, .hero__title em { font-weight: 400; }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: .75rem; line-height: 1.4;
  font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.eyebrow__rule { display: block; width: 40px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--gold { color: var(--gold); }
.on-dark .eyebrow { color: var(--ivory-soft); }
.on-dark .eyebrow--gold { color: var(--gold); }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.7; color: var(--ink-soft);
  max-width: 34em;
}

/* --- Links & buttons ---------------------------------------------------- */
.link {
  --u: var(--ink);
  display: inline-block;
  font-size: .8125rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 0 8px;
  background-image: linear-gradient(var(--u), var(--u)), linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: 0% 1px, 100% 1px;
  transition: background-size .8s var(--ease-slow);
  white-space: nowrap;
  cursor: pointer;
}
.link:hover, .slide__link:hover .link, .entry a:hover .link { background-size: 100% 1px, 100% 1px; }
.on-dark .link { --u: var(--ivory); }
.link--quiet { padding-bottom: 6px; }
.link--btn { color: inherit; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 56px; padding: 0 34px;
  background: var(--ink); color: var(--ivory);
  font-size: .8125rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
  cursor: pointer;
}
.btn::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid var(--gold); opacity: .0;
  transition: opacity .7s var(--ease);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { opacity: .9; }
.btn .arrow, .sticky-cta .arrow { transition: transform .6s var(--ease); flex: none; }
.btn:hover .arrow { transform: translateX(6px); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); }
.btn--block { width: 100%; }
.mobile-menu .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.icon-btn {
  width: 64px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: border-color .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }

/* --- Frames, captions, reveal ------------------------------------------ */
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  scale: var(--zoom, 1);
  /* single, consistent grade: a touch desaturated, warm, soft contrast */
  filter: saturate(.84) sepia(.14) contrast(.95) brightness(1.02);
}
.frame::before {   /* warm veil to unify all four photographs */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(183,154,101,.10), rgba(92,29,36,.05));
  mix-blend-mode: multiply;
}
.frame--mat::after {
  content: ""; position: absolute; inset: clamp(10px, 1.2vw, 16px); z-index: 2; pointer-events: none;
  border: 1px solid rgba(246, 242, 235, .5);
}

.caption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  padding-top: 16px; margin-top: 0;
  font-size: .8125rem; line-height: 1.5; color: var(--ink-mute);
}
.caption__name { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink); }
.caption--fig { padding-top: 14px; }

.js .reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.5s var(--ease-slow), transform 2.2s var(--ease-slow), opacity 1.1s var(--ease); }
.js .reveal-img.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .reveal-img.frame--mat::after { opacity: 0; transition: opacity 1.6s var(--ease) .9s; }
.js .reveal-img.frame--mat.is-in::after { opacity: 1; }
.slide__link:hover .reveal-img.is-in img { transform: scale(1.035); transition-duration: 1.5s, 2.4s, 1.1s; }
.js .reveal-img.is-hero img { transition-duration: 1.8s, 2.6s, 1.1s; }

.rule-draw { display: block; height: 1px; background: var(--gold); }
.js .rule-draw { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-slow); }
.js .rule-draw.is-in { transform: scaleX(1); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  background: rgba(246, 242, 235, .94);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid transparent;
  transition: height .6s var(--ease), border-color .6s var(--ease), background-color .6s var(--ease);
}
.site-header.is-scrolled { height: 60px; border-bottom-color: var(--line); }
.site-header__inner {
  height: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  font-size: 1.0625rem; font-weight: 400; line-height: 1;
  letter-spacing: .3em; text-transform: uppercase;
  white-space: nowrap; flex: none;
  transition: font-size .6s var(--ease);
  padding: 8px 0;
}
.site-header.is-scrolled .wordmark { font-size: .9375rem; }

.primary-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.primary-nav a {
  position: relative; display: inline-block;
  font-size: .75rem; font-weight: 500; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
  padding: 14px 0;
}
.primary-nav li:not(:last-child) a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-slow);
}
.primary-nav li:not(:last-child) a:hover::after,
.primary-nav li:not(:last-child) a:focus-visible::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  padding: 15px 22px; border: 1px solid var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.primary-nav .nav-cta:hover { background: var(--ink); color: var(--ivory); }

.menu-toggle { display: none; align-items: center; gap: 14px; min-height: 48px; padding: 0 2px 0 12px; }
.menu-toggle__label { font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.menu-toggle__icon { position: relative; width: 26px; height: 10px; }
.menu-toggle__icon i {
  position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink);
  transition: transform .6s var(--ease), top .6s var(--ease);
}
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.is-scrolled { height: 56px; }
  .wordmark { font-size: 1rem; letter-spacing: .26em; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .wordmark { letter-spacing: .22em; font-size: 1rem; }
  .primary-nav ul { gap: 20px; }
  .primary-nav a { letter-spacing: .12em; }
  .primary-nav .nav-cta { padding-inline: 16px; }
}

/* --- Mobile menu -------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--ink); color: var(--ivory);
  padding: calc(var(--header-h) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
  overflow-y: auto;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .6s var(--ease), visibility 0s; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu li:first-child { border-top: 1px solid var(--line-dark); }
.mobile-menu a:not(.btn) {
  display: flex; align-items: baseline; gap: 20px;
  min-height: 64px; padding: 14px 0;
  font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.1; font-weight: 400; letter-spacing: -.01em;
}
.mm-num { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; color: var(--gold); width: 24px; }
.mobile-menu__foot { padding-top: 32px; }
.mobile-menu__foot p { margin-top: 20px; font-size: .8125rem; letter-spacing: .06em; color: var(--ivory-soft); text-align: center; }
.mobile-menu .menu-item-in { opacity: 1; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
/* header sits above menu; on open, match its colours */
body.menu-open .site-header { background: var(--ink); color: var(--ivory); border-bottom-color: transparent; }
body.menu-open .menu-toggle__icon i { background: var(--ivory); }
body.menu-open .site-header :focus-visible { outline-color: var(--ivory); }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-top: var(--header-h); }
.hero__inner {
  max-width: 1680px; margin-inline: auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(72px, 8vw, 128px);
  min-height: calc(100svh - var(--header-h));
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 112px);
  align-items: end;
}
.hero__text { padding-bottom: clamp(0px, 3vw, 48px); }
.hero__title {
  font-weight: 400;
  font-size: clamp(2.875rem, 5.2vw, 6rem);
  line-height: 1.0; letter-spacing: -.02em;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero__title .line { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.hero__title .line > span { display: block; }
@media (min-width: 900px) { .hero__title .line > span { white-space: nowrap; } }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.5s var(--ease-slow); }
.js.is-loaded .hero__title .line > span { transform: none; }
.js.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .18s; }
.hero__lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 24em; margin-bottom: clamp(32px, 4vw, 52px); }
.js .hero__lede, .js .hero__actions, .js .hero .eyebrow, .js .hero .caption { opacity: 0; transition: opacity 1.4s var(--ease) .5s; }
.js.is-loaded .hero__lede, .js.is-loaded .hero__actions, .js.is-loaded .hero .eyebrow, .js.is-loaded .hero .caption { opacity: 1; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.hero__frame { height: clamp(520px, calc(100svh - var(--header-h) - 150px), 860px); }
.hero__figure { align-self: end; }
.hero__figure .caption { justify-content: space-between; }

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); row-gap: 44px; min-height: 0; padding-top: 32px; padding-bottom: 88px; }
  .hero__frame { height: auto; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; }
  .hero__title { font-size: clamp(2.75rem, 12.5vw, 4.25rem); }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__actions .link { align-self: center; padding-block: 14px; }
}

/* --- Promise ------------------------------------------------------------ */
.promise { padding: var(--section) 0 calc(var(--section) * .9); }
.promise__head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 5vw; }
.promise__head .eyebrow { margin-top: .9em; }
.promise__statement {
  font-weight: 400;
  font-size: clamp(1.875rem, 3.6vw, 3.5rem);
  line-height: 1.16; letter-spacing: -.012em;
  max-width: 21em;
}
.pillars {
  margin-top: clamp(72px, 9vw, 140px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(28px, 3vw, 56px);
}
.pillars li { border-top: 1px solid var(--line); padding-top: 28px; }
.glyph { color: var(--gold); margin-bottom: 26px; }
.pillars h3 { font-size: .8125rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; line-height: 1.5; }
.pillars p { font-size: .9688rem; line-height: 1.65; color: var(--ink-soft); max-width: 22em; }

@media (max-width: 899px) {
  .promise__head { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  .pillars li { padding: 26px 0 30px; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; }
  .pillars .glyph { grid-row: span 2; margin: 2px 0 0; }
}

/* --- Collections -------------------------------------------------------- */
.collections { padding: 0 0 var(--section); }
.collections__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(48px, 6vw, 88px); }
.rail-controls { display: flex; align-items: center; gap: 28px; flex: none; padding-bottom: 6px; }
.rail-count { font-family: var(--serif); font-size: 1.125rem; display: flex; align-items: center; gap: 14px; font-variant-numeric: lining-nums; }
.rail-count__sep { display: block; width: 32px; height: 1px; background: var(--gold); }
.rail-buttons { display: flex; gap: 10px; }

.rail {
  display: flex; gap: clamp(24px, 3.2vw, 60px);
  padding: 0 var(--gutter) 8px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.rail.is-dragging a { pointer-events: none; }
.slide { flex: 0 0 clamp(280px, 31vw, 480px); scroll-snap-align: start; }
.slide:nth-child(even) { margin-top: clamp(0px, 7vw, 112px); }
.rail::after { content: ""; flex: 0 0 1px; }   /* end spacer for the last snap */
.slide__link { display: block; }
.slide__frame { aspect-ratio: 4 / 5; }
.slide__caption {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: baseline;
  padding-top: 20px;
}
.slide__no { grid-row: span 3; font-size: .75rem; letter-spacing: .2em; color: var(--ink-mute); padding-top: .7em; }
.slide__name { font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-style: italic; font-weight: 400; line-height: 1.15; }
.slide__meta { font-size: .9375rem; color: var(--ink-soft); margin-bottom: 14px; }
.slide__caption .link { justify-self: start; }
.rail-progress { position: relative; height: 1px; background: var(--line); margin-top: clamp(40px, 5vw, 72px); }
.rail-progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.25); transition: transform .5s var(--ease); }

@media (max-width: 899px) {
  .collections__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .rail-controls { width: 100%; justify-content: space-between; }
  .slide { flex-basis: 80vw; }
  .slide:nth-child(even) { margin-top: 40px; }
  .icon-btn { width: 56px; height: 52px; }
}

/* --- Signature pieces --------------------------------------------------- */
.pieces { background: var(--ivory-deep); padding: var(--section) 0; }
.pieces__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 8vw, 150px); align-items: center; }
.pieces__frame { aspect-ratio: 4 / 5; max-height: 82svh; width: 100%; }
.pieces__frame img { position: absolute; inset: 0; opacity: 0; }
.pieces__frame img.is-active { opacity: 1; }
.pieces__frame img { transition: opacity 1.2s var(--ease), transform 2.2s var(--ease-slow); }
.pieces__panel .h2 { margin-bottom: clamp(32px, 4vw, 56px); }

.pieces__tabs { border-top: 1px solid var(--line); }
.ptab {
  position: relative; width: 100%;
  display: flex; align-items: baseline; gap: 22px;
  min-height: 60px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left; color: var(--ink-mute);
  transition: color .6s var(--ease), padding-left .8s var(--ease-slow);
}
.ptab::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease-slow);
}
.ptab__no { font-size: .75rem; letter-spacing: .2em; width: 26px; flex: none; }
.ptab__name { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 400; line-height: 1.2; }
.ptab:hover { color: var(--ink); }
.ptab.is-active { color: var(--ink); padding-left: 10px; }
.ptab.is-active .ptab__name { font-style: italic; }
.ptab.is-active::after { transform: scaleX(1); }

.pieces__details { padding-top: clamp(28px, 3.4vw, 44px); min-height: 26rem; }
.ppanel { animation: panelIn 1s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ppanel__intro { color: var(--ink-soft); max-width: 30em; margin-bottom: 28px; }
.specs > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.specs > div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-mute); padding-top: .3em; }
.specs dd { font-size: 1rem; line-height: 1.55; }
.ppanel__foot { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.gem { color: var(--gold); flex: none; }
.ppanel__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.por { font-family: var(--serif); font-style: italic; font-size: 1.125rem; }

@media (max-width: 899px) {
  .pieces__grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .pieces__frame { aspect-ratio: 4 / 5; max-height: 70svh; }
  .pieces__panel { display: flex; flex-direction: column; }
  .pieces__tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-top: 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
  .pieces__tabs::-webkit-scrollbar { display: none; }
  .ptab { width: auto; flex: none; border-bottom: 0; padding: 14px 24px 14px 0; min-height: 56px; }
  .ptab__no { display: none; }
  .ptab.is-active { padding-left: 0; }
  .ptab::after { width: calc(100% - 24px); bottom: 0; }
  .pieces__details { min-height: 0; }
  .specs > div { grid-template-columns: 7rem minmax(0, 1fr); }
}

/* --- Atelier ------------------------------------------------------------ */
.atelier { background: var(--ink); color: var(--ivory); padding: var(--section) 0; }
.atelier__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 8vw, 150px); align-items: start; }
.atelier__sticky { position: sticky; top: 104px; }
.atelier__intro .h2 { max-width: 12em; }
.ringart { width: min(400px, 100%); height: auto; aspect-ratio: 1; margin-top: clamp(24px, 3vw, 40px); overflow: visible; }
.ringart .d { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .5s linear; }
.atelier__stage { margin-top: 8px; font-family: var(--serif); font-size: 1.25rem; color: var(--gold); letter-spacing: .08em; }
.atelier__stage-of { color: var(--ivory-soft); font-size: .875rem; }

.steps { padding-top: clamp(0px, 10vw, 160px); }
.step {
  min-height: clamp(280px, 62vh, 560px);
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--line-dark);
  padding: 36px 0;
  max-width: 34em;
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.js .step { opacity: .7; transition: opacity .5s linear; }
.step__no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.25rem; margin-bottom: 18px; }
.step__title { font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 20px; }
.step p:last-child { color: var(--ivory-soft); font-size: 1.0625rem; max-width: 28em; }

@media (max-width: 899px) {
  .atelier__grid { grid-template-columns: minmax(0, 1fr); }
  .atelier__sticky { position: sticky; top: 56px; z-index: 3; background: var(--ink); margin-inline: calc(var(--gutter) * -1); padding: 18px var(--gutter) 14px; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: minmax(0, 1fr) 132px; column-gap: 16px; align-items: center; }
  .atelier__intro { grid-column: 1 / -1; }
  .atelier__sticky .atelier__intro { position: static; }
  .atelier__intro .h2 { font-size: 1.75rem; }
  .atelier__intro .eyebrow { margin-bottom: 12px; }
  .ringart { grid-column: 2; grid-row: 2; width: 132px; margin: 0; }
  .atelier__stage { grid-column: 1; grid-row: 2; margin: 0; font-size: 1.75rem; }
  .steps { padding-top: 0; }
  .step { min-height: 56svh; padding: 28px 0; }
}

/* --- Bespoke ------------------------------------------------------------ */
.bespoke { padding: var(--section) 0; }
.bespoke__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); column-gap: clamp(48px, 9vw, 160px); align-items: end; }
.bespoke__copy .h2 { margin-bottom: 28px; }
.bespoke__copy .lede { margin-bottom: 44px; }
.bespoke__frame { aspect-ratio: 4 / 5; }

.timeline {
  position: relative;
  margin-top: clamp(80px, 10vw, 150px);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 44px);
}
.timeline::before { /* the hairline */
  content: ""; position: absolute; left: 0; top: 6px; height: 1px; width: 100%; background: var(--line);
}
.timeline::after { /* gold thread that draws on reveal */
  content: ""; position: absolute; left: 0; top: 6px; height: 1px; width: 100%; background: var(--gold);
  transform-origin: left;
}
.js .timeline::after { transform: scaleX(0); transition: transform 2.4s var(--ease-slow); }
.js .timeline.is-in::after { transform: scaleX(1); }
.timeline li { position: relative; padding-top: 42px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px;
  background: var(--ivory); border: 1px solid var(--gold); border-radius: 50%;
}
.tl__when { display: block; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink-mute); margin-bottom: 14px; }
.timeline h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 400; font-style: italic; line-height: 1.2; margin-bottom: 10px; }
.timeline p { font-size: .9688rem; line-height: 1.65; color: var(--ink-soft); max-width: 17em; }

@media (max-width: 899px) {
  .bespoke__top { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .bespoke__frame { aspect-ratio: 5 / 4; }
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 72px; }
  .timeline::before, .timeline::after { left: 6px; top: 6px; height: calc(100% - 12px); width: 1px; }
  .js .timeline::after { transform: scaleY(0); transform-origin: top; }
  .js .timeline.is-in::after { transform: scaleY(1); }
  .timeline li { padding: 0 0 44px 44px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline p { max-width: 26em; }
}

/* --- Salons ------------------------------------------------------------- */
.salons { background: var(--ivory-deep); padding: var(--section) 0; }
.salons__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 8vw, 150px); align-items: start; }
.salons__lead .h2 { margin-bottom: clamp(36px, 5vw, 72px); }
.salon-tabs { display: flex; gap: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.stab {
  position: relative; min-height: 56px; padding: 12px 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink-mute); line-height: 1.1;
  transition: color .6s var(--ease);
}
.stab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-slow); }
.stab:hover { color: var(--ink); }
.stab.is-active { color: var(--ink); font-style: italic; }
.stab.is-active::after { transform: scaleX(1); }

.spanel { animation: panelIn 1s var(--ease) both; }
.spanel__status { display: flex; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); margin-bottom: 26px; }
.dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold); flex: none; }
.dot.is-open { background: var(--gold); }
.spanel__address { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.18; letter-spacing: -.01em; margin-bottom: 36px; }
.hours { margin-bottom: 32px; }
.hours > div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .9688rem; }
.hours > div:last-child { border-bottom: 1px solid var(--line); }
.hours dt { color: var(--ink-soft); }
.hours dd { text-align: right; }
.spanel__contact { color: var(--ink-soft); margin-bottom: 30px; }
.spanel__contact a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; }
.spanel__contact a:hover { color: var(--ink); }

@media (max-width: 899px) {
  .salons__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .salons__lead .h2 { margin-bottom: 32px; }
  .hours > div { padding: 14px 0; }
}

/* --- Journal ------------------------------------------------------------ */
.journal { padding: var(--section) 0; }
.journal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
.journal__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 72px); }
.entry a { display: block; height: 100%; border-top: 1px solid var(--line); padding-top: 28px; position: relative; }
.entry a::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-slow); }
.entry a:hover::before, .entry a:focus-visible::before { transform: scaleX(1); }
.entry__cat { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-mute); margin-bottom: 26px; }
.entry__title { font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: 400; line-height: 1.2; letter-spacing: -.008em; margin-bottom: 18px; max-width: 14em; }
.entry__excerpt { color: var(--ink-soft); font-size: .9688rem; margin-bottom: 22px; max-width: 26em; }
@media (max-width: 899px) {
  .journal__list { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .journal__head { flex-direction: column; align-items: flex-start; }
}

/* --- Appointment -------------------------------------------------------- */
.appointment { background: var(--ivory-deep); padding: var(--section) 0; border-top: 1px solid var(--line); }
.appointment__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 8vw, 150px); align-items: start; }
.appointment__intro .h2 { margin-bottom: 28px; }
.appointment__intro .lede { margin-bottom: 40px; }
.assurances li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-soft); }
.assurances li:last-child { border-bottom: 1px solid var(--line); }
.assurances li::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; }

.form { display: grid; gap: 30px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.optional { font-size: .6875rem; letter-spacing: .12em; color: var(--ink-mute); text-transform: none; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  border-radius: 0; font-size: 1.0625rem; color: var(--ink);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink);
}
.field input:focus-visible ~ .field__error, .field select:focus-visible ~ .field__error { }
.field.has-error input, .field.has-error select { border-bottom-color: var(--oxblood); box-shadow: 0 1px 0 0 var(--oxblood); }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { padding-right: 28px; cursor: pointer; }
.field select:invalid { color: var(--ink-mute); }
.field select option { color: var(--ink); }
.field input[type="date"] { min-height: 52px; }
.field__error { min-height: 0; font-size: .875rem; line-height: 1.4; color: var(--oxblood); margin-top: 0; }
.field.has-error .field__error { margin-top: 8px; }
.form__note { font-size: .8125rem; color: var(--ink-mute); margin-top: -8px; }

.btn--submit { width: 100%; justify-self: stretch; margin-top: 6px; min-height: 60px; }
.btn__busy { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; }
.btn__busy i { display: block; width: 48px; height: 1px; background: var(--gold); transform-origin: left; animation: thread 1.4s var(--ease) infinite; }
@keyframes thread { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.btn--submit.is-loading { pointer-events: none; }
.btn--submit.is-loading .btn__label { opacity: 0; }
.btn--submit.is-loading .btn__busy { display: flex; }

.success { padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); animation: panelIn 1.2s var(--ease) both; }
.success:focus { outline: 0; }
.success__mark { color: var(--oxblood); margin-bottom: 28px; }
.success__mark circle { stroke-dasharray: 170; stroke-dashoffset: 170; animation: draw 1.6s var(--ease-slow) .1s forwards; }
.success__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 1s var(--ease-slow) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__title { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 400; font-style: italic; line-height: 1.1; margin-bottom: 18px; }
.success__text { color: var(--ink-soft); max-width: 30em; margin-bottom: 28px; }

@media (max-width: 899px) {
  .appointment__grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field input, .field select, .field textarea { font-size: 1rem; min-height: 56px; }
}

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--ivory); padding: clamp(80px, 9vw, 140px) 0 36px; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line-dark); }
.footer__mark { font-size: clamp(2rem, 6vw, 5.25rem); letter-spacing: .12em; text-transform: uppercase; line-height: 1; font-weight: 400; }
.footer__tag { font-family: var(--serif); font-style: italic; color: var(--ivory-soft); font-size: 1.125rem; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; row-gap: 44px; padding: clamp(40px, 5vw, 72px) 0; font-size: .9688rem; line-height: 1.8; color: var(--ivory-soft); }
.footer__h { font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer a:not(.btn) { display: inline-block; padding: 3px 0; background: linear-gradient(var(--ivory), var(--ivory)) 0 100% / 0% 1px no-repeat; transition: background-size .7s var(--ease-slow), color .4s var(--ease); }
.site-footer a:hover { background-size: 100% 1px; color: var(--ivory); }
.footer__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: var(--ivory-soft); }
.footer__base ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
@media (max-width: 899px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer { padding-bottom: 104px; }
  .footer__mark { letter-spacing: .08em; }
}

/* --- Sticky mobile CTA -------------------------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--ink); color: var(--ivory);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(102%); visibility: hidden;
    transition: transform .8s var(--ease-slow), visibility 0s linear .8s;
    border-top: 1px solid rgba(183, 154, 101, .5);
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .8s var(--ease-slow), visibility 0s; }
  .sticky-cta a {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    min-height: 60px; font-size: .8125rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  }
}


/* --- Touch targets ------------------------------------------------------ */
@media (max-width: 899px) {
  .link { padding: 14px 0 11px; background-position: 0 calc(100% - 9px), 0 calc(100% - 9px); }
  .link--quiet { padding-bottom: 11px; }
  .wordmark { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .site-footer a:not(.btn) { padding: 11px 0; }
  .spanel__contact a { display: inline-block; padding: 11px 0; background-position: 0 calc(100% - 9px); }
  .footer__base ul { gap: 0 24px; }
  .assurances li { padding: 16px 0; }
}

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal-img img { clip-path: none; transform: none; }
  .js .reveal-img.frame--mat::after { opacity: 1; }
  .js .rule-draw, .js .timeline::after { transform: none; }
  .js .hero__title .line > span { transform: none; }
  .js .hero__lede, .js .hero__actions, .js .hero .eyebrow, .js .hero .caption, .js .step { opacity: 1; }
}
