:root {
  --coffee: #4b2e20;
  --green: #556b3c;
  --kraft: #c9a979;
  --beige: #e6dcc4;
  --cream: #f8f4ec;
  --ink: #261711;
  --muted: #685448;
  --line: rgba(75, 46, 32, .2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.sr-only { clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.skip-link { left: 1rem; position: fixed; top: -4rem; z-index: 20; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.section-shell { margin-inline: auto; max-width: 1280px; padding-inline: 1.3rem; }
.site-header { align-items: center; background: var(--cream); border-bottom: 1px solid var(--line); display: flex; height: 74px; justify-content: space-between; padding-inline: 1.3rem; position: sticky; top: 0; z-index: 10; }
.brand { align-items: center; display: inline-flex; font-family: Georgia, serif; font-size: 1.6rem; gap: .55rem; letter-spacing: -.045em; }
.brand img { height: 36px; object-fit: contain; width: 36px; }
.menu-toggle { background: transparent; border: 0; cursor: pointer; display: grid; gap: 6px; min-height: 44px; min-width: 44px; padding: .7rem; }
.menu-toggle i { background: var(--coffee); display: block; height: 1px; width: 23px; }
.menu { background: var(--coffee); display: none; flex-direction: column; inset: 74px 0 auto; padding: 1.25rem; position: absolute; }
.menu a { color: var(--cream); min-height: 48px; padding: .65rem 0; }
.menu .menu-lab { color: var(--beige); }
.menu-open .menu { display: flex; }
.menu-open .menu-toggle i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.eyebrow { color: var(--green); font-size: .67rem; font-weight: 700; letter-spacing: .13em; margin: 0 0 1.2rem; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, blockquote { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(4rem, 17.5vw, 7.6rem); letter-spacing: -.065em; line-height: .94; margin: 0 0 1.8rem; }
h1 em { color: var(--beige); }
h2 { font-size: clamp(2.25rem, 9vw, 4rem); letter-spacing: -.052em; line-height: 1.07; margin: 0 0 1.5rem; }
h2 em { color: var(--green); }
p { max-width: 38rem; }
.hero { background: var(--coffee); color: #fff; padding-block: 3.5rem 1.3rem; }
.hero .eyebrow { color: #dbc5a5; }
.hero-text { color: #f1e8dd; font-size: 1rem; margin-bottom: 1.8rem; max-width: 28rem; }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: .8rem; font-weight: 700; gap: 1rem; justify-content: center; min-height: 48px; padding: .75rem 1.1rem; }
.button-light { background: var(--cream); color: var(--coffee); }
.button-light:hover { background: var(--beige); }
.button-light span { font-size: 1.2rem; }
.hero-image { margin-top: 2.6rem; min-width: 0; }
.hero-image img { height: auto; width: 100%; }
.hero-image figcaption { color: #e1cfb8; display: flex; font-size: .6rem; gap: .7rem; justify-content: space-between; padding-top: .75rem; }
.hero-image figcaption span:last-child { font-family: Georgia, serif; font-style: italic; }
.story { padding-block: 5rem; }
.story-image { background: #e9e1d1; padding: 1rem 1rem 1.4rem; }
.field-note { border-bottom: 1px solid var(--line); color: var(--muted); display: flex; font-size: .56rem; gap: 1rem; justify-content: space-between; letter-spacing: .08em; padding-bottom: .65rem; text-transform: uppercase; }
.story-image img { max-height: 350px; object-fit: contain; width: 100%; }
.story-image figcaption { border-top: 1px solid var(--line); color: var(--coffee); font-size: .68rem; padding-top: .9rem; }
.story-image figcaption em { color: var(--muted); font-family: Georgia, serif; font-size: .92rem; }
.story-copy { padding-top: 2.6rem; }
.story-copy p:not(.eyebrow), .lab-copy p:not(.eyebrow), .experiments-heading > p:last-child { color: var(--muted); }
.journey { background: var(--beige); padding-block: 5rem; }
.journey-heading > p:last-child { color: var(--muted); }
.journey-list { list-style: none; margin-block: 3rem 0; position: relative; }
.journey-list li { display: grid; gap: 1.3rem; grid-template-columns: 2.6rem minmax(0, 1fr); padding-block: 0 2.4rem; position: relative; }
.journey-list li:last-child { padding-bottom: 0; }
.journey-list li:not(:last-child)::before { border-left: 1px solid #a79576; bottom: 0; content: ''; left: 1.3rem; position: absolute; top: 2.6rem; }
.journey-number { align-items: center; background: var(--beige); border: 1px solid #a79576; border-radius: 50%; color: var(--coffee); display: flex; font-family: Georgia, serif; font-size: 1rem; height: 2.6rem; justify-content: center; position: relative; width: 2.6rem; }
.journey-list h3 { font-size: 1.7rem; line-height: 1.1; margin: .3rem 0 .5rem; }
.journey-list p { color: var(--muted); font-size: .85rem; line-height: 1.5; margin: 0; }
.lab { display: grid; gap: 2.8rem; padding-block: 5rem; }
.lab-preview { background: #dbd2c0; min-width: 0; padding: 1rem; }
.lab-device { background: #fffcf6; border: 5px solid #423a30; border-radius: 12px; box-shadow: 0 10px 20px #4b2e2015; color: var(--coffee); overflow: hidden; }
.lab-device-bar { align-items: center; background: #e8ddc8; display: flex; font-size: .49rem; gap: .4rem; justify-content: space-between; padding: .65rem .8rem; }
.lab-wordmark { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; }
.lab-screen-nav { background: var(--coffee); color: #e6dcc4; display: flex; font-size: .55rem; gap: .9rem; padding: .55rem .8rem; }
.lab-screen-nav b { border-bottom: 1px solid var(--kraft); color: #fff; }
.lab-screen { padding: .85rem; }
.lab-coffee-head { margin-bottom: .9rem; }
.lab-coffee-head > span:not(.lab-tag) { color: var(--muted); font-size: .5rem; margin-left: .3rem; }
.lab-tag { background: #ede4d3; border: 1px solid #d8c6ae; border-radius: 4px; font-size: .6rem; font-weight: 700; padding: .15rem .3rem; }
.lab-coffee-head h3 { font-family: Arial, sans-serif; font-size: .94rem; font-weight: 700; margin: .5rem 0 .1rem; }
.lab-coffee-head p { color: var(--muted); font-size: .61rem; margin: 0; }
.lab-lot { align-items: center; background: #f9fbf4; border: 1px solid #d9ddcc; border-radius: 5px; display: flex; gap: .5rem; justify-content: space-between; padding: .6rem; }
.lab-lot strong { display: block; font-size: .62rem; }
.lab-state { color: var(--green); display: block; font-size: .5rem; font-weight: 700; text-transform: uppercase; }
.lab-balance { text-align: right; }
.lab-balance b { display: block; font-size: .85rem; }
.lab-balance small { color: var(--muted); display: block; font-size: .45rem; }
.lab-derived { border-left: 1px solid #d8c6ae; margin: .5rem 0 0 .7rem; padding-left: .6rem; }
.lab-transform { color: var(--muted); font-size: .56rem; margin: 0 0 .4rem; }
.lab-lot-roasted { background: #fff9ef; border-color: #dac8b0; }
.lab-lot-roasted .lab-state { color: var(--coffee); }
.lab-record { background: #fdfaf4; border: 1px solid #e8dfcf; border-left: 2px solid var(--coffee); border-radius: 4px; margin-top: .45rem; padding: .45rem; }
.lab-record-title { display: flex; font-size: .48rem; justify-content: space-between; margin-bottom: .25rem; }
.lab-record-title span { color: var(--muted); }
.lab-record > strong { display: block; font-size: .66rem; }
.lab-record p { color: var(--muted); font-size: .5rem; margin: .18rem 0 0; }
.lab-proof { background: #fcfdf9; border-left-color: var(--green); }
.lab-status { background: #e7f2e5; color: #355e31; display: inline-block; font-size: .43rem; font-weight: 700; margin-bottom: .2rem; padding: .15rem .3rem; }
.lab-screen-actions { display: flex; gap: .3rem; margin-top: .5rem; }
.lab-screen-actions span { background: var(--coffee); border-radius: 4px; color: #fff; font-size: .46rem; font-weight: 700; padding: .4rem .6rem; }
.lab-screen-actions span:last-child { background: #ede4d3; color: var(--coffee); }
.lab-history { border-top: 1px solid #dfd2be; color: var(--muted); font-size: .51rem; margin: .8rem 0 0; padding-top: .6rem; }
.lab-history > span { color: var(--coffee); display: block; font-size: .63rem; font-weight: 700; margin-bottom: .15rem; }
.lab-preview figcaption { color: var(--muted); font-size: .6rem; margin-top: .8rem; text-align: center; }
.lab-benefits { list-style: none; margin: 1.6rem 0; padding: 0; }
.lab-benefits li { border-top: 1px solid var(--line); display: flex; font-size: .8rem; gap: .9rem; padding-block: .8rem; }
.lab-benefits span { color: var(--green); font-family: Georgia, serif; }
.button-outline { border-color: var(--coffee); color: var(--coffee); }
.button small { color: var(--green); font-weight: 400; }
.is-disabled { cursor: default; }
.experiments { padding-bottom: 5rem; }
.experiments-heading { margin-bottom: 2rem; }
.experiment-grid { display: grid; gap: 1.2rem; }
.experiment { min-width: 0; }
.experiment-visual { align-items: center; display: flex; height: 240px; justify-content: center; overflow: hidden; position: relative; }
.experiment-caption { border-top: 1px solid var(--line); padding-top: 1rem; }
.experiment-caption > span { color: var(--green); font-size: .6rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.experiment-caption h3 { font-size: 1.7rem; letter-spacing: -.035em; line-height: 1.07; margin: .5rem 0 .7rem; }
.experiment-caption p { color: var(--muted); font-size: .8rem; }
.cultivation-mark { background: #667447; color: #f3eddd; justify-content: flex-start; padding: 1.8rem; }
.cultivation-mark > span { font-family: Georgia, serif; font-size: 2.7rem; letter-spacing: -.06em; line-height: 1; z-index: 1; }
.cultivation-mark i { border: 1px solid #c3c8a0; border-radius: 50% 50% 0 50%; height: 140px; position: absolute; right: -15px; top: 12px; transform: rotate(-38deg); width: 82px; }
.roast-study { background: #d4b68b; flex-direction: column; gap: 2rem; }
.roast-study > div { display: flex; gap: 1rem; }
.roast-study i { background: #879168; border: 1px solid #526340; border-radius: 50%; display: block; height: 45px; position: relative; transform: rotate(25deg); width: 29px; }
.roast-study i::after { border-left: 1px solid #f1daba; border-radius: 50%; content: ''; height: 80%; left: 50%; position: absolute; top: 10%; width: 6px; }
.roast-study i:nth-child(2) { background: #aa9263; border-color: #877044; }
.roast-study i:nth-child(3) { background: #936740; border-color: #7a5332; }
.roast-study i:nth-child(4) { background: #64402a; border-color: #503521; }
.roast-study i:nth-child(5) { background: #382319; border-color: #28170e; }
.roast-study > span { color: var(--coffee); font-family: Georgia, serif; font-size: .85rem; font-style: italic; }
.tasting-study { background: #ede6d7; flex-direction: column; gap: 2rem; }
.tasting-study > span { color: var(--muted); font-family: Georgia, serif; font-size: .9rem; font-style: italic; }
.tasting-study > div { display: flex; gap: .9rem; }
.tasting-study i { background: #3f291a; border: 8px solid #faf6ee; border-radius: 50%; box-shadow: 0 2px 0 1px #d6cbb8; height: 71px; width: 71px; }
.tasting-study i:nth-child(2) { background: #69412a; }
.tasting-study i:nth-child(3) { background: #825337; }
.grind-study { background: #5a3c2c; color: var(--beige); flex-direction: column; gap: 1.8rem; }
.grind-study > span:last-child { font-family: Georgia, serif; font-size: 2rem; letter-spacing: -.04em; line-height: 1; text-align: center; }
.grind-dots { background-image: radial-gradient(#c9a979 1px, transparent 1.5px); background-size: 8px 8px; display: block; height: 45px; transform: rotate(-10deg); width: 130px; }
.packaging-study { background: #d8cdba; }
.packaging-study img { height: 220px; object-fit: contain; transform: rotate(-7deg); width: auto; }
.gift-study { background: #c2a77f; }
.gift-label { background: #f3eadb; border: 1px solid #b89869; padding: 1.1rem 1.3rem; position: relative; transform: rotate(7deg); }
.gift-label::before { background: #3e3325; border-radius: 50%; content: ''; height: 5px; left: 50%; position: absolute; top: 7px; width: 5px; }
.gift-label > span { color: var(--coffee); font-family: Georgia, serif; font-size: .9rem; }
.gift-label > em { color: var(--coffee); display: block; font-family: Georgia, serif; font-size: 1.6rem; line-height: 1; margin-block: 1rem; }
.gift-label > small { border-top: 1px solid var(--line); color: var(--green); display: block; font-size: .55rem; padding-top: .6rem; }
.coffee-story { border-top: 1px solid var(--line); padding-block: 4rem 5rem; text-align: center; }
.coffee-story > p { color: var(--muted); margin-inline: auto; }
.story-trace { align-items: center; color: var(--coffee); display: flex; font-family: Georgia, serif; font-size: .72rem; gap: .6rem; justify-content: center; margin-top: 2rem; }
.story-trace i { border-top: 1px solid #bca17a; display: block; width: 25px; }
.closing { background: var(--coffee); color: #f6efe4; padding-block: 5rem; text-align: center; }
.closing .eyebrow { color: #d6bd96; }
.closing-inner { align-items: center; display: flex; flex-direction: column; }
.closing blockquote { font-size: clamp(1.9rem, 7vw, 3.8rem); letter-spacing: -.045em; line-height: 1.18; margin: 0; }
.closing blockquote em { color: #d5b77e; }
.closing-note { color: #ddcec0; font-size: .85rem; margin: 2rem 0 1rem; }
.instagram-placeholder { border-bottom: 1px solid #d5b77e; color: #d5b77e; font-size: .75rem; padding-bottom: .2rem; }
.site-footer { align-items: center; display: flex; gap: 1rem; justify-content: space-between; min-height: 94px; }
.site-footer p { color: var(--muted); font-size: .65rem; margin: 0; text-align: right; }
.site-footer .brand { font-size: 1.25rem; }
.site-footer .brand img { height: 28px; width: 28px; }
/* Content remains visible if scripting is unavailable. Motion is opt-in. */
.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.motion .reveal.is-visible { opacity: 1; transform: none; }
@media (min-width: 600px) {
  .section-shell { padding-inline: 2rem; }
  .hero { padding-block: 4rem 2rem; }
  .hero-image { max-width: 620px; }
  .experiment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; }
  .lab-preview { max-width: 560px; padding: 1.6rem; }
  .lab-device { border-width: 7px; }
  .lab-screen { padding: 1rem; }
}
@media (min-width: 800px) {
  .site-header { height: 86px; padding-inline: 3rem; }
  .menu-toggle { display: none; }
  .menu { align-items: center; background: none; display: flex; flex-direction: row; gap: 1.7rem; inset: auto; padding: 0; position: static; }
  .menu a { color: var(--coffee); font-size: .8rem; }
  .menu .menu-lab { color: var(--green); }
  .section-shell { padding-inline: 3rem; }
  .hero { align-items: center; display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 700px; padding-block: 3rem; }
  .hero-image { margin: 0; }
  h1 { font-size: clamp(4rem, 8.5vw, 7.6rem); }
  .story { align-items: center; display: grid; gap: 4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 7rem; }
  .story-image img { max-height: 430px; }
  .story-copy { padding: 0; }
  .journey { padding-block: 7rem; }
  .journey-heading { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 4rem; }
  .journey-heading .eyebrow { grid-column: 1; }
  .journey-heading h2 { grid-column: 1; }
  .journey-heading > p:last-child { align-self: center; grid-column: 2; grid-row: 2; }
  .journey-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 3.5rem; }
  .journey-list li { display: block; padding-right: .7rem; padding-bottom: 0; }
  .journey-list li:not(:last-child)::before { border-left: 0; border-top: 1px solid #a79576; bottom: auto; left: 2.6rem; right: 0; top: 1.3rem; }
  .journey-list h3 { font-size: 1.25rem; margin-top: 1.2rem; }
  .journey-list p { font-size: .73rem; }
  .lab { align-items: center; gap: 4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 7rem; }
  .lab-copy { grid-column: 1; grid-row: 1; }
  .lab-preview { grid-column: 2; grid-row: 1; padding: 1.5rem; }
  .lab-screen { padding: 1.1rem; }
  .lab-coffee-head h3 { font-size: 1.05rem; }
  .lab-lot { padding: .8rem; }
  .lab-record { padding: .6rem; }
  .experiments { padding-bottom: 6rem; }
  .experiments-heading { display: grid; gap: 0 4rem; grid-template-columns: 1.2fr 1fr; }
  .experiments-heading .eyebrow { grid-column: 1; }
  .experiments-heading h2 { grid-column: 1; }
  .experiments-heading > p:last-child { align-self: center; grid-column: 2; grid-row: 2; }
  .experiment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.3rem; }
  .experiment-visual { height: 260px; }
  .coffee-story { padding-block: 5rem 7rem; }
  .story-trace { font-size: .95rem; gap: 1.5rem; }
  .story-trace i { width: 60px; }
  .closing { padding-block: 7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion .reveal { opacity: 1; transform: none; transition: none; }
}
