/* =========================================================
   Gagan Sandhu — Makeup Artist · "Editorial luxury"
   Mobile-first. Breakpoints: 600 / 761 / 1000px.
   ========================================================= */

:root {
  --cream: #fbf5ef;
  --cream-2: #f4ebe4;
  --paper: #fffaf6;
  --blush: #f3dbd5;
  --blush-soft: #f6e6e1;
  --plum: #5e2a3d;
  --plum-hover: #4b1f30;
  --plum-deep: #3a1724;
  --ink: #2a1219;
  --ink-soft: #5b4650;
  --muted: #8a747c;
  --line: rgb(94 42 61 / .14);
  --line-strong: rgb(94 42 61 / .28);
  --on-dark: #fbf5ef;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  /* Vertical rhythm follows the screen *height*, so each section can fit in one screen */
  --section-y: clamp(3rem, 8.5vh, 6.5rem);
  --radius-lg: clamp(20px, 2.4vw, 32px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Space reserved at the bottom for the mobile contact dock */
  --qc-height: calc(84px + env(safe-area-inset-bottom));
}
@media (min-width: 761px) { :root { --qc-height: 0px; } }
/* Phones: a slimmer header leaves more of each section on screen */
@media (max-width: 760px) { :root { --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--qc-height);
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--plum); color: var(--cream); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--plum); color: var(--white, #fff); padding: .6rem 1rem; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

.icon { width: 1em; height: 1em; flex: none; vertical-align: -0.12em; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--blush); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, min(7vw, 9.5vh), 5.2rem);
  line-height: .95;
  letter-spacing: -0.02em;
}
.section-title em, .hero-title em, .cta-title em { font-style: italic; }
.section-title em { color: var(--plum); }
.section-title a { text-decoration: none; }
.section-title a:hover { color: var(--plum); }
.section-intro { color: var(--ink-soft); max-width: 38ch; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn-primary { background: var(--plum); color: var(--on-dark); }
.btn-primary:hover { background: var(--plum-hover); box-shadow: 0 10px 30px -12px rgb(94 42 61 / .6); }
.btn-light { background: var(--cream); color: var(--plum-deep); }
.btn-light:hover { background: #fff; }
.btn-glass {
  background: rgb(255 255 255 / .12); color: var(--on-dark); border-color: rgb(255 255 255 / .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgb(255 255 255 / .22); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--plum); color: var(--plum); }
.btn-sm { min-height: 42px; padding: .5rem 1.15rem; font-size: .92rem; }
.btn-lg { min-height: 56px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem 0; background: none; border: 0;
  font-size: .95rem; text-decoration: none; cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease), color .2s;
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.text-link.center { justify-self: center; color: var(--muted); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: none;
  cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent;
}
.round-btn {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s;
}
.round-btn .icon { width: 1.15rem; height: 1.15rem; }
.round-btn:hover:not(:disabled) { background: var(--plum); border-color: var(--plum); color: var(--on-dark); }
.round-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 30;
  color: var(--on-dark);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  color: var(--ink);
  background: rgb(251 245 239 / .78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.wordmark-name { font-family: var(--serif); font-size: 1.85rem; letter-spacing: -0.01em; }
.wordmark-sub { margin-top: .2rem; font-size: .6rem; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; opacity: .8; }

.primary-nav { display: none; margin-left: auto; gap: 2rem; }
.primary-nav a { position: relative; padding: .3rem 0; font-size: .95rem; text-decoration: none; opacity: .88; transition: opacity .2s; }
.primary-nav a:hover, .primary-nav a[aria-current="true"] { opacity: 1; }
.primary-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }

.btn-header { display: none; background: rgb(255 255 255 / .14); color: inherit; border-color: rgb(255 255 255 / .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-header:hover { background: var(--cream); color: var(--plum-deep); }
.is-solid .btn-header { background: var(--plum); color: var(--on-dark); border-color: var(--plum); }
.is-solid .btn-header:hover { background: var(--plum-hover); }
.menu-toggle { margin-left: auto; margin-right: -10px; }

@media (min-width: 1000px) {
  .primary-nav { display: flex; }
  .btn-header { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 580px; max-height: 1000px;
  color: var(--on-dark);
  overflow: hidden;
  background: var(--plum-deep);
}
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 55% 25%; transform-origin: 60% 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(28 9 16 / .5) 0%, rgb(28 9 16 / 0) 22%),
    linear-gradient(0deg, rgb(28 9 16 / .85) 0%, rgb(28 9 16 / .35) 38%, rgb(28 9 16 / 0) 62%);
}
.hero-inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(1.75rem, 6vh, 4.5rem);
}
.hero-eyebrow { color: var(--blush); margin-bottom: 1.1rem; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.5rem, 13.5vw, 9.6rem);
  line-height: .9; letter-spacing: -0.025em;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 .08em .08em 0; margin-bottom: -.08em; }
.hero-title .line > * { display: inline-block; }
.hero-foot { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.hero-lede { max-width: 40ch; color: rgb(251 245 239 / .85); font-size: 1.02rem; }
.hero-actions { display: grid; gap: .7rem; }
.hero-actions .btn { width: 100%; }

@media (min-width: 761px) {
  .hero-media img { object-position: 60% 12%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgb(28 9 16 / .45) 0%, rgb(28 9 16 / 0) 20%),
      linear-gradient(90deg, rgb(28 9 16 / .7) 0%, rgb(28 9 16 / .25) 45%, rgb(28 9 16 / 0) 70%),
      linear-gradient(0deg, rgb(28 9 16 / .6) 0%, rgb(28 9 16 / 0) 45%);
  }
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; margin-top: 2rem; }
  .hero-lede { font-size: 1.12rem; }
  .hero-actions { display: flex; }
  .hero-actions .btn { width: auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--plum-deep); color: var(--cream);
  overflow: hidden; padding-block: 1.1rem;
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group, .marquee-sequence { display: flex; align-items: center; }
.marquee-item { display: inline-flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); white-space: nowrap; }
.marquee-item .icon { width: .7rem; height: .7rem; color: var(--blush); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(1.25rem, 3.5vh, 2.75rem);
}
@media (max-width: 760px) {
  .eyebrow { margin-bottom: .7rem; }
  .section-head { margin-bottom: 1rem; }
}

/* ---------- Work carousel ---------- */
.carousel-nav { display: flex; align-items: center; gap: .75rem; }
.counter { font-family: var(--serif); font-size: 1.5rem; margin-right: .75rem; font-variant-numeric: tabular-nums; }
.counter-sep { margin-inline: .35rem; color: var(--muted); }
[data-counter-total] { color: var(--muted); }
/* Phones: only the slideshow toggle shows (swipe replaces the arrows) */
@media (max-width: 760px) {
  .section-head:has(.carousel-nav) { flex-wrap: nowrap; align-items: flex-end; }
  .carousel-nav { margin-left: auto; }
  .carousel-nav > :not(.autoplay-btn) { display: none; }
  .autoplay-btn { width: 44px; height: 44px; }
}
.autoplay-btn { position: relative; }
.autoplay-btn .icon { width: 1rem; height: 1rem; }
/* Countdown ring: fills while waiting for the next slide */
.autoplay-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.autoplay-ring circle { fill: none; stroke: var(--plum); stroke-width: 1.5; stroke-dasharray: 158; stroke-dashoffset: 158; opacity: 0; }
.autoplay-btn.is-counting .autoplay-ring circle { opacity: 1; animation: autoplay-ring var(--autoplay) linear forwards; }
@keyframes autoplay-ring { to { stroke-dashoffset: 0; } }

.carousel { --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.looks-track {
  display: flex; gap: clamp(.9rem, 1.6vw, 1.5rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.looks-track::-webkit-scrollbar { display: none; }
.looks-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.looks-track.no-snap { scroll-snap-type: none; }
.looks-track.is-dragging .look-media { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .looks-track { cursor: grab; } }

/* Card width is also capped by screen height (cards are 3:4), so the whole section fits on screen */
.look-card { flex: none; width: min(76vw, calc((100svh - 400px) * .75)); min-width: 220px; scroll-snap-align: start; }
@media (min-width: 600px) { .look-card { width: min(42vw, calc((100svh - 400px) * .75)); } }
@media (min-width: 1000px) { .look-card { width: clamp(220px, min(27vw, calc((100svh - 420px) * .75)), 390px); } }

.look-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  cursor: pointer;
  isolation: isolate;
}
.look-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); -webkit-user-drag: none; }
.look-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgb(28 9 16 / .45), transparent 45%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.look-zoom {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 1;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); color: var(--plum-deep);
  transform: scale(.6); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.look-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem; border-radius: 999px;
  background: rgb(28 9 16 / .52); border: 1px solid rgb(255 255 255 / .18); color: #fff; font-size: .75rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
@media (hover: hover) {
  .look-media:hover img { transform: scale(1.06); }
  .look-media:hover::after { opacity: 1; }
  .look-media:hover .look-zoom { transform: none; opacity: 1; }
}
.look-info { padding: 1rem .15rem 0; }
.look-service { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.look-title { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; margin: .25rem 0 .55rem; }
.look-actions { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.look-actions .text-link { font-size: .9rem; }
.look-actions .text-link.subtle { color: var(--muted); background-size: 0 1px; }
.look-actions .text-link.subtle:hover { background-size: 100% 1px; background-position: 0 100%; }
@media (max-width: 599px) {
  .look-info { padding-top: .8rem; }
  .look-title { font-size: 1.6rem; margin: .2rem 0 .4rem; }
  .look-enquire-more { display: none; } /* "Enquire" + "View post" fit on one line */
}

.is-skeleton .look-media { cursor: default; animation: shimmer 1.4s ease-in-out infinite alternate; }
@keyframes shimmer { from { background: var(--cream-2); } to { background: var(--blush); } }
.looks-empty { color: var(--muted); padding: 2rem var(--gutter); }

.progress { position: relative; height: 2px; margin-top: clamp(1rem, 3vh, 2rem); background: var(--line); border-radius: 2px; overflow: hidden; }
.progress span { position: absolute; inset: 0; background: var(--plum); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .2s linear; }

/* ---------- Services: expanding photo panels ---------- */
/* One panel is open; the rest fold into photo strips — stacked on phones, side by side on desktop.
   The open content is laid out at its final size (--open-w / --open-h) so it never re-wraps mid-animation. */
.services { padding-top: 0; }
.bento {
  --n: 3; --gap: .55rem; --strip: 4.4rem; --grow: 1;
  --panel-motion: 1.1s cubic-bezier(.65, 0, .35, 1); /* Match the looks carousel’s glide. */
  --h: clamp(470px, calc(100svh - 290px), 620px);
  container-type: inline-size;
  display: flex; flex-direction: column; gap: var(--gap);
  height: var(--h);
}
@media (min-width: 900px) {
  .bento {
    --gap: clamp(.7rem, 1.1vw, 1rem); --grow: 2.7;
    --h: clamp(440px, calc(100svh - 320px), 640px);
    flex-direction: row;
  }
}

.service-card {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 0 1 var(--strip); min-width: 0; min-height: var(--strip);
  border-radius: var(--radius-lg);
  background: var(--plum-deep); color: var(--on-dark);
  transition: flex-grow var(--panel-motion);
}
.service-card.is-open { flex-grow: var(--grow); }
@media (min-width: 900px) { .service-card { flex: 1 1 0; min-height: 0; min-width: 5rem; } }

.service-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.55) brightness(.9);
  transition: transform var(--panel-motion), filter var(--panel-motion);
}
.service-card.is-open .service-bg { filter: none; transform: scale(1.04); }
/* Two scrims: an even tint for strips, a bottom gradient for the open panel. */
.service-card::before, .service-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  transition: opacity var(--panel-motion);
}
.service-card::before { background: rgb(28 9 16 / .5); }
.service-card::after { opacity: 0; background: linear-gradient(0deg, rgb(28 9 16 / .94) 0%, rgb(28 9 16 / .68) 48%, rgb(28 9 16 / .12) 100%); }
.service-card.is-open::before { opacity: 0; }
.service-card.is-open::after { opacity: 1; }
.service-card:not(.is-open):hover::before { opacity: .7; }

/* Folded strip = one big button */
.service-trigger {
  position: absolute; inset: 0; width: 100%;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 1rem 0 1.25rem; text-align: left; color: inherit;
  background: none; border: 0; border-radius: inherit; font: inherit; cursor: pointer;
  transition: opacity .45s var(--ease-out) .25s;
}
.service-trigger-name {
  flex: 1; min-inline-size: 0; display: flex;
  font-family: var(--serif); font-size: 1.55rem; line-height: 1;
}
.service-trigger-name > span {
  flex: none; white-space: nowrap;
  scale: var(--title-scale, 1); transform-origin: left center;
}
.service-plus {
  flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border: 1px solid rgb(255 255 255 / .45); border-radius: 50%;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.service-trigger:hover .service-plus, .service-trigger:focus-visible .service-plus { background: var(--cream); color: var(--plum-deep); transform: rotate(90deg); }
.service-card.is-open .service-trigger { opacity: 0; pointer-events: none; transition-delay: 0s; transition-duration: .2s; }
.service-card.is-open .service-trigger:focus-visible { opacity: 1; }
.service-card.is-open .service-trigger:focus-visible > * { visibility: hidden; }

@media (min-width: 900px) {
  .service-trigger {
    flex-direction: column; align-items: flex-start; justify-content: space-between;
    padding: clamp(1.2rem, 1.8vw, 1.75rem);
  }
  .service-trigger-name {
    align-items: flex-end;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: clamp(2rem, min(2.6vw, 4.6vh), 2.9rem);
    padding-block: .75rem;
  }
  .service-trigger-name > span { transform-origin: center top; }
  .service-trigger .service-plus { order: 3; }
}

/* Open panel content */
.service-open {
  position: absolute; left: 0; bottom: 0;
  width: 100%;
  height: calc(var(--h) - (var(--n) - 1) * (var(--strip) + var(--gap)));
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  padding: clamp(1.1rem, 2.2vw, 2rem);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s .3s;
}
@media (min-width: 900px) {
  .service-open {
    top: 0; height: auto;
    width: calc((100cqi - (var(--n) - 1) * var(--gap)) * var(--grow) / (var(--grow) + var(--n) - 1));
  }
}
.service-card.is-open .service-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease-out) .25s, visibility 0s; }
.service-body { display: grid; gap: .7rem; max-width: 36rem; }
.service-body > *, .service-includes li {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.service-card.is-open .service-body > *, .service-card.is-open .service-includes li {
  opacity: 1; transform: none; transition-delay: .3s;
}
.service-card.is-open .service-body > :nth-child(2) { transition-delay: .36s; }
.service-card.is-open .service-includes li { transition-delay: calc(.42s + var(--j, 0) * .05s); }
.service-card.is-open .service-body > :nth-child(4) { transition-delay: .6s; }
.service-card.is-open .service-body > :nth-child(5) { transition-delay: .66s; }
.service-includes { opacity: 1 !important; transform: none !important; }
.bento.no-anim *, .bento.no-anim *::before, .bento.no-anim *::after { transition: none !important; }

.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; opacity: .85; }
.service-tag {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .75rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px;
  background: rgb(28 9 16 / .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.service-name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, min(4.2vw, 6.6vh), 4rem); line-height: .95; letter-spacing: -0.015em; }
.service-summary { color: rgb(251 245 239 / .85); max-width: 46ch; font-size: .95rem; line-height: 1.5; }
.service-includes { display: grid; gap: .3rem; font-size: .86rem; color: rgb(251 245 239 / .92); }
@media (min-width: 1200px) { .service-includes { grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; } }
.service-includes li { display: flex; gap: .55rem; align-items: baseline; line-height: 1.35; }
.service-includes li::before { content: ""; flex: none; width: .42rem; height: .42rem; border-radius: 50%; background: var(--blush); transform: translateY(-.05rem); }
.service-note { font-size: .84rem; font-style: italic; color: rgb(251 245 239 / .7); line-height: 1.45; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: .25rem; }

/* Phones: the number/tag row floats over the photo's top edge instead of taking a line */
@media (max-width: 899px) {
  .bento { --strip: 3.75rem; --h: clamp(500px, calc(100svh - 230px), 600px); }
  .service-open { gap: .75rem; }
  .service-body { gap: .55rem; }
}
@media (max-width: 380px) {
  .service-trigger { gap: .65rem; padding-inline: .75rem; }
  .service-open { padding: 1rem 1.1rem; }
}
/* Phones: the note is secondary — drop it so the photo shows */
@media (max-width: 599px) { .service-note { display: none; } }

.service-card.no-image { background: var(--plum); }

/* Phones: the general intro is repeated in the closing card, so drop it here to keep Services to one screen */
@media (max-width: 599px) { .services .section-intro { display: none; } }
/* Intro + slideshow toggle share the heading row; on phones only the toggle shows, at the right */
.services-nav { display: flex; align-items: flex-end; gap: 1.5rem; }
.services-nav .autoplay-btn { flex: none; }
@media (max-width: 760px) {
  .section-head:has(.services-nav) { flex-wrap: nowrap; align-items: flex-end; }
  .services-nav { margin-left: auto; }
}

/* ---------- About ---------- */
.about { padding-top: 0; }
.about-grid { display: grid; gap: 1.75rem; align-items: center; }
/* Desktop: photo on the left spanning both rows; heading + copy stacked and vertically centred on the right */
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: "media ." "media head" "media copy" "media .";
  }
  .about-media { grid-area: media; }
  .about-head { grid-area: head; margin-bottom: clamp(.9rem, 2.2vh, 1.25rem); }
  .about-copy { grid-area: copy; }
}
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); }
@media (max-width: 599px) { .about-media img { aspect-ratio: 7 / 5; object-position: 50% 8%; } }
/* Phones: quote sits inside the photo. Desktop: it floats off the photo's corner. */
.about-quote-card {
  position: absolute; left: .75rem; bottom: .75rem; max-width: 80%;
  display: grid; gap: .35rem;
  padding: .8rem 1rem;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgb(58 23 36 / .35);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.2;
}
.about-quote-card .icon { color: var(--plum); width: .9rem; height: .9rem; }
@media (min-width: 900px) {
  .about-grid { gap: 0 clamp(3rem, 7vw, 6.5rem); }
  .about-media img { aspect-ratio: 5 / 4; max-height: calc(100svh - 200px); }
  .about-quote-card { left: auto; right: -1.75rem; bottom: -2rem; max-width: 300px; padding: 1.25rem 1.4rem; font-size: 1.4rem; gap: .5rem; }
}
.about-head, .about-copy { display: grid; justify-items: start; gap: clamp(.9rem, 2.2vh, 1.25rem); }
@media (max-width: 599px) { .about-bio { display: none; } }
@media (max-width: 760px) { .about-copy > .btn[data-enquire] { display: none; } }
.about-lede { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.25; }
.about-bio { color: var(--ink-soft); max-width: 50ch; }
.about-points { width: 100%; margin-block: .5rem; }
.about-points li { display: flex; align-items: baseline; gap: .75rem; font-size: .93rem; padding: clamp(.6rem, 1.6vh, .9rem) 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.about-points span { min-width: 5.5rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--plum); }

/* ---------- Kit (brands I use) ---------- */
.kit { padding-top: 0; }
.kit-inner {
  position: relative; overflow: hidden;
  display: grid; gap: 1.25rem 3.5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--blush-soft);
  border-radius: var(--radius-lg);
}
/* A large, faint sparkle tucked into the corner */
.kit-inner::after {
  content: ""; position: absolute; right: -2.5rem; bottom: -3rem; width: 11rem; height: 11rem;
  background: var(--plum); opacity: .05; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c.6 4.7 2.8 6.9 7.5 7.5-4.7.6-6.9 2.8-7.5 7.5-.6-4.7-2.8-6.9-7.5-7.5 4.7-.6 6.9-2.8 7.5-7.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c.6 4.7 2.8 6.9 7.5 7.5-4.7.6-6.9 2.8-7.5 7.5-.6-4.7-2.8-6.9-7.5-7.5 4.7-.6 6.9-2.8 7.5-7.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 900px) { .kit-inner { grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr); align-items: center; } }
.kit-eyebrow { margin-bottom: .6rem; font-size: .68rem; }
.kit-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -0.01em; }
.kit-title em { font-style: italic; color: var(--plum); }
.kit-intro { margin-top: .55rem; color: var(--muted); font-size: .9rem; max-width: 30ch; }

/* Names alternate upright / italic, with a small sparkle between them. Each sparkle sits before its name;
   the list is pulled left and clipped so the sparkle that starts each wrapped line is hidden. */
.kit-brands {
  --sep: 2.15rem;
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: .35rem;
  min-width: 0; margin-left: calc(var(--sep) * -1); clip-path: inset(-.5rem 0 -.5rem var(--sep));
  font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.3; color: var(--ink);
}
.kit-brands li { display: inline-flex; align-items: center; max-width: 100%; }
.kit-sep { display: inline-grid; place-items: center; flex: 0 0 var(--sep); color: var(--plum); opacity: .35; }
.kit-sep .icon { width: .5rem; height: .5rem; }
.kit-brands li:nth-child(even) .kit-brand { font-style: italic; color: var(--plum); }
.kit-brand { overflow-wrap: anywhere; transition: color .3s var(--ease); }
@media (hover: hover) { .kit-brands li:hover .kit-brand { color: var(--plum-hover); } }

/* On scroll, the names follow the card in one after another */
.reveal-on .kit-brands li { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(.25s + var(--i, 0) * 60ms); }
.reveal-on .kit-inner.is-in .kit-brands li { opacity: 1; transform: none; }

/* ---------- Instagram ---------- */
.insta { padding-top: 0; }
#insta-title { font-size: clamp(1.9rem, min(6.6vw, 9.5vh), 5.2rem); overflow-wrap: anywhere; }
.insta-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.insta-card-copy { display: grid; gap: .4rem; max-width: 48ch; }
.insta-card-title { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.05; color: var(--ink); }
.insta-card-text { color: var(--ink-soft); font-size: .98rem; }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 2rem;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background: var(--plum-deep); color: var(--on-dark);
}
.cta-card::before {
  content: ""; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgb(243 219 213 / .22), transparent 65%);
}
.cta-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8vw, 6.4rem); line-height: .92; letter-spacing: -0.02em; }
.cta-title em { color: var(--blush); }
.cta-text { margin-top: 1rem; color: rgb(251 245 239 / .8); max-width: 40ch; }
.cta-actions { display: grid; gap: .75rem; }
@media (min-width: 761px) {
  .cta-card { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .cta-actions { min-width: 240px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-2); padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.footer-top { display: grid; gap: 1.5rem; grid-template-columns: 1fr auto; }
.footer-col { display: grid; gap: .45rem; align-content: start; }
.footer-col a { display: inline-flex; align-items: center; gap: .5rem; width: max-content; text-decoration: none; min-height: 32px; }
.footer-col a:hover { color: var(--plum); }
.footer-link { display: inline-flex; align-items: center; gap: .5rem; width: max-content; min-height: 32px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer-link:hover { color: var(--plum); }
.footer-label { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--plum); margin-bottom: .35rem; }
.site-footer .container { container-type: inline-size; }
.footer-wordmark {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  font-family: var(--serif); line-height: .78; letter-spacing: -0.035em; white-space: nowrap;
  font-size: 16vw; color: var(--plum);
  text-align: center;
}
@supports (font-size: 1cqi) { .footer-wordmark { font-size: 21.4cqi; } }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  padding: 1.5rem 0 2rem; margin-top: 1rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.footer-bottom a { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; text-decoration: none; }
.footer-bottom a .icon { transform: rotate(-90deg); }
.footer-bottom a:hover { color: var(--plum); }

/* ---------- Quick contact ---------- */
.quick-contact {
  position: fixed; z-index: 25;
  left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto 1fr; gap: .4rem; align-items: center;
  padding: .4rem;
  border-radius: 999px;
  background: rgb(251 245 239 / .82);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -18px rgb(58 23 36 / .45);
  transform: translateY(calc(100% + 2rem));
  transition: transform .5s var(--ease-out);
}
.quick-contact.is-visible { transform: none; }
.qc-btn {
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  text-decoration: none; color: var(--plum);
  border: 1px solid var(--line-strong);
  transition: transform .3s var(--ease), background-color .3s;
}
.qc-btn .icon-lg { width: 1.4rem; height: 1.4rem; }
.qc-enquire { min-height: 50px; padding-inline: 1rem; }
@media (max-width: 359px) { .qc-enquire { padding-inline: .6rem; font-size: .92rem; } .qc-btn { width: 46px; height: 46px; } }

@media (min-width: 761px) {
  .quick-contact {
    left: auto; right: 1.5rem; bottom: 1.5rem;
    grid-template-columns: 1fr; gap: .7rem;
    padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    border-radius: 0;
  }
  .qc-enquire { display: none; }
  .qc-btn { width: 56px; height: 56px; border: 0; background: var(--plum); color: var(--on-dark); box-shadow: 0 12px 28px -10px rgb(58 23 36 / .55); }
  .qc-btn:hover { transform: translateY(-3px); }
}

/* ---------- Dialogs (shared) ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgb(28 9 16 / .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
body.has-modal { overflow: hidden; }

/* Mobile menu */
.menu-sheet {
  margin: 0; padding: 0; border: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: var(--cream); display: none;
}
.menu-sheet[open] { display: flex; flex-direction: column; animation: fade-in .3s var(--ease); }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); }
.menu-head .icon-btn { margin-right: -10px; }
.menu-nav { display: grid; padding: 1.5rem var(--gutter); }
.menu-nav a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--serif); font-size: 2.9rem; line-height: 1.1; padding: .35rem 0; text-decoration: none;
  opacity: 0; transform: translateY(14px); animation: fade-up .6s var(--ease-out) forwards;
}
.menu-nav a span { font-size: 1rem; font-style: italic; color: var(--plum); min-width: 1.6rem; }
.menu-nav a:nth-child(2) { animation-delay: .05s; }
.menu-nav a:nth-child(3) { animation-delay: .1s; }
.menu-nav a:nth-child(4) { animation-delay: .15s; }
.menu-nav a:nth-child(5) { animation-delay: .2s; }
.menu-actions { margin-top: auto; padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); display: grid; gap: .7rem; }
.menu-social { display: grid; gap: .7rem; }

/* Enquiry sheet: bottom sheet on mobile, centred card on desktop */
.sheet {
  margin: auto auto 0; padding: 0; border: 0;
  width: 100%; max-width: 100%; max-height: 94dvh;
  background: var(--cream);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up .45s var(--ease-out); }
/* Scrolls inside the rounded card when needed (very short windows, phones) — no visible scrollbar */
.sheet-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none;
}
.sheet-body::-webkit-scrollbar { display: none; }
.sheet-handle { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: .7rem auto 0; }
.sheet-close { position: absolute; z-index: 1; top: .75rem; right: .75rem; border-radius: 50%; background: var(--cream-2); }
.enquiry-form, .enquiry-done { display: grid; gap: 1rem; padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); }
.enquiry-form:has(+ .sheet-chat:not([hidden])) { padding-bottom: 1.75rem; }
/* Second section: chat on Instagram instead of filling the form */
.sheet-chat {
  display: grid; gap: 1rem;
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--cream-2); border-top: 1px solid var(--line);
}
.sheet-chat-title { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1; }
.sheet-chat p { margin-top: .3rem; color: var(--ink-soft); font-size: .95rem; }
.sheet-chat .btn { background: var(--paper); }
.sheet-chat .btn:hover { background: #fff; }
.sheet-head .eyebrow { margin-bottom: .4rem; }
.sheet-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 8vw, 2.7rem); line-height: 1; padding-right: 2.5rem; }
@media (min-width: 761px) {
  .sheet { margin: auto; width: min(600px, 92vw); max-height: 92vh; border-radius: 28px; }
  .sheet[open] { animation: pop-in .4s var(--ease-out); }
  .sheet-handle { display: none; }
  .enquiry-form, .enquiry-done { padding: 2rem 2.5rem; gap: .9rem; }
  .enquiry-form:has(+ .sheet-chat:not([hidden])) { padding-bottom: 1.6rem; }
  .sheet-title { font-size: 2.4rem; }
  .sheet .field input[type="text"], .sheet .field input[type="date"], .sheet .field select { min-height: 48px; padding-block: .65rem; }
  .sheet .field textarea { min-height: 72px; }
  .sheet-chat { grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding: 1.4rem 2.5rem; }
}
/* Laptops with short screens (e.g. 1366×768): tighten so both sections fit without scrolling */
@media (min-width: 761px) and (max-height: 820px) {
  .enquiry-form { padding-top: 1.6rem; gap: .75rem; }
  .enquiry-form:has(+ .sheet-chat:not([hidden])) { padding-bottom: 1.25rem; }
  .sheet-title { font-size: 2.15rem; }
  .sheet .field { gap: .3rem; }
  .sheet .field textarea { min-height: 60px; }
  .sheet-chat { padding-block: 1rem; }
  .sheet-chat-title { font-size: 1.5rem; }
}
/* Even shorter windows (laptops with display scaling, ~650–760px tall) */
@media (min-width: 761px) and (max-height: 760px) {
  .sheet { max-height: 96vh; }
  .enquiry-form { padding-top: 1.25rem; gap: .6rem; }
  .enquiry-form:has(+ .sheet-chat:not([hidden])) { padding-bottom: 1rem; }
  .sheet-head .eyebrow { margin-bottom: .2rem; }
  .sheet-title { font-size: 1.9rem; }
  .sheet .field input[type="text"], .sheet .field input[type="date"], .sheet .field select { min-height: 44px; padding-block: .5rem; }
  .sheet .field textarea { min-height: 46px; }
  .field-tight { margin-top: -.35rem; }
  .sheet-actions .btn-lg { min-height: 48px; }
  .sheet-chat { padding-block: .75rem; }
  .sheet-chat .btn { min-height: 44px; }
}

.enquiry-look { display: flex; align-items: center; gap: 1rem; padding: .6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.enquiry-look img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.enquiry-look-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.enquiry-look-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }

.field { display: grid; gap: .4rem; min-width: 0; }
.field-tight { margin-top: -.5rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label { font-weight: 500; font-size: .92rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: .25rem; }
.field input[type="text"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 1rem; /* >=16px prevents iOS zoom on focus */
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; box-shadow: 0 0 0 4px rgb(94 42 61 / .12); }
.field input:disabled { background: var(--cream-2); color: var(--muted); }
.field input[type="date"] { display: block; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%; width: .5rem; height: .5rem;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { padding-right: 2.5rem; cursor: pointer; }
.check { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .95rem; min-height: 32px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--plum); }
.field.has-error input { border-color: #a3283f; }
.field-error { color: #a3283f; font-size: .86rem; }
.field-error-row { margin-top: -.6rem; }

.sheet-actions { display: grid; gap: .6rem; margin-top: .4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { font-size: .92rem; color: var(--ink-soft); text-align: center; }
.form-status.is-error { color: #a3283f; }
.enquiry-done { justify-items: center; text-align: center; padding-top: 2.5rem; }
.enquiry-done p { color: var(--ink-soft); }
.done-icon { width: 2.25rem; height: 2.25rem; color: var(--plum); animation: pop-in .6s var(--ease-out); }

/* Lightbox */
.lightbox {
  margin: 0; padding: 0; border: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: rgb(24 8 14 / .97); color: var(--on-dark); display: none;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding-inline: 1rem; animation: fade-in .3s var(--ease); }
.lightbox .round-btn { color: var(--on-dark); border-color: rgb(255 255 255 / .3); }
.lightbox .round-btn:hover { background: var(--cream); color: var(--plum-deep); border-color: var(--cream); }
.lb-close { position: absolute; top: max(.75rem, env(safe-area-inset-top)); right: .75rem; z-index: 2; color: var(--on-dark); }
.lb-figure { grid-column: 2; display: grid; gap: 1.1rem; justify-items: center; padding: 3.75rem 0 1.5rem; min-height: 0; }
.lb-figure img { max-width: 100%; height: calc(100dvh - 12rem); width: auto; object-fit: contain; border-radius: var(--radius); touch-action: pan-y; user-select: none; animation: fade-in .4s var(--ease); }
.lb-caption { display: grid; gap: .6rem; justify-items: center; text-align: center; }
.lb-count { font-size: .75rem; letter-spacing: .2em; color: rgb(251 245 239 / .6); }
.lb-title { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.lb-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
@media (max-width: 760px) {
  .lightbox[open] { grid-template-columns: 1fr; padding-inline: .75rem; }
  .lb-figure { grid-column: 1; grid-row: 1; padding-bottom: 5.5rem; }
  .lb-figure img { height: auto; max-height: calc(100dvh - 15rem); }
  .lb-nav { position: absolute; bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
}

/* ---------- Motion ---------- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Hero entrance */
.hero-media img { animation: hero-zoom 2.6s var(--ease-out) both; }
.hero-title .line > * { animation: rise 1.1s var(--ease-out) both; }
.hero-title .line:nth-child(1) > * { animation-delay: .15s; }
.hero-title .line:nth-child(2) > * { animation-delay: .28s; }
.hero-eyebrow, .hero-foot > * { animation: fade-up 1s var(--ease-out) both; }
.hero-eyebrow { animation-delay: .05s; }
.hero-lede { animation-delay: .5s; }
.hero-actions { animation-delay: .62s; }

/* Scroll reveal — enabled by main.js once its observer is running */
.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .reveal-on [data-reveal], .reveal-on .kit-brands li { opacity: 1; transform: none; }
}
