@font-face {
  font-family: "Allura Local";
  src: url("/static/fonts/allura.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Barlow Local";
  src: url("/static/fonts/barlow-regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Barlow Local";
  src: url("/static/fonts/barlow-medium.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: "Poppins Local";
  src: url("/static/fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
}

:root {
  color-scheme: light;
  --ink: #191816;
  --muted: #62685f;
  --paper: #fbfaf7;
  --porcelain: #fffefd;
  --mist: #e6ece8;
  --mineral: #dbe9eb;
  --moss: #586f5d;
  --ember: #a65e4b;
  --charcoal: #292720;
  --line: #d9d7cf;
  --soft-line: rgba(25, 24, 22, 0.12);
  --canvas: 1180px;
  font-family: "Poppins Local", "Barlow Local", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(219, 233, 235, 0.38), transparent 34%),
    linear-gradient(180deg, var(--porcelain) 0%, var(--paper) 46%, #f3f5ef 100%);
  font-family: "Poppins Local", "Barlow Local", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(25, 24, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 24, 22, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 78%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
p,
li,
dd,
dt,
label,
input,
textarea,
button {
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Barlow Local", "Poppins Local", sans-serif;
  font-weight: 500;
}

h1 {
  font-size: 64px;
  line-height: 1.02;
}

h2 {
  font-size: 44px;
  line-height: 1.12;
}

h3 {
  font-size: 24px;
  line-height: 1.25;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--porcelain);
  background: var(--charcoal);
}

.skip-link:focus {
  top: 16px;
}

.section-inner,
.header-inner,
.footer-inner {
  width: min(var(--canvas), calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(25, 24, 22, 0.08);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  width: 228px;
  display: block;
}

.brand img {
  width: 228px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--charcoal);
  font-size: 14px;
}

nav a:hover,
nav a:focus-visible,
.product-title-link:hover,
.site-footer a:hover,
.contact-channel a:hover {
  color: var(--ember);
}

.eyebrow {
  color: var(--moss);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--charcoal);
  border-radius: 4px;
  color: var(--porcelain);
  background: var(--charcoal);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--ember);
  background: var(--ember);
  transform: translateY(-1px);
}

.button-quiet {
  color: var(--charcoal);
  background: transparent;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  color: var(--porcelain);
}

.home-hero {
  padding: 86px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--soft-line);
  background: var(--soft-line);
}

.hero-proof div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 254, 253, 0.72);
}

.hero-proof span,
.product-number,
.product-card-body span {
  color: var(--moss);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-proof strong {
  color: var(--charcoal);
  font-family: "Barlow Local", "Poppins Local", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-visual,
.editorial-grid figure,
.about-hero figure,
.about-story-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-visual img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 254, 253, 0.42);
  border-radius: 4px;
  color: var(--porcelain);
  background: rgba(25, 24, 22, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.editorial-section,
.benefit-section,
.catalog-section,
.about-story,
.contact-section,
.legal-page {
  padding: 96px 0;
}

.editorial-section {
  background:
    linear-gradient(90deg, rgba(88, 111, 93, 0.12), transparent 52%),
    rgba(230, 236, 232, 0.62);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 74px;
}

.editorial-grid figure {
  width: min(100%, 421px);
  justify-self: center;
}

.editorial-grid figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 421 / 466;
  object-fit: cover;
}

.editorial-grid > div,
.about-story-grid > div,
.contact-copy,
.product-summary {
  display: grid;
  gap: 22px;
}

.editorial-grid p:not(.eyebrow),
.about-hero p:not(.eyebrow),
.about-story-grid p:not(.eyebrow),
.candles-hero p:not(.eyebrow),
.contact-copy p:not(.eyebrow),
.detail-description,
.legal-page p {
  color: var(--muted);
}

.benefit-section {
  background: var(--paper);
}

.benefit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: 72px;
}

.section-heading {
  display: grid;
  align-content: start;
  gap: 14px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.72);
}

.benefit-card span {
  color: var(--ember);
  font-family: "Barlow Local", "Poppins Local", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.benefit-card p {
  color: var(--charcoal);
}

.material-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--soft-line);
  background: var(--soft-line);
}

.material-row {
  min-height: 160px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  background: var(--porcelain);
}

.material-row h3 {
  font-size: 21px;
}

.material-row p {
  color: var(--muted);
  font-size: 14px;
}

.catalog-section {
  background:
    linear-gradient(180deg, var(--porcelain), rgba(219, 233, 235, 0.38));
}

.catalog-section .section-heading {
  max-width: 680px;
  margin-bottom: 38px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.78);
}

.product-image {
  display: block;
  background: var(--mist);
}

.product-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.product-title-link {
  color: var(--ink);
  font-family: "Barlow Local", "Poppins Local", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
}

.product-card-body p:not(.product-number) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.about-page,
.candles-page,
.product-detail {
  padding: 90px 0 96px;
}

.about-hero,
.about-story-grid,
.product-detail-grid,
.contact-grid {
  display: grid;
  gap: 70px;
}

.about-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
}

.about-hero > div {
  display: grid;
  gap: 22px;
}

.about-hero figure img,
.about-story-grid figure img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.about-story {
  background: rgba(230, 236, 232, 0.55);
}

.about-story-grid {
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
  align-items: center;
}

.about-story-grid h3 {
  color: var(--ember);
}

.candles-page {
  background:
    linear-gradient(90deg, rgba(166, 94, 75, 0.12), transparent 45%),
    var(--paper);
}

.candles-hero {
  max-width: 760px;
}

.candles-hero > div {
  display: grid;
  gap: 18px;
}

.product-detail-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 8px;
}

.detail-secondary {
  margin-top: 56px;
}

.price {
  color: var(--ember);
  font-family: "Barlow Local", "Poppins Local", sans-serif;
  font-size: 22px;
  font-weight: 500;
}

.product-specs {
  display: grid;
  gap: 1px;
  border: 1px solid var(--soft-line);
  background: var(--soft-line);
}

.product-specs div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: rgba(255, 254, 253, 0.78);
}

.product-specs dt,
.product-specs dd {
  margin: 0;
}

.product-specs dt,
.fragrance h3 {
  color: var(--moss);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
}

.fragrance {
  display: grid;
  gap: 10px;
}

.fragrance ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(88, 111, 93, 0.12), transparent 42%),
    var(--porcelain);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  align-items: start;
}

.contact-copy h1 {
  font-size: 54px;
}

.contact-channel {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 20px 0 0;
  border-top: 1px solid var(--soft-line);
}

.contact-channel span {
  color: var(--moss);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-channel a {
  color: var(--charcoal);
  font-family: "Barlow Local", "Poppins Local", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.86);
}

.contact-form h2 {
  font-size: 34px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--porcelain);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(88, 111, 93, 0.14);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-block {
  display: grid;
  gap: 8px;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(210px, 278px) minmax(120px, 1fr);
  align-items: center;
  gap: 12px;
}

.captcha-image {
  width: 100%;
  max-width: 278px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--mist);
}

#captcha-help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.form-alert {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.form-alert.is-error {
  border-color: #b45c45;
  color: #7c2f1d;
  background: #fff4f0;
}

.form-alert.is-success {
  border-color: #76956d;
  color: #2f5a31;
  background: #f3f9ef;
}

.legal-page .narrow {
  max-width: 920px;
}

.legal-page h1 {
  margin-bottom: 28px;
}

.legal-page h2 {
  margin: 34px 0 12px;
  font-size: 26px;
}

.legal-page p {
  margin-bottom: 14px;
}

.site-footer {
  padding: 44px 0 34px;
  border-top: 1px solid var(--soft-line);
  background: rgba(251, 250, 247, 0.92);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-brand img {
  width: 190px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.site-footer p {
  color: var(--muted);
  font-size: 12px;
}

.site-footer ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--charcoal);
  font-size: 14px;
}

.site-footer p {
  grid-column: 1 / -1;
  text-align: center;
}

.footer-brand-line {
  margin-top: -14px;
  color: var(--moss);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .editorial-grid,
  .benefit-layout,
  .product-card,
  .contact-grid {
    animation: fade-up 620ms ease both;
  }

  .hero-visual,
  .benefit-layout,
  .contact-grid {
    animation-delay: 90ms;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  body {
    font-size: 15px;
  }

  h1,
  .contact-copy h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .section-inner,
  .header-inner,
  .footer-inner {
    width: calc(100vw - 32px);
  }

  .header-inner {
    min-height: auto;
    display: grid;
    gap: 12px;
    padding: 16px 0;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  nav a {
    padding-left: 0;
  }

  .hero-grid,
  .editorial-grid,
  .benefit-layout,
  .about-hero,
  .about-story-grid,
  .product-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-hero,
  .editorial-section,
  .benefit-section,
  .catalog-section,
  .about-page,
  .about-story,
  .candles-page,
  .product-detail,
  .contact-section,
  .legal-page {
    padding: 58px 0;
  }

  .hero-visual,
  .hero-visual img,
  .editorial-grid figure img,
  .about-hero figure img,
  .about-story-grid figure img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-proof,
  .product-grid,
  .benefit-grid,
  .material-list,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .material-list {
    grid-column: auto;
  }

  .product-image img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .detail-image,
  .detail-secondary {
    height: auto;
    margin-top: 0;
    aspect-ratio: 1 / 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer ul {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  h1,
  .contact-copy h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .brand,
  .brand img {
    width: 190px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .contact-form {
    padding: 22px;
  }

  .captcha-row,
  .product-specs div {
    grid-template-columns: 1fr;
  }
}