/* ————————————————————————————————————————————————————————————————
   Maison Ambre — dark luxury: near-black ground, hairline gold,
   thin wide-tracked Cormorant caps, roman numerals, smoke motifs.
   ———————————————————————————————————————————————————————————————— */

.page {
  --noir: #141210;
  --noir-2: #1c1916;
  --gold: #c9a227;
  --champagne: #e8d9b0;
  --bronze: #8c6a2f;
  --ivory: #fbf6ea;
  --taupe: #5a4632;
  --hairline: rgba(201, 162, 39, 0.38);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;

  background: var(--noir);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.015em;
  overflow-x: clip;
}

.page :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.page a {
  color: var(--champagne);
}

.page p {
  margin: 0;
}

.page h1,
.page h2,
.page h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--ivory);
}

/* ———————————————————————————————————————————————————— masthead */

.masthead {
  text-align: center;
  padding: 2.6rem clamp(1.25rem, 4vw, 3rem) 2.1rem;
  border-bottom: 1px solid var(--hairline);
}

.mastheadOrigin {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze);
}

.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.wordmarkRule {
  flex: 0 1 8rem;
  height: 1px;
  background: var(--hairline);
}

.mastheadNav {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem clamp(1.2rem, 3vw, 2.6rem);
}

.mastheadNav a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--champagne);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.mastheadNav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ————————————————————————————————————————————————————————— hero */

.hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.heroImage {
  position: absolute;
  inset: 0;
}

.heroImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* a full-bleed drift of Tabbied dust over the hero photograph — screened in,
   so only the light marks land and the plate stays deep */
.heroMist {
  position: absolute;
  inset: 0;
  background: var(--noir);
  mix-blend-mode: screen;
  opacity: 0.85;
  /* the motif crowds the plate's edges and clears the middle, where the
     flacon and the headline sit */
  -webkit-mask-image: radial-gradient(
    ellipse 56% 60% at 50% 52%,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.28) 46%,
    rgba(0, 0, 0, 1) 84%
  );
  mask-image: radial-gradient(
    ellipse 56% 60% at 50% 52%,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.28) 46%,
    rgba(0, 0, 0, 1) 84%
  );
}

.heroVeil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.82) 0%, rgba(20, 18, 16, 0.25) 40%, rgba(20, 18, 16, 0.88) 100%),
    radial-gradient(ellipse 62% 46% at 50% 52%, rgba(20, 18, 16, 0.6) 0%, rgba(20, 18, 16, 0.2) 60%, rgba(20, 18, 16, 0) 100%);
}

.heroContent {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 46rem;
}

.heroOverline {
  font-size: 0.74rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--champagne);
}

.heroTitle {
  margin-top: 1.8rem;
  font-size: clamp(3rem, 9vw, 6.2rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.heroTitle em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.heroLine {
  margin-top: 2rem;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: var(--champagne);
}

.heroCue {
  display: inline-block;
  margin-top: 3rem;
  font-size: 0.74rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid var(--hairline);
  padding: 0.8rem 1.9rem;
  transition: background-color 200ms ease, color 200ms ease;
}

.heroCue:hover {
  background: var(--gold);
  color: var(--noir);
}

/* ——————————————————————————————————————————————— section heads */

.sectionHead {
  text-align: center;
  padding-top: clamp(4.5rem, 9vw, 8rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.sectionNumeral {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 10vw, 7rem);
  line-height: 1;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--bronze);
  opacity: 0.85;
}

.sectionHead h2 {
  margin-top: -0.9em;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
}

.sectionSub {
  margin-top: 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
}

.sectionSub::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 1px;
  background: var(--hairline);
  margin: 1.6rem auto 0;
}

/* ———————————————————————————————————————————————————— la maison */

.maison {
  max-width: 62rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.maisonColumns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.maisonLead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.6;
  color: var(--champagne);
}

.dropCap {
  float: left;
  font-family: var(--serif);
  font-size: 4.6em;
  line-height: 0.78;
  padding: 0.06em 0.12em 0 0;
  color: var(--gold);
}

.maisonBody p + p {
  margin-top: 1.2rem;
}

.maisonBody i {
  color: var(--champagne);
}

.maisonFigures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  border-block: 1px solid var(--hairline);
  padding-block: 2.2rem;
  text-align: center;
}

.maisonFigures dt {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}

.maisonFigures dd {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-size: 2.3rem;
  color: var(--gold);
  line-height: 1;
}

/* ————————————————————————————————————————————————————— les eaux */

.eaux {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* the quiet ground the three flacons stand on */
.eauxField {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--noir);
  border-block: 1px solid var(--hairline);
}

.eauxFieldScrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.97) 0%,
    rgba(20, 18, 16, 0.94) 24%,
    rgba(20, 18, 16, 0.78) 42%,
    rgba(20, 18, 16, 0.72) 78%,
    rgba(20, 18, 16, 0.9) 100%
  );
}

.eauxHint {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.8rem;
}

.eauxHint span {
  letter-spacing: 0;
  color: var(--gold);
}

.eauxRow {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem clamp(1.25rem, 6vw, 6rem) 2rem;
  scrollbar-color: var(--bronze) transparent;
}

.eauCard {
  flex: 0 0 min(84vw, 24rem);
  scroll-snap-align: center;
  border: 1px solid var(--hairline);
  background: var(--noir-2);
  display: flex;
  flex-direction: column;
}

.eauStage {
  position: relative;
  aspect-ratio: 5 / 6;
  background: var(--noir);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  place-items: center;
}

.eauPattern {
  position: absolute;
  inset: 0;
}

/* a pool of the card's own noir between the pattern and the flacon, so the
   glass reads as a silhouette while the motif still carries the edges */
.eauPattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 56% at 50% 52%,
    rgba(20, 18, 16, 0.94) 0%,
    rgba(20, 18, 16, 0.82) 40%,
    rgba(20, 18, 16, 0.4) 72%,
    rgba(20, 18, 16, 0) 100%
  );
}

.eauBottle {
  position: relative;
  z-index: 1;
  width: 62%;
  display: grid;
  place-items: center;
}

.eauBottle img {
  width: 100%;
  height: auto;
  max-height: 100%;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.85));
}

.eauNumeral {
  position: absolute;
  z-index: 2;
  top: 0.9rem;
  left: 1.2rem;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.eauBody {
  padding: 1.8rem 1.7rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eauBody h3 {
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eauForm {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
}

.eauLine {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--champagne);
}

.eauNotes {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--hairline);
  padding-top: 1.3rem;
  display: grid;
  gap: 0.75rem;
  flex-grow: 1;
}

.eauNotes > div {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.eauNotes dt {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.eauNotes dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ivory);
}

.eauPrice {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}

/* ————————————————————————————————————————————————— les matières */

.matieres {
  position: relative;
  border-block: 1px solid var(--hairline);
  display: grid;
}

.matieresImage {
  position: absolute;
  inset: 0;
}

.matieresImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.matieresPanel {
  position: relative;
  z-index: 1;
  justify-self: end;
  max-width: 30rem;
  margin: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 6vw, 6rem);
  background: rgba(20, 18, 16, 0.88);
  border: 1px solid var(--hairline);
  padding: 2.4rem 2.3rem 2.6rem;
  backdrop-filter: blur(3px);
}

.matieresTitle {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.matieresLine {
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--champagne);
}

.matieresList {
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.matieresList > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
  padding-bottom: 0.7rem;
}

.matieresList dt {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
}

.matieresList dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--champagne);
}

/* ————————————————————————————————————————————————— archive band */

.archive {
  position: relative;
  overflow: hidden;
  background: var(--noir);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  min-height: clamp(10rem, 20vw, 16rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.archiveField {
  position: absolute;
  inset: 0;
  background: var(--noir);
}

.archiveScrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 82% at 50% 50%,
    rgba(20, 18, 16, 0.96) 0%,
    rgba(20, 18, 16, 0.91) 44%,
    rgba(20, 18, 16, 0.42) 76%,
    rgba(20, 18, 16, 0) 100%
  );
}

.archiveLine {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 34rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--champagne);
}

.archiveLabel {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ——————————————————————————————————————————————————————— le nez */

.nez {
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.nezGrid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.nezPortrait {
  margin: 0;
}

/* an opaque studio plate, filling a frame of its own — no motif behind a face */
.portraitFrame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--noir-2);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.6);
}

.portraitFrame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* the house's hairline, set in from the edge like a mount */
.portraitFrame::after {
  content: '';
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  pointer-events: none;
}

.nezPortrait figcaption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
}

.nezQuote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.45;
  color: var(--champagne);
}

.nezQuote {
  margin: 0 0 1.8rem;
  padding-left: 1.6rem;
  border-left: 1px solid var(--gold);
}

.nezText > p + p {
  margin-top: 1.2rem;
}

.nezText i {
  color: var(--champagne);
}

/* ————————————————————————————————————————————————————— l'atelier */

.atelier {
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.atelierFigure {
  margin: 0;
}

.atelierFigure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--hairline);
}

.atelierFigure figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
}

.atelierSteps {
  list-style: none;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem);
  border-top: 1px solid var(--hairline);
  padding-top: 2.4rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.stepNumeral {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}

.atelierSteps h3 {
  margin-top: 0.8rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.atelierSteps p {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(251, 246, 234, 0.75);
}

/* —————————————————————————————————————————————————————— visites */

.visites {
  border-top: 1px solid var(--hairline);
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.stockistRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stockist {
  text-align: center;
  padding: 1.2rem clamp(1rem, 3vw, 2.4rem) 1.8rem;
}

.stockist + .stockist {
  border-left: 1px solid var(--hairline);
}

.stockist h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.stockist p {
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--ivory);
}

.stockistNote {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--champagne);
}

.visitesCoda {
  text-align: center;
  max-width: 38rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto clamp(4.5rem, 9vw, 8rem);
  border-top: 1px solid var(--hairline);
  padding-top: 2.2rem;
  font-size: 0.95rem;
  color: rgba(251, 246, 234, 0.8);
}

.visitesCoda a {
  color: var(--gold);
  text-underline-offset: 4px;
}

/* ——————————————————————————————————————————————————————— footer */

.footer {
  border-top: 1px solid var(--hairline);
}

.footerBand {
  position: relative;
  height: clamp(5rem, 10vw, 8rem);
  background: var(--noir);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.footerInner {
  text-align: center;
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

.footerMark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.footerLine {
  margin-top: 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}

.footerNav {
  margin-top: 1.7rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 2.2rem;
}

.footerNav a {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--champagne);
}

.footerNav a:hover {
  color: var(--gold);
}

.footerCredit {
  margin-top: 2.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

.footerCredit a {
  color: var(--champagne);
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.footerCredit a:hover {
  color: var(--gold);
}

/* ————————————————————————————————————————————————— responsive */

@media (max-width: 64rem) {
  .maisonColumns {
    grid-template-columns: 1fr;
  }

  .nezGrid {
    grid-template-columns: 1fr;
  }

  .nezPortrait {
    max-width: 26rem;
    margin-inline: auto;
    width: 100%;
  }

  .atelierSteps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matieresPanel {
    justify-self: stretch;
    margin: clamp(14rem, 40vw, 22rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4rem);
  }
}

@media (max-width: 48rem) {
  .maisonFigures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }

  .stockistRow {
    grid-template-columns: 1fr;
  }

  .stockist + .stockist {
    border-left: none;
    border-top: 1px solid var(--hairline);
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 30rem) {
  .atelierSteps {
    grid-template-columns: 1fr;
  }

  .eauCard {
    flex-basis: 88vw;
  }

  .wordmark {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }
}
