/* ============================================
   GLAMBYOYIN — shared stylesheet
   Fonts: Bodoni Moda (display) / Jost (body, labels)
   Palette: Onyx / Glam Pink / Blush / Berry / Porcelain / Petal / Mink
   ============================================ */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/BodoniModa-Variable.ttf") format("truetype-variations"),
       url("../assets/fonts/BodoniModa-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/BodoniModa-Italic-Variable.ttf") format("truetype-variations"),
       url("../assets/fonts/BodoniModa-Italic-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/Jost-Variable.ttf") format("truetype-variations"),
       url("../assets/fonts/Jost-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/Jost-Italic-Variable.ttf") format("truetype-variations"),
       url("../assets/fonts/Jost-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --onyx: #0e0b0d;
  --onyx-soft: #1a1417;
  --glam-pink: #e0147c;
  --blush: #f2a7c3;
  --berry: #8e0e4f;
  --porcelain: #fbf6f3;
  --petal: #f6e3ea;
  --mink: #6f6166;
  --rose-foil: #d98aa8;
  --white: #ffffff;

  --line-on-dark: rgba(251, 246, 243, 0.16);
  --line-on-light: rgba(14, 11, 13, 0.12);

  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1240px;
  --track: 0.3em;

  --ease-editorial: cubic-bezier(0.16, 0.8, 0.24, 1);
  --ease-mask: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--porcelain);
  color: var(--onyx);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

main { flex: 1 0 auto; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background-color: var(--porcelain);
  color: var(--onyx);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 16px; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

/* ---------- Type ---------- */

h1, h2, h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

h1 { font-size: clamp(2.75rem, 2.1rem + 3vw, 4.5rem); }
h2 { font-size: clamp(2.1rem, 1.7rem + 2vw, 3.2rem); line-height: 1.15; }
h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }

p { text-wrap: pretty; }

.eyebrow,
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: var(--track);
  color: var(--berry);
}

.section-onyx .eyebrow,
.section-onyx .label { color: var(--blush); }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.75;
  font-weight: 300;
}

.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--glam-pink);
}

/* Brand board: Glam Pink italic on light grounds, Blush italic on dark */
.section-onyx .italic-accent,
.hero .italic-accent,
.final-moment .italic-accent { color: var(--blush); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.narrow { max-width: 700px; }
.center { text-align: center; }
.center .narrow { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: var(--track);
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-editorial), color 0.25s var(--ease-editorial), border-color 0.25s var(--ease-editorial), transform 0.25s var(--ease-editorial);
}

.btn-primary {
  background-color: var(--glam-pink);
  color: var(--porcelain);
  border-color: var(--glam-pink);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--berry);
  border-color: var(--berry);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: inherit;
  border-color: currentColor;
}

.section-onyx .btn-outline:hover,
.section-onyx .btn-outline:focus-visible {
  background-color: var(--porcelain);
  color: var(--onyx);
  transform: translateY(-2px);
}

.section-porcelain .btn-outline:hover,
.section-porcelain .btn-outline:focus-visible,
.section-petal .btn-outline:hover,
.section-petal .btn-outline:focus-visible {
  background-color: var(--onyx);
  color: var(--porcelain);
  border-color: var(--onyx);
  transform: translateY(-2px);
}

:focus-visible { outline: 2px solid var(--glam-pink); outline-offset: 3px; }

/* ---------- Section grounds ---------- */

.section { position: relative; padding: 110px 0; overflow: hidden; }

.section-onyx { background-color: var(--onyx); color: var(--porcelain); }
.section-porcelain { background-color: var(--porcelain); color: var(--onyx); }
.section-petal { background-color: var(--petal); color: var(--onyx); }

.section-onyx p:not(.lead):not([class*="btn"]) { color: rgba(251, 246, 243, 0.72); }
.section-porcelain p:not(.lead), .section-petal p:not(.lead) { color: var(--mink); }

.section-header { max-width: 640px; margin: 0 0 56px; }
.section-header.center { margin-left: auto; margin-right: auto; }
.section-header .eyebrow { margin-bottom: 14px; }

/* ---------- Pattern overlay (Wingline, used sparingly) ---------- */

.pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../assets/pattern/Wingline_Tile_Transparent-Onyx.svg");
  background-size: 120px 120px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.section > .container { position: relative; z-index: 1; }

/* ---------- Scroll reveal ---------- */

.reveal, .reveal-scale, .reveal-mask, .reveal-left, .reveal-right {
  will-change: transform, opacity;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-editorial), transform 0.9s var(--ease-editorial);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1s var(--ease-editorial), transform 1.15s var(--ease-editorial);
}

/* clip-path lives on the media child, not this element: an
   IntersectionObserver target that is itself clipped to zero area
   never reports as intersecting, so the reveal could never fire.
   Transition for the clip-path is declared with .media-frame img/video
   below (all current .reveal-mask usages are also .media-frame). */
.reveal-mask { overflow: hidden; }

.reveal-mask > img, .reveal-mask > video {
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.9s var(--ease-editorial), transform 0.9s var(--ease-editorial);
}

.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.9s var(--ease-editorial), transform 0.9s var(--ease-editorial);
}

.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

.reveal-mask.is-visible > img,
.reveal-mask.is-visible > video {
  clip-path: inset(0 0 0% 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-mask, .reveal-left, .reveal-right {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal-mask > img, .reveal-mask > video {
    clip-path: inset(0 0 0% 0) !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Header / Nav (always Onyx, per site convention) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(14, 11, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-dark);
  padding-top: env(safe-area-inset-top);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 28px;
}

.nav-brand { display: flex; align-items: center; min-height: 44px; }
.nav-logo { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  display: inline-block;
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: var(--track);
  color: rgba(251, 246, 243, 0.78);
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--porcelain); border-bottom-color: var(--glam-pink); }

.nav-cta {
  background-color: var(--glam-pink);
  color: var(--porcelain) !important;
  padding: 10px 22px;
  border-radius: 2px;
  border-bottom: none !important;
}

.nav-cta:hover { background-color: var(--berry); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background-color: var(--porcelain);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--onyx);
  color: var(--porcelain);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(224, 20, 124, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(14, 11, 13, 0.55) 0%, rgba(14, 11, 13, 0.72) 55%, rgba(14, 11, 13, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 24px;
}

.hero-monogram { width: 64px; height: 64px; }

.hero-wordmark { width: min(560px, 82vw); height: auto; margin-top: 4px; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  color: var(--porcelain);
  margin-top: 6px;
}

.hero-kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--blush);
  margin-top: 2px;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 246, 243, 0.6);
}

.hero-scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(251, 246, 243, 0.75), transparent);
  animation: scrollcue 2.2s var(--ease-editorial) infinite;
}

@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue .line { animation: none; height: 24px; }
}

/* ---------- Media frames (photos / films) ---------- */

.media-frame {
  position: relative;
  overflow: hidden;
  background-color: var(--onyx-soft);
  border-radius: 2px;
}

.media-frame img, .media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-editorial), clip-path 1.05s var(--ease-mask);
}

.media-frame.hoverable:hover img,
.media-frame.hoverable:hover video { transform: scale(1.045); }

.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-9-16 { aspect-ratio: 9 / 16; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

/* ---------- Brand introduction ---------- */

.intro { text-align: center; }
.intro .container { max-width: 780px; }
.intro h2 { margin: 10px 0 26px; }
.intro .lead + .lead { margin-top: 18px; }

/* ---------- Experience (Enhance / Comfort / Confidence) ---------- */

.experience-rows { margin-top: 8px; }

.experience-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 46px 0;
  border-top: 1px solid var(--line-on-dark);
}

.experience-row:last-child { border-bottom: 1px solid var(--line-on-dark); }

.experience-row .num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: var(--track);
  color: var(--blush);
  display: block;
  margin-bottom: 10px;
}

.experience-row h3.word {
  font-size: clamp(2.6rem, 2rem + 3.2vw, 4.6rem);
  letter-spacing: 0.02em;
}

.experience-row:nth-child(even) .word-col { order: 2; }
.experience-row:nth-child(even) .copy-col { order: 1; text-align: right; }
.experience-row .copy-col { max-width: 380px; }
.experience-row:nth-child(even) .copy-col { margin-left: auto; }
.experience-row p { font-size: 1.02rem; }

/* ---------- In Motion (featured film) ---------- */

.video-copy {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.video-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0 0;
}

.video-portrait { width: min(420px, 100%); }

.video-caption {
  margin-top: 30px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
}

/* ---------- Portfolio: index of the two collections ---------- */

.collection-index ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.collection-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 28px;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  transition: border-color 0.3s var(--ease-editorial);
}

.collection-link .num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: var(--track);
  color: var(--blush);
  margin-bottom: 12px;
}

.collection-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--porcelain);
  transition: color 0.3s var(--ease-editorial);
}

.collection-arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--blush);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-editorial);
}

.collection-link:hover,
.collection-link:focus-visible { border-bottom-color: var(--glam-pink); }

.collection-link:hover .collection-name,
.collection-link:focus-visible .collection-name { color: var(--blush); }

.collection-link:hover .collection-arrow,
.collection-link:focus-visible .collection-arrow { transform: translateY(6px); }

/* ---------- Collections (Makeup / Lashes): featured film + supporting pair ---------- */

.collection {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "feature copy"
    "feature supporting";
  column-gap: 72px;
  row-gap: 40px;
}

.collection.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  grid-template-areas:
    "copy feature"
    "supporting feature";
}

.collection-copy { grid-area: copy; align-self: start; }
.collection-copy .eyebrow { margin-bottom: 16px; }
.collection-copy h2 { margin-bottom: 20px; }
.collection-copy p { max-width: 440px; }

.collection-feature { grid-area: feature; align-self: start; }

.collection-supporting {
  grid-area: supporting;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 520px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-portrait { max-width: 380px; }
.about-copy .eyebrow { margin-bottom: 16px; }
.about-copy h2 { margin-bottom: 8px; }
.about-copy .role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--berry);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}
.about-copy p { max-width: 460px; }

/* ---------- Visual quote ---------- */

.quote-section { text-align: center; }
.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.35;
  max-width: 880px;
  margin: 0 auto;
}
.quote-section .quote-mark { width: 34px; height: 34px; margin: 0 auto 30px; opacity: 0.8; }
/* Beats the generic petal-section paragraph colour so the statement stays Onyx */
.section-petal.quote-section blockquote p { color: var(--onyx); }

/* ---------- Final moment: brand sign-off (Wingline on Onyx) ---------- */

.final-moment {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--onyx);
}

/* The supplied Onyx-Pink tile already carries the brand's 35% mark opacity. */
.final-moment-pattern {
  position: absolute;
  inset: 0;
  background-image: url("../assets/pattern/Wingline_Tile_Onyx-Pink.svg");
  background-size: 120px 120px;
}

/* Brand rule: the mark sits on a clear panel, never on the busiest area. */
.final-moment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 46% 44% at 50% 50%, var(--onyx) 0%, rgba(14, 11, 13, 0.92) 42%, rgba(14, 11, 13, 0) 100%);
}

.final-moment-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--porcelain);
  padding: 96px 24px;
}

.final-moment-content img { width: 46px; height: 46px; margin: 0 auto 18px; }
.final-moment-content p { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); color: var(--porcelain); }

/* ---------- CTA ---------- */

.cta-section { text-align: center; }
.cta-section h2 { max-width: 720px; margin: 0 auto 22px; }
.cta-section .lead { max-width: 520px; margin: 0 auto 40px; }

.cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.contact-lines {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--line-on-dark);
  max-width: 620px;
  margin: 0 auto;
}

.contact-line { text-align: center; }
.contact-line .label { display: block; margin-bottom: 10px; }
.contact-line a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
  word-break: break-word;
}
.contact-line a:hover { border-color: var(--glam-pink); color: var(--blush); }

.account-details {
  max-width: 480px;
  margin: 44px auto 0;
  padding: 32px 36px;
  border: 1px solid var(--line-on-dark);
  border-radius: 2px;
  text-align: center;
}

.account-details .label { margin-bottom: 10px; }

.account-note { font-size: 0.92rem; margin-bottom: 24px; }

.account-grid { display: flex; flex-direction: column; gap: 16px; }

.account-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-on-dark);
  text-align: left;
}

.account-field:first-child { border-top: none; padding-top: 0; }

.account-field-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: var(--track);
  color: var(--blush);
  flex-shrink: 0;
}

.account-field-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--porcelain);
  text-align: right;
}

.account-number { display: inline-flex; align-items: center; gap: 12px; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background-color: transparent;
  border: 1px solid var(--line-on-dark);
  border-radius: 2px;
  color: var(--blush);
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.copy-btn:hover, .copy-btn:focus-visible {
  border-color: var(--glam-pink);
  color: var(--porcelain);
  background-color: rgba(224, 20, 124, 0.14);
}

.copy-btn.copied { border-color: var(--blush); color: var(--porcelain); }

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--onyx);
  color: var(--porcelain);
  border-top: 1px solid var(--line-on-dark);
  padding: 64px 0 calc(30px + env(safe-area-inset-bottom));
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}

.footer-logo { height: 32px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--blush); font-size: 1rem; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-contact a { font-size: 0.92rem; color: rgba(251, 246, 243, 0.8); transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--blush); }

.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: var(--track);
  color: rgba(251, 246, 243, 0.72);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { color: var(--porcelain); border-color: var(--glam-pink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.footer-note { font-size: 0.78rem; color: rgba(251, 246, 243, 0.55); }

.powered-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(251, 246, 243, 0.6);
}

.powered-by img { height: 26px; width: auto; filter: brightness(1.6); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .about-copy p { max-width: none; }
  .about-portrait { max-width: none; }

  /* Collections read top to bottom on tablets and phones: words, featured film, pair. */
  .collection,
  .collection.reverse {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "copy" "feature" "supporting";
    row-gap: 32px;
    max-width: 480px;
    margin: 0 auto;
  }
  .collection-copy p { max-width: none; }
  .collection-supporting { max-width: none; align-self: stretch; }

  .experience-row { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .experience-row:nth-child(even) .word-col,
  .experience-row:nth-child(even) .copy-col { order: initial; text-align: left; margin-left: 0; }
  .section { padding: 86px 0; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 28px 26px;
    background-color: var(--onyx);
    border-bottom: 1px solid var(--line-on-dark);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .nav-cta { text-align: center; margin-top: 10px; }

  .footer-links a,
  .footer-contact a,
  .contact-line a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .hero { padding: 110px 0 70px; }
  .hero-monogram { width: 52px; height: 52px; }

  .footer-top { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .nav { padding: 12px 20px; }
  .nav-logo { height: 28px; }
  .section { padding: 68px 0; }
  .section-header { margin-bottom: 40px; }
  .collection-index ul { grid-template-columns: minmax(0, 1fr); }
  .collection-index li + li .collection-link { border-top: none; }
  .collection-link { padding: 24px 0 22px; }
  .collection-supporting { gap: 14px; }
  .experience-row { padding: 34px 0; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; }
  .btn { min-height: 54px; }
  .contact-lines { gap: 30px; }
  .final-moment { min-height: 52vh; }
  .final-moment-content { padding: 72px 24px; }
  .footer-links { flex-wrap: wrap; row-gap: 10px; }

  .account-details { padding: 26px 22px; }
  .account-field { flex-direction: column; align-items: flex-start; gap: 8px; }
  .account-field-value { text-align: left; }
}

@media (hover: none) {
  .media-frame.hoverable:hover img,
  .media-frame.hoverable:hover video { transform: none; }
  .btn-primary:hover { transform: none; }
}
