/* ==========================================================================
   Lashed by Karega · v4, "her card"

   Karega asked for her own pink, and for the panels to look premium rather
   than pink glass. Her brand is one thing: black Didone ink printed on blush
   card (her logo). So the page is that card, under one soft lamp:
     the ground   her logo's blush, lit from above, with the grain of cotton
                  card, darkening gently toward the foot of the page;
     the panels   heavy pale-blush cards lying on it: lit along their top edge,
                  a paper's thickness under it, a contact line and a long soft
                  shadow toward the foot, words printed into them (letterpress);
     the hero     an arched window cut in the card, the model's eye behind it;
     the chrome   small solid paper pills; never glass.
   Her pink (#b8456b) marks the few things that need it; her black is the ink
   and every primary action.

   Design read: a phone-first booking site for young women in Thika who find
   Karega on Instagram and TikTok, in her own brand (black Didone on blush),
   leaning toward a lash bar's printed stationery. Dials: variance 5, motion 4,
   density 3: classier means calmer and more air.

   Rules kept: transform, translate and opacity only; no pure black or white;
   shadows tinted with her ink; one lamp, so every shadow falls down the page;
   every motion has a reduced-motion answer.
   ========================================================================== */

@font-face {
  font-family: 'Bodoni Moda';
  src: url('../font/bodoni-moda-normal-400-900.woff2?v=004112122d') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../font/bodoni-moda-italic-400-900.woff2?v=d990155b45') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../font/jost-normal-300-700.woff2?v=d3fc5b412c') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../font/jost-italic-300-700.woff2?v=2441fd01af') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* the ground: her logo's blush, lit from above */
  --bg-hi: #fde9ed;
  --bg: #f8d8df;
  --bg-lo: #f0c4ce;
  /* the card: the same pink stock, a shade paler, lit along its top edge */
  --paper-hi: #fff8f9;
  --paper: #fff0f3;
  --paper-lo: #fbe4e9;
  --paper-edge: #e6b9c4;
  /* her logo's black, and the inks for reading */
  --ink: #1b1113;
  --ink-2: #553840;
  --ink-3: #8a6670;
  /* her logo's disc, and her pink for the few marks that need it */
  --blush: #fbdfe2;
  --blush-2: #f3c6cf;
  --rose: #b8456b;
  --rose-deep: #93304f;
  --good: #2c7f51;
  --line: rgba(27, 17, 19, 0.13);
  --line-2: rgba(27, 17, 19, 0.24);
  /* every shadow is her ink at low strength, warmed by the pink it falls on */
  --shade: 104, 38, 58;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-ui: 'Jost', 'Futura', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad-x: clamp(18px, 5vw, 64px);
  --max: 1120px;
  --r-pill: 999px;
  --grain: url('../img/paper-grain.webp?v=9a5aa18de3');

  color-scheme: light;
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.58;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main {
  position: relative;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 10px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--ink);
  color: var(--blush);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--blush);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.anchor {
  position: absolute;
  top: 0;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}

/* ------------------------------------------------------------------ type */

/* Her logo is a fat-face Didone: the display type is Bodoni Moda at its heaviest. */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  text-wrap: balance;
  line-height: 0.96;
  letter-spacing: -0.032em;
  margin: 0;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
/* The small spaced capitals under her logo ("BY KAREGA"). */
.kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lede {
  max-width: 36rem;
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 2.2vw, 1.12rem);
  text-wrap: pretty;
}
.muted {
  color: var(--ink-3);
}
/* Words printed into the card: the light catches the lower lip of the impression. */
.card .h2,
.card h3,
.card .pl-name,
.card .post-words,
.card .style-name,
.card .studio-name {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ============================================================ the place */

/*
 * The ground is the card the whole page is printed on: her logo's blush, the
 * lamp's light pooled at the top, the far end of the page a shade deeper, and
 * the grain of the stock over all of it (which also keeps the long gradients
 * from banding).
 */
.ground {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(130% 62% at 50% -14%, rgba(255, 249, 250, 0.92) 0%, rgba(255, 249, 250, 0.38) 38%, rgba(255, 249, 250, 0) 66%),
    radial-gradient(120% 70% at 50% 118%, rgba(206, 132, 152, 0.3), rgba(206, 132, 152, 0) 62%),
    linear-gradient(180deg, var(--bg-hi) 0%, var(--bg) 48%, var(--bg-lo) 100%);
}
.ground::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grain) 0 0 / 240px 240px repeat;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* ========================================================= the primitive */

/*
 * The card: pale-blush cotton stock lying on the page.
 *   face     paper, brightest along the top where the lamp is, a little
 *            warmer toward the foot, with the stock's grain;
 *   edges    the top edge catching the lamp, the lower edge in its own shade,
 *            and a paper's thickness showing under it;
 *   contact  a fine line where it meets the page, a little occlusion, and a
 *            long soft shadow toward the foot of the page.
 * Bigger cards lie heavier. Never translucent: a card is paper, not glass.
 */
.card {
  position: relative;
  isolation: isolate;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, var(--paper-hi) 0%, var(--paper) 34%, var(--paper-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(190, 108, 128, 0.2),
    0 1px 0 var(--paper-edge),
    0 2px 3px rgba(var(--shade), 0.15),
    0 8px 18px rgba(var(--shade), 0.09),
    0 34px 50px -26px rgba(var(--shade), 0.42);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--grain) 0 0 / 240px 240px repeat;
  opacity: 0.42;
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* The printed frame of a menu or a postcard: a fine double rule, set in from the edge. */
.card-framed::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 3px;
  border: 1px solid rgba(27, 17, 19, 0.26);
  outline: 1px solid rgba(27, 17, 19, 0.12);
  outline-offset: -5px;
  pointer-events: none;
}

/*
 * The arch: a window cut in the card. What shows through it lies behind the
 * page, so the cut edge throws a shadow into it from the top (the lamp is
 * above) and catches the light along its lower edge; a fine line is engraved
 * round it at a finger's width.
 */
.arch {
  position: relative;
  margin: 0;
}
.arch::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 999px 999px 12px 12px;
  border: 1px solid rgba(27, 17, 19, 0.24);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  pointer-events: none;
}
.arch-face {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px 999px 4px 4px;
  background-color: #e6cdc9;
}
.arch-face::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 3px 7px rgba(64, 18, 32, 0.46),
    inset 0 14px 30px -18px rgba(64, 18, 32, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}
.arch-note {
  margin: 26px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ------------------------------------------------------------- buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  min-width: 0;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background-color 220ms ease,
    color 220ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-ink {
  color: #fdeef1;
  background: linear-gradient(180deg, #3a252c, var(--ink) 58%);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 234, 0.22),
    0 1px 1px rgba(27, 17, 19, 0.4),
    0 12px 22px -12px rgba(var(--shade), 0.75);
}
.btn-line {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(27, 17, 19, 0.5);
}
.btn-blush {
  color: var(--ink);
  background: linear-gradient(180deg, #fff6f8, var(--blush));
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -10px rgba(0, 0, 0, 0.5);
}
.btn-line-light {
  color: #fdeef1;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(253, 238, 241, 0.55);
}
/* The account's quiet action (sign out). */
.btn-ghost {
  color: var(--ink-2);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.42;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 228, 234, 0.28),
      0 1px 1px rgba(27, 17, 19, 0.4),
      0 16px 28px -12px rgba(var(--shade), 0.8);
  }
  .btn-line:hover {
    background: rgba(27, 17, 19, 0.045);
    box-shadow: inset 0 0 0 1px var(--ink);
  }
}
.text-btn {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(27, 17, 19, 0.06);
  transition: transform 160ms var(--ease-out);
}
.icon-btn:active {
  transform: scale(0.94);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.small-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 500;
  background: rgba(27, 17, 19, 0.06);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.small-btn:active {
  transform: scale(0.96);
}
.small-btn.primary {
  background: var(--ink);
  color: var(--blush);
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.nav > * {
  pointer-events: auto;
}
/* Where the chrome lies over the page, the blush deepens in behind it: words
   scrolled up under the nav never meet the links. */
.nav::before {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: calc(86px + env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(252, 233, 237, 0.94), rgba(252, 233, 237, 0.62) 55%, rgba(252, 233, 237, 0));
  pointer-events: none;
  z-index: -1;
}
/* Small paper pills: the nav is stationery too. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(180deg, var(--paper-hi), var(--paper-lo));
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px rgba(27, 17, 19, 0.08),
    0 1px 0 var(--paper-edge),
    0 8px 18px -10px rgba(var(--shade), 0.45);
  transition: transform 160ms var(--ease-out);
}
.pill:active {
  transform: scale(0.97);
}
.pill-brand {
  padding: 0 16px;
}
.brand-logo {
  display: block;
  width: auto;
  height: 28px;
}
/*
 * The small logo in the nav shows once the big one in the hero has scrolled
 * away, so the first screen never shows her name twice. Bound to the hero
 * logo's own view timeline (on the compositor, no scroll listener).
 */
@supports (animation-timeline: view()) and (timeline-scope: --hero-logo) {
  html {
    timeline-scope: --hero-logo;
  }
  /* The inset is the nav's height, written out: left on `auto` it takes the
     page's scroll-padding, and a phone's logo read as already leaving. */
  .hero-logo {
    view-timeline: --hero-logo block;
    view-timeline-inset: 64px 0px;
  }
  @media (prefers-reduced-motion: no-preference) {
    html.js .pill-brand {
      animation: brandIn linear both;
      animation-timeline: --hero-logo;
      animation-range: exit 0% exit 100%;
    }
  }
}
@keyframes brandIn {
  from { opacity: 0; translate: 0 -6px; }
  to { opacity: 1; translate: 0 0; }
}
.pill-links {
  justify-self: center;
  display: none;
  gap: 2px;
  padding: 0 6px;
}
.pill-links a {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 180ms ease, background-color 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .pill-links a:hover {
    color: var(--ink);
    background: rgba(27, 17, 19, 0.05);
  }
}
.nav-right {
  display: flex;
  gap: 8px;
  justify-self: end;
}
.pill-icon {
  width: 44px;
  padding: 0;
  justify-content: center;
}
.pill-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pill-icon .initials {
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.pill-book {
  color: #fdeef1;
  background: linear-gradient(180deg, #3a252c, var(--ink) 58%);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 234, 0.22),
    0 1px 1px rgba(27, 17, 19, 0.4),
    0 10px 20px -10px rgba(var(--shade), 0.7);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0 20px;
}

/* ------------------------------------------------------------------ hero */

/*
 * On a desk the hero is a tall track and one pinned screen: scrolling it
 * opens the eye in the arch (the film is the playhead). On a phone the film
 * plays by itself, so the hero is one screen.
 */
.hero {
  position: relative;
  z-index: 1;
}
.hero-pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 22px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: calc(72px + env(safe-area-inset-top)) var(--pad-x) 30px;
}
/* On a phone the arch is a third of the screen, so her words and the Book button are on the first screen too. */
.arch-hero {
  order: -1;
  width: min(100%, 380px);
  justify-self: center;
  margin-top: 6px;
}
.arch-hero .arch-face {
  height: clamp(240px, 34svh, 420px);
}
.arch-hero .arch-note {
  margin-top: 18px;
}
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero {
    height: 230svh;
  }
  .hero-pin {
    position: sticky;
    top: 0;
    height: 100svh;
  }
}
/* Her logo, the first thing on the page: above the arch on a phone, at the head of the words on a desk. */
.hero-logo {
  order: -2;
  justify-self: center;
  display: block;
  width: min(54vw, 230px);
  height: auto;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      'logo arch'
      'copy arch';
    grid-template-rows: auto auto;
    align-content: center;
    gap: 30px clamp(40px, 6vw, 96px);
    padding-top: 100px;
    padding-bottom: 48px;
  }
  .hero-logo {
    grid-area: logo;
    justify-self: start;
    align-self: end;
    width: clamp(280px, 26vw, 400px);
  }
  .hero-copy {
    grid-area: copy;
    align-self: start;
  }
  .arch-hero {
    grid-area: arch;
    align-self: center;
    order: 0;
    width: min(100%, 520px);
    margin-top: 0;
  }
  .arch-hero .arch-face {
    height: min(calc(100svh - 210px), 700px);
  }
  .hero-title {
    font-size: clamp(2.4rem, 3.8vw, 3.7rem);
  }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .hero-logo {
    width: 240px;
  }
  .arch-hero {
    width: min(100%, 460px);
  }
}
/*
 * Where the film will open the eye, the arch starts on the closed one (the
 * film's first frame); on a phone the eye opens once, by itself. The film is a
 * plain <video> over the still, cover-fitted at the same focus (film.js), so
 * nothing moves when it takes over.
 */
.hero-face {
  --fx: 0.5;
  --fy: 0.36;
  background: #e6cdc9 url('../img/hero-open-m.webp?v=9891f4b47c') calc(var(--fx) * 100%) calc(var(--fy) * 100%) / cover no-repeat;
}
@media (max-width: 759px) and (prefers-reduced-motion: no-preference) {
  .hero-face {
    background-image: url('../img/hero-closed-m.webp?v=71b18ada2b');
  }
}
@media (min-width: 760px) {
  .hero-face {
    --fx: 0.74;
    --fy: 0.5;
    background-image: url('../img/hero-eye-1920.webp?v=a0a71fbba6');
  }
}
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero-face {
    background-image: url('../img/hero-closed-1280.webp?v=4bd62307ab');
  }
}
/* No film (reduced motion, Data Saver, or it failed): nothing will open the eye, so it is open. */
html.no-film .hero-face {
  background-image: url('../img/hero-open-m.webp?v=9891f4b47c');
}
@media (min-width: 760px) {
  html.no-film .hero-face {
    background-image: url('../img/hero-eye-1920.webp?v=a0a71fbba6');
  }
}
/* Until the film has arrived on a desk, the open still fades in where the
   film would lift the lid (film.js sets its opacity from the scroll). */
.hero-open {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: url('../img/hero-eye-1920.webp?v=a0a71fbba6') calc(var(--fx) * 100%) calc(var(--fy) * 100%) / cover no-repeat;
}
@media (max-width: 759px) {
  .hero-open {
    display: none;
  }
}
html.no-film .hero-open {
  display: none;
}
.hero-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: calc(var(--fx) * 100%) calc(var(--fy) * 100%);
  z-index: 0;
  opacity: 0;
  transition: opacity 400ms ease;
}
.hero-film.is-ready {
  opacity: 1;
}
.hero-copy {
  max-width: 34rem;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-right: 0.16em;
}
.hero-title .word > span {
  display: inline-block;
  /* backwards, not both: nothing is left on the word once it has risen */
  animation: wordRise 1.05s var(--ease-reveal) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes wordRise {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: none; }
}
.reveal-in {
  animation: fadeUp 0.95s var(--ease-reveal) both;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
.hero-sub {
  max-width: 31rem;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.04rem, 2.3vw, 1.16rem);
}
.hero-sub b {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}
.hero-next {
  display: block;
}
.hero-next b,
.hero-status b {
  color: var(--ink);
  font-weight: 600;
}
.live-dot {
  position: relative;
  top: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a9a63;
  flex: none;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #3a9a63;
  opacity: 0;
  animation: ping 2.4s var(--ease-out) 3 both;
}
.is-closed .live-dot {
  background: #b98563;
}
.is-closed .live-dot::after {
  border-color: #b98563;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}
.studio-mine {
  display: grid;
  gap: 2px;
  width: 100%;
  max-width: 26rem;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 6px;
  text-align: left;
  background: linear-gradient(180deg, var(--paper-hi), var(--paper-lo));
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(184, 69, 107, 0.28), 0 10px 22px -16px rgba(var(--shade), 0.5);
}
.mine-when {
  font-weight: 600;
}
.mine-what {
  color: var(--ink-2);
  font-size: 0.88rem;
}

/* -------------------------------------------------------------- sections */

.section {
  position: relative;
  padding: clamp(84px, 11vw, 140px) var(--pad-x) 0;
}
.section-head {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.note {
  max-width: var(--max);
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  text-align: center;
}

/*
 * A card is laid on the page: it arrives a little high and settles.
 * Keyframes on `translate` and `opacity`, so a finished entrance never
 * overrides a hover's `transform`, and nothing is left behind.
 */
html.js .reveal:not(.is-in) {
  opacity: 0;
}
.reveal.is-in {
  animation: setDown 0.95s var(--ease-reveal) both;
  animation-delay: var(--rd, 0s);
}
@keyframes setDown {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

/* =========================================================== client cam */

/* Her posts, as postcards: her words printed in italic, the date, and the reel. */
.work-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(68vw, 264px);
  gap: 20px;
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 10px var(--pad-x) 46px;
  margin-inline: calc(-1 * var(--pad-x));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad-x);
  scrollbar-width: none;
}
.work-row::-webkit-scrollbar {
  display: none;
}
.post {
  position: relative;
  display: block;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
/* A postcard: the date at the head, her words printed large in the middle, the caption and the way to the reel at the foot. */
.post .card {
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  justify-items: center;
  align-items: center;
  gap: 10px;
  padding: 34px 26px 30px;
  text-align: center;
  transition: transform 340ms var(--ease-out);
}
.post-when {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.post-words {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.55rem, 2.3vw, 1.85rem);
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
.post-cap {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-2);
}
.post-under {
  margin: 12px 4px 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.post-under b {
  color: var(--ink);
  font-weight: 600;
}
.post-watch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.post-watch svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.post .card > img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: cover;
  border-radius: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .post:hover .card {
    transform: translateY(-4px);
  }
}
.post:active .card {
  transform: scale(0.985);
}
.work-more {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
}
.work-more a {
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
@media (min-width: 1024px) {
  .work-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    margin-inline: auto;
    padding: 10px 0 46px;
    gap: 26px;
  }
}

/* ============================================================= styles */

/*
 * The six looks, each drawn as a lash technician draws it on the eye pad: the
 * lid, and one stroke per lash at its length, leaning the way the look leans.
 * A tool's diagram, printed in her ink; never a picture of her work.
 */
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 40px auto 0;
}
.style {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 16px 14px 14px;
}
/* Set in a little from the card's sides, so a cat eye's sweep stays on the card. */
.style-map {
  margin: 2px 7% 10px;
  color: var(--ink);
}
.style-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
/* The eye pad under the lid, printed in a wash of her pink; the lid in full ink; the lashes a shade softer. */
.style-map .pad {
  fill: rgba(184, 69, 107, 0.08);
  stroke: rgba(184, 69, 107, 0.22);
  stroke-width: 0.8;
}
.style-map .lid {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}
/* No stroke-width here: each look's strokes carry their own (a CSS width would override them). */
.style-map .lashes {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  opacity: 0.9;
}
.style-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4.4vw, 1.75rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.style-line {
  margin: 6px 0 12px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.4;
}
.style-prices {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
/* A price row: what it is, and what it costs. A row that books ends in a small arrow. */
.style-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.84rem;
  color: var(--ink-2);
  transition: color 180ms ease, background-color 180ms ease;
}
.style-row b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
  white-space: nowrap;
}
button.style-row b::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.55;
}
.style-row.is-none i {
  color: var(--ink-3);
  font-size: 0.8rem;
  white-space: nowrap;
}
/* Two cards across a phone are too narrow for "Individual" beside "KSH 1,500": the label sits over the price, as on a printed menu. */
@media (max-width: 759px) {
  .style-row {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 1px;
    min-height: 54px;
    padding: 7px 2px;
  }
  .style-row > span {
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
  }
  .style-row b {
    font-size: 1.04rem;
  }
}
button.style-row:active {
  background: rgba(27, 17, 19, 0.04);
}
@media (hover: hover) and (pointer: fine) {
  button.style-row:hover {
    color: var(--ink);
    background: rgba(27, 17, 19, 0.035);
  }
}
.style-try {
  margin-top: 12px;
  height: 44px;
  font-size: 0.9rem;
  padding: 0 14px;
}
.style-try svg {
  width: 17px;
  height: 17px;
}
@media (min-width: 760px) {
  .style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .style {
    padding: 22px 22px 20px;
  }
  .style-line {
    font-size: 0.95rem;
  }
}

/* ============================================================== the menu */

/* Her price list, printed on one card with a double rule, as a lash bar's menu is. */
.card-menu {
  max-width: var(--max);
  margin: 40px auto 0;
}
.card-menu.card-framed::after {
  inset: 14px;
}
.card-menu .card-in {
  position: relative;
  padding: clamp(36px, 5vw, 64px) clamp(26px, 5vw, 64px);
}
.pl-head {
  margin: 0 0 30px;
  text-align: center;
}
.pl-head img {
  width: 150px;
  height: auto;
  margin: 0 auto;
}
.pl-groups {
  display: grid;
  gap: 34px;
}
.pl-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.pl-facts {
  margin: 0 0 10px;
  color: var(--ink-3);
  font-size: 0.86rem;
  font-style: italic;
}
.pl-rows {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pl-row {
  display: grid;
  grid-template-columns: auto minmax(12px, 1fr) auto 12px;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  text-align: left;
}
/* A line that books: the whole line is the button, with a small arrow after its price. */
.pl-row.is-bookable {
  width: calc(100% + 16px);
  margin-inline: -8px;
  padding-inline: 8px;
  border-radius: 4px;
  transition: background-color 180ms ease;
}
.pl-row.is-bookable::after {
  content: '';
  justify-self: end;
  width: 6px;
  height: 6px;
  border-top: 1.4px solid var(--ink-2);
  border-right: 1.4px solid var(--ink-2);
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.6;
}
.pl-row.is-bookable:active {
  background: rgba(27, 17, 19, 0.045);
}
@media (hover: hover) and (pointer: fine) {
  .pl-row.is-bookable:hover {
    background: rgba(27, 17, 19, 0.035);
  }
}
.pl-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
}
.pl-tag {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184, 69, 107, 0.4);
  color: var(--rose-deep);
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: middle;
  white-space: nowrap;
}
.pl-dots {
  align-self: end;
  height: 1px;
  margin-bottom: 7px;
  background-image: radial-gradient(circle, var(--ink-3) 0.9px, transparent 1.3px);
  background-size: 6px 3px;
  background-repeat: repeat-x;
  opacity: 0.65;
}
.pl-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums lining-nums;
  text-align: right;
  white-space: nowrap;
}
.pl-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9rem;
}
@media (min-width: 760px) {
  .pl-groups {
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
  }
}

/* ============================================================== studio */

.card-studio {
  display: grid;
  gap: 24px;
  max-width: 860px;
  margin: 40px auto 0;
  padding: clamp(26px, 4.5vw, 48px);
}
.studio-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.studio-where {
  margin: 6px 0 0;
  font-size: 1.04rem;
  color: var(--ink);
}
.hours {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.hours .is-today {
  color: var(--ink);
  font-weight: 600;
}
.hours small {
  color: var(--rose);
  font-weight: 600;
}
/* A day she is away, or keeps other hours: said first, in her rose. */
.hours .is-special {
  color: var(--rose);
  font-weight: 600;
}
.hours .is-special small {
  font-weight: 500;
}
.studio-free {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  line-height: 1.2;
}
.studio-free small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.studio-free b {
  font-variant-numeric: tabular-nums lining-nums;
  margin-left: 0.3em;
}
.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.studios-call {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}
@media (min-width: 760px) {
  .card-studio {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .studio-side {
    padding-left: 40px;
    border-left: 1px solid var(--line);
  }
}

/* ============================================================= aftercare */

.care-grid {
  display: grid;
  gap: 36px;
  max-width: var(--max);
  margin: 0 auto;
}
.card-care .care-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: clamp(26px, 4vw, 44px) clamp(24px, 4vw, 44px);
  display: grid;
  gap: 16px;
  color: var(--ink-2);
}
.care-list li {
  position: relative;
  padding-left: 22px;
}
.care-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}
.care-list b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.22;
  color: var(--ink);
}
.card-faq {
  max-width: var(--max);
  margin: 48px auto 0;
}
.faq {
  position: relative;
  display: grid;
  padding: clamp(8px, 1.6vw, 18px) clamp(22px, 4vw, 44px);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 0;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 0.9;
  color: var(--rose-deep);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 0 0 18px;
  color: var(--ink-2);
}
@media (min-width: 1024px) {
  .care-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
  }
  .care-grid .section-head {
    text-align: left;
  }
  .care-grid .lede {
    margin-left: 0;
  }
  .faq {
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
  }
  .faq details:nth-child(2) {
    border-top: 0;
  }
}

/* ================================================================== ask */

.card-ask {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 56px);
  display: grid;
  gap: 28px;
}
.card-ask .lede {
  margin-left: 0;
}
.ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.ask-fallback {
  margin: 16px 0 0;
  color: var(--ink-2);
}
.ask-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}
.prompt {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  text-align: left;
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.prompt:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .prompt:hover {
    background: var(--paper-hi);
  }
}
@media (min-width: 1024px) {
  .card-ask {
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
  }
}

/* =============================================================== footer */

.footer {
  position: relative;
  margin-top: clamp(84px, 11vw, 140px);
  padding: 56px var(--pad-x) calc(96px + env(safe-area-inset-bottom));
  color: var(--ink-2);
}
.footer::before {
  content: '';
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  top: 0;
  height: 1px;
  background: rgba(27, 17, 19, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
.footer-grid {
  display: grid;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-logo {
  display: block;
  width: 200px;
  height: auto;
}
.footer-quote {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.38;
  color: var(--ink);
}
.footer-quote p {
  margin: 0;
}
.footer-quote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer-social {
  margin: 16px 0 0;
}
.footer-social a {
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.footer-h {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-list a {
  text-decoration: none;
}
.footer-fine {
  max-width: var(--max);
  margin: 46px auto 0;
  color: var(--ink-3);
  font-size: 0.84rem;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ============================================================ try it on */

.tryon {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #140c0e;
  color: #fbeff0;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 320ms var(--ease-out),
    transform 420ms var(--ease-out);
}
.tryon.is-open {
  opacity: 1;
  transform: none;
}
.tryon-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.tryon-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* A front camera is a mirror. */
  transform: scaleX(-1);
}
.tryon-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 16px 30px;
  background: linear-gradient(180deg, rgba(20, 12, 14, 0.72), rgba(20, 12, 14, 0));
}
.tryon-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.tryon-privacy {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #dcc4c9;
}
.tryon-close {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fdeef1;
  background: rgba(20, 12, 14, 0.5);
  box-shadow: inset 0 0 0 1px rgba(253, 238, 241, 0.3);
}
.tryon-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.tryon-status {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  max-width: 22rem;
  margin: 0 20px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(20, 12, 14, 0.66);
  text-align: center;
  font-size: 0.95rem;
}
.tryon-advice {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: calc(92px + env(safe-area-inset-top));
  width: min(300px, calc(100vw - 28px));
  padding: 16px 18px;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper-hi), var(--paper-lo));
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  animation: fadeUp 600ms var(--ease-reveal) both;
}
.advice-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
}
.advice-words {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.26rem;
  line-height: 1.1;
}
.advice-why {
  margin: 6px 0 12px;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.advice-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.advice-actions .text-btn {
  color: var(--ink-2);
  font-size: 0.88rem;
}
.tryon-bottom {
  position: relative;
  z-index: 2;
  grid-row: 3;
  display: grid;
  gap: 12px;
  padding: 36px 14px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(20, 12, 14, 0.84) 30%, rgba(20, 12, 14, 0));
}
.tryon-styles {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
}
.tryon-styles::-webkit-scrollbar {
  display: none;
}
.tryon-styles button {
  flex: none;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: #fbeff0;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.tryon-styles button[aria-checked='true'] {
  background: var(--blush);
  color: var(--ink);
  box-shadow: none;
}
.tryon-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.tryon-now {
  display: grid;
  margin: 0;
  font-size: 0.85rem;
  color: #dcc4c9;
}
.tryon-now b {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: #fbeff0;
  line-height: 1.15;
}
.tryon-shutter {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 4px rgba(255, 250, 250, 0.9);
  transition: transform 140ms var(--ease-out);
}
.tryon-shutter span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fffafa;
}
.tryon-shutter:active {
  transform: scale(0.92);
}
.tryon-book {
  justify-self: end;
}
.tryon-shot {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  padding: calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));
  background: rgba(20, 12, 14, 0.95);
  animation: fadeUp 360ms var(--ease-out) both;
}
.tryon-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 10px;
}
.tryon-shot-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
html.tryon-open {
  overflow: hidden;
}
html.tryon-open .nav,
html.tryon-open .kv-root {
  visibility: hidden;
}

/* =============================================================== toasts */

.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  gap: 8px;
  width: min(92vw, 420px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 12px;
  background: rgba(27, 17, 19, 0.94);
  color: var(--blush);
  font-size: 0.95rem;
  box-shadow: 0 14px 30px -14px rgba(var(--shade), 0.7);
  animation: toastIn 420ms var(--ease-out) both;
}
.toast img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}
.toast-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #3a9a63;
  color: #fffafa;
  font-weight: 700;
  flex: none;
}
.toast.is-leaving {
  animation: toastOut 300ms ease both;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px); }
}

/* =============================================================== sheets */

/* A sheet is a card drawn up from the foot of the page. */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(46, 18, 28, 0.36);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
.scrim.is-open {
  opacity: 1;
}
.sheet {
  position: fixed;
  z-index: 61;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 120px),
    var(--paper-hi);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 #fff,
    0 -20px 60px -20px rgba(var(--shade), 0.5);
  transform: translate3d(0, 105%, 0);
  transition: transform 520ms var(--ease-drawer);
  outline: none;
}
.sheet.is-open {
  transform: translate3d(0, 0, 0);
}
.sheet.is-dragging {
  transition: none;
}
.sheet-grip {
  width: 44px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: rgba(27, 17, 19, 0.18);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px 6px;
  touch-action: none;
}
.sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}
.sheet-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 22px calc(26px + env(safe-area-inset-bottom));
}
html.sheet-open {
  overflow: hidden;
}
/* While a sheet is open the assistant's bubble steps back, so it never sits on the Book button. */
html.sheet-open .kv-root {
  visibility: hidden;
}

/* booking: the steps count themselves, so a hidden one (one studio) leaves no gap */
.booking {
  counter-reset: step;
}
.step {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
  counter-increment: step;
}
.step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 600;
}
.step-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--blush);
  font-size: 0.8rem;
  font-variant-numeric: lining-nums;
}
.step-n::before {
  content: counter(step);
}
.step.is-waiting {
  opacity: 0.5;
}
.studio-line {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(27, 17, 19, 0.04);
  color: var(--ink-2);
  font-size: 0.9rem;
}
.studio-line b {
  color: var(--ink);
  font-weight: 600;
}
.services-pick {
  display: grid;
  gap: 6px;
}
.svc-group {
  margin: 10px 0 2px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: left;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.svc b {
  display: block;
  font-weight: 600;
}
.svc small {
  color: var(--ink-3);
}
.svc .svc-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.svc[aria-checked='true'] {
  background: var(--ink);
  color: var(--blush);
  box-shadow: none;
}
.svc[aria-checked='true'] small {
  color: var(--blush-2);
}
.prefs-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px rgba(184, 69, 107, 0.34);
  font-size: 0.9rem;
}
.choices {
  display: grid;
  gap: 8px;
}
.choices.two {
  grid-template-columns: 1fr 1fr;
}
.choice {
  display: grid;
  gap: 2px;
  padding: 14px;
  border-radius: 10px;
  text-align: left;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 200ms ease;
}
.choice b {
  font-weight: 600;
}
.choice small {
  color: var(--ink-3);
  font-size: 0.82rem;
}
.choice[aria-checked='true'] {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}
.day {
  flex: none;
  width: 62px;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px;
  border-radius: 10px;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.day span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.day b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.1;
  font-variant-numeric: lining-nums;
}
.day small {
  font-size: 0.7rem;
  color: var(--good);
}
.day[disabled] {
  opacity: 0.4;
  pointer-events: none;
}
.day[disabled] small {
  color: var(--ink-3);
}
.day[aria-checked='true'] {
  background: var(--ink);
  color: var(--blush);
  box-shadow: none;
}
.day[aria-checked='true'] span,
.day[aria-checked='true'] small {
  color: var(--blush-2);
}
.times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}
.time {
  min-height: 44px;
  border-radius: 10px;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}
.time[aria-checked='true'] {
  background: var(--ink);
  color: var(--blush);
  box-shadow: none;
}
.field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.field > span {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
}
.field em {
  font-style: normal;
  color: var(--ink-3);
  font-weight: 400;
}
.field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  font-size: 1rem;
}
.field input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.field input[aria-invalid='true'] {
  box-shadow: inset 0 0 0 2px #b8322a;
}
.field-hint {
  color: var(--ink-3);
  font-size: 0.82rem;
}
/* The form's honeypot, and only that: a class shared by nothing else. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signin-nudge {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 0.9rem;
}
.form-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(184, 50, 42, 0.09);
  color: #8e2a20;
  font-size: 0.92rem;
}
.book-bar {
  position: sticky;
  bottom: calc(-26px - env(safe-area-inset-bottom));
  margin: 18px -22px 0;
  padding: 22px 22px calc(18px + env(safe-area-inset-bottom));
  /* Opaque before the summary starts: the list scrolling under it never shows through the words. */
  background: linear-gradient(180deg, rgba(255, 248, 249, 0), var(--paper-hi) 14px);
}
.book-summary {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.booked {
  padding: 18px 4px 10px;
  text-align: center;
}
.booked-mark svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--good);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.booked-mark circle {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw 800ms var(--ease-out) forwards;
}
.booked-mark path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 500ms 500ms var(--ease-out) forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.booked-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
}
.booked-when {
  margin: 10px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.booked-where,
.booked-ref,
.booked-note {
  margin: 6px 0 0;
  color: var(--ink-2);
}
.booked-ref strong {
  color: var(--ink);
  letter-spacing: 0.04em;
}
.booked-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.booked-cancel {
  margin: 18px 0 0;
  color: var(--ink-3);
  font-size: 0.9rem;
}

/* account + manage */
.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tabs button {
  flex: 1;
  height: 42px;
  border-radius: var(--r-pill);
  font-weight: 500;
  color: var(--ink-2);
}
.tabs button[aria-selected='true'] {
  background: var(--ink);
  color: var(--blush);
}
.account-intro {
  margin: 16px 0 0;
  color: var(--ink-2);
}
.acct-form .btn {
  margin-top: 16px;
}
.account-hello {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
}
.account-meta {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: 0.9rem;
}
.verify-note,
.refill-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px rgba(184, 69, 107, 0.32);
  font-size: 0.92rem;
}
.refill-note b {
  font-weight: 600;
}
.verify .verify-note {
  margin: 0;
}
.verify > .btn {
  margin-top: 12px;
}
.verify input[name='code'] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.24em;
}
.acct-section {
  margin-top: 24px;
}
.acct-section h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.booking-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #fffbfc;
  box-shadow: inset 0 0 0 1px var(--line);
}
.booking-row b {
  display: block;
  font-weight: 600;
}
.booking-row small {
  display: block;
  color: var(--ink-3);
}
.booking-row .row-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.status {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--blush);
  text-transform: capitalize;
  white-space: nowrap;
}
.status.is-good {
  background: rgba(44, 127, 81, 0.12);
  color: #22704a;
}
.status.is-bad {
  background: rgba(184, 50, 42, 0.1);
  color: #8e2a20;
}

.noscript {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 100;
  padding: 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--blush);
}

/* ------------------------------------------------------------ breakpoints */

/* A phone: the nav must fit in one row, so the account moves to the footer
   and the booking sheet. */
@media (max-width: 520px) {
  .nav {
    gap: 8px;
  }
  .nav [data-open-account] {
    display: none;
  }
  .pill-brand {
    padding: 0 14px;
  }
  .brand-logo {
    height: 26px;
  }
  /* The lede and the buttons sit at the foot of a phone's first screen, where
     the assistant's button floats: the words keep 66px clear of it. */
  .hero-sub {
    padding-right: 66px;
  }
  .hero-cta,
  .hero-status {
    padding-right: 66px;
  }
  .tryon-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .tryon-now {
    display: none;
  }
  .tryon-shutter {
    grid-column: 1;
    justify-self: center;
    margin-left: 70px;
  }
}
@media (max-width: 370px) {
  .style-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 760px) {
  .sheet {
    left: auto;
    top: 12px;
    right: 12px;
    bottom: 12px;
    width: min(500px, calc(100vw - 24px));
    max-height: none;
    border-radius: 18px;
    transform: translate3d(106%, 0, 0);
  }
  .sheet-grip {
    display: none;
  }
}
@media (min-width: 1024px) {
  .pill-links {
    display: inline-flex;
  }
}

/* A phone on its side is short: the pinned hero drops its tall track. */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    height: auto;
  }
  .hero-pin {
    position: relative;
  }
}

/* ---------------------------------------------------- accessibility modes */

@media (prefers-contrast: more) {
  .card,
  .pill {
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }
  .arch::before {
    border-color: var(--ink);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal:not(.is-in) {
    opacity: 1;
  }
}
