/* Four Butter / Brand study 01 — shared storefront identity */
:root {
  --cream: #f6f1e8;
  --cream-2: #eee6d9;
  --white: #faf7f1;
  --butter: #e4c588;
  --butter-2: #ecd6ab;
  --butter-deep: #9a7133;
  --shea: #b48c6f;
  --sage: #959e87;
  --cocoa: #241e19;
  --ink: #241e19;
  --ink-2: #393029;
  --muted: #6c6258;
  --muted-2: #72685c;
  --line: rgba(36, 30, 25, 0.16);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "DM Mono", monospace;
  --radius: 2px;
  --radius-sm: 2px;
  --nav-h: 100px;
  --wrap: min(1320px, calc(100% - 96px));
}
body::after {
  opacity: 0.018;
}
h1,
h2,
h3,
.logo-word {
  font-weight: 400 !important;
}
em {
  font-weight: 400;
}
a,
button,
input {
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid #8c642e;
  outline-offset: 5px;
}
section[id], #butterFinder {
  scroll-margin-top: 115px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10000;
  background: var(--ink);
  color: var(--cream);
  padding: 14px;
}
.skip-link:focus {
  top: 12px;
}
.btn {
  border-radius: 2px;
  height: 52px;
  padding: 0 26px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.btn span {
  margin-left: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.19em;
}
.ticker {
  height: 30px;
  background: var(--butter);
  color: var(--ink);
}
.ticker-track {
  font-size: 9px;
}
.nav,
.nav.scrolled {
  background: rgba(246, 241, 232, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.nav {
  z-index: 75;
}
.nav-links {
  gap: 24px;
}
.nav-links a {
  font-size: 12px;
}
.logo-word {
  font-size: 34px;
  letter-spacing: -0.065em;
}
.logo-dots {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 2px;
  transform: none;
}
.logo-dots i {
  width: 10px;
  height: 10px;
  background: var(--butter);
  opacity: 1 !important;
  border-radius: 70% 80% 12% 80%;
}
.logo-dots i:nth-child(2) {
  transform: rotate(90deg);
}
.logo-dots i:nth-child(3) {
  transform: rotate(-90deg);
}
.logo-dots i:nth-child(4) {
  transform: rotate(180deg);
}
.nav-quiz {
  background: none;
  color: var(--ink);
  height: auto;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 11px;
}
.nav-cart {
  font-size: 12px;
}
.cart-count {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  width: 24px;
  height: 24px;
}
.brand-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 650px;
  border-bottom: 1px solid var(--line);
}
.brand-hero-copy {
  padding: 80px 38px 68px max(48px, calc((100vw - 1320px) / 2));
  align-self: center;
}
.brand-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(55px, 5.45vw, 84px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 26px 0;
}
.brand-hero h1 em {
  color: #8d7050;
}
.brand-hero-copy > p {
  font-size: 14px;
  line-height: 1.85;
  max-width: 37ch;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-fineprint {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin-top: 25px;
}
.hero-fineprint span {
  padding: 0 10px;
}
.brand-hero-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #cbb293;
}
.brand-hero-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% center;
  position: absolute;
  inset: 0;
}
html.motion-ready .brand-hero-image > img {
  animation: hero-drift 10s ease-in-out infinite alternate;
}
html.motion-ready .brand-hero-image::after {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 245, 224, 0.13) 48%, transparent 62%);
  animation: hero-light 9s ease-in-out infinite;
}
@keyframes hero-drift {
  from { transform: scale(1.025) translateY(0); }
  to { transform: scale(1.105) translateY(-1.4%); }
}
@keyframes hero-light {
  from, 15% { transform: translateX(-55%); }
  85%, to { transform: translateX(55%); }
}
.brand-hero-image figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #fff9ef;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 5px #241e19;
}
.brand-promise {
  display: flex;
  justify-content: space-evenly;
  gap: 25px;
  padding: 25px 32px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.brand-promise span + span:before {
  content: "✳";
  color: #ac854a;
  margin-right: 24px;
}
.section {
  padding: 95px 0;
}
.section-head {
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(38px, 4.1vw, 60px);
  line-height: 1.05;
  max-width: none;
  margin-top: 15px;
  letter-spacing: -0.04em;
}
.section-head .lead {
  font-size: 14px;
  line-height: 1.8;
}
.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 28px;
  gap: 20px;
}
.collection-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.collection-filters button {
  font-size: 12px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 2px;
}
.collection-filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}
.products {
  gap: 24px;
  row-gap: 42px;
}
.product-card {
  border: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}
.product-card:hover {
  transform: none;
  box-shadow: none;
}
.product-media {
  border-radius: 1px;
  aspect-ratio: 4/5;
  background: #eee6d9 !important;
  overflow: hidden;
  border: 1px solid rgba(36, 30, 25, 0.04);
}
.product-media.tint-cocoa {
  background: #e6d9cf !important;
}
.product-media.tint-mint {
  background: #e0e4d9 !important;
}
.product-media.tint-unscented {
  background: #ece9e0 !important;
}
.product-media.tint-citrus {
  background: #eee5cd !important;
}
.product-media img {
  height: 80%;
  width: 76%;
  object-fit: contain;
  filter: drop-shadow(0 18px 15px #241e1914);
}
.tag {
  border-radius: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  padding: 0;
  top: 18px;
  left: 18px;
}
.product-meta {
  padding: 18px 0 0;
}
.product-meta h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
}
.product-meta p {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 5px;
}
.product-row {
  padding: 13px 0 0;
  border: 0;
}
.price {
  font-family: var(--font-body);
  font-size: 13px;
}
.add-btn {
  height: 33px;
  min-width: 77px;
  border-radius: 0;
  border: 1px solid var(--line-2);
  font-size: 11px;
  background: none;
}
.add-btn:hover {
  background: var(--ink);
  color: var(--cream);
}
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--cream-2);
}
.brand-story-art {
  background: #e4c588;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  min-height: 480px;
}
.brand-flower {
  display: grid;
  grid-template-columns: repeat(2, 105px);
  gap: 9px;
  transform: rotate(-8deg);
}
.brand-flower i {
  height: 105px;
  width: 105px;
  background: var(--cream);
  border-radius: 70% 80% 12% 80%;
}
.brand-flower i:nth-child(2) {
  transform: rotate(90deg);
}
.brand-flower i:nth-child(3) {
  transform: rotate(-90deg);
}
.brand-flower i:nth-child(4) {
  transform: rotate(180deg);
}
.brand-story-copy {
  padding: 75px clamp(32px, 6vw, 100px);
}
.brand-story h2,
.ritual-band h2,
.brand-signoff h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.13;
  margin: 22px 0;
}
.brand-story p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 45ch;
  margin-bottom: 16px;
}
.brand-story .btn-ghost {
  display: inline-block;
  margin-top: 18px;
  font-size: 9px;
}
.ingredient-section {
  padding: 55px 0 70px;
}
.butter-grid {
  gap: 0;
}
.butter-card {
  padding: 10px 25px;
  border-radius: 0;
  background: none;
  border: 0;
  border-right: 1px solid var(--line);
}
.butter-card:first-child {
  padding-left: 0;
}
.butter-card:last-child {
  border: 0;
}
.ingredient-number {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.butter-card h3 {
  font-size: 30px;
  margin: 20px 0 10px;
}
.butter-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.ritual-band {
  width: var(--wrap);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #dfe2d7;
  overflow: hidden;
  padding: 60px 70px;
}
.ritual-band p {
  font-size: 14px;
  max-width: 35ch;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.8;
}
.ritual-product {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ritual-product img {
  max-height: 310px;
  transform: rotate(-9deg);
  filter: drop-shadow(12px 18px 18px #241e1920);
}
.ritual-product .eyebrow {
  margin-top: 20px;
  font-size: 8px;
}
.reviews {
  gap: 28px;
}
.review {
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line-2);
  background: none;
  padding: 25px 0;
  gap: 24px;
}
.review:hover {
  transform: none;
}
.review .stars {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.15em;
}
.review blockquote {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 400;
}
.review footer {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.7;
}
.brand-signoff {
  padding: 72px 24px 80px;
  text-align: center;
  background: var(--cream-2);
  position: relative;
}
.brand-signoff > .logo-dots {
  width: max-content;
  margin: 0 auto 20px;
  grid-template-columns: repeat(2, 18px);
  gap: 3px;
}
.brand-signoff > .logo-dots i {
  width: 18px;
  height: 18px;
}
.brand-signoff h2 {
  font-size: clamp(44px, 5vw, 72px);
  margin: 22px 0 30px;
}
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: 60px;
}
.site-footer .footer-col a,
.site-footer .footer-brand p,
.site-footer .footer-col h4,
.site-footer .footer-bottom {
  color: #d2c7b7;
}
.site-footer .footer-bottom {
  border-color: #ffffff26;
}
.site-footer .footer-brand .logo-word {
  font-size: 36px;
}
.footer-col a {
  font-size: 12px;
  padding: 6px 0;
}
.footer-bottom {
  font-size: 8px;
}
.pdp-hero {
  border-radius: 2px;
  background: #eee6d9;
}
.pdp-thumb {
  border-radius: 2px;
}
.opt {
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
}
.pdp-info h1 {
  line-height: 1.08;
}
.chip {
  border-radius: 2px;
}
.drawer {
  width: min(450px, 100%);
}
.drawer-close {
  border-radius: 2px;
}
.drawer-foot .btn {
  height: 52px;
}
.toast {
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-width: calc(100% - 32px);
  font-size: 10px;
}
.toast.show {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  z-index: 70;
}
.menu-btn {
  min-width: 32px;
  min-height: 36px;
}
.reveal {
  opacity: 1;
  transform: none;
}
html.motion-ready .reveal:not(.in) {
  opacity: 0;
  transform: translateY(28px);
}
.brand-promise { overflow: hidden; display: block; }
.brand-promise-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 36s linear infinite;
}
.brand-promise-track span { padding: 0 24px; white-space: nowrap; }
.brand-promise:hover .brand-promise-track { animation-play-state: paused; }
.ritual-product img { animation: float 7s ease-in-out infinite; }
.brand-flower { animation: brand-sway 14s ease-in-out infinite; }
@keyframes brand-sway {
  0%, 100% { transform: rotate(-8deg) scale(.97); }
  50% { transform: rotate(8deg) scale(1.03); }
}
.butter-finder { display: grid; align-content: center; gap: 18px; }
.butter-finder label { font-size: 18px; }
.butter-finder select { width: 100%; padding: 15px; background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; font: inherit; }
.quiz .quiz-stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; }
.format-card, .mineral-card, .drop-card, .quiz, .newsletter { border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-ready) .reveal:not(.in) { opacity: 1; transform: none; }
}
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-toggle { color: var(--ink); background: transparent; border: 1px solid var(--line); padding: 8px 10px; font: inherit; font-size: 10px; white-space: nowrap; cursor: pointer; }
.motion-toggle:hover { background: var(--butter); }
.motion-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 600px) {
  .motion-toggle { width: 32px; height: 32px; padding: 0; font-size: 0; }
  .motion-toggle::before { content: "Ⅱ"; font-size: 14px; }
  .motion-paused .motion-toggle::before { content: "▶"; font-size: 12px; }
}
.checkout-card {
  border-radius: 2px !important;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.product-empty {
  grid-column: 1/-1;
  padding: 50px 0;
  color: var(--muted);
}
@media (min-width: 861px) and (max-width: 1120px) {
  .nav-quiz {
    display: none;
  }
  .nav-links {
    gap: 15px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .brand-hero-copy {
    padding-left: 35px;
  }
  .brand-hero {
    min-height: 570px;
  }
  .brand-hero h1 {
    font-size: 65px;
  }
}
@media (max-width: 860px) {
  :root {
    --wrap: calc(100% - 40px);
    --nav-h: 80px;
  }
  .nav-inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .logo-word {
    font-size: 29px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    justify-self: end;
  }
  .brand-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .brand-hero-copy {
    padding: 50px 26px 44px;
    text-align: center;
  }
  .brand-hero h1 {
    font-size: 64px;
    margin: 20px 0;
  }
  .brand-hero-copy > p {
    margin: 0 auto 24px;
    max-width: 40ch;
  }
  .brand-hero-image {
    height: 420px;
  }
  .brand-hero-image > img {
    object-position: center 60%;
  }
  .brand-promise {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 22px 20px;
    font-size: 8px;
    text-align: center;
  }
  .brand-promise span + span:before {
    display: none;
  }
  .section {
    padding: 60px 0;
  }
  .section-head {
    gap: 20px;
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: 43px;
  }
  .collection-toolbar {
    align-items: start;
  }
  .collection-toolbar > .eyebrow {
    display: none;
  }
  .collection-filters {
    gap: 3px;
  }
  .collection-filters button {
    padding: 9px 11px;
    font-size: 10px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    row-gap: 28px;
  }
  .product-meta h3 {
    font-size: 21px;
  }
  .product-meta p {
    font-size: 10px;
  }
  .product-media {
    aspect-ratio: 4/5;
  }
  .product-media img {
    width: 88%;
    height: 86%;
  }
  .tag {
    font-size: 7px;
    left: 10px;
    top: 12px;
  }
  .brand-story {
    grid-template-columns: 1fr;
  }
  .brand-story-art {
    min-height: 310px;
    gap: 32px;
  }
  .brand-flower {
    grid-template-columns: repeat(2, 75px);
    gap: 6px;
  }
  .brand-flower i {
    width: 75px;
    height: 75px;
  }
  .brand-story-copy {
    padding: 45px 26px;
  }
  .butter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .butter-card,
  .butter-card:first-child {
    padding: 0 10px;
    border: 0;
  }
  .butter-card h3 {
    font-size: 26px;
    margin: 12px 0;
  }
  .ingredient-number {
    font-size: 7px;
  }
  .ritual-band {
    grid-template-columns: 1fr;
    padding: 40px 26px;
    gap: 20px;
  }
  .ritual-product img {
    height: 250px;
  }
  .reviews {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .brand-signoff {
    padding: 55px 20px;
  }
  .footer-grid {
    gap: 30px 22px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    line-height: 1.8;
  }
  .mobile-menu {
    padding-top: 105px;
  }
  .mobile-menu a {
    font-size: 29px;
  }
  .pdp {
    padding-top: 26px;
  }
  .pdp-thumbs {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-ready) *,
  html:not(.motion-ready) *::before,
  html:not(.motion-ready) *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
[hidden] {
  display: none !important;
}
@media (min-width: 861px) and (max-width: 1120px) {
  .brand-hero h1 {
    font-size: clamp(48px, 5.6vw, 62px);
  }
}
@media (max-width: 860px) {
  .brand-hero h1 {
    font-size: clamp(44px, 13vw, 60px);
  }
}
.add-btn {
  color: var(--ink);
}
.add-btn:hover {
  color: var(--cream);
}
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal-footer-links a { color: inherit; text-decoration: none; }
.legal-footer-links a:hover { text-decoration: underline; }
