:root {
  --bg: #f7f5f1;
  --bg-alt: #efebe4;
  --ink: #1a1a1a;
  --ink-soft: #5c5853;
  --ink-faint: #8f8a83;
  --line: #e2ddd5;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(96px, 14vw, 180px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }

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

/* Type */
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
h1 { font-size: clamp(64px, 10vw, 128px); }
h2 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.06; }
h1 em, h2 em { font-style: italic; color: var(--ink-soft); }
h3 { font-size: 15px; font-weight: 500; letter-spacing: 0.01em; margin-bottom: 10px; }
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 30em; }
.fine { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.02em; }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
.fine a:hover { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background .3s ease, transform .3s ease;
}
.btn:hover { background: #3a3835; }
.btn:active { transform: scale(.98); }
.link-cta {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow .3s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -0.04em; }
.nav__links { display: flex; gap: 44px; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-soft); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 120px) clamp(80px, 10vw, 140px);
}
.hero h1 { margin-bottom: 32px; line-height: 0.86; }
.hero .lead { margin-bottom: 48px; max-width: 26em; }
.hero__actions { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.note { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }
.hero__media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.hero__media img { object-position: center center; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars > div { display: flex; flex-direction: column; gap: 18px; padding: 24px 20px 28px; }
.pillars > div + div { border-left: 1px solid var(--line); }
.pillars img { aspect-ratio: 5 / 3; border-radius: var(--radius); object-position: center bottom; }
.pillars img.face { object-position: center 62%; }
.pillar__text { display: flex; align-items: baseline; gap: 16px; }
.num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-faint); }
.pillars p { font-size: 15px; letter-spacing: 0.01em; }

/* Sections */
.section { padding-block: var(--section); }
.section__head { text-align: center; margin-bottom: clamp(56px, 8vw, 96px); }
.section__head .eyebrow { margin-bottom: 24px; }

/* Foam */
.texture { max-width: 960px; margin-inline: auto; }
.texture img { aspect-ratio: 3 / 2; border-radius: var(--radius); object-position: center center; }
.areas figure { display: flex; flex-direction: column; gap: 16px; }
figcaption { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
  max-width: 980px;
  margin: clamp(72px, 10vw, 120px) auto 0;
}
.features > div { padding-top: 24px; border-top: 1px solid var(--ink); }
.features p { color: var(--ink-soft); font-size: 15px; }
.features.use-steps { margin-top: 0; margin-bottom: clamp(88px, 12vw, 150px); }

/* Cica */
.cica { background: var(--bg-alt); padding-block: var(--section); }
.cica__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.cica__media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.cica__media img { object-position: 36% center; }
.cica h2 { margin-bottom: 28px; }
.cica .lead { margin-bottom: 48px; }
.ingredients { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.ingredients li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.ingredients li span:last-child { color: var(--ink-faint); font-size: 13px; }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.areas img { aspect-ratio: 3 / 2; border-radius: var(--radius); object-position: center center; }
.areas img.face { object-position: center 58%; }
.areas img.underarm { object-position: center 46%; }
.areas__note { text-align: center; margin-top: 28px; }

/* Reserve */
.reserve { padding-block: var(--section); border-top: 1px solid var(--line); }
.reserve__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.reserve h2 { font-size: clamp(56px, 8vw, 104px); margin-bottom: 28px; }
.reserve .lead { margin-bottom: 44px; max-width: 24em; }
.reserve .fine { margin-top: 20px; }
.reserve .fine + .fine { margin-top: 8px; }

/* Footer */
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap;
  padding-block: 40px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
}
.footer .logo { font-size: 18px; color: var(--ink); }
.footer a.logo { text-decoration: none; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--ink); }

/* Legal and confirmation pages */
.prose { max-width: 720px; padding-block: clamp(48px, 8vw, 96px) clamp(80px, 12vw, 140px); }
.prose h1 { font-size: clamp(56px, 8vw, 96px); margin-bottom: 20px; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 1.15em; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.thanks {
  min-height: calc(100vh - 180px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding-block: 72px;
}
.thanks h1 { margin-bottom: 24px; }
.thanks .lead { margin-inline: auto; }
.thanks .fine { margin-top: 16px; max-width: 36em; }
.thanks .btn { margin-top: 36px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .cica__inner { grid-template-columns: 1fr; }
  .cica__media { aspect-ratio: 4 / 3; }
  .features { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars > div { padding: 22px 0; }
  .pillars > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .areas { grid-template-columns: 1fr; gap: 40px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section__head br { display: none; }
}
