:root {
  --bg: #fcfbf8;
  --panel: rgba(255, 255, 255, 0.92);
  --text: #111111;
  --muted: #4e4e4e;
  --line: #e9e6e1;
  --accent: #faced3;
  --accent-deep: #d78f95;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --content-width: min(1220px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(252, 251, 248, 0.22), rgba(252, 251, 248, 0.8) 26%, var(--bg) 42%),
    url("img/header-body-bg-1.jpg") top center / 100% auto no-repeat,
    var(--bg);
  font-family: "Crimson Text", serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-shell { position: relative; min-height: 100vh; }

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(252, 251, 248, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-bar, .section, .site-footer {
  width: var(--content-width);
  margin: 0 auto;
}

.header-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(120px, 160px) minmax(0, 0.95fr);
  align-items: center;
  gap: 20px;
  min-height: 96px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.menu-toggle, .mobile-menu { display: none; }

.nav-label,
.header-note,
.footer-heading,
.footer-backtop,
.footer-bottom p {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-label {
  color: var(--accent-deep);
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-list a:hover, .mobile-menu a:hover, .text-link:hover, .hero-cta:hover { color: var(--accent-deep); }
.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  width: min(100%, 160px);
}

.header-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.header-tools__meta {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.established {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-note {
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tool-button, .cart-button, .inline-form button, .modal__form button, .cookie-banner button { border: 0; cursor: pointer; }

.tool-button {
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.tool-button:hover, .inline-form button:hover, .modal__form button:hover, .cookie-banner button:hover {
  background: #111;
  color: #fff;
}

.cart-button, .icon-button, .modal__close, .scroll-top {
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #111;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.cart-button { width: 48px; height: 48px; }
.cart-button svg, .social-links svg { width: 20px; height: 20px; fill: currentColor; }

.section { padding: 60px 0; }

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 90px;
}

.eyebrow, .section-kicker, .product-showcase__intro h3, .review-copy h2, .newsletter-card h2,
.custom-programs__lead h2, .essentials-panel h2, .product-showcase__intro h2, .about-copy h3 {
  font-family: "Unica One", cursive;
  line-height: 1;
}

.eyebrow, .section-kicker {
  margin: 0 0 8px;
  font-size: clamp(3rem, 7vw, 5rem);
}

.hero-highlight {
  margin: 0;
  font-family: "Unica One", cursive;
  font-size: clamp(5rem, 12vw, 8.4rem);
  line-height: 0.9;
  color: var(--accent);
}

.hero-title {
  margin: 0;
  font-family: "Unica One", cursive;
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  line-height: 1;
}

.hero-subtitle {
  max-width: 440px;
  margin: 18px 0 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-style: italic;
  text-align: right;
}

.hero-image img { width: min(100%, 460px); margin: 0 auto; }

.hero-cta {
  align-self: center;
  justify-self: start;
  display: grid;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  line-height: 1;
}

.hero-cta span { font-size: 2rem; font-weight: 700; }
.hero-cta strong { font-size: 1.4rem; font-weight: 700; }

.section-grid--about {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.about-visual img { width: min(100%, 520px); margin: 0 auto; }

.about-copy h2 {
  margin: 0;
  font-family: "Unica One", cursive;
  font-size: clamp(2.2rem, 4vw, 5rem);
  color: var(--accent);
}

.swirl { margin: 12px 0 18px; }
.about-copy h3 { margin: 0 0 18px; font-size: 1.9rem; }
.about-copy p { margin: 0 0 14px; font-size: 1.35rem; line-height: 1.4; }

.product-showcase, .essentials-grid, .custom-programs { display: grid; gap: 26px; }

.product-showcase {
  grid-template-columns: minmax(280px, 1fr) minmax(400px, 2fr);
  align-items: center;
}

.product-showcase__intro { text-align: center; }

.product-showcase__intro h2, .custom-programs__lead h2, .essentials-panel h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
}

.product-showcase__intro p, .text-link, .essentials-panel p, .newsletter-card p {
  font-family: "Montserrat", sans-serif;
}

.product-showcase__intro p { margin: 8px 0 28px; font-size: 1rem; color: var(--accent-deep); }
.product-showcase__intro img { max-height: 430px; object-fit: contain; margin: 0 auto; }
.product-showcase__intro h3 { margin: 18px 0 8px; font-size: 3rem; }

.text-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
}

.product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-showcase__grid a, .essentials-products a, .custom-programs a, .review-image {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.product-showcase__grid img, .essentials-products img, .custom-programs img, .review-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.essentials-grid {
  grid-template-columns: minmax(360px, 2fr) minmax(280px, 1fr);
  align-items: stretch;
}

.essentials-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.essentials-panel {
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(252, 251, 248, 0.38), rgba(252, 251, 248, 0.4)),
    url("img/essentials.png") center / cover no-repeat;
  min-height: 100%;
}

.essentials-panel__inner {
  min-height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 40px;
  backdrop-filter: blur(2px);
}

.essentials-panel p {
  max-width: 260px;
  margin: 12px auto 0;
  font-size: 1rem;
  font-weight: 700;
}

.custom-programs {
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr) minmax(280px, 1fr);
  padding: 40px;
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("img/assortments-bg.jpg") center / cover no-repeat;
}

.custom-programs__lead {
  display: grid;
  align-content: start;
  gap: 24px;
  text-align: center;
}

.custom-programs__lead img { margin-top: 36px; }
.custom-programs__stack { display: grid; gap: 16px; }

.reviews {
  margin-bottom: 70px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
}

.review-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: center;
}

.review-copy h2, .newsletter-card h2 {
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.review-copy p {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.35;
  font-style: italic;
}

.review-copy span { font-style: normal; }

.newsletter-card {
  max-width: 640px;
  margin: 70px auto 0;
  text-align: center;
}

.newsletter-card p {
  margin: 0 0 24px;
  color: var(--accent-deep);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.inline-form, .modal__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.inline-form input, .modal__form input {
  min-width: min(100%, 320px);
  padding: 16px 18px;
  border: 1px solid #d9d3cb;
  border-radius: 12px;
  background: #fff;
  font-family: "Montserrat", sans-serif;
}

.inline-form button, .modal__form button, .cookie-banner button {
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--accent);
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.site-footer {
  padding: 32px 0 130px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
  gap: 48px;
  align-items: start;
  padding: 40px 0 30px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  width: 170px;
  margin: 0 0 18px;
}

.footer-tagline,
.footer-meta {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--muted);
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
}

.footer-links,
.footer-connect {
  display: grid;
  gap: 12px;
}

.footer-heading {
  margin: 0 0 6px;
  color: var(--accent-deep);
}

.footer-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-backtop:hover {
  color: var(--accent-deep);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-backtop {
  color: var(--accent-deep);
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(720px, calc(100vw - 32px));
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.94);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.cookie-banner p { margin: 0; font-size: 1rem; line-height: 1.3; }

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 110px;
  z-index: 19;
  width: 48px;
  height: 48px;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer, .modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.cart-drawer {
  inset: 0 0 0 auto;
  width: min(390px, calc(100vw - 20px));
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-drawer__header h2, .modal__card h2 {
  margin: 0;
  font-family: "Unica One", cursive;
  font-size: 2rem;
}

.icon-button {
  border: 0;
  padding: 10px 14px;
  font-family: "Montserrat", sans-serif;
  text-transform: lowercase;
}

.cart-drawer__body { margin-top: 28px; font-size: 1.2rem; }

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.4);
}

.modal {
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.46);
}

.modal__card {
  position: relative;
  width: min(100%, 420px);
  padding: 36px 30px 30px;
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    url("img/essentials.png") center / cover no-repeat;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.modal__logo { width: 128px; margin: 0 auto 16px; }

.modal__card p {
  margin: 14px 0 24px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  font-size: 1.5rem;
}

.form-message {
  margin: 18px 0 0;
  font-family: "Montserrat", sans-serif;
  color: var(--accent-deep);
}

.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;
}

@media (max-width: 1080px) {
  .header-bar { grid-template-columns: auto 1fr auto; }
  .nav-label,
  .header-tools__meta { display: none; }
  .nav-list { display: none; }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: #111;
  }

  .mobile-menu {
    display: grid;
    gap: 14px;
    width: var(--content-width);
    margin: 0 auto 18px;
    padding-bottom: 16px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .hero, .section-grid--about, .product-showcase, .essentials-grid, .custom-programs, .review-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    text-align: center;
    padding-top: 50px;
  }

  .hero-subtitle, .hero-cta {
    justify-self: center;
    text-align: center;
  }

  .established { display: none; }
}

@media (max-width: 720px) {
  body { background-size: auto 520px, auto, auto; }
  .header-bar { min-height: 76px; }
  .logo img { width: 150px; }
  .header-actions {
    gap: 8px;
    padding: 6px;
    background: transparent;
    border: 0;
  }
  .tool-button { padding: 10px 14px; font-size: 12px; }
  .cart-button { width: 42px; height: 42px; }
  .section { padding: 42px 0; }
  .product-showcase__grid, .essentials-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-programs, .reviews { padding: 20px; }
  .site-footer { padding-top: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .scroll-top { bottom: 126px; }
}
