@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sage: #9ea68f;
  --sage-pale: #d8dbc9;
  --sage-deep: #66705e;
  --ivory: #f2eddc;
  --paper: #fbf8ef;
  --warm-white: #fffdf7;
  --ink: #1c211b;
  --charcoal: #111510;
  --espresso: #39271d;
  --clay: #bd7358;
  --line: rgba(28, 33, 27, 0.18);
  --line-light: rgba(242, 237, 220, 0.3);
  --shadow: 0 28px 80px rgba(24, 27, 22, 0.16);
  --header-h: 74px;
  --container: 1340px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.2, 0.72, 0.28, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--ivory);
  background: var(--sage-deep);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--warm-white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(88px, 10vw, 156px);
}

.section--compact {
  padding-block: clamp(64px, 7vw, 104px);
}

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

.dark {
  color: var(--ivory);
  background: var(--charcoal);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.77rem;
  font-weight: 680;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.55;
}

.display-xl {
  margin-bottom: 32px;
  font-size: clamp(3.7rem, 8.5vw, 9.4rem);
}

.display-lg {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 7rem);
}

.display-md {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 4.8vw, 5.1rem);
}

.lead {
  max-width: 720px;
  font-size: clamp(1.12rem, 1.7vw, 1.46rem);
  line-height: 1.6;
}

.measure {
  max-width: 640px;
}

.line {
  display: block;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 3px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link::after {
  content: "↗";
  transition: transform 220ms var(--ease);
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-row--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--ivory);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

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

.button--outline {
  color: var(--ivory);
  background: transparent;
  border-color: rgba(242, 237, 220, 0.65);
}

.button--ink {
  color: var(--ivory);
  background: var(--ink);
  border-color: var(--ink);
}

.button--sage {
  color: var(--warm-white);
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  color: var(--ivory);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 rgba(20, 25, 19, 0);
  backdrop-filter: blur(0);
  transition: color 420ms var(--ease), background-color 420ms var(--ease), border-color 420ms var(--ease), box-shadow 420ms var(--ease), backdrop-filter 420ms var(--ease);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(242, 237, 220, 0.96);
  border-bottom-color: rgba(28, 33, 27, 0.12);
  box-shadow: 0 9px 30px rgba(20, 25, 19, 0.06);
  backdrop-filter: blur(16px);
}

body[data-page="visit"] .site-header:not(.is-scrolled),
body[data-page="error"] .site-header:not(.is-scrolled) {
  color: var(--ink);
}

body.nav-open .site-header {
  color: var(--ivory);
  background: var(--sage-deep);
  border-bottom-color: rgba(242, 237, 220, 0.18);
}

.header-inner {
  position: relative;
  display: grid;
  width: min(100%, 1600px);
  height: 100%;
  margin-inline: auto;
  padding: 0 clamp(20px, 3vw, 48px) 0 clamp(160px, 13vw, 210px);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-plaque {
  position: absolute;
  z-index: 2;
  top: 0;
  left: clamp(18px, 3.6vw, 58px);
  width: clamp(108px, 8.5vw, 128px);
  height: 142px;
  overflow: hidden;
  background: var(--sage);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 16px 34px rgba(20, 25, 19, 0.2);
  transition: box-shadow 300ms var(--ease);
}

.logo-plaque::after {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  height: 1px;
  content: "";
  background: rgba(242, 237, 220, 0.5);
}

.logo-plaque img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-nav {
  grid-column: 2;
}

.desktop-nav ul,
.footer-nav,
.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 44px);
}

.desktop-nav a {
  position: relative;
  padding-block: 25px;
  font-size: 0.84rem;
  font-weight: 680;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

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

.header-visit {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-self: end;
  padding: 7px 17px;
  color: var(--ink);
  background: var(--ivory);
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 7px 24px rgba(16, 19, 15, 0.14);
  transition: color 420ms var(--ease), background-color 420ms var(--ease), box-shadow 420ms var(--ease);
}

.site-header.is-scrolled .header-visit,
body[data-page="visit"] .site-header:not(.is-scrolled) .header-visit,
body[data-page="error"] .site-header:not(.is-scrolled) .header-visit {
  color: var(--ivory);
  background: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--sage);
  background: rgba(28, 33, 27, 0.94);
  border: 1px solid rgba(242, 237, 220, 0.72);
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(17, 21, 16, 0.14);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--sage);
  transition: transform 220ms ease, opacity 220ms ease;
}

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

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

.mobile-nav {
  position: fixed;
  z-index: 999;
  inset: var(--header-h) 0 0;
  display: grid;
  visibility: hidden;
  padding: 74px var(--pad) 36px;
  color: var(--warm-white);
  background: var(--sage-deep);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 220ms ease, transform 260ms var(--ease), visibility 0s linear 260ms;
  align-content: space-between;
}

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

.mobile-nav ul a {
  display: flex;
  padding: 13px 0;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 3vw, 20px);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 9vw, 4.2rem);
  line-height: 1.06;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 237, 220, 0.24);
}

.mobile-nav ul a::after {
  content: none;
}

.nav-bean {
  width: clamp(20px, 5.5vw, 28px);
  height: clamp(25px, 7vw, 35px);
  flex: 0 0 auto;
  color: var(--warm-white);
  opacity: 0;
  transform: translateX(-6px) rotate(-10deg);
  transition: opacity 220ms ease, transform 260ms var(--ease);
}

.nav-bean path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mobile-nav ul a.is-bean-target .nav-bean {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.mobile-nav__meta {
  display: grid;
  gap: 6px;
  padding-top: 28px;
  font-size: 0.88rem;
}

main {
  padding-top: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--warm-white);
  background: var(--charcoal);
}

.hero__media,
.hero__media video,
.page-hero__media,
.page-hero__media video,
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media video,
.page-hero__media video,
.page-hero__media img {
  object-fit: cover;
}

.hero__media video {
  object-position: 50% 50%;
}

.hero__media::after,
.page-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 12, 9, 0.74) 0%, rgba(9, 12, 9, 0.34) 50%, rgba(9, 12, 9, 0.12) 100%), linear-gradient(0deg, rgba(9, 12, 9, 0.58), transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  padding-top: clamp(126px, 16vh, 200px);
  padding-bottom: clamp(54px, 8vh, 90px);
  flex-direction: column;
  justify-content: flex-end;
}

.hero h1 {
  max-width: 1110px;
  margin-bottom: 26px;
  font-size: clamp(3.5rem, 7.9vw, 9rem);
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.2);
}

.hero__copy {
  max-width: 660px;
  margin: 0;
  font-size: clamp(1.06rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.video-control {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: 34px;
  display: inline-flex;
  min-width: 96px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 14px;
  color: var(--warm-white);
  background: rgba(16, 19, 15, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.video-control__icon {
  font-size: 0.72rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 150px);
  align-items: start;
}

.intro-copy h2 {
  max-width: 820px;
}

.pull-quote {
  margin: 0;
  padding-left: clamp(26px, 3vw, 48px);
  border-left: 1px solid var(--ink);
}

.pull-quote p {
  margin-bottom: 22px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 3.1vw, 3.45rem);
  font-style: italic;
  font-weight: 430;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.pull-quote cite {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry-links {
  display: grid;
  margin-top: clamp(72px, 9vw, 126px);
  border-bottom: 1px solid var(--line);
}

.entry-link {
  display: grid;
  min-height: 104px;
  padding: 22px 6px;
  grid-template-columns: 72px 1fr auto;
  gap: 22px;
  align-items: center;
  text-decoration: none;
  border-top: 1px solid var(--line);
  transition: padding 220ms var(--ease), background 220ms ease;
}

.entry-link:hover {
  padding-inline: 18px;
  background: rgba(158, 166, 143, 0.14);
}

.entry-link__number {
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.14em;
}

.entry-link__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
}

.entry-link__arrow {
  font-size: 1.25rem;
}

.roast-story {
  position: relative;
  height: 620vh;
  color: var(--ivory);
  background: var(--charcoal);
}

.roast-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.roast-stage video,
.roast-stage__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roast-stage::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 30% 50%, rgba(255, 236, 200, 0.08), transparent 36%), linear-gradient(90deg, rgba(10, 12, 9, 0.83), rgba(10, 12, 9, 0.38) 48%, rgba(10, 12, 9, 0.76));
}

.roast-stage__inner {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  padding-top: clamp(92px, 12vh, 130px);
  padding-bottom: clamp(118px, 18vh, 190px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.roast-heading {
  align-self: start;
}

.roast-heading h2 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 6.8vw, 7.8rem);
}

.roast-heading p {
  max-width: 540px;
  color: rgba(242, 237, 220, 0.82);
}

.roast-copy {
  position: relative;
  min-height: 360px;
}

.roast-step {
  position: absolute;
  inset: 0;
  display: flex;
  visibility: hidden;
  padding: clamp(26px, 3.3vw, 48px);
  flex-direction: column;
  justify-content: center;
  background: rgba(20, 22, 18, 0.6);
  border: 1px solid rgba(242, 237, 220, 0.24);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(24px);
  backdrop-filter: blur(14px);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease), visibility 0s linear 460ms;
}

.roast-step.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.roast-step__number {
  margin-bottom: 22px;
  color: var(--sage-pale);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.roast-step h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
}

.roast-step p {
  margin-bottom: 16px;
  color: rgba(242, 237, 220, 0.84);
}

.roast-step details {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 237, 220, 0.24);
}

.roast-step summary {
  width: fit-content;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 750;
}

.roast-step details p {
  margin: 12px 0 0;
  font-size: 0.87rem;
}

.process-rail {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: clamp(24px, 4vh, 52px);
  left: var(--pad);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.process-rail::before,
.process-rail::after {
  position: absolute;
  z-index: -1;
  top: 25px;
  right: calc(100% / 12);
  left: calc(100% / 12);
  height: 1px;
  content: "";
}

.process-rail::before {
  background: rgba(242, 237, 220, 0.24);
}

.process-rail::after {
  background: var(--ivory);
  transform: scaleX(var(--rail-progress, 0));
  transform-origin: left;
  transition: transform 120ms linear;
}

.process-node {
  display: grid;
  padding: 0 6px;
  gap: 8px;
  place-items: center;
  color: rgba(242, 237, 220, 0.48);
  transition: color 260ms ease;
}

.process-node.is-active,
.process-node.is-past {
  color: var(--ivory);
}

.process-node__icon {
  display: grid;
  width: 50px;
  height: 50px;
  background: var(--charcoal);
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
}

.process-node svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.process-node__label {
  max-width: 124px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.food-reveal {
  position: relative;
  height: 230vh;
  background: var(--charcoal);
}

.food-reveal__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.food-reveal video,
.food-reveal__stage::after,
.food-reveal__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.food-reveal video {
  object-fit: cover;
}

.food-reveal__stage::after {
  content: "";
  background: linear-gradient(0deg, rgba(12, 14, 11, 0.64), transparent 56%);
}

.food-reveal__panel {
  z-index: 2;
  display: grid;
  color: var(--ink);
  background: var(--ivory);
  clip-path: inset(0 0 calc(var(--food-progress, 0) * 100%) 0);
  place-items: center;
  will-change: clip-path;
}

.food-reveal__panel-inner {
  width: min(100%, 1000px);
  padding: var(--pad);
  text-align: center;
  transform: translateY(calc(var(--food-progress, 0) * -56px));
}

.food-reveal__panel h2 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 8.7rem);
}

.food-reveal__panel p {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.food-reveal__caption {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 28px;
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.food-story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}

.food-story-copy {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}

.food-story-copy h2 {
  margin-bottom: 28px;
}

.food-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.food-list li {
  display: flex;
  padding: 14px 0;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.food-list li::before {
  color: var(--sage-deep);
  content: "•";
}

.food-collage {
  position: relative;
  min-height: 980px;
}

.photo-card {
  position: absolute;
  width: min(64%, 480px);
  padding: 10px 10px 36px;
  background: var(--warm-white);
  box-shadow: 0 22px 52px rgba(27, 31, 25, 0.2);
  transform: rotate(var(--rotate, 0deg)) translateY(var(--parallax-y, 0px));
  transition: transform 500ms var(--ease), box-shadow 300ms ease;
}

.photo-card:hover {
  z-index: 5;
  box-shadow: 0 30px 70px rgba(27, 31, 25, 0.28);
  transform: rotate(0deg) translateY(calc(var(--parallax-y, 0px) - 6px));
}

.photo-card picture,
.photo-card img {
  width: 100%;
}

.photo-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  overflow: hidden;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.82rem;
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-card:nth-child(1) {
  --rotate: -2.8deg;
  top: 0;
  left: 2%;
}

.photo-card:nth-child(2) {
  --rotate: 2.5deg;
  top: 190px;
  right: 0;
}

.photo-card:nth-child(3) {
  --rotate: -1.3deg;
  top: 420px;
  left: 4%;
}

.photo-card:nth-child(4) {
  --rotate: 3deg;
  top: 650px;
  right: 3%;
}

.cake-feature {
  display: grid;
  overflow: hidden;
  color: var(--ivory);
  background: var(--espresso);
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.cake-feature__media {
  position: relative;
  min-height: 560px;
}

.cake-feature video,
.cake-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cake-feature__copy {
  display: flex;
  padding: clamp(52px, 7vw, 108px);
  flex-direction: column;
  justify-content: center;
}

.cake-feature h2 {
  margin-bottom: 26px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.story-split,
.art-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-split__media,
.art-preview__media {
  min-height: clamp(560px, 70vw, 880px);
  overflow: hidden;
}

.story-split__media img,
.art-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-preview__media picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.art-preview__media img {
  width: 138%;
  max-width: none;
  margin-left: -38%;
}

.story-split__media img {
  object-position: 58% 50%;
}

.story-split__copy,
.art-preview__copy {
  display: flex;
  padding: clamp(60px, 8vw, 132px);
  flex-direction: column;
  justify-content: center;
}

.story-split__copy {
  color: var(--ivory);
  background: var(--sage-deep);
}

.art-preview__copy {
  background: var(--paper);
}

.story-split h2,
.art-preview h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.5vw, 6.4rem);
}

.story-split p,
.art-preview p {
  max-width: 610px;
}

.page-hero {
  position: relative;
  display: flex;
  min-height: min(78svh, 860px);
  overflow: hidden;
  color: var(--ivory);
  background: var(--charcoal);
  align-items: flex-end;
}

.page-hero--short {
  min-height: min(62svh, 700px);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(150px, 20vh, 230px);
  padding-bottom: clamp(58px, 9vw, 110px);
}

.page-hero h1 {
  max-width: 1050px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 8vw, 9rem);
}

.page-hero p {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
}

.page-hero--coffee .page-hero__media::after {
  background: linear-gradient(90deg, rgba(7, 9, 7, 0.8), rgba(7, 9, 7, 0.24)), linear-gradient(0deg, rgba(7, 9, 7, 0.65), transparent 52%);
}

.page-hero--art .page-hero__media img {
  transform: scale(1.72);
  transform-origin: 86% 50%;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(46px, 8vw, 130px);
  align-items: start;
}

.page-intro h2 {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
}

.page-intro__copy {
  max-width: 740px;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
}

.menu-groups {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.menu-group {
  display: grid;
  padding-block: clamp(34px, 5vw, 66px);
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 7vw, 120px);
  border-top: 1px solid var(--line);
}

.menu-group h3 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
}

.menu-group__content p {
  max-width: 680px;
  margin-bottom: 12px;
}

.menu-group__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.menu-group__examples span,
.origin-tag {
  padding: 7px 13px;
  background: rgba(158, 166, 143, 0.18);
  border: 1px solid rgba(102, 112, 94, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 680;
}

.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}

.editorial-gallery figure {
  margin: 0;
  overflow: hidden;
}

.editorial-gallery picture,
.editorial-gallery img {
  width: 100%;
  height: 100%;
}

.editorial-gallery img {
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.editorial-gallery figure:hover img {
  transform: scale(1.025);
}

.editorial-gallery figure:nth-child(1) {
  height: 620px;
  grid-column: 1 / 8;
}

.editorial-gallery figure:nth-child(2) {
  height: 440px;
  margin-top: 90px;
  grid-column: 8 / 13;
}

.editorial-gallery figure:nth-child(3) {
  height: 440px;
  margin-top: -54px;
  grid-column: 2 / 7;
}

.editorial-gallery figure:nth-child(4) {
  height: 620px;
  margin-top: 36px;
  grid-column: 7 / 13;
}

.coffee-origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 140px);
}

.coffee-journey-section {
  position: relative;
  padding-block: clamp(88px, 10vw, 156px);
  overflow: clip;
  background:
    radial-gradient(circle at 12% 16%, rgba(158, 166, 143, 0.16), transparent 30%),
    var(--paper);
}

.coffee-journey-heading {
  display: grid;
  margin-bottom: clamp(42px, 6vw, 78px);
  align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(36px, 7vw, 120px);
}

.coffee-journey-heading h2 {
  max-width: 870px;
  margin-bottom: 0;
  font-size: clamp(3.3rem, 6.6vw, 7.2rem);
}

.coffee-journey-heading .lead {
  max-width: 510px;
  margin-bottom: 0;
}

.coffee-journey-shell {
  display: grid;
  min-height: clamp(620px, 58vw, 790px);
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 0.75fr);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.coffee-journey-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 52% 42%, rgba(189, 115, 88, 0.17), transparent 34%),
    radial-gradient(circle at 30% 70%, rgba(158, 166, 143, 0.15), transparent 34%),
    linear-gradient(145deg, #36261d, #111510 72%);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.coffee-journey-visual.is-dragging {
  cursor: grabbing;
}

.coffee-journey-poster,
.coffee-journey-canvas,
.coffee-journey-visual__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coffee-journey-poster {
  z-index: 1;
  object-fit: cover;
  opacity: 1;
  transition: opacity 520ms var(--ease);
}

.coffee-journey-canvas {
  z-index: 2;
  display: block;
  opacity: 0;
  transition: opacity 520ms var(--ease);
  touch-action: pan-y;
}

.coffee-journey-visual__shade {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(8, 9, 7, 0.12), transparent 28%),
    linear-gradient(0deg, rgba(8, 9, 7, 0.58), transparent 30%);
  pointer-events: none;
}

.coffee-journey-readout {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(22px, 3vw, 40px);
  left: clamp(18px, 3vw, 42px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.coffee-journey-readout span {
  color: rgba(242, 237, 220, 0.58);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(4rem, 9vw, 8.6rem);
  font-weight: 460;
  line-height: 0.72;
  letter-spacing: -0.08em;
}

.coffee-journey-readout strong {
  max-width: 260px;
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
}

.coffee-journey-drag {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 24px;
  margin: 0;
  color: rgba(242, 237, 220, 0.72);
  font-size: 0.64rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
}

.coffee-journey-content {
  position: relative;
  z-index: 5;
  display: flex;
  min-width: 0;
  padding: clamp(26px, 4vw, 56px);
  flex-direction: column;
  background: var(--ivory);
}

.coffee-journey-tabs {
  display: grid;
  margin-bottom: clamp(36px, 5vw, 62px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.coffee-journey-tab {
  position: relative;
  min-height: 76px;
  padding: 13px 6px 11px;
  color: rgba(28, 33, 27, 0.54);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.57rem;
  font-weight: 720;
  letter-spacing: 0.065em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: color 220ms ease, background-color 220ms ease;
}

.coffee-journey-tab::after {
  position: absolute;
  right: 10%;
  bottom: -1px;
  left: 10%;
  height: 3px;
  content: "";
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 280ms var(--ease);
}

.coffee-journey-tab span {
  display: block;
  margin-bottom: 5px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 520;
  letter-spacing: -0.02em;
}

.coffee-journey-tab:hover,
.coffee-journey-tab.is-active {
  color: var(--ink);
  background: rgba(158, 166, 143, 0.08);
}

.coffee-journey-tab.is-active::after {
  transform: scaleX(1);
}

.coffee-journey-panels {
  display: grid;
  flex: 1;
}

.coffee-journey-panel {
  grid-area: 1 / 1;
  align-self: start;
}

.coffee-journey-panel[hidden] {
  display: none;
}

.coffee-journey-panel h3 {
  max-width: 520px;
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.coffee-journey-panel > p:not(.coffee-journey-detail) {
  max-width: 540px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.coffee-journey-detail {
  max-width: 520px;
  margin: 0;
  padding: 18px 0 0 20px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  color: rgba(28, 33, 27, 0.66);
  font-size: 0.86rem;
}

.coffee-journey-detail span {
  display: block;
  margin-bottom: 4px;
  color: var(--sage-deep);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coffee-journey-controls {
  display: grid;
  margin-top: clamp(32px, 4vw, 52px);
  grid-template-columns: 48px minmax(150px, 1fr) 48px;
  gap: 10px;
}

.coffee-journey-control {
  min-height: 48px;
  color: var(--ivory);
  background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.coffee-journey-control:hover:not(:disabled) {
  color: var(--ink);
  background: var(--sage-pale);
}

.coffee-journey-control--direction {
  padding: 0;
  font-size: 1.3rem;
  letter-spacing: 0;
}

.coffee-journey-control:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.coffee-journey.is-loading .coffee-journey-visual::after,
.coffee-journey-section.is-loading .coffee-journey-visual::after {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 24px;
  content: "Preparing the scene…";
  color: rgba(242, 237, 220, 0.76);
  font-size: 0.62rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coffee-journey-section.is-ready .coffee-journey-poster {
  opacity: 0;
  pointer-events: none;
}

.coffee-journey-section.is-ready .coffee-journey-canvas,
.coffee-journey-section.is-ready .coffee-journey-drag {
  opacity: 1;
}

.coffee-journey-section.is-fallback .coffee-journey-canvas,
.coffee-journey-section.is-fallback .coffee-journey-drag {
  display: none;
}

.bean-model-section {
  position: relative;
  padding-bottom: clamp(88px, 10vw, 156px);
  background: var(--paper);
}

.bean-model-stage {
  position: relative;
  isolation: isolate;
  height: clamp(440px, 58vw, 780px);
  min-height: 440px;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 219, 201, 0.23), transparent 42%),
    linear-gradient(145deg, var(--espresso) 0%, var(--charcoal) 74%);
  box-shadow: var(--shadow);
}

.bean-model-stage::before {
  position: absolute;
  z-index: 0;
  right: 14%;
  bottom: 8%;
  left: 14%;
  height: 22%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.32), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.bean-model-poster,
.bean-model-viewer {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.bean-model-poster {
  padding: clamp(20px, 3.5vw, 56px);
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
  transition: opacity 420ms var(--ease);
}

.bean-model-viewer {
  z-index: 1;
  background: transparent;
  opacity: 0;
  touch-action: pan-y;
  --poster-color: transparent;
}

.bean-model-viewer:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: -7px;
}

.bean-model-stage.is-ready .bean-model-viewer {
  z-index: 3;
  opacity: 1;
}

.bean-model-stage.is-ready .bean-model-poster {
  opacity: 0;
}

.bean-model-stage.is-fallback .bean-model-viewer {
  display: none;
}

.bean-model-instruction {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 20px;
  margin: 0;
  color: rgba(242, 237, 220, 0.78);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: none;
}

.coffee-origin-grid h2 {
  font-size: clamp(3rem, 5vw, 5.7rem);
}

.coffee-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: coffee-process;
}

.coffee-process-list li {
  position: relative;
  padding: 34px 0 34px 76px;
  border-top: 1px solid var(--line);
  counter-increment: coffee-process;
}

.coffee-process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.coffee-process-list li::before {
  position: absolute;
  top: 39px;
  left: 0;
  content: "0" counter(coffee-process);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.14em;
}

.coffee-process-list h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.7vw, 2.8rem);
}

.coffee-process-list p {
  max-width: 680px;
  margin-bottom: 0;
}

.coffee-catalogue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.coffee-catalogue__group {
  padding: clamp(40px, 5vw, 72px);
  background: var(--paper);
}

.coffee-catalogue h3 {
  margin-bottom: 32px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.coffee-catalogue ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coffee-catalogue li {
  display: flex;
  padding: 14px 0;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.coffee-catalogue li:last-child {
  border-bottom: 1px solid var(--line);
}

.coffee-catalogue small {
  color: rgba(28, 33, 27, 0.66);
  text-align: right;
}

.coffee-atlas {
  margin-top: clamp(38px, 5vw, 68px);
}

.coffee-atlas__experience[hidden],
.coffee-atlas__selector[hidden],
.coffee-atlas__brazil-choice[hidden] {
  display: none;
}

.coffee-atlas.is-enhanced .coffee-atlas__fallback {
  display: none;
}

.coffee-atlas__modes {
  display: inline-grid;
  margin-bottom: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.coffee-atlas__mode {
  position: relative;
  min-width: 176px;
  min-height: 50px;
  padding: 12px 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.71rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coffee-atlas__mode + .coffee-atlas__mode {
  border-left: 1px solid var(--line);
}

.coffee-atlas__mode::after {
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 3px;
  content: "";
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 260ms var(--ease);
}

.coffee-atlas__mode:hover,
.coffee-atlas__mode.is-active {
  background: rgba(158, 166, 143, 0.13);
}

.coffee-atlas__mode.is-active::after {
  transform: scaleX(1);
}

.coffee-atlas__layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.9fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.coffee-atlas__map-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  color: var(--ivory);
  background: var(--charcoal);
}

.coffee-atlas__map-header {
  display: flex;
  margin-bottom: 22px;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.coffee-atlas__map-header .eyebrow {
  color: var(--sage-pale);
}

.coffee-atlas__map-header h3 {
  margin: 5px 0 0;
  color: var(--ivory);
  font-size: clamp(1.85rem, 3vw, 3.15rem);
}

.coffee-atlas__map-header p {
  margin: 0 0 5px;
  color: rgba(242, 237, 220, 0.66);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-align: right;
  text-transform: uppercase;
}

.coffee-atlas__map-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1000 / 560;
  overflow: hidden;
  background:
    radial-gradient(circle at 53% 45%, rgba(158, 166, 143, 0.11), transparent 45%),
    linear-gradient(145deg, rgba(57, 39, 29, 0.32), transparent 58%);
  border-top: 1px solid rgba(242, 237, 220, 0.18);
  border-bottom: 1px solid rgba(242, 237, 220, 0.18);
  touch-action: pan-y;
}

.coffee-atlas__map {
  position: absolute;
  box-sizing: border-box;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.coffee-atlas__sphere {
  fill: rgba(158, 166, 143, 0.045);
  stroke: rgba(242, 237, 220, 0.2);
  stroke-width: 1;
}

.coffee-atlas__land {
  fill: rgba(158, 166, 143, 0.44);
  stroke: rgba(242, 237, 220, 0.78);
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  path-length: 1;
}

.coffee-atlas__grain {
  fill: url("#coffee-atlas-grain");
  opacity: 0.27;
  pointer-events: none;
}

#coffee-atlas-grain circle {
  fill: rgba(242, 237, 220, 0.36);
}

.coffee-atlas__borders {
  fill: none;
  stroke: rgba(242, 237, 220, 0.2);
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
}

.coffee-atlas__contours {
  fill: none;
  stroke: rgba(242, 237, 220, 0.07);
  stroke-width: 1;
  transform: translate(var(--atlas-parallax-x, 0), var(--atlas-parallax-y, 0));
  transition: transform 300ms var(--ease);
}

.coffee-atlas__country {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1.25;
  transition: fill 240ms ease, stroke 240ms ease;
}

.coffee-atlas__country.is-active {
  fill: rgba(189, 115, 88, 0.56);
  stroke: var(--ivory);
}

.coffee-atlas__route {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.88;
  transition: stroke-dashoffset 620ms var(--ease);
  vector-effect: non-scaling-stroke;
}

.coffee-atlas__route.is-drawn {
  stroke-dashoffset: 0;
}

.coffee-atlas__leader {
  fill: none;
  stroke: rgba(242, 237, 220, 0.46);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  transition: stroke 220ms ease, opacity 220ms ease;
  vector-effect: non-scaling-stroke;
}

.coffee-atlas__leader.is-active {
  stroke: var(--clay);
}

.coffee-atlas__location {
  fill: var(--ivory);
  stroke: var(--charcoal);
  stroke-width: 2;
  transition: fill 220ms ease, transform 260ms var(--ease);
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.coffee-atlas__location.is-active {
  fill: var(--clay);
  transform: scale(1.34);
}

.coffee-atlas__svg-label {
  fill: var(--ivory);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.coffee-atlas__markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.coffee-atlas__marker {
  position: absolute;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  padding: 5px 8px;
  align-items: center;
  gap: 7px;
  color: var(--ivory);
  background: rgba(17, 21, 16, 0.82);
  border: 1px solid rgba(242, 237, 220, 0.35);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  line-height: 1;
  opacity: 1;
  transform: translate(-50%, -50%) translateY(7px);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, opacity 280ms ease, transform 300ms var(--ease);
  pointer-events: auto;
  white-space: nowrap;
}

.coffee-atlas:not(.is-in-view) .coffee-atlas__marker {
  opacity: 0;
}

.coffee-atlas.is-in-view .coffee-atlas__marker {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.coffee-atlas.is-in-view .coffee-atlas__marker:nth-child(2) { transition-delay: 35ms; }
.coffee-atlas.is-in-view .coffee-atlas__marker:nth-child(3) { transition-delay: 70ms; }
.coffee-atlas.is-in-view .coffee-atlas__marker:nth-child(4) { transition-delay: 105ms; }
.coffee-atlas.is-in-view .coffee-atlas__marker:nth-child(5) { transition-delay: 140ms; }
.coffee-atlas.is-in-view .coffee-atlas__marker:nth-child(6) { transition-delay: 175ms; }
.coffee-atlas.is-in-view .coffee-atlas__marker:nth-child(7) { transition-delay: 210ms; }

.coffee-atlas__marker.is-muted {
  opacity: 0.68;
}

.coffee-atlas__marker:disabled {
  cursor: default;
}

.coffee-atlas__marker:hover,
.coffee-atlas__marker.is-active {
  color: var(--charcoal);
  background: var(--ivory);
  border-color: var(--clay);
}

.coffee-atlas__bean {
  position: relative;
  display: block;
  width: 13px;
  height: 17px;
  flex: 0 0 auto;
  color: currentColor;
  border: 1.5px solid currentColor;
  border-radius: 52% 48% 48% 52%;
  transform: rotate(24deg);
}

.coffee-atlas__bean i {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 1px;
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%) rotate(12deg);
}

.coffee-atlas__london {
  position: absolute;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--ivory);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  transform: translate(-8px, -50%);
  white-space: nowrap;
}

.coffee-atlas__london span {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--clay);
  border: 3px solid var(--ivory);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(189, 115, 88, 0.35);
}

.coffee-atlas.is-in-view .coffee-atlas__land {
  animation: coffee-atlas-draw 760ms var(--ease) forwards;
}

@keyframes coffee-atlas-draw {
  to { stroke-dashoffset: 0; }
}

.coffee-atlas__sidebar {
  display: flex;
  min-width: 0;
  padding: clamp(26px, 3.4vw, 48px);
  flex-direction: column;
  background: var(--paper);
}

.coffee-atlas__selector h3 {
  margin-bottom: 23px;
  font-size: clamp(1.9rem, 2.8vw, 3.1rem);
}

.coffee-atlas__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.coffee-atlas__choices button {
  position: relative;
  min-height: 52px;
  padding: 12px 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
}

.coffee-atlas__choices button:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.coffee-atlas__choices button::before {
  display: inline-block;
  width: 7px;
  height: 10px;
  margin-right: 8px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: rotate(26deg);
}

.coffee-atlas__choices button:hover,
.coffee-atlas__choices button[aria-pressed="true"] {
  background: rgba(158, 166, 143, 0.17);
}

.coffee-atlas__choices button[aria-pressed="true"] {
  box-shadow: inset 0 -3px 0 var(--clay);
  font-weight: 720;
}

.coffee-atlas__choices--blends {
  grid-template-columns: 1fr;
}

.coffee-atlas__choices--blends button {
  display: flex;
  padding-inline: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
}

.coffee-atlas__choices--blends button:nth-child(odd) {
  border-right: 0;
}

.coffee-atlas__choices--blends button small {
  color: rgba(28, 33, 27, 0.62);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coffee-atlas__unmapped {
  margin: 24px 0 0;
  padding: 0;
  color: rgba(28, 33, 27, 0.68);
  list-style: none;
  border-top: 1px solid var(--line);
}

.coffee-atlas__unmapped li {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.79rem;
}

.coffee-atlas__information {
  min-height: 218px;
  margin-top: auto;
  padding-top: clamp(32px, 4vw, 54px);
  transition: opacity 240ms ease, transform 280ms var(--ease);
}

.coffee-atlas__information::before {
  display: block;
  width: 46px;
  height: 1px;
  margin-bottom: 22px;
  content: "";
  background: var(--clay);
}

.coffee-atlas__information h3 {
  margin: 7px 0 20px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 0.96;
}

.coffee-atlas__facts {
  margin: 0;
}

.coffee-atlas__facts > div {
  display: grid;
  padding: 12px 0;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
}

.coffee-atlas__facts > div:last-child {
  border-bottom: 1px solid var(--line);
}

.coffee-atlas__facts dt {
  color: var(--sage-deep);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coffee-atlas__facts dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.coffee-atlas__brazil-choice {
  margin: -2px 0 18px;
}

.coffee-atlas__brazil-choice > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(28, 33, 27, 0.6);
  font-size: 0.62rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coffee-atlas__brazil-choice > div {
  display: inline-flex;
  border: 1px solid var(--line);
}

.coffee-atlas__brazil-choice button {
  min-height: 44px;
  padding: 9px 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.68rem;
}

.coffee-atlas__brazil-choice button + button {
  border-left: 1px solid var(--line);
}

.coffee-atlas__brazil-choice button[aria-pressed="true"] {
  color: var(--ivory);
  background: var(--sage-deep);
}

.custom-blend {
  display: grid;
  padding: clamp(42px, 7vw, 90px);
  color: var(--ivory);
  background: var(--sage-deep);
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 36px;
  align-items: end;
}

.custom-blend h2 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 5.8rem);
}

.custom-blend p {
  max-width: 680px;
  margin-bottom: 0;
}

.story-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(34% - 1px);
  width: 1px;
  content: "";
  background: var(--line);
}

.story-timeline li {
  position: relative;
  display: grid;
  min-height: 210px;
  padding-block: 38px;
  grid-template-columns: 34% 66%;
  border-top: 1px solid var(--line);
}

.story-timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.story-timeline__date {
  padding-right: 44px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1;
}

.story-timeline__body {
  padding-left: clamp(36px, 6vw, 92px);
}

.story-timeline h3 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.story-timeline p {
  max-width: 700px;
  margin-bottom: 0;
}

.portrait-feature {
  display: grid;
  color: var(--ivory);
  background: var(--espresso);
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.portrait-feature__media {
  min-height: 720px;
}

.portrait-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.portrait-feature__copy {
  display: flex;
  padding: clamp(56px, 7vw, 110px);
  flex-direction: column;
  justify-content: center;
}

.portrait-feature h2 {
  margin-bottom: 25px;
  font-size: clamp(3rem, 5vw, 5.6rem);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-card {
  min-height: 340px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--paper);
}

.value-card__number {
  display: block;
  margin-bottom: 72px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.value-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.art-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
}

.art-statement blockquote {
  margin-bottom: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 6.1vw, 7.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.art-statement p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.art-gallery {
  display: grid;
  padding-bottom: clamp(80px, 12vw, 170px);
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: start;
}

.art-gallery figure {
  margin: 0;
}

.art-gallery picture,
.art-gallery img {
  width: 100%;
}

.art-gallery img {
  height: 100%;
  object-fit: cover;
}

.art-gallery figcaption {
  max-width: 460px;
  margin-top: 14px;
  font-size: 0.84rem;
}

.art-gallery figure:nth-child(1) {
  grid-column: 1 / 9;
}

.art-gallery figure:nth-child(1) img {
  aspect-ratio: 4 / 3;
}

.art-gallery figure:nth-child(2) {
  margin-top: 150px;
  grid-column: 9 / 13;
}

.art-gallery figure:nth-child(2) img {
  aspect-ratio: 3 / 4;
}

.art-gallery figure:nth-child(3) {
  margin-top: -50px;
  grid-column: 2 / 7;
}

.art-gallery figure:nth-child(3) img {
  aspect-ratio: 4 / 5;
}

.art-gallery figure:nth-child(4) {
  margin-top: 80px;
  grid-column: 7 / 13;
}

.art-gallery figure:nth-child(4) img {
  aspect-ratio: 5 / 4;
}

.future-events {
  display: grid;
  padding: clamp(42px, 7vw, 92px);
  background: var(--sage-pale);
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 50px;
  align-items: end;
}

.future-events h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.future-events p {
  max-width: 680px;
  margin-bottom: 0;
}

.social-follow {
  color: var(--warm-white);
  background: var(--sage-deep);
}

.social-follow__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: end;
}

.social-follow h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.4vw, 6.2rem);
}

.social-follow p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--warm-white);
}

.social-links {
  display: grid;
  gap: 12px;
}

.social-link {
  display: grid;
  min-height: 78px;
  padding: 16px 20px;
  color: var(--warm-white);
  border: 1px solid rgba(242, 237, 220, 0.38);
  border-radius: 3px;
  grid-template-columns: 38px 1fr auto;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease, transform 260ms var(--ease);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--ink);
  background: var(--ivory);
  transform: translateY(-2px);
}

.social-link svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.social-link--instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

.social-link__arrow {
  font-size: 0.85rem;
}

.visit-layout {
  display: block;
}

.visit-card {
  position: relative;
  width: min(100%, 1060px);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px);
  color: var(--ivory);
  background: var(--sage-deep);
}

.visit-card h1 {
  max-width: 820px;
  margin-bottom: 42px;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
}

.visit-card address {
  margin-bottom: 34px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  font-style: normal;
  line-height: 1.23;
}

.visit-card__contact {
  display: grid;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 237, 220, 0.28);
}

.map-frame {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: var(--sage-pale);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) sepia(0.08) contrast(0.95);
}

.map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 16px;
  background: var(--ivory);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.visit-note {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body[data-page="visit"] main > .section:first-child {
  padding-top: calc(var(--header-h) + clamp(72px, 8vw, 120px));
}

.food-reveal--visit {
  height: 205vh;
}

.food-reveal--visit video {
  object-position: 50% 50%;
}

.food-reveal--visit .food-reveal__panel h2 {
  max-width: 980px;
}

.visit-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.visit-map-layout .page-intro__copy {
  max-width: 620px;
}

.site-footer {
  color: var(--ivory);
  background: var(--charcoal);
}

.footer-main {
  display: grid;
  padding-top: clamp(70px, 9vw, 124px);
  padding-bottom: clamp(58px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.45fr) minmax(220px, 0.45fr);
  gap: clamp(44px, 7vw, 110px);
}

.footer-brand img {
  width: 106px;
  height: 106px;
  margin-bottom: 34px;
  object-fit: cover;
}

.footer-brand h2 {
  max-width: 670px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5vw, 5.7rem);
}

.footer-brand p {
  max-width: 550px;
  color: rgba(242, 237, 220, 0.68);
}

.footer-column h3 {
  margin-bottom: 22px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  text-decoration: none;
}

.footer-address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  padding-block: 20px;
  justify-content: space-between;
  gap: 18px;
  color: rgba(242, 237, 220, 0.56);
  border-top: 1px solid rgba(242, 237, 220, 0.18);
  font-size: 0.73rem;
}

.error-page {
  display: grid;
  min-height: 100svh;
  padding-block: 100px;
  place-items: center;
}

.error-page__inner {
  max-width: 900px;
  text-align: center;
}

.error-page__code {
  display: block;
  margin-bottom: 14px;
  color: var(--sage-deep);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.8;
}

.error-page h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.error-page p {
  max-width: 560px;
  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js [data-reveal="line"] {
  transform: translateY(1.05em);
}

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

.js [data-reveal-delay="1"] {
  transition-delay: 100ms;
}

.js [data-reveal-delay="2"] {
  transition-delay: 200ms;
}

.js [data-reveal-delay="3"] {
  transition-delay: 300ms;
}

@media (max-width: 1120px) {
  .header-inner {
    padding-left: 150px;
  }

  .desktop-nav ul {
    gap: 20px;
  }

  .desktop-nav a {
    font-size: 0.77rem;
  }

  .roast-stage__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  }

  .process-node__label {
    display: none;
  }

  .coffee-journey-shell {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  }

  .coffee-journey-content {
    padding: 32px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .header-inner {
    display: flex;
    padding-right: 16px;
    padding-left: 126px;
    justify-content: flex-end;
  }

  .logo-plaque {
    left: 16px;
    width: 96px;
    height: 116px;
  }

  .desktop-nav,
  .header-visit {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .intro-grid,
  .page-intro,
  .food-story-grid,
  .coffee-origin-grid,
  .visit-map-layout,
  .social-follow__inner {
    grid-template-columns: 1fr;
  }

  .coffee-journey-heading,
  .coffee-journey-shell {
    grid-template-columns: 1fr;
  }

  .coffee-journey-heading .lead {
    max-width: 720px;
  }

  .coffee-journey-visual {
    min-height: clamp(500px, 78vw, 680px);
  }

  .coffee-journey-content {
    min-height: 560px;
    padding: clamp(32px, 7vw, 64px);
  }

  .coffee-journey-panel h3 {
    max-width: 680px;
  }

  .coffee-journey-panel > p:not(.coffee-journey-detail),
  .coffee-journey-detail {
    max-width: 680px;
  }

  .pull-quote {
    max-width: 740px;
  }

  .roast-story {
    height: auto;
  }

  .roast-stage {
    position: relative;
    height: auto;
    min-height: 100svh;
  }

  .roast-stage video,
  .roast-stage__poster {
    height: 100%;
  }

  .roast-stage__inner {
    min-height: 100svh;
    padding-top: 116px;
    padding-bottom: 132px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .roast-heading h2 {
    max-width: 600px;
    font-size: clamp(3.1rem, 11vw, 6rem);
  }

  .roast-copy {
    display: grid;
    min-height: 0;
    gap: 14px;
  }

  .roast-step,
  .roast-step.is-active {
    position: relative;
    visibility: visible;
    padding: 26px;
    opacity: 1;
    transform: none;
  }

  .process-rail {
    display: none;
  }

  .food-reveal {
    height: 190vh;
  }

  .food-reveal--visit {
    height: 160vh;
  }

  .food-story-copy,
  .visit-card {
    position: relative;
    top: auto;
  }

  .food-collage {
    display: flex;
    min-height: auto;
    margin-right: calc(var(--pad) * -1);
    margin-left: calc(var(--pad) * -1);
    padding: 24px var(--pad) 56px;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .photo-card,
  .photo-card:nth-child(n) {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(78vw, 470px);
    min-width: min(78vw, 470px);
    margin: 0;
    scroll-snap-align: center;
  }

  .cake-feature,
  .story-split,
  .art-preview,
  .portrait-feature {
    grid-template-columns: 1fr;
  }

  .cake-feature__media {
    min-height: 420px;
  }

  .story-split__media,
  .art-preview__media {
    min-height: 570px;
  }

  .story-split__copy,
  .art-preview__copy {
    min-height: 520px;
  }

  .editorial-gallery figure:nth-child(1),
  .editorial-gallery figure:nth-child(4) {
    height: 500px;
  }

  .editorial-gallery figure:nth-child(2),
  .editorial-gallery figure:nth-child(3) {
    height: 360px;
  }

  .coffee-catalogue,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .coffee-atlas__layout {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .coffee-atlas__map-card,
  .coffee-atlas__sidebar {
    width: 100%;
    min-width: 0;
  }

  .coffee-atlas__map-frame {
    min-height: 0;
  }

  .coffee-atlas__sidebar {
    min-height: 0;
  }

  .coffee-atlas__information {
    margin-top: 34px;
  }

  .custom-blend,
  .future-events {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .portrait-feature__media {
    min-height: 650px;
  }

  .visit-card {
    padding: 44px;
  }

  .social-links {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .section {
    padding-block: 78px;
  }

  .hero__content {
    padding-top: 138px;
    padding-bottom: 104px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 14.8vw, 5.7rem);
  }

  .hero__media video {
    object-position: 59% 50%;
  }

  .video-control {
    right: auto;
    bottom: 24px;
    left: var(--pad);
  }

  .entry-link {
    min-height: 90px;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
  }

  .entry-link__title {
    font-size: 1.55rem;
  }

  .roast-stage__inner {
    padding-bottom: 76px;
  }

  .roast-step details {
    display: none;
  }

  .food-reveal__panel h2 {
    font-size: clamp(3.2rem, 16vw, 5.5rem);
  }

  .food-reveal video {
    object-position: 56% 50%;
  }

  .cake-feature__media {
    min-height: 340px;
  }

  .story-split__media,
  .art-preview__media {
    min-height: 460px;
  }

  .story-split__copy,
  .art-preview__copy {
    min-height: 0;
    padding: 62px var(--pad);
  }

  .page-hero {
    min-height: 72svh;
  }

  .page-hero__content {
    padding-top: 150px;
    padding-bottom: 62px;
  }

  .page-hero h1 {
    font-size: clamp(3.4rem, 15vw, 6rem);
  }

  .menu-group {
    grid-template-columns: 1fr;
  }

  .editorial-gallery {
    grid-template-columns: 1fr;
  }

  .editorial-gallery figure:nth-child(n) {
    height: auto;
    margin-top: 0;
    grid-column: 1;
  }

  .editorial-gallery figure:nth-child(n) img {
    aspect-ratio: 4 / 3;
  }

  .coffee-process-list li {
    padding-left: 52px;
  }

  .coffee-journey-section {
    padding-block: 78px;
  }

  .coffee-journey-heading {
    margin-bottom: 38px;
    gap: 26px;
  }

  .coffee-journey-heading h2 {
    font-size: clamp(3.05rem, 14vw, 5.4rem);
  }

  .coffee-journey-visual {
    min-height: clamp(390px, 110vw, 520px);
  }

  .coffee-journey-content {
    min-height: 620px;
    padding: 26px 20px 28px;
  }

  .coffee-journey-tabs {
    margin-bottom: 34px;
  }

  .coffee-journey-tab {
    min-height: 68px;
    padding-inline: 2px;
    font-size: 0.47rem;
    letter-spacing: 0.025em;
  }

  .coffee-journey-tab span {
    font-size: 0.98rem;
  }

  .coffee-journey-panel h3 {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
  }

  .coffee-journey-readout {
    align-items: flex-end;
  }

  .coffee-journey-readout span {
    font-size: clamp(4.6rem, 21vw, 7rem);
  }

  .coffee-journey-readout strong {
    max-width: 150px;
    font-size: 0.61rem;
  }

  .coffee-journey-drag {
    top: 16px;
    left: 16px;
    font-size: 0.55rem;
  }

  .coffee-catalogue li {
    display: grid;
  }

  .coffee-catalogue small {
    text-align: left;
  }

  .coffee-atlas {
    margin-top: 30px;
  }

  .coffee-atlas__modes {
    display: grid;
    width: 100%;
    margin-bottom: 12px;
  }

  .coffee-atlas__mode {
    min-width: 0;
    min-height: 48px;
    padding-inline: 10px;
    font-size: 0.63rem;
  }

  .coffee-atlas__map-card {
    padding: 18px 14px 20px;
  }

  .coffee-atlas__map-header {
    display: block;
    margin-bottom: 14px;
  }

  .coffee-atlas__map-header h3 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .coffee-atlas__map-header p {
    margin-top: 8px;
    text-align: left;
  }

  .coffee-atlas__map-frame {
    min-height: 0;
    aspect-ratio: 1.25;
  }

  .coffee-atlas__map {
    padding-block: 9%;
  }

  .coffee-atlas__svg-labels {
    display: none;
  }

  .coffee-atlas__marker {
    min-width: 44px;
    max-width: 92px;
    padding: 4px 6px;
    gap: 5px;
    font-size: 0.59rem;
    line-height: 1.12;
    white-space: normal;
  }

  .coffee-atlas__bean {
    display: none;
  }

  .coffee-atlas__london {
    font-size: 0.58rem;
    transform: translate(-5px, -50%);
  }

  .coffee-atlas__sidebar {
    padding: 28px 18px;
  }

  .coffee-atlas__selector h3 {
    margin-bottom: 18px;
    font-size: 2rem;
  }

  .coffee-atlas__choices {
    display: flex;
    margin-right: -18px;
    margin-left: -18px;
    padding: 0 18px 5px;
    gap: 8px;
    overflow-x: auto;
    border-top: 0;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .coffee-atlas__choices button,
  .coffee-atlas__choices button:nth-child(odd) {
    min-width: max-content;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    scroll-snap-align: start;
  }

  .coffee-atlas__choices--blends button {
    gap: 18px;
  }

  .coffee-atlas__unmapped {
    margin-top: 20px;
  }

  .coffee-atlas__information {
    min-height: 0;
    margin-top: 28px;
    padding-top: 0;
  }

  .coffee-atlas__information h3 {
    font-size: clamp(2.55rem, 12vw, 3.75rem);
  }

  .coffee-atlas__facts > div {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .bean-model-stage {
    height: clamp(390px, 112vw, 520px);
    min-height: 390px;
  }

  .bean-model-poster {
    padding: 18px;
  }

  .bean-model-instruction {
    right: 16px;
    bottom: 14px;
    font-size: 0.62rem;
  }

  .story-timeline::before {
    left: 18px;
  }

  .story-timeline li {
    padding-left: 48px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-timeline__date {
    padding-right: 0;
  }

  .story-timeline__body {
    padding-left: 0;
  }

  .portrait-feature__media {
    min-height: 480px;
  }

  .art-statement {
    grid-template-columns: 1fr;
  }

  .art-gallery {
    grid-template-columns: 1fr;
  }

  .art-gallery figure:nth-child(n) {
    margin-top: 0;
    grid-column: 1;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .visit-card {
    padding: 36px 28px;
  }

  .map-frame {
    height: 440px;
  }

  .food-reveal--visit video {
    object-position: 58% 50%;
  }

  .social-link {
    min-height: 70px;
  }
}

@media (max-width: 380px) {
  .coffee-atlas__map-frame {
    aspect-ratio: 1.08;
  }

  .coffee-atlas__marker {
    max-width: 78px;
    font-size: 0.54rem;
  }

  .coffee-atlas__london strong {
    max-width: 56px;
    white-space: normal;
  }

  .coffee-atlas__brazil-choice > div {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coffee-atlas__brazil-choice button {
    padding-inline: 6px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .bean-model-stage {
    height: clamp(370px, 116vw, 520px);
    min-height: 370px;
  }

  .bean-model-poster {
    padding: 16px;
  }

  .bean-model-instruction {
    right: 16px;
    bottom: 14px;
    font-size: 0.62rem;
  }

  .coffee-journey-content {
    min-height: 650px;
    padding-inline: 16px;
  }

  .coffee-journey-tab {
    font-size: 0.43rem;
  }

  .coffee-journey-controls {
    grid-template-columns: 46px minmax(124px, 1fr) 46px;
  }

  .mobile-nav {
    padding-top: 56px;
  }

  .mobile-nav ul a {
    font-size: 2rem;
  }

}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .coffee-journey-drag {
    display: none;
  }

  .roast-story,
  .food-reveal {
    height: auto;
  }

  .roast-stage,
  .food-reveal__stage {
    position: relative;
    height: auto;
    min-height: 0;
  }

  .roast-stage video,
  .food-reveal video {
    display: none;
  }

  .roast-stage__poster {
    position: absolute;
    height: 100%;
  }

  .roast-stage__inner {
    position: relative;
    min-height: 0;
  }

  .food-reveal__stage {
    min-height: 720px;
    background: url("../images/responsive/food-poster-1280.webp") center / cover no-repeat;
  }

  .food-reveal--visit .food-reveal__stage {
    background-image: url("../images/responsive/hero-poster-1280.webp");
  }

  .food-reveal__panel {
    position: relative;
    min-height: 520px;
    clip-path: none;
  }

  .food-reveal__panel-inner {
    transform: none;
  }

  .nav-bean,
  .mobile-nav ul a.is-bean-target .nav-bean {
    transform: none;
  }

  .photo-card {
    transform: none;
  }
}

.no-js .roast-story,
.no-js .food-reveal {
  height: auto;
}

.no-js .roast-stage,
.no-js .food-reveal__stage {
  position: relative;
  height: auto;
  min-height: 900px;
}

.no-js .roast-copy {
  display: grid;
  min-height: 0;
  gap: 12px;
}

.no-js .roast-step {
  position: relative;
  visibility: visible;
  opacity: 1;
  transform: none;
}

.no-js .process-rail {
  display: none;
}

.no-js .food-reveal__panel {
  position: relative;
  min-height: 560px;
  clip-path: none;
}

.no-js .bean-model-viewer {
  display: none;
}

.no-js .bean-model-poster {
  opacity: 1;
}

.no-js .coffee-journey-tabs,
.no-js .coffee-journey-controls,
.no-js .coffee-journey-drag,
.no-js .coffee-journey-canvas {
  display: none;
}

.no-js .coffee-journey-poster {
  opacity: 1;
}

.no-js .coffee-journey-content {
  gap: 38px;
}

.no-js .coffee-journey-panels {
  display: grid;
  gap: 38px;
}

.no-js .coffee-journey-panel,
.no-js .coffee-journey-panel[hidden] {
  display: block !important;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.no-js .site-header {
  color: var(--ink);
  background: rgba(242, 237, 220, 0.96);
  border-bottom-color: rgba(28, 33, 27, 0.12);
}

.no-js main {
  padding-top: var(--header-h);
}
