/* Juliesare Beauty Hub
   Palette: Coral Pop. Type: Clash Display for headings, Satoshi for everything
   else. Both from Fontshare.
   Written mobile first, because most visitors arrive from the TikTok bio. */

:root {
  --coral: #F26B5B;
  --coral-dark: #D9503F;
  --pink: #F9C5D1;
  --cream: #FFF8F0;
  --ink: #111111;
  --grey: #6B6360;
  --line: rgba(17, 17, 17, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.10);
  --head: "Clash Display", "Trebuchet MS", system-ui, sans-serif;
  --body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

/* display on .btn and .stat would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.42em; }
h1 { font-size: clamp(2.2rem, 6.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 5.6vw, 2.9rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--coral-dark); }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--coral); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 14px 24px;
  border: 1px solid var(--coral); border-radius: 999px; cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--coral-dark); border-color: var(--coral); border-width: 2px; }
.btn--ghost:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn--small { padding: 10px 18px; font-size: 0.95rem; }
.btn--full { width: 100%; }

.arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
  font-weight: 700; text-decoration: none; padding: 12px 4px;
}
.arrow:hover { color: var(--coral-dark); }
.link { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--pink);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.18s ease;
}
/* Once the page moves under it, the bar lifts off the content. */
.nav.is-stuck { box-shadow: 0 14px 28px -22px rgba(17, 17, 17, 0.75); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 26px; height: 29px; flex: 0 0 26px; }
.logo__text { display: grid; line-height: 1; white-space: nowrap; }
.logo__text strong { font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.logo__text small {
  color: var(--coral); font-weight: 700; font-size: 0.58rem;
  letter-spacing: 0.28em; text-transform: uppercase; margin-top: 5px;
}

.nav__toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 2px solid var(--ink); border-radius: 12px; cursor: pointer;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: "";
}
.nav__bars { position: relative; }
.nav__bars::before { position: absolute; top: -6px; }
.nav__bars::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { top: 0; transform: rotate(-45deg); }

.nav__menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--pink); border-bottom: 2px solid var(--ink);
  padding: 12px 20px 20px; flex-direction: column; gap: 4px;
}
.nav__menu.is-open { display: flex; }
.nav__menu a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 12px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.14); }
.nav__menu a:hover { color: var(--coral-dark); }
.nav__menu .btn { border-bottom: none; margin-top: 10px; color: #fff; }

/* The row of links needs more room than it used to, so the menu button */
/* stays until 1040px rather than 860px. */
@media (min-width: 1040px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex; position: static; flex-direction: row; align-items: center; gap: clamp(16px, 2vw, 26px);
    padding: 0; border: 0; background: none;
  }
  /* Two-word labels wrap at narrow desktop widths without this. */
  .nav__menu a { padding: 0; border: 0; white-space: nowrap; }
  .nav__menu .btn { margin-top: 0; padding: 10px 18px; }
  .logo__mark { width: 30px; height: 33px; flex: 0 0 30px; }
  .logo__text strong { font-size: 1.14rem; }
  .logo__text small { font-size: 0.62rem; }
}

/* Hero */
/* The photograph runs the width of the page with the words on it. On a phone it
   fills the section, which suits an upright picture. On a wide screen it is held
   at its own height against the right and faded into the dark, because blowing a
   tight close-up across 1400 pixels turns a face into a texture. */
:root { --hero-photo: url("/assets/img/juliet.jpg"); }
.hero {
  /* The photo layer below is scaled up, so it has to be clipped here or it
     pushes the whole page sideways. */
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 78vh; display: flex; align-items: center;
  padding: 92px 0 84px; color: var(--cream); background: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.hero__photo {
  position: absolute; inset: 0; z-index: -2;
  background: var(--hero-photo) center 16% / cover no-repeat;
  /* Softened, so the picture sits behind the words rather than competing with
     them. The scale keeps the blur from thinning out at the edges. */
  filter: blur(5px);
  transform: scale(1.04);
}
/* On a phone the words sit over the middle of the picture, so the wash is even
   rather than falling away to the right. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.58) 50%, rgba(17, 17, 17, 0.46) 100%);
}
.hero h1 { color: var(--cream); }
.hero .lead { color: rgba(255, 248, 240, 0.92); }
.hero .eyebrow { background: var(--coral); color: #fff; }
.hero .hero__proof { color: var(--cream); }
.hero .btn--ghost { color: var(--cream); border-color: var(--cream); }
.hero .btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* On a phone the copy sits low on the picture, the way a poster reads, and the
   two buttons run the width rather than floating at odd sizes. */
@media (max-width: 640px) {
  .hero { align-items: flex-end; min-height: 74vh; padding: 88px 0 42px; }
  .hero__actions { display: grid; gap: 10px; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { display: grid; gap: 5px; }
  .hero__proof li + li::before { content: none; }
  .hero__proof li::before { content: "\00b7"; color: var(--pink); margin-right: 9px; }
}
.hero .hero__proof li + li::before { color: var(--pink); }
.hero .arrow { color: var(--cream); }
.hero .arrow:hover { color: var(--pink); }
.hero .hero__handle a { color: rgba(255, 248, 240, 0.88); }
.hero .hero__handle a:hover { color: var(--pink); }
/* The bubbles belonged beside the video that used to sit here. */
.bubbles { display: none !important; }

@media (min-width: 900px) {
  /* The picture runs the whole width. Held to one side it left the hero
     lopsided: words on black, photograph on the right, a seam between them. */
  .hero__photo {
    inset: 0; width: auto; background-position: center 30%; background-size: cover;
    /* Filling a wide hero from an upright close-up means a heavy crop, so the
       softening goes further here and the picture reads as warmth behind the
       words rather than a fragment of a face. */
    filter: blur(13px);
    transform: scale(1.05);
  }
  .hero::after {
    background:
      radial-gradient(120% 90% at 50% 45%, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.58) 55%, rgba(17, 17, 17, 0.78) 100%),
      linear-gradient(0deg, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.12) 60%);
  }
}

.hero__inner { display: grid; gap: 34px; }
.eyebrow {
  display: inline-block; background: var(--pink); color: var(--ink);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin: 0 0 18px;
}
.hero h1 { margin-bottom: 0.35em; }
.lead { font-size: clamp(1.06rem, 2.5vw, 1.24rem); color: var(--ink); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 0; }
.hero__proof {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 14px; padding: 0;
  color: var(--ink); font-size: 0.94rem; font-weight: 700;
}
.hero__proof li + li::before { content: "·"; color: var(--coral); margin: 0 10px; }
.hero__handle { font-size: 0.98rem; }
.hero__handle a { color: var(--ink); text-decoration: none; font-weight: 500; }
.hero__handle a:hover { color: var(--coral-dark); }

/* Text first on a phone, side by side once there is room for both. */
@media (min-width: 900px) {
  .hero { min-height: 84vh; padding: 118px 0 112px; }
  .hero__inner { grid-template-columns: minmax(0, 760px); justify-content: center; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; max-width: 54ch; }
  .hero__proof { justify-content: center; }
}

/* One upright video, in a plain frame. No tilt, no stack, no gradient. */
.feature { position: relative; margin: 0; max-width: 320px; width: 100%; justify-self: center; }
.feature__frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--pink); border: 1px solid var(--line); border-radius: 20px;
}
.feature__frame img, .feature__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  object-fit: cover; display: block;
}
/* A 4:5 photograph cropped into a 9:16 frame loses the top and the bottom, so
   the crop is pulled up to keep the face rather than the forehead. */
.feature__frame img { object-position: center 32%; }
.feature__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; padding: 0;
}
.feature__icon {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 248, 240, 0.92);
  display: grid; place-items: center; position: relative;
}
.feature__icon::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-left: 15px solid var(--ink);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.feature__caption { display: grid; gap: 3px; margin-top: 12px; text-align: left; }
.feature__caption strong { font-size: 0.95rem; }
.feature__caption span { color: var(--grey); font-size: 0.88rem; }

/* A strip of the formats, sliding, between the hero and the numbers. */
.ticker {
  display: flex; overflow: hidden; background: var(--ink); color: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.ticker__track {
  display: flex; flex: 0 0 auto; width: max-content; align-items: center;
  animation: ticker 32s linear infinite;
}
.ticker span {
  font-family: var(--head); font-weight: 700; font-size: 0.94rem;
  letter-spacing: 0.04em; padding: 13px 0; white-space: nowrap;
}
.ticker span::after { content: "•"; color: var(--coral); margin: 0 22px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__track + .ticker__track { display: none; }
}

/* The small label that names each section. */
/* The label that names each section. Same weight and edge as the cards, so a
   section announces itself rather than whispering. */
.label {
  display: inline-block; background: var(--pink); color: var(--ink);
  font-family: var(--head); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 15px; border: 2px solid var(--ink); border-radius: 999px; margin: 0 0 16px;
}
.contact .label { background: var(--coral); color: #fff; border-color: var(--cream); }

/* Featured results. Three cards, standing apart from each other and from the
   strip above them. */
.results { background: var(--cream); padding: 52px 0 56px; }
.results h2, .section > .wrap > h2, .packages h2 { max-width: 24ch; }
.results__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
@media (min-width: 700px) { .results__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1500px) { .results__grid { gap: 30px; } }
.result {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.result:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--pink); }
.result__number {
  font-family: var(--head); font-weight: 700; line-height: 1;
  font-size: clamp(2.4rem, 5vw, 3.2rem); margin: 0 0 10px; color: var(--coral-dark);
}
.result__label { color: var(--ink); font-weight: 500; font-size: 0.98rem; margin: 0; }

/* Sections */
.section { padding: 52px 0; }
.section__intro { color: var(--ink); font-weight: 500; max-width: 62ch; margin-top: -0.4rem; }
@media (min-width: 860px) { .section { padding: 68px 0; } }

/* Work grid */
.work { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 22px; }
@media (min-width: 560px) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .work { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
@media (min-width: 1400px) { .work { grid-template-columns: repeat(4, 1fr); } }
/* A single card on a phone would be as tall as the screen, so cap it. */
@media (max-width: 559px) { .work__item { max-width: 340px; margin: 0 auto; width: 100%; } }

.card {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--pink); border-radius: var(--radius); border: 2px solid var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.work__item:hover .card { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--pink); }
.card--empty { display: grid; place-content: center; text-align: center; padding: 16px; color: var(--grey); }
.card--empty p { margin: 10px 0 0; font-size: 0.9rem; }
.card__tag {
  display: inline-block; background: var(--ink); color: var(--cream);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* TikTok's player fills whatever box it is given, so a 9:16 card holds the
   whole video with nothing cropped and no scrollbar. */
.card--video { overflow: hidden; position: relative; background: var(--pink); }

/* A cover and a play button, until someone asks for the video. */
.cover {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--pink); border: 0; overflow: hidden;
}
.cover__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__play {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 248, 240, 0.92);
}
.cover__play::after {
  content: ""; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%);
  border-left: 15px solid var(--ink);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.cover:hover .cover__play { background: #fff; }
.card--video iframe, .screen--video iframe {
  width: 100%; height: 100%; border: 0; display: block; background: transparent;
}
.card__tag--float { position: absolute; top: 10px; left: 10px; z-index: 2; }
.card__meta { margin: 12px 2px 0; }
.card__meta h3 { font-size: 1rem; margin: 0 0 6px; }
.card__meta p { color: var(--ink); font-size: 0.93rem; margin: 0; }
.card__views { color: var(--coral-dark) !important; font-weight: 700; margin-top: 6px !important; }
.work__more { margin-top: 26px; }

/* Brands. Names set as wordmarks, coral dots between them. Cream ground rather
   than the old black band, because the muted grey the wordmarks use is not
   readable on black at 13px. */
.brands { background: var(--cream); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 34px 0 38px; }
.brands__title {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 12px; text-align: center;
}
.brands__row { overflow: hidden; display: flex; }
.brands__row + .brands__row { margin-top: 14px; }
.brands__track {
  display: flex; flex-wrap: nowrap; align-items: center; flex: 0 0 auto; width: max-content;
  animation: brands-marquee 46s linear infinite;
}
.brands__row:nth-of-type(2) .brands__track { animation-duration: 54s; animation-direction: reverse; }
/* A finger or a keyboard on the row stops it, so a logo can be read or clicked. */
.brands__row:hover .brands__track,
.brands__row:focus-within .brands__track { animation-play-state: paused; }
@keyframes brands-marquee { to { transform: translateX(-100%); } }

.brands__intro { text-align: center; color: var(--ink); font-weight: 500; font-size: 0.96rem; margin: 0 0 22px; }
/* Each logo on its own white card, so the strip reads as a row of stamps
   rather than marks floating on the background. */
.brands__logo {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; width: 186px; height: 84px; margin: 0 9px;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.brands__logo:hover, .brands__logo:focus-visible {
  transform: translateY(-3px); box-shadow: 6px 6px 0 var(--pink);
}
/* An SVG exported with only a viewBox has no intrinsic size, and with width
   auto plus a max-height Chrome lays it out at zero. An explicit height gives
   it something to scale from, which is what Numbuzin and Anua needed. */
.brands__logo img { height: 26px; width: auto; max-width: 140px; object-fit: contain; }

/* One height per logo, because a wordmark and a stacked lockup do not read the
   same at the same pixel height. */
.brands__logo--numbuzin img { height: 20px; }
.brands__logo--dr-althea img { height: 30px; }
.brands__logo--purito img { height: 30px; }
.brands__logo--k-secret img { height: 22px; }
.brands__logo--abib img { height: 24px; }
.brands__logo--medicube img { height: 30px; }
.brands__logo--mary-and-may img { height: 20px; }
.brands__logo--anua img { height: 20px; filter: brightness(0); }  /* white logo on cream */
.brands__logo--celimax img { height: 22px; }
.brands__logo--skinfood img { height: 20px; }
.brands__logo--skin1004 img { height: 16px; }
.brands__logo--april-skin img { height: 18px; }
.brands__logo--arencia img { height: 24px; }

/* Nothing moves for anyone who has asked for stillness: the logos wrap instead. */
@media (prefers-reduced-motion: reduce) {
  .brands__row { display: block; }
  .brands__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .brands__track + .brands__track { display: none; }
}

/* Panels */
.grid-3 { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 620px) and (max-width: 1099px) { .grid-3--four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-3--four { grid-template-columns: repeat(4, 1fr); } }
.panel {
  position: relative; background: #fff; border: 2px solid var(--ink);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.panel:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--pink); }
.panel p:last-child { margin-bottom: 0; }
.panel__meta { color: var(--ink); font-weight: 700; font-size: 0.88rem; }
.panel--price { display: flex; flex-direction: column; }
.panel--price ul { list-style: none; margin: 0 0 22px; padding: 0; }
.panel--price li { position: relative; padding: 6px 0 6px 24px; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.panel--price li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 9px; height: 9px; background: var(--coral); border-radius: 50%; }
.panel--price .btn { margin-top: auto; }
/* The bundle is the one to notice, so it is coral rather than white. */
.panel--pick { background: var(--coral); color: #fff; box-shadow: 8px 8px 0 var(--ink); }
.panel--pick:hover { box-shadow: 12px 12px 0 var(--ink); }
.panel--pick h3 { color: #fff; }
.panel--pick li { border-bottom-color: rgba(255, 255, 255, 0.28); }
.panel--pick li::before { background: #fff; }
.panel--pick .panel__flag { background: var(--ink); color: var(--cream); }
.panel--pick .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel--pick .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.panel__flag {
  position: absolute; top: -13px; left: 24px; background: var(--coral); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.price { font-family: var(--head); font-size: 1.5rem; margin: 0 0 18px; }

/* Process, as a thread between a brand and Juliet. */
.how { background: var(--cream); padding: 52px 0 60px; }
.how__inner { display: grid; gap: 28px; }
.how__intro { max-width: 42rem; }
.how__intro .section__intro { max-width: 42ch; }
.thread { list-style: none; margin: 0; padding: 0; max-width: 620px; display: grid; gap: 16px; }
/* The words hold the left, the thread the right, so the section uses its width
   instead of leaving a wide empty margin either side of a narrow column. */
@media (min-width: 900px) {
  /* Two columns that stay near each other. Left to itself on a wide screen the
     pair drifts to the far edges and leaves a hole down the middle. */
  .how__inner {
    grid-template-columns: minmax(0, 520px) minmax(0, 620px);
    justify-content: center; gap: 72px; align-items: start;
  }
  .how__intro { position: sticky; top: 118px; padding-top: 6px; }
}
.msg { display: flex; align-items: flex-end; gap: 10px; }
.msg--juliet { flex-direction: row-reverse; }
.msg__avatar {
  flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%;
  font-family: var(--head); font-weight: 700; font-size: 0.82rem;
}
.msg--brand .msg__avatar { background: var(--pink); color: var(--ink); }
.msg--juliet .msg__avatar { background: var(--coral); color: #fff; }
.msg__bubble {
  border: 2px solid var(--ink); padding: 14px 17px; max-width: 84%;
}
.msg--brand .msg__bubble {
  background: var(--pink); color: var(--ink);
  border-radius: 16px 16px 16px 4px;
}
.msg--juliet .msg__bubble {
  background: var(--coral); color: #fff;
  border-radius: 16px 16px 4px 16px;
}
.msg__label {
  font-family: var(--head); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 6px;
}
.msg--juliet .msg__label { color: rgba(255, 255, 255, 0.86); }
.msg__bubble p:last-child { margin: 0; font-size: 0.96rem; line-height: 1.5; }

/* Each message arrives just after the one above it. */
.msg { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
.msg.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .msg { opacity: 1; transform: none; transition: none; }
}

/* About */
.about__inner { display: grid; gap: 28px; }
@media (min-width: 860px) { .about__inner { grid-template-columns: minmax(0, 420px) minmax(0, 640px); justify-content: center; align-items: stretch; gap: 56px; } }
.about__frame {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--pink); border: 1px solid var(--line); display: grid; place-items: center; padding: 20px;
}
/* Side by side, the photo runs the full height of the words next to it. */
@media (min-width: 860px) {
  .about__photo { display: flex; }
  .about__frame { aspect-ratio: auto; width: 100%; }
}
/* The pink frame is the placeholder. A real photo fills it edge to edge. */
.about__frame--photo { padding: 0; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder { color: var(--grey); font-size: 0.9rem; text-align: center; }

/* Plain sentences with a dot beside them, the same as the brand list. */
.about__facts { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.about__facts li { position: relative; padding-left: 26px; }
.about__facts li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 9px; height: 9px; background: var(--coral); border-radius: 50%;
}
.about__where { font-weight: 700; color: var(--ink); }

/* The brand. What Juliesare Beauty Hub is, and where it is. */
.hub__inner { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .hub__inner { grid-template-columns: minmax(0, 560px) minmax(0, 420px); justify-content: center; gap: 64px; align-items: start; }
}
.hub__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.hub__list li { position: relative; padding-left: 26px; }
.hub__list li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 9px; height: 9px; background: var(--coral); border-radius: 50%;
}
.hub__card {
  background: var(--coral); color: #fff; border: 2px solid var(--ink);
  border-radius: var(--radius); padding: 26px 28px; font-style: normal;
}
.hub__name { font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.hub__lines { margin: 0 0 20px; line-height: 1.7; }
.hub__facts { margin: 0 0 22px; display: grid; gap: 0; }
.hub__facts > div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
@media (min-width: 480px) {
  .hub__facts > div { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: baseline; }
}
.hub__facts dt {
  font-family: var(--head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
}
.hub__facts dd { margin: 0; font-size: 0.96rem; word-break: break-word; }
.hub__facts { margin-bottom: 0; }
/* The default link red disappears on the orange, so links here go white. */
.hub__card .link { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.6); }
.hub__card .link:hover { text-decoration-color: #fff; }

/* Questions. Open and shut, and readable with no JavaScript at all. */
.faq__inner { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .faq__inner { grid-template-columns: minmax(0, 420px) minmax(0, 720px); justify-content: center; gap: 72px; align-items: start; }
  .faq__intro { position: sticky; top: 118px; }
}
.faq__list { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.faq summary {
  font-family: var(--head); font-weight: 700; font-size: 1.02rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; color: var(--ink); font-size: 0.97rem; max-width: 62ch; }

/* Testimonials */
.quotes__grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .quotes__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; } }
.quote { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; margin: 0; }
.quote__logo { height: 22px; width: auto; max-width: 130px; object-fit: contain; margin-bottom: 16px; opacity: 0.8; }
.quote blockquote { margin: 0 0 14px; font-size: 1.02rem; font-weight: 500; }
.quote figcaption { color: var(--grey); font-size: 0.9rem; }

/* Usage rights */
.rights { margin-top: 26px; background: var(--pink); border-radius: var(--radius); padding: 24px 26px; }
.rights h3 { margin-bottom: 10px; }
.rights p { color: var(--ink); margin-bottom: 10px; max-width: 74ch; }
.rights p:last-child { margin-bottom: 0; }
.rights__card { margin-top: 12px; }

/* Contact */
.contact { background: var(--ink); color: var(--cream); }
.contact h2 { color: var(--cream); }
.contact__inner { display: grid; gap: 30px; }
@media (min-width: 860px) {
  .contact__inner {
    grid-template-columns: minmax(0, 480px) minmax(0, 660px);
    justify-content: center; gap: 72px; align-items: start;
  }
}
.contact p { color: rgba(255, 248, 240, 0.86); max-width: 44ch; }
.contact .link { color: var(--pink); }
.contact .link:hover { color: #fff; }
.contact__email { font-family: var(--head); font-size: clamp(1rem, 3vw, 1.25rem); word-break: break-word; }
.contact__socials { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

.form {
  background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 22px;
  display: grid; gap: 0 16px;
}
@media (min-width: 620px) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .field--wide, .form .field--hp { grid-column: 1 / -1; }
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--coral); outline-offset: 1px; border-color: var(--coral); }
.field--hp { position: absolute; left: -9999px; }
/* The reply to a submit used to be small grey text on cream and was missed
   entirely. It is a panel now, and it only appears once there is something to
   say. */
.form__note { margin: 0; font-size: 0.94rem; font-weight: 500; }
.form__note:not(:empty) {
  display: block; margin-top: 14px; padding: 13px 15px;
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
}
.form__note--ok:not(:empty) { background: var(--pink); color: var(--ink); }
.form__note--bad:not(:empty) { background: var(--coral); color: #fff; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--coral-dark); }

/* Footer */
.foot { padding: 24px 0 26px; border-top: 2px solid var(--ink); }
.foot__inner { display: grid; gap: 14px; }
.foot__top { display: grid; gap: 12px; align-items: center; }
@media (min-width: 700px) { .foot__top { grid-template-columns: auto 1fr; } .foot__links { justify-content: flex-end; } }
.foot__links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; }
.foot__links a { color: var(--ink); text-decoration: none; font-weight: 700; }
.foot__links a:hover { color: var(--coral-dark); }
.foot__bottom {
  display: grid; gap: 4px; padding-top: 13px; border-top: 1px solid var(--line);
  color: var(--grey); font-size: 0.84rem;
}
@media (min-width: 700px) { .foot__bottom { grid-template-columns: 1fr auto; align-items: center; } }
.foot__bottom p { margin: 0; }
.foot__bottom a { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom a:hover { color: var(--coral-dark); }

/* Comment bubbles, TikTok style, rising beside the video. Desktop only, and
   still for anyone who has asked for less motion. */
.bubbles { display: none; }
@media (min-width: 900px) {
  /* Along the left edge of the video, clear of it. */
  .bubbles { display: block; position: absolute; right: calc(100% + 26px); bottom: 8%; width: 236px; height: 66%; }
  .bubble {
    position: absolute; bottom: 0; right: 0; width: 100%;
    display: flex; align-items: flex-start; gap: 9px;
    background: #fff; border-radius: 16px; padding: 10px 13px;
    box-shadow: 0 12px 30px -18px rgba(17, 17, 17, 0.45);
    font-size: 0.84rem; line-height: 1.35;
  }
  .bubble__avatar { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--pink); }
  .bubble b { display: block; font-size: 0.74rem; }
  .bubble__text { color: var(--grey); }
  .bubble--live { animation: bubble-rise 2.4s ease-out forwards; }
  @keyframes bubble-rise {
    0% { opacity: 0; transform: translateY(28px) scale(0.97); }
    14% { opacity: 1; transform: translateY(0) scale(1); }
    72% { opacity: 1; transform: translateY(-150px); }
    100% { opacity: 0; transform: translateY(-210px); }
  }
  .bubbles--static { height: auto; display: grid; gap: 8px; }
  .bubbles--static .bubble { position: static; }
}
@media (prefers-reduced-motion: reduce) { .bubble--live { animation: none; } }


/* Link in bio page. Same page opened straight from the TikTok profile. */
.bio { display: grid; place-items: center; min-height: 100vh; padding: 40px 20px; background: var(--cream); }
.bio__card { width: 100%; max-width: 420px; text-align: center; }
.bio__mark { display: block; width: 96px; height: auto; margin: 0 auto 20px; }
.bio h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); margin-bottom: 0.2em; }
.bio__role {
  display: inline-block; background: var(--pink); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.bio__line { color: var(--grey); margin: 16px 0 26px; }
.bio__links { display: grid; gap: 12px; }
.bio__foot { margin: 26px 0 0; font-size: 0.9rem; }

/* Two groups inside What I do, so the products and the brand work do not run
   together as one list. */
.services__head {
  margin: 44px 0 0; font-size: 0.78rem; font-family: var(--head); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-dark);
}
.services__head:first-of-type { margin-top: 34px; }
/* Panels inside a group use h4, so they match the h3 panels elsewhere. */
.panel h4 {
  font-family: var(--head); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.02em; font-size: 1.18rem; margin: 0 0 0.42em;
}
