:root {
  --paper: #f7efe1;
  --cream: #fffaf0;
  --ink: #27221b;
  --muted: #6e6254;
  --sage: #7d9271;
  --moss: #40533f;
  --clay: #b56f4e;
  --amber: #d59d52;
  --charcoal: #1e211b;
  --line: rgba(39, 34, 27, 0.14);
  --shadow: 0 28px 70px rgba(63, 48, 33, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(213, 157, 82, 0.22), transparent 24rem),
    radial-gradient(circle at 92% 8%, rgba(125, 146, 113, 0.2), transparent 26rem),
    linear-gradient(135deg, #f3e1c5 0%, var(--paper) 42%, #f8f3e9 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(39, 34, 27, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 34, 27, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 16px 42px rgba(53, 41, 28, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.trust-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: block;
  overflow: hidden;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(64, 83, 63, 0.18);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 8px 18px rgba(53, 41, 28, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(39, 34, 27, 0.05);
}

.main-nav a,
.nav-cta {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.main-nav a:hover,
.nav-cta:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.nav-cta {
  justify-self: end;
  color: var(--cream);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  width: min(1220px, calc(100% - 32px));
  min-height: calc(100svh - 88px);
  margin: 0 auto;
  padding: 56px 0 34px;
}

.hero-copy {
  animation: rise 700ms ease both;
}

.hero-logo-lockup {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(64, 83, 63, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 16px 38px rgba(53, 41, 28, 0.11);
  backdrop-filter: blur(14px);
}

.hero-logo-lockup img {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(39, 34, 27, 0.1);
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}

.hero-logo-lockup span {
  color: var(--moss);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.95;
}

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 8.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--cream);
  background: var(--moss);
  box-shadow: 0 18px 36px rgba(64, 83, 63, 0.28);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 250, 240, 0.72);
}

.button.full {
  width: 100%;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.trust-row div {
  min-width: 128px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.64);
}

.trust-row dt {
  font-weight: 900;
}

.trust-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-media {
  position: relative;
  isolation: isolate;
  animation: reveal 900ms 120ms ease both;
}

.hero-media::before {
  position: absolute;
  inset: 6% -4% -5% 10%;
  z-index: -1;
  content: "";
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(125, 146, 113, 0.5), rgba(213, 157, 82, 0.35));
  transform: rotate(3deg);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.02 / 1;
  object-fit: cover;
  border: 10px solid rgba(255, 250, 240, 0.85);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.intro-band,
.section,
.split-section,
.order-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-band {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}

.intro-band span {
  max-width: 420px;
  color: var(--muted);
  font-weight: 700;
}

.section,
.split-section,
.order-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.product-card,
.note-card,
.order-card,
.feature-grid article {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(63, 48, 33, 0.1);
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 24px;
  background: var(--cream);
}

.product-card::after {
  position: absolute;
  right: -40px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  opacity: 0.12;
}

.product-card.sage {
  color: var(--sage);
}

.product-card.clay {
  color: var(--clay);
}

.product-card.ivory {
  color: var(--amber);
}

.product-card h3,
.product-card p,
.product-tag {
  position: relative;
  z-index: 1;
}

.product-card h3 {
  color: var(--ink);
}

.product-card p {
  color: var(--muted);
}

.product-tag {
  display: inline-flex;
  margin-bottom: 34px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.candle-visual {
  position: relative;
  width: 132px;
  height: 158px;
  margin: 0 auto 34px;
  border-radius: 28px 28px 18px 18px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.04)),
    currentColor;
  box-shadow: inset 0 -18px 30px rgba(39, 34, 27, 0.12), 0 22px 34px rgba(39, 34, 27, 0.14);
}

.candle-visual::before {
  position: absolute;
  top: -26px;
  left: 50%;
  width: 18px;
  height: 30px;
  content: "";
  border-radius: 50% 50% 50% 8%;
  background: #f2a33e;
  box-shadow: 0 0 28px rgba(242, 163, 62, 0.62);
  transform: translateX(-50%) rotate(8deg);
}

.candle-visual span {
  position: absolute;
  inset: 18px 20px auto;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.68);
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.ritual-panel,
.note-card,
.order-card {
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 250, 240, 0.76);
}

.ritual-panel {
  border-left: 8px solid var(--sage);
}

.ritual-panel p {
  max-width: 700px;
  color: var(--muted);
}

.ritual-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.ritual-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.ritual-list span {
  color: var(--clay);
  font-weight: 900;
}

.note-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
  color: var(--cream);
  background:
    linear-gradient(rgba(30, 33, 27, 0.18), rgba(30, 33, 27, 0.84)),
    linear-gradient(145deg, var(--sage), var(--clay));
}

.seal {
  align-self: flex-start;
  margin-bottom: auto;
  border: 1px solid rgba(255, 250, 240, 0.5);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-card p {
  color: rgba(255, 250, 240, 0.8);
}

.dark-section {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(64, 83, 63, 0.96), rgba(30, 33, 27, 0.98)),
    linear-gradient(90deg, var(--moss), var(--charcoal));
}

.dark-section .eyebrow {
  color: #f1c27d;
}

.dark-section .feature-grid article {
  padding: 24px;
  background: rgba(255, 250, 240, 0.08);
  box-shadow: none;
}

.feature-grid p {
  color: rgba(255, 250, 240, 0.72);
}

.order-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 32px;
  align-items: center;
}

.order-section p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.order-card {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fffdf6;
  font: inherit;
  font-weight: 700;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer a {
  color: var(--moss);
  font-weight: 900;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 22px;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .split-section,
  .order-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    max-height: 520px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.7rem, 18vw, 6.8rem);
  }

  .intro-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .intro-band,
  .section,
  .split-section,
  .order-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-row div {
    flex: 1 1 100%;
  }

  .hero-media::before {
    border-radius: 22px;
  }

  .hero-media img {
    border-width: 7px;
    border-radius: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
