:root {
  --karat-blush: #f8e8e1;
  --karat-blush-soft: #fff7f3;
  --karat-petal: #edc8b8;
  --karat-rose: #c98972;
  --karat-cocoa: #5d3328;
  --karat-ink: #241714;
  --karat-gold: #b8873f;
  --karat-line: rgba(70, 38, 30, 0.16);
}

/* Customer account and protected membership */
.membership-gate,
.account-shell,
.account-dashboard {
  min-height: 72vh;
  background: #fbf0eb;
  color: #241d1a;
}

.membership-gate {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
}

.membership-gate-visual {
  min-height: 760px;
  overflow: hidden;
}

.membership-gate-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membership-gate-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.membership-gate-copy h1,
.account-intro h1,
.account-dashboard-head h1 {
  margin: 1rem 0 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.2vw, 6rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.055em;
}

.membership-gate-copy h1 em,
.account-intro h1 em {
  color: #9b603f;
  font-weight: 400;
}

.membership-gate-copy > p,
.account-intro > p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #62534c;
}

.membership-gate-price {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin: 2rem 0 .75rem;
}

.membership-gate-price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  font-weight: 400;
}

.membership-gate-copy ul {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}

.membership-gate-copy li::before { content: "✓"; margin-right: .7rem; color: #9b603f; }
.account-fineprint { margin-top: 1rem; font-size: .78rem !important; }

.account-shell {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(560px, 1.2fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(3rem, 7vw, 8rem);
}

.account-intro { align-self: center; }
.account-panels { display: grid; gap: 1.25rem; align-content: center; }

.account-card,
.account-membership-card,
.account-security-card {
  padding: clamp(1.8rem, 4vw, 3.25rem);
  border: 1px solid rgba(69, 49, 39, .17);
  border-radius: 3px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 24px 70px rgba(70, 43, 29, .07);
}

.account-card h2,
.account-security-card h2 {
  margin: .45rem 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.account-profile-card h2 { margin-bottom: .75rem; }
.account-profile-card form { margin: 0; }
.account-profile-card p,
.account-privacy-card p { color: #66564e; line-height: 1.7; }
.account-section-divider { height: 1px; margin: 1.75rem 0; background: rgba(69, 49, 39, .14); }
.account-current-email { margin: 0 0 1rem; }
.account-pending-box { display: grid; gap: .35rem; padding: 1rem; border-left: 3px solid #9b603f; background: #fff7f1; color: #5c4032; overflow-wrap: anywhere; }
.account-pending-box small { margin: 0; color: #796a62; }

.account-kicker,
.account-membership-card > div:first-child > span,
.account-security-card > span {
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #8b614a;
}

.account-card label {
  display: grid;
  gap: .45rem;
  margin: 1rem 0;
  font-size: .79rem;
  font-weight: 700;
}

.account-card input {
  min-height: 50px;
  padding: .8rem 1rem;
  border: 1px solid #cbb7ad;
  border-radius: 2px;
  background: #fffdfb;
  color: #241d1a;
  font: inherit;
}

.account-card input:focus { outline: 2px solid #9b603f; outline-offset: 2px; }
.account-card small { display: block; color: #796a62; margin: -.35rem 0 1.25rem; }
.account-card .store-button,
.account-card .store-button-secondary { width: 100%; justify-content: center; }

.account-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin-top: 1rem;
}

.account-help-links a,
.account-back-link,
.account-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #6f4935;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.account-back-link { margin-top: .75rem; }
.account-recovery-shell .account-panels { max-width: 38rem; width: 100%; }

.account-alert {
  padding: 1rem 1.2rem;
  border-left: 3px solid #9b603f;
  background: #fff7f1;
  color: #6f3527;
}

.account-notice {
  padding: 1rem 1.2rem;
  border-left: 3px solid #6d795a;
  background: #f3f4ec;
  color: #3f4b34;
}

.account-dashboard { padding: clamp(3rem, 7vw, 8rem); }
.account-dashboard-head { margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.account-dashboard-head h1 { margin-bottom: .6rem; }
.account-dashboard-head p { color: #76655d; }
.account-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 1.5rem; }
.account-membership-card > div:first-child { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.account-membership-card > div:first-child strong { padding: .45rem .75rem; border-radius: 999px; background: #ead8cd; font-size: .75rem; }
.account-membership-card .pricing-price { margin: 2rem 0 1rem; }
.account-membership-card p,
.account-security-card p { color: #66564e; line-height: 1.7; }
.account-membership-card .store-button { margin-top: 1.25rem; }
.account-text-button { margin-top: 1.25rem; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: #6f4935; font: inherit; cursor: pointer; }
.account-security-card .account-text-link { margin-top: .75rem; }
.account-security-card .account-text-button { display: block; min-height: 44px; }
.account-text-button:disabled { opacity: .55; cursor: wait; }

@media (max-width: 900px) {
  .membership-gate,
  .account-shell,
  .account-dashboard-grid { grid-template-columns: 1fr; }
  .membership-gate-visual { min-height: 52vh; }
  .membership-gate-copy { padding: 3rem 1.35rem 4rem; }
  .account-shell,
  .account-dashboard { padding: 3rem 1.2rem 4rem; }
}

html {
  background: var(--karat-blush);
  scrollbar-color: var(--karat-rose) var(--karat-blush-soft);
}

body {
  background: var(--karat-blush);
  color: var(--karat-ink);
}

::selection {
  background: var(--karat-cocoa);
  color: var(--karat-blush-soft);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border: 2px solid var(--karat-cocoa);
  background: var(--karat-blush-soft);
  color: var(--karat-cocoa);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(calc(-100% - 20px));
  transition: transform 160ms ease-out;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: none;
  min-height: 88px;
  padding: 14px clamp(22px, 5vw, 74px);
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--karat-line);
  background: rgba(255, 247, 243, 0.95);
  box-shadow: 0 10px 32px rgba(83, 46, 36, 0.05);
  backdrop-filter: blur(16px);
}

.karat-logo {
  position: relative;
  width: fit-content;
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  color: var(--karat-cocoa);
  text-decoration: none;
}

.karat-word {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 4.1vw, 58px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.karat-sparkle {
  width: 22px;
  height: 22px;
  margin-top: -7px;
  flex: 0 0 auto;
  fill: var(--karat-gold);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 34px);
}

.site-header nav a {
  position: relative;
  padding: 13px 0 10px;
  color: var(--karat-ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.site-header nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--karat-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
}

.site-header nav a:hover::after,
.site-header nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-shop-link {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--karat-cocoa);
  background: var(--karat-cocoa);
  color: #fffaf7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-shop-link span {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.storefront-page {
  min-height: 65vh;
  background: var(--karat-blush-soft);
}

.store-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 88px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #8b5848;
  color: #fffaf7;
}

.store-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  animation: hero-reveal 820ms cubic-bezier(.22, 1, .36, 1) both;
}

.store-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(48, 24, 18, 0.82) 0%, rgba(61, 30, 22, 0.58) 34%, rgba(61, 30, 22, 0.08) 68%, rgba(61, 30, 22, 0) 100%);
}

.store-hero-copy {
  position: relative;
  z-index: 2;
  width: min(610px, 48vw);
  margin-left: clamp(28px, 7vw, 112px);
  padding: 96px 0;
}

.store-hero h1 {
  max-width: 580px;
  margin: 0 0 24px;
  color: #fffaf7;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(62px, 7.5vw, 112px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.store-hero h1 em {
  color: #f3cdbb;
  font-family: inherit;
  font-weight: 500;
}

.store-hero-copy > p {
  max-width: 470px;
  margin-bottom: 32px;
  color: rgba(255, 250, 247, 0.88);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.38;
  text-wrap: pretty;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-button,
.store-button-secondary,
.product-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid var(--karat-cocoa);
  background: var(--karat-cocoa);
  color: #fffaf7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.store-button:hover,
.product-link:hover {
  background: #3e211a;
}

.store-button-secondary {
  border-color: rgba(255, 250, 247, 0.7);
  background: rgba(255, 250, 247, 0.08);
}

.store-button-secondary:hover {
  background: #fffaf7;
  color: var(--karat-cocoa);
}

.store-trust-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--karat-line);
  background: var(--karat-blush-soft);
}

.store-trust-line div {
  min-height: 118px;
  padding: 25px clamp(18px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.store-trust-line div + div {
  border-left: 1px solid var(--karat-line);
}

.store-trust-line strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
}

.store-trust-line span {
  margin-top: 5px;
  color: #765549;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.store-section {
  max-width: 1460px;
  margin: 0 auto;
  padding: clamp(86px, 10vw, 148px) clamp(22px, 5vw, 74px);
}

.collection-heading,
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 48px;
}

.collection-heading h2,
.page-heading h1,
.about-copy h1,
.offering-copy h1,
.product-detail-copy h1,
.future-copy h2 {
  max-width: 760px;
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.collection-heading h2,
.page-heading h1,
.about-copy h1,
.offering-copy h1,
.future-copy h2 {
  font-size: clamp(52px, 6vw, 84px);
}

.collection-heading p,
.page-heading p {
  max-width: 430px;
  margin: 0 0 6px;
  color: #715248;
  line-height: 1.75;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1.14;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  background: #e8b9a8;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(.22, 1, .36, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.025);
}

.product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  background: rgba(255, 247, 243, 0.92);
  color: var(--karat-cocoa);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-copy {
  padding: 18px 1px 0;
}

.product-card-copy h3 {
  margin-bottom: 7px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #715248;
  font-size: 11px;
  text-transform: uppercase;
}

.product-card-copy a {
  display: inline-block;
  margin-top: 15px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--karat-gold);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.store-ritual {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--karat-cocoa);
  color: #fff7f3;
}

.ritual-image {
  min-height: 560px;
  background: url('images/karat-bonnet-hero.webp') center / cover no-repeat;
}

.ritual-copy {
  padding: clamp(64px, 8vw, 124px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ritual-copy h2 {
  max-width: 520px;
  margin-bottom: 22px;
  color: #fff7f3;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.ritual-copy p {
  max-width: 490px;
  color: rgba(255, 247, 243, 0.76);
  font-size: 14px;
  line-height: 1.8;
}

.future-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #efcdbf;
}

.future-copy {
  padding: clamp(72px, 9vw, 134px);
}

.future-copy p {
  max-width: 560px;
  margin: 24px 0 0;
  color: #6f4b40;
  line-height: 1.8;
}

.future-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--karat-line);
}

.future-list article {
  min-height: 340px;
  padding: clamp(36px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.future-list article + article {
  border-left: 1px solid var(--karat-line);
}

.future-list h3 {
  margin-bottom: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
}

.future-list p {
  color: #6f4b40;
  line-height: 1.7;
}

.page-heading-wrap {
  padding: clamp(70px, 9vw, 130px) clamp(22px, 5vw, 74px) 0;
}

.page-heading {
  max-width: 1312px;
  margin-inline: auto;
}

.shop-filters {
  max-width: 1312px;
  margin: 0 auto 44px;
  padding: 0 clamp(22px, 5vw, 74px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.shop-filters span {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
}

.shop-filters .active {
  border-color: var(--karat-cocoa);
}

.shop-filters .future {
  color: #765549;
}

.shop-page .store-section {
  padding-top: 30px;
}

.product-detail {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(60px, 7vw, 104px) clamp(22px, 5vw, 74px) clamp(90px, 10vw, 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.product-detail-image {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: #e8b9a8;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-detail-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(58px, 6.7vw, 96px);
}

.product-shade {
  margin-bottom: 26px;
  color: #795448;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-price {
  margin: 26px 0;
  padding: 22px 0;
  border-block: 1px solid var(--karat-line);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
}

.product-detail-copy > p {
  max-width: 620px;
  color: #6b4b42;
  line-height: 1.8;
}

.unknown-list {
  margin: 26px 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--karat-line);
  list-style: none;
}

.unknown-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--karat-line);
  color: #6b4b42;
  font-size: 11px;
  text-transform: uppercase;
}

.product-unavailable {
  width: 100%;
  min-height: 52px;
  border: 1px solid #ad8578;
  background: #ead3ca;
  color: #75544a;
  cursor: not-allowed;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.about-page,
.offering-page {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-visual,
.offering-visual {
  min-height: 760px;
  background: #d8a48f;
}

.about-visual {
  background: url('images/karat-bonnet-hero.webp') 72% center / cover no-repeat;
}

.offering-visual {
  background: url('images/microwave-meal-bowl.webp') center / cover no-repeat;
}

.about-copy,
.offering-copy {
  padding: clamp(70px, 9vw, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy h1,
.offering-copy h1 {
  margin-bottom: 30px;
}

.about-copy p,
.offering-copy p {
  max-width: 650px;
  color: #6b4b42;
  font-size: 15px;
  line-height: 1.9;
}

.brand-line {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--karat-line);
  color: var(--karat-gold) !important;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px !important;
  font-style: italic;
}

.offering-page {
  background: #f2d7cd;
}

.offering-copy .store-button {
  width: fit-content;
  margin-top: 20px;
}

.meal-match-page {
  background: var(--cream);
}

.meal-match-introbar {
  padding: 14px clamp(22px, 5vw, 74px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--karat-line);
  background: #fff7f3;
  color: #765549;
  font-size: 11px;
}

.meal-match-introbar a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--karat-gold);
  color: var(--karat-cocoa);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  min-height: 260px;
  padding: 58px clamp(22px, 5vw, 74px) 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  border-top: 1px solid rgba(255, 247, 243, 0.16);
  background: var(--karat-cocoa);
  color: #fff7f3;
}

.site-footer .karat-logo {
  color: #fff7f3;
}

.site-footer .karat-word {
  font-size: 48px;
  text-transform: none;
}

.quiz-aside .mini-brand.karat-logo {
  color: #fffaf7;
  gap: 2px;
}

.quiz-aside .mini-brand .karat-word {
  font-size: 48px;
}

.quiz-aside .mini-product-name {
  align-self: flex-end;
  margin: 0 0 4px 12px;
  color: rgba(255, 250, 247, 0.68);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand-block p {
  margin: 13px 0 0;
  color: rgba(255, 247, 243, 0.66);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 15px 38px;
}

.footer-links a {
  color: #fff7f3;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  text-decoration: none;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 247, 243, 0.16);
  color: rgba(255, 247, 243, 0.58);
  font-size: 11px;
  text-transform: uppercase;
}

.footer-meta button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  text-transform: uppercase;
}

@keyframes hero-reveal {
  from { transform: scale(1.025); filter: saturate(.84) brightness(.92); }
  to { transform: scale(1); filter: saturate(1) brightness(1); }
}

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

@media (forced-colors: active) {
  .store-button,
  .store-button-secondary,
  .product-link,
  .header-shop-link {
    border: 2px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    forced-color-adjust: auto;
  }

  .site-footer {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  .store-ritual {
    background: Canvas;
    color: CanvasText;
  }

  .ritual-copy h2,
  .ritual-copy p {
    color: CanvasText;
  }

  .site-footer .karat-logo,
  .site-footer .karat-word,
  .footer-brand-block p,
  .footer-meta {
    color: CanvasText;
  }

  .footer-links a {
    color: LinkText;
  }

  .footer-meta button {
    padding: 6px 8px;
    border: 1px solid ButtonText;
    color: ButtonText;
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .site-header nav {
    gap: 16px;
  }

  .header-shop-link {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 46px;
  }

  .store-ritual,
  .future-band,
  .about-page,
  .offering-page {
    grid-template-columns: 1fr;
  }

  .ritual-image,
  .about-visual,
  .offering-visual {
    min-height: 560px;
  }

  .future-list {
    border-top: 1px solid var(--karat-line);
    border-left: 0;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }

  .site-header .karat-word {
    font-size: 42px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 100%;
    height: 1px;
    display: block;
    background: var(--karat-cocoa);
  }

  .site-header nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    padding: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--karat-line);
    background: #fff7f3;
    box-shadow: 0 22px 44px rgba(83, 46, 36, 0.12);
  }

  .site-header[data-menu-open='true'] nav {
    display: flex;
  }

  .site-header nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--karat-line);
    font-size: 21px;
  }

  .store-hero {
    min-height: 690px;
    align-items: flex-end;
  }

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

  .store-hero::after {
    background: linear-gradient(0deg, rgba(45, 22, 17, 0.91) 0%, rgba(55, 27, 20, 0.56) 48%, rgba(55, 27, 20, 0.06) 78%);
  }

  .store-hero-copy {
    width: auto;
    margin: 0;
    padding: 58px 22px;
  }

  .store-hero h1 {
    max-width: 350px;
    font-size: clamp(58px, 18vw, 80px);
  }

  .store-hero-copy > p {
    font-size: 20px;
  }

  .store-trust-line {
    grid-template-columns: 1fr 1fr;
  }

  .store-trust-line div:nth-child(3) {
    border-left: 0;
  }

  .store-trust-line div:nth-child(n+3) {
    border-top: 1px solid var(--karat-line);
  }

  .collection-heading,
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .product-card-image {
    aspect-ratio: 1 / 1.03;
  }

  .ritual-copy,
  .future-copy,
  .about-copy,
  .offering-copy {
    padding: 68px 24px;
  }

  .future-list {
    grid-template-columns: 1fr;
  }

  .future-list article + article {
    border-top: 1px solid var(--karat-line);
    border-left: 0;
  }

  .product-detail {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .product-detail-copy h1 {
    font-size: 62px;
  }

  .unknown-list {
    grid-template-columns: 1fr;
  }

  .about-visual,
  .offering-visual {
    min-height: 480px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 420px) {
  .store-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button,
  .store-button-secondary {
    width: 100%;
  }

  .store-trust-line {
    grid-template-columns: 1fr;
  }

  .store-trust-line div + div,
  .store-trust-line div:nth-child(3) {
    border-top: 1px solid var(--karat-line);
    border-left: 0;
  }
}
