:root {
  --ink: #252820;
  --sage: #59624f;
  --sage-deep: #3f493b;
  --paper: #f6f1e7;
  --stone: #ebe4d6;
  --amber: #a05f28;
  --line: rgba(37, 40, 32, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-bar {
  background: var(--sage-deep);
  color: #fffdf8;
  padding: 9px 24px;
  text-align: center;
}

.demo-bar p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 20px clamp(20px, 5vw, 72px);
}

.wordmark {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  color: var(--sage);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
}

nav a {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 120px));
  overflow: hidden;
  background: #ded2bf;
}

.hero > img {
  width: 100%;
  height: 100%;
  min-height: min(760px, calc(100vh - 120px));
  object-fit: cover;
  object-position: center;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(246, 241, 231, 0.94) 0%,
    rgba(246, 241, 231, 0.62) 34%,
    transparent 62%
  );
  content: "";
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(20px, 8vw, 124px);
  width: min(560px, calc(100% - 40px));
  transform: translateY(-50%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

h1 {
  font-size: clamp(58px, 8vw, 112px);
}

h2 {
  font-size: clamp(44px, 5.5vw, 78px);
}

.lede {
  max-width: 470px;
  margin: 30px 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  background: var(--ink);
  color: white;
  padding: 13px 18px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: var(--sage-deep);
}

.edition {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 30px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto,
.section-heading,
.ingredients,
footer {
  display: grid;
  grid-template-columns: minmax(160px, 0.52fr) 1.48fr;
  gap: clamp(36px, 8vw, 128px);
}

.manifesto {
  padding: clamp(80px, 12vw, 170px) clamp(20px, 8vw, 124px);
}

.manifesto > div > p {
  max-width: 680px;
  margin: 38px 0 0 auto;
  color: #4f5148;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.8;
}

.collection {
  background: #ddd8cc;
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.section-heading {
  align-items: end;
  margin-bottom: 60px;
}

.section-heading > p {
  max-width: 490px;
  margin: 0 0 7px;
  color: #575950;
  line-height: 1.75;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  background: var(--paper);
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
}

.product-visual::after {
  position: absolute;
  right: 13%;
  bottom: 11%;
  left: 13%;
  height: 26px;
  border-radius: 50%;
  background: rgba(37, 40, 32, 0.17);
  filter: blur(10px);
  content: "";
}

.product-visual-oil {
  background: #c8b597;
}

.product-visual-balm {
  background: #929a87;
}

.product-visual-cream {
  background: #d0c9bb;
}

.bottle {
  position: relative;
  z-index: 1;
  display: grid;
  width: 118px;
  height: 205px;
  place-items: center;
  border: 7px solid #72431f;
  border-radius: 20px 20px 12px 12px;
  background: linear-gradient(90deg, #613617, #a9662f 48%, #6b3a18);
  box-shadow:
    inset 14px 0 18px rgba(255, 216, 151, 0.15),
    0 18px 34px rgba(51, 31, 18, 0.2);
}

.bottle::before {
  position: absolute;
  top: -75px;
  width: 62px;
  height: 72px;
  border-radius: 12px 12px 4px 4px;
  background: #25271f;
  content: "";
}

.bottle i {
  display: grid;
  width: 78px;
  height: 82px;
  place-items: center;
  background: #e9e1d3;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 24px;
  font-style: normal;
}

.bottle-jar {
  width: 174px;
  height: 118px;
  border-radius: 20px 20px 28px 28px;
}

.bottle-jar::before {
  top: -31px;
  width: 174px;
  height: 34px;
  border-radius: 9px 9px 2px 2px;
}

.bottle-pump {
  width: 118px;
  height: 224px;
}

.bottle-pump::before {
  top: -61px;
  width: 42px;
  height: 62px;
  border-radius: 5px 5px 0 0;
}

.product-copy {
  min-height: 255px;
  border-top: 1px solid var(--line);
  padding: 28px;
}

.product-copy > p:first-child,
.product-copy > span,
.notes-grid span {
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-copy h3,
.notes-grid h3 {
  margin: 15px 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.05;
}

.product-note {
  min-height: 64px;
  color: #5d5f56;
  font-size: 13px;
  line-height: 1.6;
}

.ritual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
  background: var(--sage-deep);
  color: white;
}

.ritual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ritual-copy {
  align-self: center;
  padding: clamp(56px, 9vw, 130px);
}

.ritual-copy .section-kicker {
  color: #d9d9c5;
}

.ritual-copy ol {
  margin: 52px 0 32px;
  padding: 0;
  list-style: none;
}

.ritual-copy li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 20px 0;
}

.ritual-copy li > span {
  font-family: var(--serif);
  font-size: 22px;
}

.ritual-copy li p {
  margin: 4px 0 0;
}

.fine-print {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.65;
}

.ingredients {
  align-items: center;
  padding: clamp(80px, 12vw, 170px) clamp(20px, 8vw, 124px);
}

.ingredients > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ingredients-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 30px 0 40px;
  color: #55574f;
  font-size: 17px;
  line-height: 1.75;
}

.ingredients dl {
  margin: 0;
}

.ingredients dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.ingredients dt {
  font-family: var(--serif);
  font-size: 19px;
}

.ingredients dd {
  margin: 0;
  color: #5d5f56;
  font-size: 13px;
}

.brand-notes {
  background: var(--ink);
  color: white;
  padding: clamp(72px, 10vw, 140px) clamp(20px, 8vw, 124px);
}

.brand-notes .section-kicker,
.notes-grid span {
  color: #c6cbbf;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  background: rgba(255, 255, 255, 0.2);
}

.notes-grid article {
  min-height: 240px;
  background: var(--ink);
  padding: 28px 28px 42px;
}

.notes-grid p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

footer {
  align-items: start;
  background: var(--stone);
  padding: 60px clamp(20px, 5vw, 72px);
}

footer > div {
  max-width: 650px;
}

footer p {
  margin: 0 0 13px;
  font-size: 13px;
  line-height: 1.7;
}

footer a:not(.wordmark) {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copyright {
  justify-self: end;
  color: #65675e;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .hero,
  .hero > img {
    min-height: 690px;
  }

  .hero > img {
    object-position: 63% center;
  }

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

  .product-card-featured {
    grid-column: 1 / -1;
  }

  .ritual {
    grid-template-columns: 1fr;
  }

  .ritual-image {
    max-height: 720px;
  }

  .manifesto,
  .section-heading,
  .ingredients,
  footer {
    grid-template-columns: 1fr;
  }

  .manifesto > div > p {
    margin-left: 0;
  }

  .ingredients > img {
    grid-row: 1;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .demo-bar {
    padding-inline: 14px;
  }

  .site-header {
    min-height: 76px;
  }

  nav {
    display: none;
  }

  .hero,
  .hero > img {
    min-height: 650px;
  }

  .hero > img {
    object-position: 70% center;
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(246, 241, 231, 0.94),
      rgba(246, 241, 231, 0.56) 74%,
      rgba(246, 241, 231, 0.12)
    );
  }

  .hero-copy {
    left: 20px;
  }

  .edition {
    right: 18px;
    bottom: 18px;
  }

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

  .product-card-featured {
    grid-column: auto;
  }

  .product-visual {
    min-height: 330px;
  }

  .ritual-copy {
    padding-inline: 20px;
  }

  .ingredients dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
