/* =========================================================
   Amercéa Maison — website styles
   Tokens follow the Brand Identity v1.0 (Figma: 01 · Brand Foundations)
   ========================================================= */

:root {
  /* Colour — brand palette */
  --aubergine: #1F1229;   /* deepest brand tone: backgrounds */
  --plum: #3B2350;        /* Amercéa Plum: primary brand colour */
  --amethyst: #6E5285;    /* secondary tint: rules, taglines, details */
  --lilac: #E6DEEA;       /* light tint: panels */
  --champagne: #C6A66B;   /* foil, rules, the seal (never on white alone) */
  --ivory: #F5EFE6;       /* primary light */
  --pearl: #FBF8F3;       /* paper white */
  --stone: #8F8597;       /* secondary text, captions */
  --ink: #1C1621;         /* body text */
  --ember: #C9714A;       /* ember glow */

  /* Type — Playfair Display (display) + Montserrat (supporting) */
  --serif: "Playfair Display", "Didot", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --pad: clamp(20px, 8.333vw, 120px);
  --section-y: clamp(72px, 8.333vw, 120px);
  --content: 1200px;
  --nav-h: 83px; /* compact (scrolled) nav height, used for anchor offsets */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--aubergine);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 4px; }
.main--pearl :focus-visible, .main--ivory :focus-visible, .bg-pearl :focus-visible, .form :focus-visible { outline-color: var(--plum); }

.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--champagne); color: var(--aubergine); font-weight: 500; text-decoration: none; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- Buttons (Web / Button: Gold · Outline · Plum) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 30px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/18px var(--sans); letter-spacing: 0.3px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--gold { background: var(--champagne); color: var(--aubergine); }
.btn--gold:hover { background: #D3B784; }
.btn--outline { border-color: var(--champagne); color: var(--champagne); }
.btn--outline:hover { background: rgba(198, 166, 107, .12); }
.btn--plum { background: var(--plum); color: var(--ivory); }
.btn--plum:hover { background: #4B2F64; }

/* ---------- Type helpers ---------- */
.h2 {
  font: 400 clamp(34px, 3.4vw, 48px)/1.08 var(--serif);
  letter-spacing: -0.01em; color: var(--plum);
}
.h2--lg { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.06; color: var(--ivory); }
.lede { font-size: 18px; line-height: 1.6; font-weight: 300; color: var(--ink); max-width: 440px; }
.lede--wide { max-width: none; margin-top: 14px; }
.body-lg { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; font-weight: 300; }
.caption { margin-top: 48px; font-size: 13px; font-weight: 400; color: var(--stone); }

/* ---------- Pages & sections ---------- */
/* one page per nav tab; <main> carries the page colour and fills the screen so the footer sits at the bottom */
main { flex: 1 0 auto; }
.main--pearl { background: var(--pearl); color: var(--ink); }
.main--ivory { background: var(--ivory); color: var(--ink); }
.main--plum { background: var(--plum); color: var(--ivory); }
.main--aubergine { background: var(--aubergine); color: var(--ivory); }
.section { padding-block: var(--section-y); }
.page-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 64px; }
.text-link { font: 500 15px/1.3 var(--sans); color: var(--plum); text-underline-offset: 4px; }
.text-link:hover { color: var(--amethyst); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-head .h2 { max-width: 620px; }
.section-head--gems { margin-bottom: 48px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--aubergine);
  border-bottom: 1px solid rgba(198, 166, 107, .32);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; transition: padding .3s ease; }
.nav.is-scrolled .nav__inner { padding-block: 14px; }
.nav__logo { display: block; flex: none; padding-block: 6px; }  /* clear space ≥ cap-A height */
.nav__logo img { width: 120px; height: auto; }
.nav__links { display: flex; gap: 44px; }
.nav__links a { color: var(--ivory); font: 400 15px/1 var(--sans); text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--champagne); border-bottom-color: var(--champagne); }
.nav__toggle { display: none; align-items: center; gap: 10px; color: var(--ivory); font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 10px 4px; }
.nav__toggle-bars, .nav__toggle-bars::before { display: block; width: 20px; height: 1px; background: var(--champagne); position: relative; transition: transform .25s; }
.nav__toggle-bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.nav__toggle-bars { top: -3px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

/* =========================================================
   HOME — light, drawn: annotated ring drawing + process diagram
   ========================================================= */
.home-hero { background: var(--pearl); color: var(--ink); }
.home-hero__inner { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 640px); justify-content: space-between; align-items: center; gap: 64px; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 96px); }
.home-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.home-title { font: 400 clamp(38px, 4vw, 56px)/1.08 var(--serif); letter-spacing: -0.01em; color: var(--plum); }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 8px; }

/* the drawing sheet: lilac graph paper, plum line art, numbered balloons */
.drawing { margin: 0; }
.drawing__sheet {
  position: relative; border: 1px solid var(--lilac); border-radius: 4px;
  background-color: var(--pearl);
  background-image:
    linear-gradient(rgba(230, 222, 234, .75) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 222, 234, .75) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
  padding: 20px 20px 44px;
}
.drawing__svg { display: block; width: 100%; height: auto; overflow: visible; }
.drawing__leaders path, .drawing__leaders circle { stroke: var(--amethyst); stroke-width: .9; fill: none; }
.drawing__leaders circle { fill: var(--amethyst); stroke: none; }
.drawing__leaders .drawing__arrow { fill: var(--amethyst); stroke: none; }
.drawing__balloons circle { fill: var(--pearl); stroke: var(--plum); stroke-width: 1; }
.drawing__balloons text { font: italic 400 16px var(--serif); fill: var(--plum); text-anchor: middle; }
.drawing__block {
  position: absolute; right: -1px; bottom: -1px; padding: 9px 14px;
  border: 1px solid var(--lilac); background: var(--pearl);
  font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--amethyst);
}
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin-top: 20px; }
.parts li { display: flex; align-items: center; gap: 12px; font: 400 14px/1.35 var(--sans); color: var(--ink); }
.parts__n { flex: none; width: 24px; height: 24px; border: 1px solid var(--plum); border-radius: 50%; display: grid; place-items: center; font: italic 400 13px/1 var(--serif); color: var(--plum); }

/* process diagram: four line drawings on a marked line */
/* maison snippet: archive photo + the two family lines */
.home-maison { background: var(--ivory); }
.home-maison__inner { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 480px); justify-content: space-between; align-items: center; gap: 64px; }
.home-maison__photo { margin: 0; }
.home-maison__photo img { width: 100%; border-radius: 8px; background: var(--lilac); }
.home-maison__photo figcaption { margin-top: 12px; font: italic 400 16px/1.3 var(--serif); color: var(--plum); }
.home-maison__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.home-maison .home-maison__title { font-size: clamp(38px, 4vw, 56px); line-height: 1.08; }
.btn--line { border-color: var(--plum); color: var(--plum); }
.btn--line:hover { background: rgba(59, 35, 80, .06); }

/* closing invitation */
.home-invite { background: var(--pearl); padding-bottom: var(--section-y); }
.invite { background: var(--lilac); border-radius: 8px; padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.invite__seal { width: 96px; margin-bottom: 4px; }
.invite .body-lg { max-width: 560px; color: var(--ink); }
.home-actions--center { justify-content: center; }

.home-flow { background: var(--pearl); border-top: 1px solid var(--lilac); }
.home-flow .h2 { font-size: clamp(30px, 2.8vw, 40px); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.flow__art { height: 190px; display: grid; place-items: center; margin-bottom: 22px; }
.flow__art img { max-height: 100%; width: auto; max-width: 100%; }
.flow__step:first-child .flow__art img { max-width: 78%; max-height: 80%; }
.flow__meta { position: relative; padding-top: 20px; border-top: 1px solid rgba(110, 82, 133, .35); display: flex; flex-direction: column; gap: 8px; }
.flow__meta::before { content: ""; position: absolute; top: -4.5px; left: 0; width: 8px; height: 8px; background: var(--amethyst); transform: rotate(45deg); }
.flow__num { font: 500 11px/1 var(--sans); letter-spacing: .24em; color: var(--amethyst); }
.flow__title { font: 400 24px/1.25 var(--serif); color: var(--plum); }
.flow__step p { font-size: 15px; line-height: 1.55; font-weight: 300; color: var(--ink); }
.home-flow .page-cta { margin-top: 48px; }

/* =========================================================
   PROCESS — five steps
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__art { height: 210px; border-radius: 8px; background: var(--aubergine); display: grid; place-items: center; overflow: hidden; margin-bottom: 20px; }
.step__art img { width: 100%; max-width: 216px; }
.step:first-child .step__art img { max-width: 164px; }
.step:last-child .step__art img { max-width: 161.5px; }
.step__num { font: italic 400 26px/1.2 var(--serif); color: var(--amethyst); }
.step__title { font: 400 22px/1.3 var(--serif); color: var(--ink); }
.step__text { font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--ink); }

/* =========================================================
   3D ATELIER
   ========================================================= */
.atelier__inner { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 688px); justify-content: space-between; align-items: center; gap: 72px; }
.atelier__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.points { display: flex; flex-direction: column; gap: 14px; }
.points li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 400; line-height: 1.5; }
.points li::before { content: ""; flex: none; width: 8px; height: 8px; margin: 0 1.6px; background: var(--champagne); transform: rotate(45deg); }

.viewer { background: var(--aubergine); border-radius: 16px; overflow: hidden; }
.viewer__stage { position: relative; height: 430px; overflow: hidden; }
.viewer__stage::before { /* Ember Glow */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px 310px at 50% 350px, rgba(201, 113, 74, .34), rgba(201, 113, 74, 0));
}
.viewer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; cursor: grab; }
.viewer__canvas:active { cursor: grabbing; }
.viewer.has-webgl .viewer__canvas { opacity: 1; }
.viewer__fallback { position: absolute; left: 50%; top: 28px; width: 468px; max-width: 92%; transform: translateX(-50%); transition: opacity .4s; }
.viewer.has-webgl .viewer__fallback { opacity: 0; pointer-events: none; }
.viewer__label { position: absolute; left: 24px; top: 34px; font: 500 13px/16px var(--sans); color: var(--champagne); pointer-events: none; }
.viewer__hint { position: absolute; left: 24px; bottom: 24px; font: 400 13px/16px var(--sans); color: var(--ivory); pointer-events: none; }

.seg { position: absolute; top: 24px; right: 24px; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--champagne); border-radius: 999px; }
.seg button { padding: 8px 16px; border-radius: 999px; font: 500 13px/16px var(--sans); color: var(--ivory); transition: background-color .2s, color .2s; }
.seg button:hover { background: rgba(198, 166, 107, .15); }
.seg button[aria-checked="true"] { background: var(--champagne); color: var(--aubergine); }

.viewer__controls { display: flex; flex-direction: column; gap: 22px; padding: 26px 28px 28px; border-top: 1px solid var(--champagne); }
.opt-row { display: flex; align-items: center; gap: 20px; }
.opt-row--cut { gap: 10px; }
.opt-row__label { flex: none; width: 56px; font: 500 13px/16px var(--sans); color: var(--ivory); }
.opt-row--cut .opt-row__label { width: 66px; }
.opt-row__opts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.opt-row--cut .opt-row__opts { gap: 10px; }
.swatch-opt { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/16px var(--sans); color: var(--ivory); padding: 0; border-radius: 999px; }
.swatch-opt .sw { width: 24px; height: 24px; border-radius: 50%; background: var(--c); flex: none; transition: box-shadow .2s; }
.swatch-opt:hover .sw { box-shadow: 0 0 0 1px var(--aubergine), 0 0 0 2px rgba(198, 166, 107, .6); }
.swatch-opt[aria-checked="true"] { font-weight: 500; }
.swatch-opt[aria-checked="true"] .sw { box-shadow: 0 0 0 1px var(--aubergine), 0 0 0 2px var(--champagne); }
.pill { padding: 9px 18px; border: 1px solid var(--ivory); border-radius: 999px; font: 500 13px/16px var(--sans); color: var(--ivory); transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover { border-color: var(--champagne); color: var(--champagne); }
.pill[aria-checked="true"] { background: var(--champagne); border-color: var(--champagne); color: var(--aubergine); }
.viewer__summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--champagne); color: var(--ivory); }
.spec { display: flex; flex-direction: column; gap: 4px; }
.spec__title { font: 400 18px/1.3 var(--serif); }
.spec__sub { font: 400 13px/1.3 var(--sans); }

/* =========================================================
   GEMS
   ========================================================= */
.stones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stone { display: flex; flex-direction: column; gap: 10px; }
.stone__art { height: 280px; border-radius: 8px; background: var(--aubergine); display: grid; place-items: center; margin-bottom: 8px; overflow: hidden; }
.stone__art img { width: 210px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.stone:hover .stone__art img { transform: translateY(-4px) scale(1.03); }
.stone__name { font: 400 22px/1.3 var(--serif); color: var(--ink); }
.stone__meta { font: 400 15px/1.3 var(--sans); color: var(--stone); }
.stone__row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; font: 500 14px/1.2 var(--sans); }
.stone__row span { color: var(--plum); }
.stone__row a { color: var(--amethyst); text-underline-offset: 3px; }
.stone__row a:hover { color: var(--plum); }

/* =========================================================
   MAISON
   ========================================================= */
.maison { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 612px); justify-content: space-between; align-items: center; gap: 64px; }
.maison__seal { aspect-ratio: 1; border-radius: 8px; background: var(--lilac); display: grid; place-items: center; }
.maison__seal img { width: 74.8%; }
.maison__story { display: flex; flex-direction: column; gap: 24px; color: var(--ink); }
.signature { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.signature__name { font: italic 400 26px/1.3 var(--serif); color: var(--plum); }
.signature__role { font: 400 14px/1.3 var(--sans); color: var(--stone); }
.archive { margin: clamp(64px, 7vw, 104px) 0 0; }
.archive__eyebrow { margin-bottom: 20px; }
.archive img { width: 100%; border-radius: 8px; background: var(--lilac); }
.archive figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; max-width: 720px; }
/* group photo + portrait side by side; column widths follow the photos' proportions so both stand the same height */
.archive__grid { display: grid; grid-template-columns: minmax(0, 1.725fr) minmax(0, 0.797fr); gap: 24px; align-items: start; }
.archive__item { margin: 0; }
.archive__grid--paternal { grid-template-columns: minmax(0, 1.668fr) minmax(0, 0.797fr); }
/* second family line: photo with its caption beside it */
.archive__item--side { display: grid; grid-template-columns: minmax(0, 1.725fr) minmax(0, 0.797fr); gap: 24px; align-items: end; margin-top: 64px; }
.archive__item--side figcaption { margin-top: 0; }
.archive__name { font: italic 400 22px/1.3 var(--serif); color: var(--plum); }
.archive__note { font: 400 14px/1.55 var(--sans); color: var(--stone); }

/* =========================================================
   ENQUIRY
   ========================================================= */
.enquiry { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 688px); justify-content: space-between; align-items: start; gap: 72px; }
.enquiry__copy { display: flex; flex-direction: column; gap: 24px; }
.contact { margin: 0; padding-top: 8px; }
.contact div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-top: 1px solid var(--champagne); }
.contact dt { font: 400 14px/1.3 var(--sans); }
.contact dd { margin: 0; font: 500 15px/1.3 var(--sans); text-align: right; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--champagne); }

.form { background: var(--ivory); color: var(--ink); border-radius: 12px; padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.form__title { font: 400 26px/1.3 var(--serif); color: var(--plum); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font: 500 14px/1.2 var(--sans); color: var(--ink); }
.field__input {
  width: 100%; height: 52px; padding: 0 16px;
  background: var(--pearl); color: var(--ink);
  border: 1px solid var(--stone); border-radius: 6px;
  font: 400 16px/1.3 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--stone); opacity: 1; }
.field__input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(59, 35, 80, .14); }
.field__select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background: var(--pearl) url("../assets/chevron.svg") no-repeat right 16px center / 14px 14px; }
.field__select.is-empty { color: var(--stone); }
.field__textarea { height: 120px; padding-top: 14px; resize: vertical; min-height: 96px; }
.field.is-invalid .field__input { border-color: #A8323E; }
.check { display: inline-flex; align-items: center; gap: 12px; font: 400 15px/1.3 var(--sans); cursor: pointer; align-self: flex-start; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 20px; height: 20px; border: 1.5px solid var(--plum); border-radius: 4px; background: var(--pearl);
  display: grid; place-items: center; cursor: pointer;
}
.check input::after { content: ""; width: 10px; height: 6px; border: solid var(--ivory); border-width: 0 0 1.5px 1.5px; transform: translate(0, -1px) rotate(-45deg) scale(0); transition: transform .15s; }
.check input:checked { background: var(--plum); }
.check input:checked::after { transform: translate(0, -1px) rotate(-45deg) scale(1); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font: 400 14px/1.4 var(--sans); color: var(--plum); }
.form__status a { color: var(--plum); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--aubergine); color: var(--ivory); border-top: 1px solid var(--champagne); padding: 72px 0 40px; }
.footer__top { display: flex; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--champagne); }
.footer__brand { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__brand img { width: 142px; }
.footer__brand p { font-size: 15px; font-weight: 300; }
.footer__col { flex: none; width: 190px; display: flex; flex-direction: column; gap: 12px; font: 400 15px/1.2 var(--sans); }
.footer__col:last-child { width: 213px; }
.footer__head { font: 500 14px/1.2 var(--sans); color: var(--champagne); }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--champagne); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-top: 48px; font: 400 13px/1.3 var(--sans); }
.footer__bottom a { color: var(--champagne); text-underline-offset: 3px; }

/* =========================================================
   BRAND GUIDELINES PAGE (brand.html)
   ========================================================= */
.bg-pearl { background: var(--pearl); color: var(--ink); padding-bottom: var(--section-y); }
.eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--amethyst); }
.bp-intro { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 96px; padding-bottom: 32px; }
.bp-intro__copy { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.bp-title { font: 400 clamp(44px, 5vw, 68px)/1.06 var(--serif); color: var(--plum); letter-spacing: -0.01em; }
.bp-lead { font-size: 17px; line-height: 1.65; }
.bp-intro__seal { width: clamp(140px, 16vw, 230px); flex: none; }
.bp-section { padding-top: 88px; }
.bp-head { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.bp-head__num { font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--amethyst); }
.bp-head__title { font: 400 32px/1.2 var(--serif); color: var(--plum); }
.bp-head::after { content: ""; flex: 1; height: 1px; background: var(--lilac); }
.bp-grid { display: grid; gap: 24px; }
.bp-grid + .bp-grid { margin-top: 36px; }
.bp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.bp-panel { margin: 0; }
.bp-panel__art { height: 380px; border-radius: 4px; display: grid; place-items: center; padding: 32px; border: 1px solid rgba(143, 133, 151, .18); }
.bp-panel__art img { width: min(355px, 70%); }
.bp-panel__art--sm { height: 320px; }
.bp-panel__art--sm img { width: auto; max-height: 180px; max-width: 70%; }
.bp-grid--3 .bp-panel:nth-child(2) img { max-height: 238px; }
.bp-panel figcaption { margin-top: 12px; font: 400 13px/1.4 var(--sans); color: var(--stone); display: flex; justify-content: space-between; gap: 12px; }
.bp-panel figcaption a { color: var(--amethyst); font-weight: 500; text-underline-offset: 3px; }
.bp-rule h3 { font: 400 22px/1.3 var(--serif); color: var(--plum); margin-bottom: 12px; }
.bp-rule p { font-size: 15px; line-height: 1.6; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 24px; }
.swatch h3 { font: 400 20px/1.3 var(--serif); color: var(--ink); margin-top: 18px; }
.swatch p { font-size: 13px; line-height: 1.4; color: var(--stone); }
.swatch .swatch__code { font-weight: 500; color: var(--amethyst); margin: 6px 0 4px; letter-spacing: .02em; }
.swatch__chip { display: block; width: 100%; height: 150px; border-radius: 4px; cursor: copy; transition: transform .2s; }
.swatch__chip:hover { transform: translateY(-2px); }
.swatch__chip--light { box-shadow: inset 0 0 0 1px rgba(143, 133, 151, .3); }
.bp-note { margin-top: 36px; font-size: 13px; color: var(--stone); }
.bp-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; padding: 10px 18px; border-radius: 999px; background: var(--plum); color: var(--ivory); font: 500 13px/1 var(--sans); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 60; }
.bp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.type-card { background: var(--ivory); border-radius: 4px; padding: 48px; display: flex; flex-direction: column; gap: 14px; }
.type-card__aa { font-size: 150px; line-height: 1; color: var(--plum); margin-bottom: 12px; }
.type-card__aa--serif { font-family: var(--serif); }
.type-card__aa--sans { font-family: var(--sans); font-weight: 300; }
.type-card h3 { font: 400 30px/1.2 var(--serif); color: var(--ink); }
.type-card p { font-size: 15px; line-height: 1.5; }
.type-card__sample { border-top: 1px solid var(--lilac); padding-top: 16px; margin-top: 4px; }
.type-card .type-card__sample--serif { font: italic 400 30px/1.3 var(--serif); color: var(--amethyst); }
.type-card .type-card__sample--sans { font: 400 15px/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--amethyst); }
.bp-scales { margin-top: 48px; }
.scale { margin-top: 14px; }
.scale li { display: flex; gap: 16px; padding-block: 10px; border-top: 1px solid var(--lilac); font-size: 14px; line-height: 1.4; }
.scale span { flex: none; width: 168px; font-weight: 500; color: var(--plum); }
.footer__bottom--solo { padding-top: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 28px; }
  .home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
  .home-maison__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .atelier__inner, .enquiry { gap: 48px; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
  .maison { gap: 48px; }
  .footer__top { gap: 40px; }
  .footer__col, .footer__col:last-child { width: auto; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 66px; }
  .nav__inner, .nav.is-scrolled .nav__inner { padding-block: 14px; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--pad) 24px;
    background: var(--aubergine); border-bottom: 1px solid rgba(198, 166, 107, .32);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav__links.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .nav__links a { padding-block: 16px; font-size: 17px; border-bottom: 1px solid rgba(198, 166, 107, .2); }
  .nav__links a:hover, .nav__links a[aria-current="page"] { border-bottom-color: rgba(198, 166, 107, .2); }

  .home-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .home-maison__inner { grid-template-columns: 1fr; gap: 32px; }
  .home-maison__photo { max-width: 640px; }
  .drawing { max-width: 640px; width: 100%; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .lede { max-width: 620px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .stones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .atelier__inner, .enquiry { grid-template-columns: 1fr; }
  .viewer { max-width: 688px; width: 100%; margin-inline: auto; }
  .maison { grid-template-columns: 1fr; }
  .maison__seal { max-width: 500px; width: 100%; }
  .footer__top { flex-wrap: wrap; }
  .footer__brand { flex-basis: 100%; }
  .bp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .bp-grid--3 { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .drawing__sheet { padding: 12px 10px 40px; background-size: 18px 18px; }
  .parts { grid-template-columns: 1fr; }
  .flow { gap: 36px 20px; }
  .flow__art { height: 120px; margin-bottom: 16px; }
  .flow__title { font-size: 20px; }
  .flow__step p { font-size: 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .step__art { height: 160px; margin-bottom: 8px; }
  .step__art img { max-width: 170px; }
  .step:first-child .step__art img { max-width: 124px; }
  .step:last-child .step__art img { max-width: 124px; }
  .step__title { font-size: 19px; }
  .stones { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stone__art { height: 180px; }
  .stone__art img { width: 140px; }
  .stone__name { font-size: 19px; }
  .stone__meta { font-size: 13px; }
  .stone__row { flex-direction: column; gap: 6px; font-size: 13px; }
  .viewer__stage { height: 360px; }
  .viewer__controls { padding: 22px 20px 24px; gap: 18px; }
  .opt-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .opt-row__opts { gap: 12px 18px; }
  .viewer__summary { flex-direction: column; align-items: stretch; }
  .seg { top: 16px; right: 50%; transform: translateX(50%); }
  .viewer__label { display: none; }
  .viewer__hint { left: 0; right: 0; bottom: 18px; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
  .contact div { flex-direction: column; gap: 4px; }
  .contact dd { text-align: left; }
  .footer { padding-top: 56px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .bp-intro { flex-direction: column-reverse; align-items: flex-start; padding-top: 56px; }
  .archive__grid, .archive__grid--paternal { grid-template-columns: 1fr; gap: 36px; }
  .archive__item--side { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .archive__item--portrait { max-width: 300px; }
  .bp-grid--2, .bp-grid--3, .bp-grid--4 { grid-template-columns: 1fr; }
  .bp-panel__art { height: 240px; }
  .bp-panel__art--sm { height: 220px; }
  .swatches { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .swatch__chip { height: 100px; }
  .type-card { padding: 28px; }
  .type-card__aa { font-size: 104px; }
  .scale li { flex-direction: column; gap: 2px; }
  .scale span { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
