:root {
  --cream: #fffaf3;
  --beige: #f5e9da;
  --beige-deep: #ead7c1;
  --brown: #8b5e3c;
  --brown-dark: #3d2c22;
  --ink: #26211c;
  --muted: #7b6f64;
  --clay: #b97c5d;
  --olive: #73785f;
  --white-soft: #fffdf8;
  --line: rgba(61, 44, 34, 0.14);
  --shadow: 0 26px 80px rgba(61, 44, 34, 0.12);
  --max-width: 1160px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 16%, rgba(245, 233, 218, 0.92), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(185, 124, 93, 0.09), transparent 24%),
    var(--cream);
  animation: ambientGlow 12s ease-in-out infinite alternate;
}

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

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

.section-shell {
  width: min(var(--max-width), calc(100% - 34px));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 max(18px, calc((100vw - var(--max-width)) / 2));
  background: rgba(255, 250, 243, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: headerDrop 650ms ease both;
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  width: 118px;
  height: auto;
  mix-blend-mode: multiply;
  transition: transform 220ms ease;
}

.brand-mark:hover .brand-logo {
  transform: translateY(-1px) scale(1.02);
}

.footer-logo {
  width: 138px;
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: none;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  color: var(--brown-dark);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 1px;
  background: var(--brown-dark);
  transition: transform 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-open .site-nav {
  position: absolute;
  inset: 74px 16px auto;
  display: grid;
  gap: 2px;
  padding: 12px;
  background: var(--white-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-open .site-nav a {
  padding: 14px 12px;
}

/* Shared typography */
.eyebrow {
  margin: 0 0 14px;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--brown-dark);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 15px;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.primary-button {
  background: var(--brown-dark);
  color: var(--cream);
}

.primary-button:hover {
  background: var(--brown);
}

.secondary-button {
  color: var(--brown-dark);
  border-color: rgba(61, 44, 34, 0.25);
  background: transparent;
}

.secondary-button:hover {
  border-color: var(--brown);
  background: rgba(255, 250, 243, 0.64);
}

/* Hero section */
.hero {
  display: grid;
  gap: 38px;
  padding: 58px 0 72px;
}

.hero-copy {
  align-self: center;
  animation: heroTextRise 850ms 120ms ease both;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.hero-media {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow);
  animation: heroImageRise 950ms 220ms ease both;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transform: scale(1.01);
  animation: heroBreath 9s ease-in-out infinite alternate;
}

.hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 270px;
  padding: 15px 17px;
  background: rgba(255, 250, 243, 0.84);
  color: var(--brown-dark);
  font-size: 0.92rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Feeling section */
.feeling {
  background: var(--beige);
}

.feeling-inner {
  display: grid;
  min-height: 470px;
  place-items: center;
  padding: 86px 0;
  text-align: center;
}

.feeling-inner p {
  margin: 0;
  color: var(--brown-dark);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  line-height: 1.16;
}

.feeling-inner p:nth-of-type(even) {
  color: var(--brown);
}

/* Collection section */
.collection {
  padding: 88px 0 98px;
}

.collection-intro {
  max-width: 640px;
  margin: -20px 0 32px;
  color: var(--muted);
  font-size: 1.12rem;
}

.collection-intro p {
  margin-bottom: 0;
}

.collection-gallery {
  display: grid;
  gap: 16px;
  max-width: 960px;
}

.collection-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--beige);
}

.collection-photo img {
  width: 100%;
  height: clamp(280px, 70vw, 390px);
  object-fit: cover;
  transition: transform 700ms ease;
}

.collection-photo:hover img {
  transform: scale(1.04);
}

.collection-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(255, 250, 243, 0.82);
  color: var(--brown-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.collection-list {
  display: grid;
  gap: 64px;
}

.product-feature {
  display: grid;
  gap: 24px;
  align-items: center;
}

.product-image {
  overflow: hidden;
  background: var(--beige);
  width: min(100%, 460px);
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  transition: transform 700ms ease;
}

.product-image-contain {
  background: #fff;
}

.product-image-contain img {
  object-fit: contain;
  padding: 12px;
}

.product-feature:hover .product-image img {
  transform: scale(1.035);
}

.product-copy {
  max-width: 560px;
}

.product-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.product-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

.product-copy small {
  color: var(--brown);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Story section */
.story {
  background: var(--brown-dark);
  color: rgba(255, 250, 243, 0.72);
}

.story-inner {
  padding: 92px 0;
}

.story .eyebrow,
.story h2 {
  color: var(--beige);
}

.story-grid {
  display: grid;
  gap: 32px;
}

.story-text {
  display: grid;
  gap: 18px;
  max-width: 650px;
}

.story-text p {
  margin-bottom: 0;
  font-size: 1.14rem;
}

/* Where to buy section */
.locations {
  padding: 90px 0;
}

.store-grid {
  display: grid;
  gap: 14px;
}

.store-card {
  position: relative;
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  color: var(--brown-dark);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 94, 60, 0.34);
  background: var(--white-soft);
  box-shadow: 0 18px 46px rgba(61, 44, 34, 0.08);
}

.motion-section,
.motion-item,
.collection-photo,
.store-card,
.contact-list a {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.motion-section.is-visible,
.motion-item.is-visible,
.collection-photo.is-visible,
.store-card.is-visible,
.contact-list a.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.collection-photo:nth-child(2),
.store-card:nth-child(2),
.contact-list a:nth-child(2) {
  transition-delay: 80ms;
}

.collection-photo:nth-child(3),
.store-card:nth-child(3),
.contact-list a:nth-child(3) {
  transition-delay: 150ms;
}

.collection-photo:nth-child(4),
.store-card:nth-child(4) {
  transition-delay: 220ms;
}

.store-logo-wrap {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(61, 44, 34, 0.08);
}

.store-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.store-logo-wide {
  width: 144px;
}

.store-logo-wide img {
  padding: 8px;
}

.store-card h3 {
  max-width: 310px;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.store-card p {
  max-width: 390px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.04rem;
}

.store-card small {
  color: var(--brown);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroTextRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroBreath {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.045);
  }
}

@keyframes ambientGlow {
  from {
    opacity: 0.65;
  }

  to {
    opacity: 1;
  }
}

/* Contact section */
.contact {
  padding: 0 0 96px;
}

.contact-list {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.contact-list a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--white-soft);
  border: 1px solid var(--line);
  color: var(--brown-dark);
  font-size: 1.08rem;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.contact-list a:hover {
  border-color: rgba(115, 120, 95, 0.56);
  background: #fffaf0;
  transform: translateX(4px);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 34px 16px;
  background: var(--beige);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer .footer-brand {
  color: var(--brown-dark);
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

@media (min-width: 720px) {
  .collection-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-photo-wide {
    grid-column: span 2;
  }

  .collection-photo-wide img {
    height: clamp(300px, 34vw, 390px);
  }

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

  .contact-list a {
    display: grid;
    min-height: 146px;
    align-content: space-between;
  }

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

@media (min-width: 940px) {
  .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.78fr);
    min-height: calc(100vh - 74px);
    padding: 70px 0 86px;
  }

  .product-feature {
    grid-template-columns: minmax(280px, 460px) minmax(360px, 0.62fr);
    gap: clamp(38px, 6vw, 82px);
  }

  .product-feature.reverse {
    grid-template-columns: minmax(360px, 0.62fr) minmax(280px, 460px);
  }

  .product-feature.reverse .product-image {
    order: 2;
  }

  .product-feature.reverse .product-copy {
    order: 1;
    justify-self: end;
  }

  .story-grid {
    grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 0.9fr);
    gap: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-section,
  .motion-item,
  .collection-photo,
  .store-card,
  .contact-list a {
    opacity: 1 !important;
    transform: none !important;
  }
}
