@font-face {
  font-family: Bebas;
  src: url("./assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("./assets/fonts/DMSans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #311d1a;
  --cream: #ead9b7;
  --copper: #d99163;
  --line: #ead9b73d;
  --dim: #c4aa8d;
  --display: Bebas, Impact, sans-serif;
  --sans: DM, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 14px var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
a,
button,
input {
  outline-offset: 5px;
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper);
}
button {
  cursor: pointer;
}
.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  padding: 15px;
  background: var(--cream);
  color: var(--ink);
  z-index: 100;
}
.skip:focus {
  top: 15px;
}
.header {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 111px;
  padding: 0 4.7%;
  display: flex;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--display);
  font-size: 54px;
  letter-spacing: -1px;
  position: relative;
  line-height: 1;
}
.logo-symbol {
  position: absolute;
  font-family: var(--sans);
  font-size: 9px;
  top: 4px;
  right: -10px;
  letter-spacing: 0;
}
.brand-note {
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.14em;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: 10px;
}
.header nav > a:not(.nav-button) {
  padding: 15px 0;
  border-bottom: 1px solid transparent;
}
.header nav > a:not(.nav-button):hover {
  border-color: var(--cream);
}
.nav-button {
  padding: 13px 17px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  min-height: 44px;
}
.nav-button:hover {
  background: var(--cream);
  color: var(--ink);
}
.coffee-story {
  position: relative;
}
.coffee-story {
  position: relative;
  overflow: clip;
}
.scene {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  margin-bottom: -100svh;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 65% 40%,
    #663326 0,
    #3b201c 45%,
    #2b1817 100%
  );
}
.scene:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #261414a0,
    transparent 22%,
    transparent 80%,
    #26141455
  );
}
.scene-grain {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.giant-o {
  font-family: var(--display);
  position: absolute;
  top: -28%;
  right: -4%;
  font-size: 135vh;
  line-height: 1.1;
  color: #9c563128;
  transform: rotate(-18deg);
  user-select: none;
}
.scene canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 2;
}
.scene-coordinate {
  position: absolute;
  right: 5%;
  bottom: 16%;
  z-index: 5;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.scene-coordinate i {
  display: block;
  width: 45px;
  height: 1px;
  background: var(--line);
}
.stage-vertical {
  font-size: 8px;
  letter-spacing: 0.15em;
  position: absolute;
  z-index: 5;
  right: 2%;
  top: 40%;
  writing-mode: vertical-rl;
}
.story-meter {
  position: absolute;
  z-index: 5;
  left: 4.7%;
  right: 4.7%;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 8px;
  letter-spacing: 0.15em;
}
.story-meter > div {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.story-meter i {
  display: block;
  background: var(--copper);
  height: 1px;
  width: 0;
}
.chapters {
  position: relative;
  z-index: 4;
  pointer-events: none;
}
.chapter {
  height: 100svh;
  min-height: 700px;
  padding: 130px 7.8% 100px;
  display: flex;
  align-items: center;
  position: relative;
}
.chapter button,
.chapter a,
.chapter input {
  pointer-events: auto;
}
.chapter-copy {
  position: relative;
  width: 58%;
  max-width: 760px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
  font-weight: 500;
}
.small-mark {
  color: var(--copper);
  font-size: 20px;
  vertical-align: middle;
  margin-right: 10px;
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(90px, 10.1vw, 170px);
  margin: 27px 0 24px;
}
.outline-text {
  -webkit-text-stroke: 1px var(--cream);
  color: transparent;
}
h1 .outline-text {
  white-space: nowrap;
}
h2 {
  font-size: clamp(78px, 8.6vw, 145px);
  margin: 29px 0 24px;
}
.hero .chapter-copy {
  width: 74%;
  max-width: 1000px;
}
.hero-topline {
  position: absolute;
  left: 7.8%;
  right: 7.8%;
  top: 142px;
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 0.16em;
}
.hero-description {
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
  margin: 20px 0;
}
.round-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 113px;
  height: 113px;
  padding: 23px 18px;
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-top: 26px;
}
.round-link b {
  font-size: 25px;
  font-weight: 400;
  transition: transform 0.2s;
}
.round-link:hover {
  background: var(--cream);
  color: var(--ink);
}
.round-link:hover b {
  transform: translate(3px, 3px);
}
.hero-bottom {
  position: absolute;
  left: 7.8%;
  right: 7.8%;
  bottom: 83px;
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.hero-bottom > span:last-child {
  text-align: right;
}
.body-copy {
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
  margin-bottom: 30px;
}
.source {
  justify-content: flex-end;
}
.source .chapter-copy {
  width: 46%;
  max-width: 580px;
}
.source h2 {
  font-size: clamp(76px, 7.7vw, 123px);
}
.origin-switcher {
  margin: 35px 0 22px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.origin-switcher button {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  padding: 13px 0;
  font-size: 13px;
  color: var(--dim);
  min-height: 44px;
}
.origin-switcher button span {
  font-size: 8px;
  margin-right: 28px;
}
.origin-switcher button i {
  font-style: normal;
  margin-left: auto;
  font-size: 17px;
  opacity: 0;
  transform: translate(-7px, 7px);
  transition: all 0.2s;
}
.origin-switcher button.active,
.origin-switcher button:hover {
  color: var(--cream);
}
.origin-switcher button.active i {
  opacity: 1;
  transform: none;
}
.origin-facts {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.9fr;
  gap: 17px;
  margin-top: 27px;
}
.origin-facts > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.origin-facts span {
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--copper);
}
.origin-facts b {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}
.corner-note {
  position: absolute;
  left: 7.8%;
  bottom: 15%;
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.roast .chapter-copy {
  width: 49%;
  max-width: 620px;
}
.roast-control {
  max-width: 380px;
  margin-top: 30px;
}
.roast-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.roast-top output {
  color: var(--copper);
}
#roast-level {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 44px;
  background: linear-gradient(90deg, #e9c495, #884b32, #311813) center / 100%
    2px no-repeat;
  border: 0;
  border-radius: 0;
  margin: 8px 0;
  cursor: ew-resize;
}
#roast-level::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 6px #d9916319;
  cursor: grab;
}
#roast-level::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  background: var(--copper);
}
.roast-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.13em;
  color: var(--dim);
}
#roast-description {
  font-size: 12px;
  line-height: 1.7;
  margin: 22px 0 27px;
  color: var(--dim);
  min-height: 34px;
}
.flavour-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.flavour-chart > div > span {
  font-size: 6px;
  letter-spacing: 0.11em;
  color: var(--copper);
}
.flavour-chart i {
  display: block;
  height: 2px;
  background: var(--line);
  margin-top: 9px;
}
.flavour-chart b {
  display: block;
  height: 2px;
  background: var(--cream);
  transition: width 0.15s;
}
.heat-label {
  position: absolute;
  right: 7%;
  bottom: 18%;
  text-align: right;
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--dim);
}
.heat-label > span {
  display: block;
  font-size: 54px;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 18px;
}
.cup {
  justify-content: flex-end;
}
.cup .chapter-copy {
  width: 47%;
  max-width: 610px;
}
.brew-link {
  display: flex;
  width: 250px;
  justify-content: space-between;
  background: var(--cream);
  color: var(--ink);
  padding: 18px 22px;
  font-size: 12px;
  align-items: center;
  min-height: 44px;
}
.brew-link span {
  font-size: 21px;
}
.brew-link:hover {
  background: var(--copper);
}
.cup-note {
  position: absolute;
  left: 7.8%;
  bottom: 17%;
  font-size: 8px;
  line-height: 1.8;
  color: var(--dim);
  letter-spacing: 0.1em;
}
.ticker {
  padding: 30px 0;
  background: var(--copper);
  color: var(--ink);
  overflow: hidden;
  border-top: 1px solid #d9916370;
  border-bottom: 1px solid #311d1a33;
}
.ticker > div {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 25px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(24px, 4.1vw, 66px);
  line-height: 1;
}
.ticker i {
  font-size: 35px;
  font-style: normal;
}
.brew-lab {
  background: var(--cream);
  color: var(--ink);
  padding: 115px 8%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
}
.lab-intro,
.brew-form {
  min-width: 0;
}
.brew-lab .outline-text {
  -webkit-text-stroke: 1px var(--ink);
}
.lab-intro h2 {
  font-size: clamp(95px, 9vw, 145px);
  margin: 28px 0 30px;
}
.lab-intro > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
}
.lab-stamp {
  height: 145px;
  width: 145px;
  border: 1px solid #311d1a70;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--display);
  font-size: 29px;
  line-height: 0.9;
  margin-top: 65px;
  transform: rotate(-13deg);
  outline: 1px solid #311d1a30;
  outline-offset: -7px;
}
.lab-stamp small {
  font-family: var(--sans);
  font-size: 6px;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 10px;
}
.brew-form fieldset {
  border: 0;
  margin: 0 0 32px;
  padding: 0;
  min-width: 0;
}
.brew-form legend {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.brew-form legend > span {
  font-size: 7px;
  margin-right: 19px;
  color: #806149;
}
.method-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.method-options label {
  cursor: pointer;
  min-width: 0;
}
.method-options input,
.strength-options input {
  position: absolute;
  opacity: 0;
  height: 1px;
  width: 1px;
}
.method-options label > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border: 1px solid #311d1a4d;
}
.method-options svg {
  width: 52px;
  height: 52px;
  stroke: var(--ink);
  stroke-width: 1.1;
  fill: none;
  margin-bottom: 8px;
}
.method-options b {
  font-size: 12px;
  font-weight: 400;
}
.method-options input:checked + span {
  background: #d6ba8f;
  border-color: var(--ink);
}
.method-options input:focus-visible + span,
.strength-options input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.dose-controls {
  display: flex;
  align-items: center;
  border: 1px solid #311d1a4d;
  height: 80px;
  padding: 0 23px;
  justify-content: space-between;
}
.dose-controls button {
  border: 1px solid #311d1a40;
  border-radius: 50%;
  background: transparent;
  width: 29px;
  height: 29px;
  font-size: 19px;
  line-height: 1;
  padding: 0;
  color: var(--ink);
}
.dose-controls button:hover {
  background: var(--ink);
  color: var(--cream);
}
.dose-controls label {
  display: flex;
  align-items: baseline;
  gap: 11px;
}
.dose-controls input {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 60px;
  max-width: 60px;
  min-width: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-family: var(--display);
  font-size: 45px;
  text-align: right;
  padding: 0;
  outline-offset: 2px;
}
.dose-controls input::-webkit-inner-spin-button,
.dose-controls input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.dose-controls label > span {
  font-size: 8px;
  letter-spacing: 0.08em;
}
.strength-options {
  display: flex;
  gap: 8px;
}
.strength-options label {
  flex: 1;
  cursor: pointer;
}
.strength-options label > span {
  display: block;
  border: 1px solid #311d1a4d;
  padding: 13px;
  text-align: center;
  font-size: 12px;
}
.strength-options input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.recipe-ticket {
  position: relative;
  background: #f7ecd5;
  padding: 24px 23px 21px;
  margin-top: 12px;
  border: 1px solid #311d1a2b;
  border-bottom: 0;
}
.recipe-ticket:after {
  content: "";
  height: 10px;
  position: absolute;
  bottom: -9px;
  left: -1px;
  right: -1px;
  background:
    linear-gradient(135deg, #f7ecd5 25%, transparent 25%) -5px 0,
    linear-gradient(225deg, #f7ecd5 25%, transparent 25%) -5px 0;
  background-size: 10px 10px;
  filter: drop-shadow(0 1px 0 #311d1a2b);
}
.ticket-heading {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
  letter-spacing: 0.09em;
  border-bottom: 1px dashed #311d1a40;
  padding-bottom: 15px;
}
.recipe-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 0;
}
.recipe-numbers > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.recipe-numbers b {
  font: 46px var(--display);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.recipe-numbers span {
  font-size: 6px;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.recipe-ticket > p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 20px;
  min-height: 32px;
}
.recipe-foot {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
  letter-spacing: 0.1em;
  border-top: 1px dashed #311d1a40;
  padding-top: 15px;
}
.save-recipe {
  border: 0;
  background: var(--ink);
  color: var(--cream);
  margin-top: 30px;
  padding: 19px 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.save-recipe:hover {
  background: #674029;
}
.save-note {
  font-size: 8px;
  text-align: center;
  margin-top: 14px;
  line-height: 1.7;
  color: #806149;
}
.closing {
  background: var(--copper);
  color: var(--ink);
  padding: 70px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.closing > p {
  font: clamp(65px, 9vw, 145px) / 0.9 var(--display);
  margin: 0;
}
.closing .outline-text {
  -webkit-text-stroke: 1px var(--ink);
}
.closing > a {
  height: 110px;
  width: 110px;
  border: 1px solid #311d1a70;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 55px;
  font-weight: 200;
}
.closing > a:hover {
  background: var(--ink);
  color: var(--cream);
}
footer {
  padding: 55px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
footer .logo {
  font-size: 70px;
}
footer > p {
  font-size: 8px;
  line-height: 1.8;
  color: var(--dim);
  margin: 0;
}
footer > span:last-child {
  font-size: 7px;
  line-height: 1.8;
  text-align: right;
  color: var(--dim);
  letter-spacing: 0.1em;
}
.fallback-bag {
  position: absolute;
  top: 28%;
  left: 67%;
  height: 355px;
  width: 205px;
  background: linear-gradient(100deg, #b67a4a, #e0b479 35%, #a87044);
  border-radius: 12px 12px 4px 4px;
  box-shadow: 10px 30px 25px #14060060;
  transform: rotate(12deg);
  padding: 26px;
  color: var(--ink);
}
.fallback-bag:before {
  content: "";
  height: 13px;
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  border-top: 1px solid #4f28177a;
  border-bottom: 1px solid #4f28177a;
}
.fallback-bag > span {
  font: 32px var(--display);
}
.fallback-bag > b {
  display: block;
  font: 60px/0.86 var(--display);
  margin-top: 20px;
}
.fallback-bag > small {
  display: block;
  font-size: 7px;
  margin-top: 20px;
}
.webgl .fallback-bag {
  display: none;
}
@media (min-width: 701px) {
  .hero-topline {
    left: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    text-align: right;
    max-width: 23%;
  }
}
@media (min-width: 1700px) {
  .hero-description,
  .body-copy {
    font-size: 15px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .origin-switcher button {
    font-size: 13px;
    min-height: 44px;
  }
  .origin-facts b {
    font-size: 12px;
  }
  .origin-facts span {
    font-size: 9px;
  }
  .roast-control {
    max-width: 480px;
  }
  .roast-top {
    font-size: 12px;
  }
  #roast-description {
    font-size: 12px;
  }
}
@media (max-width: 1050px) {
  .header {
    height: 96px;
    gap: 27px;
  }
  .logo {
    font-size: 46px;
  }
  .brand-note {
    font-size: 7px;
  }
  .header nav {
    gap: 23px;
    font-size: 9px;
  }
  .hero-topline {
    top: 125px;
  }
  .chapter {
    padding-left: 6%;
    padding-right: 6%;
  }
  h1 {
    font-size: 12vw;
  }
  .hero .chapter-copy {
    width: 85%;
  }
  h2 {
    font-size: 10vw;
  }
  .source .chapter-copy {
    width: 48%;
  }
  .source h2 {
    font-size: 8.8vw;
  }
  .origin-facts {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .origin-facts > div:last-child {
    grid-column: 1/3;
  }
  .corner-note {
    left: 6%;
  }
  .roast .chapter-copy {
    width: 51%;
  }
  .cup .chapter-copy {
    width: 49%;
  }
  .brew-lab {
    padding: 90px 6%;
    gap: 6%;
  }
  .lab-intro h2 {
    font-size: 11vw;
  }
  .method-options b {
    font-size: 12px;
  }
  .recipe-numbers b {
    font-size: 40px;
  }
  .ticket-heading {
    font-size: 5px;
  }
  .closing > a {
    width: 90px;
    height: 90px;
    font-size: 45px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 20px;
  }
  .header {
    height: 82px;
    padding: 0 6%;
    gap: 25px;
  }
  .logo {
    font-size: 40px;
  }
  .brand-note {
    font-size: 6px;
    line-height: 1.5;
  }
  .header nav > a:not(.nav-button) {
    display: none;
  }
  .nav-button {
    font-size: 12px;
    padding: 11px 10px;
    gap: 13px;
    min-height: 44px;
  }
  .scene {
    min-height: 760px;
  }
  .chapter {
    min-height: 760px;
    padding: 150px 7% 80px;
    align-items: flex-start;
  }
  .hero-topline {
    left: 7%;
    right: 7%;
    top: 105px;
    font-size: 5px;
  }
  .hero .chapter-copy {
    width: 100%;
  }
  .eyebrow {
    font-size: 6px;
    letter-spacing: 0.11em;
  }
  .small-mark {
    font-size: 14px;
    margin-right: 7px;
  }
  h1 {
    font-size: clamp(67px, 15vw, 106px);
    margin: 22px 0 22px;
    line-height: 0.9;
  }
  h1 .outline-text {
    white-space: normal;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.7;
  }
  .round-link {
    width: 86px;
    height: 86px;
    font-size: 6px;
    padding: 17px 12px;
    margin-top: 22px;
  }
  .round-link b {
    font-size: 20px;
  }
  .hero-bottom {
    left: 7%;
    right: 7%;
    bottom: 75px;
    font-size: 6px;
  }
  .hero-bottom > span:last-child {
    display: none;
  }
  .giant-o {
    font-size: 110vh;
    top: 5%;
    right: -35%;
  }
  .scene-coordinate {
    right: 7%;
    bottom: 14%;
    font-size: 6px;
    gap: 10px;
  }
  .scene-coordinate i {
    width: 20px;
  }
  .story-meter {
    left: 7%;
    right: 7%;
    bottom: 26px;
    font-size: 6px;
    gap: 17px;
  }
  .stage-vertical {
    display: none;
  }
  .source {
    justify-content: initial;
    padding-top: 115px;
  }
  .source .chapter-copy {
    width: 100%;
    max-width: 100%;
  }
  .source h2 {
    font-size: clamp(65px, 14vw, 94px);
  }
  h2 {
    font-size: clamp(66px, 14vw, 94px);
    margin: 22px 0;
  }
  .body-copy {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 22px;
  }
  .origin-switcher {
    width: 57%;
    margin: 24px 0 20px;
  }
  .origin-switcher button {
    font-size: 13px;
    padding: 12px 0;
    min-height: 44px;
  }
  .origin-switcher button span {
    font-size: 6px;
    margin-right: 15px;
  }
  .origin-switcher button i {
    font-size: 14px;
  }
  .origin-facts {
    width: 50%;
    gap: 15px 10px;
    margin-top: 24px;
  }
  .origin-facts span {
    font-size: 5px;
  }
  .origin-facts b {
    font-size: 12px;
  }
  .corner-note {
    display: none;
  }
  .roast {
    padding-top: 115px;
  }
  .roast .chapter-copy {
    width: 100%;
  }
  .roast-control {
    max-width: 85%;
    margin-top: 25px;
  }
  .roast-top {
    font-size: 12px;
  }
  .roast-range-labels {
    font-size: 12px;
  }
  #roast-description {
    font-size: 12px;
    max-width: 200px;
    margin: 20px 0 22px;
  }
  .flavour-chart {
    max-width: 220px;
    gap: 14px;
  }
  .flavour-chart > div > span {
    font-size: 5px;
  }
  .heat-label {
    right: 7%;
    bottom: 17%;
    font-size: 6px;
  }
  .heat-label > span {
    font-size: 35px;
  }
  .cup {
    padding-top: 130px;
    justify-content: initial;
  }
  .cup .chapter-copy {
    width: 100%;
  }
  .brew-link {
    width: 220px;
    font-size: 12px;
    padding: 14px 18px;
    min-height: 44px;
  }
  .cup-note {
    left: 7%;
    bottom: 16%;
    font-size: 6px;
    max-width: 140px;
  }
  .ticker {
    padding: 22px 0;
  }
  .ticker > div {
    justify-content: flex-start;
    gap: 20px;
    font-size: 33px;
    transform: translateX(-10px);
  }
  .ticker i {
    font-size: 21px;
  }
  .brew-lab {
    display: block;
    padding: 70px 7%;
  }
  .lab-intro {
    position: relative;
    margin-bottom: 45px;
  }
  .lab-intro h2 {
    font-size: 88px;
    margin-top: 23px;
  }
  .lab-intro > p:not(.eyebrow) {
    font-size: 12px;
  }
  .lab-stamp {
    position: absolute;
    right: 3px;
    bottom: 0;
    width: 96px;
    height: 96px;
    font-size: 20px;
    margin: 0;
    outline-offset: -5px;
  }
  .lab-stamp small {
    font-size: 4px;
    margin-top: 6px;
  }
  .brew-form legend {
    font-size: 12px;
  }
  .method-options {
    gap: 8px;
  }
  .method-options label > span {
    padding: 16px 7px;
  }
  .method-options b {
    font-size: 12px;
  }
  .ticket-heading {
    font-size: 5px;
    gap: 10px;
  }
  .recipe-numbers b {
    font-size: 46px;
  }
  .recipe-ticket > p {
    font-size: 12px;
    line-height: 1.9;
  }
  .save-recipe {
    font-size: 7px;
  }
  .closing {
    padding: 50px 7%;
    gap: 20px;
  }
  .closing > p {
    font-size: 14vw;
  }
  .closing > a {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    font-size: 29px;
  }
  footer {
    padding: 40px 7%;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
  }
  footer .logo {
    font-size: 58px;
  }
  footer > p {
    font-size: 7px;
    order: 3;
    width: 100%;
  }
  footer > span:last-child {
    font-size: 6px;
  }
  .fallback-bag {
    top: 48%;
    left: 56%;
    transform: scale(0.7) rotate(12deg);
    transform-origin: top left;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .round-link:hover b {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 701px) {
  .source,
  .cup {
    justify-content: flex-start;
  }
  .source .chapter-copy,
  .cup .chapter-copy {
    width: 48%;
  }
  .corner-note,
  .cup-note {
    display: none;
  }
}
/* The roastery opens around a central object, rather than a two-column ad. */
.scene-type {
  position: absolute;
  z-index: 1;
  left: 3%;
  right: 3%;
  top: 20%;
  font-family: var(--display);
  font-size: clamp(110px, 15.5vw, 260px);
  line-height: 0.83;
  text-align: center;
  letter-spacing: -0.025em;
  pointer-events: none;
}
.scene-type span {
  display: block;
}
.scene-type span:last-child {
  -webkit-text-stroke: 1px #e6c9a080;
  color: transparent;
  margin-top: 40px;
}
.hero .chapter-copy {
  width: 100%;
  max-width: none;
  position: static;
}
.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero .chapter-copy > .eyebrow {
  position: absolute;
  left: 7.8%;
  top: 160px;
}
.hero-description {
  position: absolute;
  left: 7.8%;
  bottom: 125px;
  font-size: 12px;
  line-height: 1.8;
}
.round-link {
  position: absolute;
  right: 7.8%;
  bottom: 145px;
  margin: 0;
}
.hero-bottom > span:last-child {
  display: none;
}
.hero-topline {
  top: 155px;
}
.scene-coordinate {
  bottom: 12%;
}
.origin-photograph {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #1e1510;
}
.origin-photograph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  display: block;
}
.origin-photograph > div {
  position: relative;
  min-height: inherit;
  padding: 70px 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.origin-photograph > div > p:not(.eyebrow) {
  font: clamp(58px, 7vw, 112px) / 0.9 var(--display);
  letter-spacing: -0.01em;
  margin: 25px 0;
}
.origin-photograph > div > span {
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
@media (max-width: 700px) {
  .scene-type {
    top: 25%;
    font-size: 21vw;
    left: 2%;
    right: 2%;
    line-height: 0.9;
  }
  .scene-type span:last-child {
    margin-top: 26px;
  }
  .hero .chapter-copy > .eyebrow {
    left: 7%;
    top: 144px;
  }
  .hero-description {
    left: 7%;
    bottom: 235px;
    font-size: 12px;
  }
  .round-link {
    right: 7%;
    bottom: 135px;
    width: 72px;
    height: 72px;
    font-size: 5px;
  }
  .round-link b {
    font-size: 17px;
  }
  .hero-topline {
    top: 105px;
  }
  .scene-coordinate {
    right: auto;
    left: 7%;
    bottom: 15%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 5px;
  }
  .scene-coordinate i {
    display: none;
  }
  .hero-bottom {
    bottom: 76px;
    font-size: 5px;
  }
  .origin-photograph {
    min-height: 550px;
  }
  .origin-photograph > div {
    padding: 45px 7%;
  }
  .origin-photograph > div > p:not(.eyebrow) {
    font-size: clamp(38px, 11vw, 54px);
  }
  .origin-photograph > div > span {
    font-size: 6px;
  }
}

/* Mobile reading and touch layout. */
.save-recipe {
  font-size: 12px;
  min-height: 48px;
}
.save-note {
  font-size: 12px;
}
.recipe-foot {
  font-size: 10px;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .nav-button {
    font-size: 11px;
  }
  .hero-description {
    top: calc(25svh + 37.8vw + 30px);
    bottom: auto;
    max-width: 86%;
    margin: 0;
    font-size: 12px;
  }
  .round-link {
    font-size: 10px;
    width: 88px;
    height: 88px;
  }
  .body-copy {
    font-size: 13px;
  }
  .origin-switcher {
    width: 65%;
  }
  .origin-facts {
    width: 65%;
  }
  .origin-facts span {
    font-size: 10px;
  }
  .origin-facts b {
    font-size: 12px;
  }
  .roast-top,
  .roast-range-labels {
    font-size: 11px;
  }
  .roast-control {
    max-width: 100%;
  }
  #roast-description {
    font-size: 13px;
    max-width: 240px;
  }
  .brew-form legend,
  .method-options b {
    font-size: 12px;
  }
  .method-options {
    grid-template-columns: 1fr;
  }
  .method-options label > span {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    padding: 12px;
  }
  .method-options label > span svg {
    flex: none;
    margin: 0;
  }
  .recipe-ticket > p {
    font-size: 13px;
  }
  .lab-intro > p:not(.eyebrow) {
    font-size: 14px;
  }
  .lab-stamp {
    position: static;
    margin-top: 24px;
  }
  .recipe-numbers {
    gap: 12px;
  }
  .recipe-numbers span {
    font-size: 10px;
  }
  .brew-link {
    min-height: 48px;
  }
}
@media (max-height: 700px) and (max-width: 700px) {
  .scene {
    min-height: 0;
  }
  .chapter {
    height: auto;
    min-height: 100svh;
    padding: 100px 7% 85px;
  }
  .hero .chapter-copy > .eyebrow {
    top: 112px;
  }
  .scene-type {
    top: 26%;
    font-size: 20vw;
  }
  .scene-type span:last-child {
    margin-top: 16px;
  }
  .hero-description {
    display: none;
  }
  .round-link {
    bottom: 85px;
    right: 7%;
    width: 76px;
    height: 76px;
  }
  .scene-coordinate,
  .hero-bottom {
    display: none;
  }
  .source h2,
  h2 {
    font-size: 13vw;
  }
  .source {
    min-height: 770px;
  }
  .origin-switcher,
  .origin-facts {
    width: 70%;
  }
  .roast {
    min-height: 680px;
  }
  .body-copy {
    max-width: 85%;
  }
  .heat-label {
    bottom: 12%;
  }
  .cup-note {
    bottom: 10%;
  }
}
@media (max-height: 500px) and (min-width: 701px) {
  .header {
    height: 65px;
    padding: 10px 5%;
  }
  .scene {
    min-height: 0;
  }
  .chapter {
    height: auto;
    min-height: 110svh;
    padding: 85px 5% 75px;
  }
  .scene-type {
    top: 24%;
    font-size: 18vh;
  }
  .scene-type span:last-child {
    margin-top: 16px;
  }
  .hero .chapter-copy > .eyebrow {
    top: 90px;
  }
  .hero-description {
    display: block;
    left: 5%;
    top: auto;
    bottom: 75px;
    max-width: 220px;
    font-size: 12px;
  }
  .hero-topline,
  .hero-bottom,
  .scene-coordinate {
    display: none;
  }
  .round-link {
    bottom: 70px;
    width: 72px;
    height: 72px;
    font-size: 10px;
  }
  .source h2,
  h2 {
    font-size: 15vh;
    margin: 12px 0;
  }
  .source .chapter-copy,
  .roast .chapter-copy,
  .cup .chapter-copy {
    width: 48%;
  }
  .body-copy {
    font-size: 12px;
  }
  .origin-switcher {
    margin: 12px 0;
  }
  .origin-facts {
    margin-top: 10px;
  }
  .roast-control {
    margin-top: 12px;
  }
  .source,
  .roast {
    min-height: 650px;
  }
  .heat-label {
    bottom: 15%;
  }
  .cup-note {
    bottom: 10%;
  }
}

/* Lower content keeps a readable rhythm without competing with the scene. */
.lab-intro h2,
.origin-photograph > div > p:not(.eyebrow) {
  line-height: 1.08;
}
.lab-stamp {
  line-height: 1.08;
}
.ticket-heading {
  flex-wrap: wrap;
  gap: 8px 18px;
  line-height: 1.5;
}
.closing > p {
  min-width: 0;
  line-height: 1.05;
}
.closing > a {
  flex: none;
}
footer > p {
  max-width: 46ch;
}
@media (max-width: 700px) {
  .ticket-heading {
    font-size: 10px;
  }
  .recipe-numbers {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 10px 0;
  }
  .recipe-numbers > div {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
  }
  .recipe-numbers > div + div {
    border-top: 1px solid #311d1a18;
  }
  .recipe-numbers span {
    margin: 0;
    text-align: right;
    line-height: 1.5;
  }
  .closing {
    gap: 28px;
    flex-wrap: wrap;
  }
  .closing > p {
    flex-basis: 100%;
    max-width: 100%;
  }
  footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 28px 20px;
    align-items: start;
  }
  footer > p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.7;
  }
  footer > span:last-child {
    font-size: 10px;
  }
}
