:root {
  --paper: #f3f1ea;
  --paper-soft: #f8f7f2;
  --paper-deep: #e8e5dc;
  --ink: #252525;
  --ink-soft: #65635f;
  --line: rgba(37, 37, 37, 0.16);
  --accent: #d97724;
  --accent-deep: #a94f17;
  --accent-soft: #f1bc75;
  --white: #fcfbf8;
  --radius: 18px;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.drawer-open,
body.menu-open,
body.collaboration-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

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

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  border-color: var(--line);
  background: rgba(243, 241, 234, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100% - 48px, 1440px);
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.wordmark {
  width: max-content;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.wordmark span {
  font-size: 20px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.wordmark small {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
  white-space: nowrap;
}

.desktop-nav a {
  position: relative;
  padding: 25px 0 22px;
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 17px;
  height: 1px;
  background: var(--accent);
  transition: right 300ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  right: 0;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.buy-button,
.collaboration-button,
.primary-button,
.drawer-action {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms ease;
}

.buy-button {
  min-width: 78px;
  padding: 11px 22px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
}

.collaboration-button {
  min-width: 104px;
  padding: 10px 20px;
  border: 1px solid rgba(37, 37, 37, 0.24);
  color: var(--ink);
  background: rgba(248, 247, 242, 0.72);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.collaboration-button:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--paper-soft);
}

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

.buy-button:active,
.collaboration-button:active,
.primary-button:active,
.drawer-action:active {
  transform: scale(0.98);
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  grid-area: 1 / 1;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 300ms var(--ease);
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero-story {
  position: relative;
  height: 150dvh;
  --hero-progress: 0;
  background: var(--paper);
}

.hero-start-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.hero-transition-sentinel {
  position: absolute;
  top: 86dvh;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero {
  position: relative;
  position: sticky;
  top: 0;
  min-height: 100dvh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: clamp(24px, 6vw, 100px);
  max-width: 1540px;
  margin: 0 auto;
  padding: 88px clamp(24px, 5vw, 76px) 40px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  padding-left: clamp(0px, 3vw, 40px);
}

.hero-copy-state {
  grid-area: 1 / 1;
  align-self: center;
  will-change: opacity, transform;
}

.hero-copy-product {
  opacity: calc(1 - var(--hero-progress));
  transform: translateY(calc(var(--hero-progress) * -24px));
}

.hero-copy-ingredients {
  opacity: var(--hero-progress);
  transform: translateY(calc((1 - var(--hero-progress)) * 28px));
  pointer-events: none;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 24px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.hero h1,
.hero-copy-ingredients h2,
.origin-copy h2,
.product-heading h2,
.how-intro h2,
.island-copy h2,
.notes-heading h2,
.closing-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(48px, 4.2vw, 68px);
  line-height: 1.12;
}

.hero-copy-ingredients h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 3vw, 48px);
  line-height: 1.12;
}

.ingredient-note {
  max-width: 34em;
  margin: 18px 0 0;
  color: rgba(37, 37, 37, 0.52);
  font-size: 11px;
  line-height: 1.7;
}

.hero-lead {
  max-width: 31em;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.text-link.strong {
  color: var(--ink);
}

.text-link span {
  color: var(--accent);
  transition: transform 240ms var(--ease);
}

.text-link:hover span {
  transform: translateX(5px);
}

.hero-visual {
  position: relative;
  min-height: min(75dvh, 760px);
  display: grid;
  place-items: center;
}

.hero-visual-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  will-change: opacity, transform, filter;
}

.hero-product-layer {
  opacity: calc(1 - var(--hero-progress));
  transform: scale(calc(1 - var(--hero-progress) * 0.18)) rotate(calc(var(--hero-progress) * -4deg));
  filter: blur(calc(var(--hero-progress) * 8px));
}

.hero-ingredients-layer {
  opacity: var(--hero-progress);
  transform: scale(calc(0.82 + var(--hero-progress) * 0.18)) rotate(calc((1 - var(--hero-progress)) * 3deg));
  filter: blur(calc((1 - var(--hero-progress)) * 9px));
  pointer-events: none;
}

.sun-disc {
  position: absolute;
  width: min(43vw, 630px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(239, 184, 100, 0.92) 0 34%,
    rgba(239, 184, 100, 0.78) 46%,
    rgba(239, 184, 100, 0.52) 59%,
    rgba(239, 184, 100, 0.26) 72%,
    rgba(239, 184, 100, 0.08) 84%,
    transparent 96%);
  -webkit-mask-image: radial-gradient(circle, #000 0 44%, rgba(0, 0, 0, 0.86) 58%, rgba(0, 0, 0, 0.42) 76%, transparent 98%);
  mask-image: radial-gradient(circle, #000 0 44%, rgba(0, 0, 0, 0.86) 58%, rgba(0, 0, 0, 0.42) 76%, transparent 98%);
  filter: blur(3px);
  box-shadow: 0 0 80px rgba(239, 184, 100, 0.22);
}

.sun-disc::after {
  content: "";
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.product-stage {
  position: relative;
  z-index: 1;
  width: min(46vw, 690px);
  transform: rotate(1.5deg);
  filter: drop-shadow(0 34px 35px rgba(115, 73, 31, 0.2));
  animation: hero-float 5.5s ease-in-out infinite;
}

.product-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 7%;
  width: 185px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
  font-size: 11px;
  line-height: 1.7;
}

.ingredient-stage {
  position: relative;
  width: min(41vw, 600px);
  aspect-ratio: 1;
  margin: 0;
  overflow: visible;
  border-radius: 50%;
}

.ingredient-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.ingredient-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 34px 55px rgba(115, 73, 31, 0.18);
}

.ingredient-annotations {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ingredient-label {
  position: absolute;
  top: var(--label-top);
  z-index: 3;
  width: 118px;
  min-height: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(37, 37, 37, 0.14);
  border-radius: 10px;
  opacity: 0;
  background: rgba(248, 247, 242, 0.78);
  box-shadow: 0 10px 30px rgba(75, 53, 30, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  transition: opacity 480ms var(--ease), transform 680ms var(--ease);
  will-change: transform, opacity;
}

.ingredient-label::before {
  content: attr(data-index);
  color: var(--accent-deep);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ingredient-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: rgba(37, 37, 37, 0.34);
}

.ingredient-label strong {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95);
}

.ingredient-label-left {
  left: 10%;
  transform: translate3d(-28px, 5px, 0) rotate(var(--label-tilt));
}

.ingredient-label-right {
  right: 10%;
  transform: translate3d(28px, 5px, 0) rotate(var(--label-tilt));
}

.ingredient-label-left::after {
  right: -22px;
}

.ingredient-label-right::after {
  left: -22px;
}

.hero-story.ingredients-active .hero-copy-product {
  pointer-events: none;
}

.hero-story.ingredients-active .hero-copy-ingredients {
  pointer-events: auto;
}

.hero-story.ingredients-active .hero-product-layer {
  pointer-events: none;
}

.hero-story.ingredients-active .hero-ingredients-layer {
  pointer-events: auto;
}

.hero-story.ingredients-active .ingredient-label {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--label-tilt));
}

.ingredient-label:nth-child(2) { transition-delay: 45ms; }
.ingredient-label:nth-child(3) { transition-delay: 90ms; }
.ingredient-label:nth-child(4) { transition-delay: 135ms; }
.ingredient-label:nth-child(5) { transition-delay: 180ms; }
.ingredient-label:nth-child(6) { transition-delay: 225ms; }
.ingredient-label:nth-child(7) { transition-delay: 270ms; }
.ingredient-label:nth-child(8) { transition-delay: 315ms; }
.ingredient-label:nth-child(9) { transition-delay: 360ms; }
.ingredient-label:nth-child(10) { transition-delay: 405ms; }

@keyframes hero-float {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(0.5deg) translateY(-10px); }
}

.section-shell {
  width: min(100% - 80px, 1380px);
  margin: 0 auto;
}

.origin-section {
  padding: clamp(88px, 12vw, 180px) 0;
  background: var(--paper-soft);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

.origin-copy {
  padding-left: clamp(0px, 5vw, 70px);
}

.origin-copy h2 {
  font-size: clamp(52px, 5vw, 68px);
  line-height: 1.04;
}

.origin-copy > p:not(.section-kicker) {
  max-width: 27em;
  margin: 38px 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.origin-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  width: min(100%, 760px);
  aspect-ratio: 3 / 2;
  justify-self: end;
}

.origin-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(37, 37, 37, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.origin-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-section {
  padding: clamp(100px, 12vw, 174px) 0;
  overflow: hidden;
}

.product-heading {
  max-width: 940px;
  margin: 0 auto 60px;
  text-align: center;
}

.product-heading h2,
.how-intro h2,
.notes-heading h2,
.closing-copy h2 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.12;
}

.product-heading p,
.how-intro p,
.closing-copy p {
  max-width: 39em;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.product-editorial {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
  min-height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}

.product-gallery {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 50px 32px;
  background: var(--paper-soft);
}

.product-image-wrap {
  width: min(92%, 680px);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(117, 77, 39, 0.18));
  transition: opacity 220ms ease, transform 360ms var(--ease);
}

.product-image-wrap img.switching {
  opacity: 0;
  transform: scale(0.98);
}

.product-switcher {
  max-width: 100%;
  display: flex;
  gap: 8px;
  padding: 5px;
  overflow-x: auto;
  border-radius: 999px;
  background: rgba(252, 251, 248, 0.78);
  scrollbar-width: none;
}

.product-switcher::-webkit-scrollbar {
  display: none;
}

.product-switcher button {
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.product-switcher button.active {
  color: var(--white);
  background: var(--ink);
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 110px);
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.product-info.switching {
  opacity: 0;
  transform: translateY(8px);
}

.product-name {
  margin: 0 0 26px;
  color: var(--accent-deep);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.product-info h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3.6vw, 54px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
  text-wrap: balance;
}

.product-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 40px;
  margin: 48px 0;
}

.product-facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-facts dt {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 11px;
}

.product-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.primary-button {
  width: max-content;
  min-width: 170px;
  padding: 15px 24px;
  color: var(--white);
  background: var(--accent-deep);
  font-size: 13px;
  white-space: nowrap;
}

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

.how-section {
  padding: clamp(100px, 12vw, 170px) 0;
  background: #ebe9e2;
}

.how-intro {
  max-width: 900px;
  margin: 0 auto 76px;
  text-align: center;
}

.cook-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cook-flow li {
  position: relative;
  min-height: 350px;
  padding: 22px clamp(22px, 3vw, 42px) 36px;
  border-left: 1px solid var(--line);
}

.cook-flow li:last-child {
  border-right: 1px solid var(--line);
}

.flow-number {
  color: var(--accent-deep);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.flow-symbol {
  position: relative;
  width: 100px;
  height: 112px;
  margin: 40px 0 30px;
}

.flow-symbol::before,
.flow-symbol::after,
.flow-symbol i {
  content: "";
  position: absolute;
  display: block;
}

.flow-symbol::before {
  left: 24px;
  top: 10px;
  width: 44px;
  height: 72px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  transform: rotate(-8deg);
}

.flow-symbol::after {
  left: 39px;
  top: 20px;
  width: 26px;
  height: 1px;
  background: var(--accent);
  transform: rotate(-8deg);
}

.flow-symbol .tear {
  left: 62px;
  top: 1px;
  width: 17px;
  height: 11px;
  border-top: 1px solid var(--ink);
  transform: rotate(24deg);
}

.flow-symbol.water::before {
  left: 14px;
  top: 56px;
  width: 72px;
  height: 34px;
  border-radius: 0 0 40px 40px;
  transform: none;
}

.flow-symbol.water::after {
  left: 15px;
  top: 55px;
  width: 72px;
  height: 1px;
  transform: none;
}

.flow-symbol.water i {
  top: 16px;
  width: 10px;
  height: 18px;
  border-radius: 50% 50% 56% 44%;
  background: var(--accent);
  transform: rotate(45deg);
}

.flow-symbol.water i:nth-child(1) { left: 27px; top: 22px; }
.flow-symbol.water i:nth-child(2) { left: 48px; top: 8px; }
.flow-symbol.water i:nth-child(3) { left: 68px; top: 29px; }

.flow-symbol.heat::before {
  left: 12px;
  top: 24px;
  width: 77px;
  height: 60px;
  border-radius: 8px 8px 32px 32px;
  transform: none;
}

.flow-symbol.heat::after {
  left: 5px;
  top: 24px;
  width: 92px;
  height: 1px;
  background: var(--ink);
  transform: none;
}

.flow-symbol.heat i {
  width: 16px;
  height: 31px;
  top: -15px;
  border-left: 1px solid var(--accent);
  border-radius: 50%;
}

.flow-symbol.heat i:first-child { left: 34px; transform: rotate(10deg); }
.flow-symbol.heat i:last-child { left: 61px; transform: rotate(-9deg); }

.flow-symbol.bowl::before {
  left: 8px;
  top: 32px;
  width: 84px;
  height: 50px;
  border-radius: 4px 4px 44px 44px;
  transform: none;
}

.flow-symbol.bowl::after {
  left: 2px;
  top: 31px;
  width: 96px;
  height: 1px;
  background: var(--ink);
  transform: none;
}

.flow-symbol.bowl i {
  left: 42px;
  top: 4px;
  width: 30px;
  height: 36px;
  border-left: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(-28deg);
}

.cook-flow h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
}

.cook-flow p {
  max-width: 14em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.recipe-link {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 50px;
  padding: 26px 30px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--accent-deep);
  transition: transform 280ms var(--ease), background 200ms ease;
}

.recipe-link:hover {
  transform: translateY(-3px);
  background: var(--ink);
}

.recipe-link span {
  font-size: 12px;
  opacity: 0.78;
}

.recipe-link strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.recipe-link i {
  font-size: 24px;
  font-style: normal;
}

.island-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  background: var(--paper-soft);
}

.island-photo {
  min-height: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
}

.island-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.island-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(52px, 5vw, 76px);
}

.island-copy h2 {
  font-size: clamp(38px, 3.4vw, 52px);
  line-height: 1.16;
}

.island-copy > p:not(.section-kicker) {
  max-width: 31em;
  margin: 32px 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.notes-section {
  padding: clamp(100px, 12vw, 174px) 0;
}

.notes-heading {
  max-width: 1000px;
  margin-bottom: 66px;
}

.notes-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: 18px;
}

.notes-grid article {
  border-radius: var(--radius);
  overflow: hidden;
}

.notes-grid a {
  height: 100%;
  display: block;
}

.note-feature {
  grid-row: 1 / 3;
  background: var(--paper-soft);
}

.note-feature a {
  display: grid;
  grid-template-rows: 1fr auto;
}

.note-art {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #e7c48e;
}

.note-art::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  left: 21%;
  top: 14%;
  border: 1px solid rgba(37, 37, 37, 0.38);
  border-radius: 50%;
}

.note-art::after {
  content: "";
  position: absolute;
  width: 46%;
  height: 23%;
  left: 27%;
  top: 36%;
  border-radius: 50%;
  background: rgba(252, 251, 248, 0.55);
  box-shadow: 0 20px 40px rgba(115, 73, 31, 0.1);
}

.grain {
  position: absolute;
  z-index: 2;
  width: 13%;
  height: 5%;
  border-radius: 50%;
  background: var(--white);
  transform: rotate(-20deg);
  box-shadow: 0 5px 18px rgba(37, 37, 37, 0.08);
}

.grain-a { left: 34%; top: 41%; }
.grain-b { left: 49%; top: 34%; transform: rotate(21deg); }
.grain-c { left: 55%; top: 48%; transform: rotate(-5deg); }

.liquid-line {
  position: absolute;
  z-index: 3;
  left: 29%;
  top: 46%;
  width: 42%;
  height: 1px;
  background: var(--accent-deep);
}

.note-copy {
  padding: 34px 38px 40px;
}

.note-copy span,
.note-compact span {
  display: block;
  margin-bottom: 17px;
  color: var(--accent-deep);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.note-copy h3,
.note-compact h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 600;
  line-height: 1.35;
}

.note-copy p,
.note-compact p {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.note-compact {
  background: #e4e0d4;
  transition: transform 300ms var(--ease);
}

.note-compact:hover {
  transform: translateY(-4px);
}

.note-compact a {
  position: relative;
  padding: clamp(32px, 4vw, 52px);
}

.note-compact i {
  position: absolute;
  right: 36px;
  bottom: 30px;
  color: var(--accent-deep);
  font-size: 24px;
  font-style: normal;
}

.note-orange {
  background: #efb86f;
}

.note-orange span,
.note-orange i {
  color: #7e370f;
}

.note-orange p {
  color: rgba(37, 37, 37, 0.72);
}

.all-notes-link {
  width: max-content;
  display: flex;
  gap: 16px;
  margin: 42px 0 0 auto;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
}

.all-notes-link span {
  color: var(--accent-deep);
}

.closing-section {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 90px 24px;
  overflow: hidden;
  text-align: center;
  background: var(--paper-soft);
}

.closing-sun {
  position: absolute;
  width: min(72vw, 850px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #efb864;
  transform: translateY(40%);
}

.closing-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-copy p {
  color: rgba(37, 37, 37, 0.72);
}

.closing-copy .primary-button {
  margin-top: 30px;
}

.site-footer {
  min-height: 230px;
  padding: 64px clamp(24px, 5vw, 76px) 28px;
  color: var(--paper-soft);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand strong {
  font-size: 21px;
  letter-spacing: 0.1em;
}

.footer-brand span,
.footer-legal {
  margin: 0;
  color: rgba(248, 247, 242, 0.58);
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  gap: 26px;
  font-size: 12px;
}

.site-footer nav a:hover {
  color: var(--accent-soft);
}

.footer-legal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(248, 247, 242, 0.14);
}

.footer-icp {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.footer-icp:hover {
  color: var(--paper-soft);
}

.footer-icp img {
  width: 16px;
  height: 15px;
}

.footer-copyright {
  grid-column: 3;
  justify-self: end;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.buy-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  pointer-events: none;
}

.buy-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  background: rgba(37, 37, 37, 0.45);
  backdrop-filter: blur(4px);
  transition: opacity 320ms ease;
  cursor: default;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: clamp(74px, 9vw, 104px) clamp(30px, 6vw, 68px) 50px;
  transform: translateX(100%);
  background: var(--paper-soft);
  transition: transform 440ms var(--ease);
}

.buy-drawer.open .drawer-backdrop {
  opacity: 1;
}

.buy-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.drawer-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.16;
}

.drawer-panel > p:not(.section-kicker) {
  margin: 24px 0 32px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.drawer-product {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: #ece6d9;
}

.drawer-product img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.drawer-product div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-product strong {
  font-size: 15px;
}

.drawer-product span {
  color: var(--ink-soft);
  font-size: 12px;
}

.drawer-action {
  width: 100%;
  margin-top: 20px;
  padding: 15px 20px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
}

.drawer-action:hover {
  background: var(--accent-deep);
}

.collaboration-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 420ms;
}

.collaboration-modal.open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.collaboration-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  background: rgba(37, 37, 37, 0.46);
  backdrop-filter: blur(6px);
  transition: opacity 300ms ease;
  cursor: default;
}

.collaboration-panel {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: clamp(36px, 6vw, 54px);
  border: 1px solid rgba(37, 37, 37, 0.08);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  background: var(--paper-soft);
  box-shadow: 0 32px 90px rgba(37, 37, 37, 0.22);
  transition: opacity 260ms ease, transform 420ms var(--ease);
}

.collaboration-modal.open .collaboration-backdrop {
  opacity: 1;
}

.collaboration-modal.open .collaboration-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.collaboration-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 200ms ease, color 200ms ease;
}

.collaboration-close:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: rotate(6deg);
}

.collaboration-panel h2 {
  max-width: 9em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.16;
}

.collaboration-panel > p:not(.section-kicker) {
  max-width: 31em;
  margin: 18px 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.collaboration-qr {
  margin: 0;
}

.collaboration-qr-frame {
  position: relative;
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(217, 119, 36, 0.22);
  border-radius: 14px;
  background: #fff;
}

.collaboration-qr-frame::before {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 54px;
  height: 54px;
  z-index: -1;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.62;
  filter: blur(12px);
}

.collaboration-qr img {
  width: 100%;
  height: auto;
}

.collaboration-qr figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms var(--ease) var(--delay, 0ms), transform 760ms var(--ease) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-load-image] {
  transition: opacity 300ms ease;
}

[data-load-image]:not(.loaded) {
  opacity: 0;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  }

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

  .island-copy {
    padding: 64px 48px;
  }

  .product-info {
    padding: 64px 48px;
  }

  .cook-flow li {
    padding-inline: 24px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: grid;
  }

  .nav-actions .buy-button {
    display: none;
  }

  .nav-actions .collaboration-button {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(100dvh - 72px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 40px 24px;
    transform: translateY(-12px);
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    transition: opacity 220ms ease, transform 300ms var(--ease), visibility 0s linear 300ms;
  }

  .mobile-menu.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .mobile-menu a,
  .mobile-menu button {
    width: 100%;
    padding: 20px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    background: transparent;
    text-align: left;
    font-family: var(--serif);
    font-size: 28px;
  }

  .mobile-menu button {
    margin-top: 18px;
    border-bottom: 0;
    color: var(--accent-deep);
    cursor: pointer;
  }

  .mobile-menu .mobile-collaboration-button {
    margin-top: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 132px;
  }

  .hero-story {
    height: 150dvh;
  }

  .hero-story .hero {
    min-height: 100dvh;
    height: 100dvh;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .hero-copy-state {
    align-self: start;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-visual {
    min-height: 570px;
  }

  .ingredient-stage {
    width: min(70vw, 520px);
  }

  .ingredient-label {
    width: 106px;
  }

  .sun-disc {
    width: min(80vw, 560px);
  }

  .product-stage {
    width: min(84vw, 620px);
  }

  .hero-caption {
    right: 4%;
  }

  .origin-grid,
  .product-editorial,
  .island-section {
    grid-template-columns: 1fr;
  }

  .origin-copy {
    padding-left: 0;
  }

  .origin-photo {
    justify-self: center;
  }

  .product-editorial {
    min-height: auto;
  }

  .product-gallery {
    min-height: 650px;
  }

  .product-info {
    min-height: 560px;
  }

  .cook-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .cook-flow li:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .cook-flow li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .island-copy {
    min-height: auto;
    padding: 80px 8vw;
  }

  .notes-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .note-feature {
    grid-column: 1 / 3;
    grid-row: auto;
  }

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

@media (max-width: 640px) {
  .collaboration-modal {
    padding: 14px;
  }

  .collaboration-panel {
    max-height: calc(100dvh - 28px);
    padding: 38px 22px 28px;
  }

  .collaboration-close {
    top: 12px;
    right: 12px;
  }

  .collaboration-panel h2 {
    font-size: 34px;
  }

  .collaboration-panel > p:not(.section-kicker) {
    margin: 14px 0 18px;
    line-height: 1.7;
  }

  .collaboration-qr-frame {
    width: min(252px, 78vw);
    padding: 11px;
  }

  .nav-shell,
  .section-shell {
    width: min(100% - 36px, 1380px);
  }

  .nav-shell {
    height: 66px;
  }

  .wordmark span {
    font-size: 17px;
  }

  .wordmark small {
    display: none;
  }

  .mobile-menu {
    top: 66px;
    height: calc(100dvh - 66px);
  }

  .hero {
    padding: 108px 18px 38px;
  }

  .hero-story {
    height: 148dvh;
  }

  .hero-story .hero {
    padding-top: 94px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.3vw, 40px);
    line-height: 1.14;
  }

  .hero-copy-ingredients h2 {
    font-size: clamp(37px, 10vw, 46px);
    line-height: 1.14;
  }

  .hero-copy-ingredients .hero-lead {
    max-width: 25em;
    font-size: 13px;
    line-height: 1.75;
  }

  .ingredient-note {
    margin-top: 10px;
    font-size: 9px;
  }

  .hero-kicker,
  .section-kicker {
    margin-bottom: 18px;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-links {
    gap: 20px;
    margin-top: 24px;
  }

  .hero-visual {
    min-height: 370px;
  }

  .ingredient-stage {
    width: min(92vw, 410px);
  }

  .ingredient-label {
    width: 88px;
    min-height: 32px;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 8px;
  }

  .ingredient-label strong {
    font-size: 12px;
  }

  .ingredient-label::before {
    font-size: 7px;
  }

  .ingredient-label::after {
    width: 14px;
  }

  .ingredient-label-left {
    left: 6%;
    transform: translate3d(-18px, 4px, 0) rotate(var(--label-tilt));
  }

  .ingredient-label-right {
    right: 6%;
    transform: translate3d(18px, 4px, 0) rotate(var(--label-tilt));
  }

  .ingredient-label-left::after {
    right: -14px;
  }

  .ingredient-label-right::after {
    left: -14px;
  }

  .sun-disc {
    width: 86vw;
  }

  .product-stage {
    width: 94vw;
  }

  .hero-caption {
    right: 2px;
    bottom: 4%;
    width: 152px;
    font-size: 9px;
  }

  .origin-section,
  .product-section,
  .how-section,
  .notes-section {
    padding: 82px 0;
  }

  .origin-grid {
    gap: 46px;
  }

  .origin-copy h2 {
    font-size: clamp(44px, 12.8vw, 52px);
  }

  .origin-copy > p:not(.section-kicker) {
    margin-top: 28px;
    font-size: 14px;
  }

  .product-heading,
  .how-intro {
    margin-bottom: 46px;
    text-align: left;
  }

  .product-heading h2,
  .how-intro h2,
  .notes-heading h2,
  .closing-copy h2 {
    font-size: clamp(34px, 9.4vw, 42px);
  }

  .product-heading p,
  .how-intro p {
    margin-left: 0;
    font-size: 14px;
  }

  .product-gallery {
    min-height: 490px;
    padding: 30px 18px 26px;
  }

  .product-image-wrap {
    width: 92%;
  }

  .product-switcher button {
    padding-inline: 13px;
    font-size: 11px;
  }

  .product-info {
    min-height: auto;
    padding: 56px 26px 64px;
  }

  .product-info h3 {
    font-size: 35px;
  }

  .product-facts {
    grid-template-columns: 1fr;
    gap: 17px;
    margin: 38px 0;
  }

  .cook-flow {
    grid-template-columns: 1fr;
  }

  .cook-flow li,
  .cook-flow li:nth-child(3),
  .cook-flow li:nth-child(4) {
    min-height: 265px;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: 24px;
    padding: 26px 4px;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .cook-flow li:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-number {
    grid-column: 1 / 3;
  }

  .flow-symbol {
    grid-row: 2 / 4;
    width: 72px;
    transform: scale(0.72);
    transform-origin: top left;
  }

  .cook-flow h3 {
    grid-column: 2;
    margin-top: 36px;
  }

  .cook-flow p {
    grid-column: 2;
  }

  .recipe-link {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding: 24px;
  }

  .recipe-link span {
    grid-column: 1 / 3;
  }

  .recipe-link strong {
    font-size: 19px;
  }

  .island-photo {
    min-height: min(72vw, 520px);
    padding: 18px 18px 0;
    overflow: visible;
  }

  .island-photo img {
    border-radius: var(--radius);
  }

  .island-copy {
    min-height: auto;
    padding: 78px 18px;
  }

  .island-copy h2 {
    font-size: 37px;
  }

  .notes-heading {
    margin-bottom: 42px;
  }

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

  .note-feature {
    grid-column: auto;
  }

  .note-art {
    min-height: 310px;
  }

  .note-copy,
  .note-compact a {
    padding: 28px 25px 56px;
  }

  .note-copy h3,
  .note-compact h3 {
    font-size: 24px;
  }

  .all-notes-link {
    margin-left: 0;
  }

  .closing-section {
    min-height: 540px;
  }

  .closing-sun {
    width: 130vw;
  }

  .site-footer {
    padding: 58px 24px 34px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
  }

  .footer-legal {
    grid-template-columns: auto auto;
    justify-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
    padding-top: 20px;
    text-align: center;
    font-size: clamp(8px, 2.3vw, 9px);
  }

  .footer-legal-spacer {
    display: none;
  }

  .footer-icp,
  .footer-copyright {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
  }

  .footer-icp {
    grid-column: 1;
  }

  .footer-copyright {
    grid-column: 2;
  }

  .footer-icp img {
    width: 14px;
    height: auto;
  }

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

  .drawer-product img {
    width: 92px;
    height: 92px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
