@font-face {
  font-family: 'F37Caslon';
  src:
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/F37Caslon-RegularDisplay.static.woff2?v=124351438700184620671736449600')
      format('woff2'),
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/F37Caslon-RegularDisplay.static.woff?v=19074950181212761501736449599')
      format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Matter';
  src:
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/Matter-Light.static.woff2?v=56300889042948767171736449599')
      format('woff2'),
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/Matter-Light.static.woff?v=115551964456808970771736449598')
      format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Matter';
  src:
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/Matter-Regular.static.woff2?v=29234784682243779441736449599')
      format('woff2'),
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/Matter-Regular.static.woff?v=51494654912392280781736449599')
      format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Matter';
  src:
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/Matter-SemiBold.static.woff2?v=14879099414714124161736449598')
      format('woff2'),
    url('https://www.ysebeauty.com/cdn/shop/t/59/assets/Matter-SemiBold.static.woff?v=50015746017770984461736449599')
      format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #f7f1eb;
  --page-deep: #efe4d8;
  --surface: #fffdfa;
  --surface-soft: #fbf7f2;
  --ink: #1d1715;
  --ink-soft: #6a5550;
  --line: rgba(106, 85, 80, 0.16);
  --line-strong: rgba(73, 52, 44, 0.24);
  --blush: #ead9cc;
  --blush-deep: #dbc3b2;
  --shadow: 0 28px 60px rgba(29, 23, 21, 0.08);
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Matter', 'Avenir Next', 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(234, 217, 204, 0.42), transparent 28%),
    linear-gradient(180deg, #fcfaf7 0%, var(--page) 55%, #f6f0e9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.announcement {
  background: #17110f;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 24px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 248, 243, 0.9);
  border-bottom: 1px solid rgba(106, 85, 80, 0.12);
  backdrop-filter: blur(16px);
}

.nav,
.hero,
.section,
footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  color: var(--ink-soft);
}

.nav-actions {
  color: rgba(106, 85, 80, 0.92);
}

.hero,
.section {
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 42px;
  align-items: center;
}

.hero-media,
.story-media {
  position: relative;
}

.hero-image,
.story-media img,
.image-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.hero-image {
  min-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(300px, calc(100% - 44px));
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 251, 247, 0.88);
  border: 1px solid rgba(106, 85, 80, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 44px rgba(29, 23, 21, 0.1);
}

.hero-note strong,
.product-card strong,
.image-card-copy strong,
.finder-card h4,
.press-card,
.closing p,
.section h2,
.hero h1 {
  font-family: 'F37Caslon', 'IvyPresto Display', 'Times New Roman', serif;
}

.eyebrow,
.card-label,
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.hero-copy p,
.section-heading p,
.story-copy p,
.finder-copy p,
.finder-card p,
.product-content p,
.hero-note p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 15px;
}

.lede {
  max-width: 52ch;
  margin-bottom: 14px;
}

.sublede {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: #17110f;
  color: #fff;
}

.btn.primary:hover {
  background: #2b221f;
}

.btn.ghost {
  background: rgba(255, 253, 250, 0.8);
  border-color: var(--line-strong);
  color: var(--ink);
}

.badge-row,
.benefit-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge,
.benefit-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.76);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-band {
  border-top: 1px solid rgba(106, 85, 80, 0.12);
  border-bottom: 1px solid rgba(106, 85, 80, 0.12);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 860px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-grid,
.promo-grid,
.story-grid,
.press-grid,
.finder-actions,
.footer-grid {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.promo-card,
.finder-card,
.press-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card {
  border-radius: 26px;
  overflow: hidden;
}

.product-media {
  aspect-ratio: 1 / 1;
  background: #fff;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.product-tag {
  margin-bottom: 0;
}

.product-card strong {
  font-size: 1.35rem;
  line-height: 1.05;
}

.price {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-grid,
.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.promo-card,
.finder-card {
  border-radius: 30px;
  overflow: hidden;
}

.quiz-card {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(246, 239, 232, 0.96)),
    var(--surface);
}

.image-card {
  position: relative;
  min-height: 460px;
}

.image-card img {
  height: 100%;
  min-height: 460px;
}

.image-card-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 251, 247, 0.88);
  border: 1px solid rgba(106, 85, 80, 0.16);
  backdrop-filter: blur(10px);
}

.image-card-copy strong {
  display: block;
  font-size: 2rem;
  line-height: 1.02;
  margin-bottom: 18px;
}

.story-copy {
  padding: 18px 0;
  display: grid;
  align-content: center;
  gap: 14px;
}

.story-media img {
  min-height: 520px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.press-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.press-card {
  border-radius: 24px;
  padding: 24px 18px;
  text-align: center;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.finder-shell {
  display: grid;
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(106, 85, 80, 0.14);
  background:
    radial-gradient(circle at top right, rgba(234, 217, 204, 0.44), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(245, 238, 231, 0.94));
  box-shadow: var(--shadow);
}

.finder-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.finder-card {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.finder-card h4 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.02;
}

.closing {
  padding: 72px 0 82px;
  text-align: center;
}

.closing p {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.closing span {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

footer {
  padding: 0 0 64px;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(106, 85, 80, 0.12);
  padding-top: 28px;
}

.footer-grid h5 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-grid p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
}

#chat-root {
  position: relative;
  z-index: 2;
}

@media (max-width: 1120px) {
  .nav {
    min-height: 74px;
  }

  .nav-links,
  .nav-actions {
    gap: 12px;
    font-size: 10px;
  }

  .hero,
  .product-grid,
  .promo-grid,
  .story-grid,
  .finder-actions,
  .press-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .announcement {
    font-size: 9px;
    padding: 10px 14px;
  }

  .nav {
    width: min(calc(100% - 20px), var(--max));
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section,
  footer {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero,
  .product-grid,
  .promo-grid,
  .story-grid,
  .finder-actions,
  .press-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
    gap: 22px;
  }

  .hero-image,
  .story-media img,
  .image-card img {
    min-height: 360px;
  }

  .hero-note,
  .image-card-copy {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .image-card {
    min-height: auto;
  }

  .finder-shell {
    padding: 24px;
  }
}
