/* Kor Kahve Kavurma (klasik) — category standard, played straight. */
@font-face { font-family: 'Funnel Display'; src: url(../fonts/funneldisplay-latin.woff2) format('woff2'); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Funnel Display'; src: url(../fonts/funneldisplay-latin-ext.woff2) format('woff2'); font-weight: 300 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Funnel Sans'; src: url(../fonts/funnelsans-latin.woff2) format('woff2'); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Funnel Sans'; src: url(../fonts/funnelsans-latin-ext.woff2) format('woff2'); font-weight: 300 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f4f4f2; --paper-2: #e9e8e4; --card: #fcfcfb; --ink: #1a1612; --ink-2: #574e46; --ink-3: #6b6259;
  --line: rgba(26, 22, 18, .14); --line-2: rgba(26, 22, 18, .26);
  --ember: #b4441c; --ember-ink: #8f3412; --ember-soft: rgba(180, 68, 28, .1);
  --roast-bg: #1b130e; --roast-2: #2a1e16; --roast-ink: #f2ece5; --roast-ink-2: #cdbfb2; --roast-line: rgba(242, 236, 229, .16); --ember-on-dark: #e8875a;
  --g1: #5f3a22; --g2: #7c4c2c; --g3: #45291a;
  --f-display: 'Funnel Display', 'Funnel Sans', system-ui, sans-serif;
  --f-text: 'Funnel Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem); --max: 82rem; --hdr: 4.5rem;
  --sec: clamp(5rem, 9vw, 9rem); --r: 14px; --r-sm: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
  scrollbar-color: #8d837a var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 1rem); }
html:not(.anim) { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-text); font-feature-settings: 'kern'; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.75rem); line-height: .98; letter-spacing: -.03em; }
h2 { font-size: clamp(2.1rem, 1.35rem + 2.5vw, 3.75rem); line-height: 1.03; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ember); color: #fff; }
input, textarea { caret-color: var(--ember); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.roast :focus-visible, .close :focus-visible, .hero :focus-visible:not(.quick *) { outline-color: var(--roast-ink); }
.num { font-variant-numeric: tabular-nums; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: var(--r-sm); text-decoration: none; transition: top .2s; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.note { font-size: .875rem; line-height: 1.5; color: var(--ink-3); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head .lead { justify-self: end; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; line-height: 1; padding: .35em .6em .3em; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); vertical-align: .1em; }
.tag--dark { border-color: var(--roast-line); color: var(--roast-ink-2); }
.ph { display: inline-block; width: fit-content; font-size: .8em; font-weight: 600; line-height: 1.2; padding: .2em .5em; border-radius: 6px; background: var(--ember-soft); color: var(--ember-ink); }
.panel { background: var(--card); border-radius: var(--r); box-shadow: 0 1px 2px rgba(26, 22, 18, .06), 0 12px 32px -12px rgba(26, 22, 18, .16); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .8rem 1.5rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; transition: transform .35s var(--ease); }
.btn:hover { background: #3a2f27; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--roast-ink); color: var(--roast-bg); }
.btn--light:hover { background: #fff; }
.btn--outline-light { background: transparent; color: var(--roast-ink); box-shadow: inset 0 0 0 1px rgba(242, 236, 229, .45); }
.btn--outline-light:hover { background: rgba(242, 236, 229, .1); }
.icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; transition: background-color .2s; }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.icon-btn:hover { background: rgba(127, 117, 108, .16); }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--roast-ink); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.hdr.is-solid, .hdr.menu-open { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; height: var(--hdr); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; white-space: nowrap; }
.brand__dot { width: .62rem; height: .62rem; border-radius: 50%; background: var(--ember); align-self: center; box-shadow: 0 0 0 3px rgba(180, 68, 28, .18); }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.brand__sub { font-size: .875rem; font-weight: 500; opacity: .85; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .75rem; border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; transition: background-color .2s; }
.nav a:hover { background: rgba(127, 117, 108, .16); }
.hdr__tools { display: flex; align-items: center; gap: .5rem; }
.lang { display: inline-flex; padding: 2px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; opacity: .9; }
.lang button { border: 0; background: transparent; padding: .3rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"]:is([data-lang]) { color: inherit; }
.hdr .lang button[aria-pressed="true"] { background: var(--roast-ink); color: var(--roast-bg); }
.hdr.is-solid .lang button[aria-pressed="true"], .hdr.menu-open .lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.hdr:not(.is-solid):not(.menu-open) .btn { background: var(--roast-ink); color: var(--roast-bg); }
.menu-btn { display: none; }

/* hero */
.hero { position: relative; min-height: max(100svh, 46rem); display: grid; color: var(--roast-ink); background: var(--roast-bg); isolation: isolate; }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 40% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 10, 6, .78) 0%, rgba(16, 10, 6, .5) 42%, rgba(16, 10, 6, .12) 75%), linear-gradient(0deg, rgba(16, 10, 6, .55) 0%, rgba(16, 10, 6, 0) 45%), linear-gradient(180deg, rgba(16, 10, 6, .45) 0%, rgba(16, 10, 6, 0) 18%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem); gap: 3rem; align-items: end; padding-block: calc(var(--hdr) + 3rem) clamp(2.5rem, 6vh, 4.5rem); }
.hero__copy { max-width: 40rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: rgba(242, 236, 229, .9); max-width: 34em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: .9375rem; color: rgba(242, 236, 229, .88); }
.hero__facts li { display: flex; align-items: center; gap: .55rem; }
.hero__facts li::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ember-on-dark); flex: none; }
.hero__facts .ph { background: rgba(232, 135, 90, .2); color: #f6c3a8; }
.quick { color: var(--ink); padding: 1.75rem; display: grid; gap: 1.1rem; }
.quick__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.quick__price { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9375rem; color: var(--ink-2); padding-top: .25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quick__alt { font-size: .9375rem; text-align: center; color: var(--ink-2); }
.quick__alt:hover { color: var(--ink); }

/* form atoms */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field > label, .slider label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; color: var(--ink); padding: 0; }
.field small, legend small { font-weight: 400; color: var(--ink-3); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: .55rem .5rem; border-radius: 999px; font-size: .875rem; font-weight: 500; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s; }
.seg input:checked + span { background: var(--card); box-shadow: 0 1px 3px rgba(26, 22, 18, .16); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
.seg label:hover input:not(:checked) + span { background: rgba(255, 255, 255, .5); }
.seg--lg span { padding: .8rem .75rem; font-size: .9375rem; }
input:not([type="radio"]):not([type="range"]):not([type="checkbox"]), select, textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--card); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 4.5rem; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231a1612' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.5rem; cursor: pointer; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26, 22, 18, .14); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-soft); }
.err { margin-top: .4rem; font-size: .8125rem; color: var(--ember-ink); font-weight: 500; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field--wide { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 1.75rem; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.25rem; height: 1.25rem; margin-top: -8px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 1px 4px rgba(26, 22, 18, .2); transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(26, 22, 18, .2); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(26, 22, 18, .2); }
.slider label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .2rem; }
.slider output { font-weight: 600; color: var(--ink-2); }
.result { margin-top: 1.25rem; padding: 1.1rem; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.result__h { display: flex; align-items: center; gap: .5rem; font-weight: 600; margin-bottom: .75rem; }
.result__h svg { width: 1.25rem; height: 1.25rem; color: #3f6b4a; }
.result__pre { margin: 0 0 .9rem; font: .8125rem/1.55 var(--f-text); white-space: pre-wrap; word-break: break-word; color: var(--ink-2); max-height: 18rem; overflow: auto; }
.result__pre:focus-visible { outline: 2px solid var(--ink); }
.result .btn svg { width: 1rem; height: 1rem; }

/* journey */
.journey { position: relative; padding-block: var(--sec); }
.journey h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 12em; }
.journey__pics { display: none; }
.jsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.75rem; }
.jstep { display: grid; align-content: start; gap: .75rem; }
.jstep__pic { margin: 0 0 .75rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.jstep__pic img { width: 100%; height: 100%; object-fit: cover; }
.jstep__n { font: 600 .875rem/1 var(--f-text); font-variant-numeric: tabular-nums; color: var(--ember-ink); }
.jstep p { color: var(--ink-2); font-size: 1rem; }
.pinmode .journey { padding: 0; }
.pinmode .journey__stage { position: relative; height: 100vh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.pinmode .journey__pics { display: block; position: relative; grid-column: 2; grid-row: 1; height: 100vh; overflow: hidden; }
.pinmode .jp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.pinmode .jp.is-on { opacity: 1; transform: scale(1); }
.pinmode .journey__text { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--hdr) + 2rem) 3rem; max-width: none; padding-right: clamp(2rem, 5vw, 5rem); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.pinmode .journey h2 { margin-bottom: 2.5rem; }
.pinmode .jsteps { display: grid; grid-template-columns: 1fr; gap: 0; }
.pinmode .jstep { grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: .5rem; row-gap: 0; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--ink-3); transition: color .5s var(--ease); }
.pinmode .jstep:last-child { border-bottom: 1px solid var(--line); }
.pinmode .jstep__pic { display: none; }
.pinmode .jstep__n { grid-row: 1; padding-top: .35rem; color: inherit; }
.pinmode .jstep h3 { grid-column: 2; font-size: 1.5rem; }
.pinmode .jstep p { grid-column: 2; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.pinmode .jstep.is-on { color: var(--ink); }
.pinmode .jstep.is-on .jstep__n { color: var(--ember-ink); }
.pinmode .jstep.is-on p { max-height: 10rem; opacity: 1; margin-top: .6rem; }

/* coffees */
.coffees { padding-block: var(--sec) calc(var(--sec) * .6); background: var(--paper-2); }
.coffees__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.coffees__head .note { grid-column: 2; }
.coffees__head .lead { grid-column: 2; grid-row: 1; }
.rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 1.5rem; }
.rail__track { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); width: max-content; }
.lot { scroll-snap-align: start; width: clamp(17rem, 26vw, 23rem); background: var(--card); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.lot__pic { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: color-mix(in srgb, var(--lot) 22%, var(--paper)); overflow: hidden; }
.bag { position: relative; width: 52%; aspect-ratio: .7; border-radius: 6px 6px 12px 12px; background: linear-gradient(100deg, #e9e5df 0%, #fbfaf7 22%, #f6f3ee 55%, #ddd7cf 100%); box-shadow: 0 30px 40px -24px rgba(26, 22, 18, .45), 0 2px 6px rgba(26, 22, 18, .12); transform: rotate(-2deg); transition: transform .8s var(--ease); }
.lot:hover .bag { transform: rotate(0) translateY(-4px); }
.bag__seal { position: absolute; inset: 0 0 auto; height: 12%; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(90deg, rgba(26, 22, 18, .06) 0 2px, transparent 2px 5px), linear-gradient(180deg, #e2ddd5, #f1ede7); border-bottom: 1px solid rgba(26, 22, 18, .08); }
.bag__label { position: absolute; left: 12%; right: 12%; top: 26%; bottom: 14%; border-radius: 4px; background: var(--lot); color: var(--lot-ink); display: flex; flex-direction: column; padding: 10% 9%; gap: .15rem; }
.bag__label b { font-family: var(--f-display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); letter-spacing: -.03em; line-height: 1; margin-bottom: auto; }
.bag__label span { font-family: var(--f-display); font-weight: 600; font-size: clamp(.8rem, 1vw, .95rem); line-height: 1.1; }
.bag__label small { font-size: .65rem; }
.bag__label i { font-style: normal; font-size: .55rem; margin-top: .5rem; border-top: 1px solid currentColor; padding-top: .3rem; }
.lot__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.lot__body h3 { font-size: 1.4rem; }
.lot__region { display: block; font-family: var(--f-text); font-weight: 400; font-size: 1rem; color: var(--ink-2); letter-spacing: 0; }
.lot__notes { font-size: .9375rem; color: var(--ink); }
.spec { display: grid; gap: 0; margin: 0; }
.spec > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .875rem; }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; text-align: right; font-weight: 500; }
.lot__body .btn { margin-top: auto; }
.lot--end { background: var(--ink); color: var(--paper); justify-content: flex-end; }
.lot__end { padding: 2rem 1.6rem; display: grid; gap: 1rem; }
.lot__end h3 { font-size: 1.75rem; font-weight: 500; }
.lot__end p { color: rgba(244, 242, 238, .82); }
.lot__end .btn { background: var(--paper); color: var(--ink); margin-top: .75rem; }
.pinmode .coffees { padding-bottom: 0; }
.pinmode .rail { overflow: hidden; scroll-snap-type: none; padding-bottom: calc(var(--sec) * .6); }

/* processing */
.process { padding-block: var(--sec); }
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.process__pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--hdr) + 2rem); }
.process__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.process__body h2 { margin-bottom: 1.25rem; }
.proc { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.proc li { padding: 1.6rem 0; border-top: 1px solid var(--line-2); display: grid; gap: .6rem; }
.proc li:last-child { border-bottom: 1px solid var(--line-2); }
.proc h3 { font-size: 1.5rem; font-weight: 500; }
.proc p { color: var(--ink-2); }
.proc .proc__now { font-size: .875rem; color: var(--ink); font-weight: 500; }
@media (max-width: 980px) { .process__grid { grid-template-columns: minmax(0, 1fr); } .process__pic { position: static; aspect-ratio: 16 / 10; } }

/* roast scene */
.roast { background: var(--roast-bg); color: var(--roast-ink); padding-block: var(--sec); }
.roast__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; }
.roast__head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
.roast__head p { color: var(--roast-ink-2); font-size: 1.125rem; max-width: 36em; }
.roast__bean { position: relative; aspect-ratio: 1; max-height: 34rem; width: 100%; display: grid; place-items: center; }
.bean-host { --bean: #7c4c2c; }
.bean-host canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bean-svg { width: 42%; height: auto; fill: var(--bean); transform: rotate(-18deg); filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .35)); transition: fill .3s; }
.bean-host.has-gl .bean-svg { visibility: hidden; }
.roast__read { display: flex; gap: 2.5rem; align-self: end; }
.read { display: grid; gap: .25rem; }
.read__k { font-size: .875rem; color: var(--roast-ink-2); }
.read__v { font-family: var(--f-display); font-size: clamp(2.5rem, 2rem + 2vw, 4.25rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.read__v small { font-size: .45em; margin-left: .15em; color: var(--roast-ink-2); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--roast-line); }
.stage { padding: 1.25rem 1.25rem 0 0; display: grid; gap: .5rem; align-content: start; }
.stage h3 { font-size: 1.0625rem; position: relative; padding-left: 1rem; }
.stage h3::before { content: ''; position: absolute; left: 0; top: .45em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--roast-ink-2); transition: background-color .4s, transform .4s var(--ease); }
.stage.is-on h3::before { background: var(--ember-on-dark); transform: scale(1.35); }
.stage p { font-size: .9375rem; color: var(--roast-ink-2); }
.roast__chart { grid-column: 1 / -1; margin: 0; }
.roast__chart svg { width: 100%; height: auto; overflow: visible; }
.roast__chart figcaption { margin-top: .75rem; font-size: .8125rem; color: var(--roast-ink-2); }
.grid line { stroke: var(--roast-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.grid text { fill: var(--roast-ink-2); font: 500 13px var(--f-text); font-variant-numeric: tabular-nums; }
.grid .mark { stroke: var(--ember-on-dark); stroke-dasharray: 4 6; opacity: .7; }
.curve { fill: none; stroke: var(--ember-on-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.curve--ghost { stroke: var(--roast-line); stroke-width: 2; }
.curve__dot { fill: var(--roast-bg); stroke: var(--ember-on-dark); stroke-width: 3; }
.pinmode .roast { padding: 0; }
.pinmode .roast__stage { height: 100vh; overflow: hidden; }
.pinmode .roast__in { height: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .9fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 1.25rem 3rem; padding-block: calc(var(--hdr) + 1.75rem) 1.75rem; }
.pinmode .roast__head { grid-column: 1; grid-row: 1; display: block; }
.pinmode .roast__head h2 { font-size: clamp(2rem, 1.2rem + 1.9vw, 3.25rem); margin-bottom: 1rem; }
.pinmode .roast__head p { font-size: 1rem; }
.pinmode .roast__bean { grid-column: 2; grid-row: 1 / 3; max-height: none; height: 100%; aspect-ratio: auto; }
.pinmode .roast__read { grid-column: 3; grid-row: 1; flex-direction: column; gap: 1.5rem; align-self: start; justify-self: end; text-align: right; }
.pinmode .stages { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; align-self: end; border: 0; }
.pinmode .stage { padding: .6rem 0; border-top: 1px solid var(--roast-line); color: var(--roast-ink-2); }
.pinmode .stage h3 { font-size: 1rem; font-weight: 500; transition: color .4s; }
.pinmode .stage p { display: none; }
.pinmode .stage.is-on { color: var(--roast-ink); }
.pinmode .stage.is-on h3 { font-weight: 600; }
.pinmode .stage.is-on p { display: block; color: var(--roast-ink-2); animation: fadeUp .6s var(--ease) both; }
.pinmode .stage.is-past h3 { color: var(--roast-ink); }
.pinmode .roast__chart { grid-column: 1 / -1; grid-row: 3; }
.pinmode .roast__chart svg { height: auto; width: 100%; max-height: 24vh; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* profile editor */
.profile { padding-block: var(--sec); }
.prof { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.prof__chart { padding: 1.5rem 1.5rem 1.75rem; }
.prof__chart svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; overflow: visible; }
.prof__chart .grid line { stroke: var(--line); }
.prof__chart .grid text { fill: var(--ink-3); font-size: 12px; }
.prof__chart .grid .mark { stroke: var(--ember); opacity: .5; }
.prof__chart .grid .mark--soft { stroke: var(--ink-3); opacity: .45; }
.prof__chart .curve { stroke: var(--ember); stroke-width: 3; }
.zone { fill: var(--ember-soft); }
.handle { cursor: grab; }
.handle.is-drag { cursor: grabbing; }
.handle__hit { fill: transparent; }
.handle__dot { fill: var(--card); stroke: var(--ink); stroke-width: 2.5; transition: r .2s var(--ease); }
.handle:hover .handle__dot, .handle.is-drag .handle__dot { r: 10; fill: var(--ink); }
.sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.prof__out { display: grid; gap: 1.25rem; }
.prof__bean { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); background: radial-gradient(ellipse at 50% 40%, #fffdfa 0%, var(--paper-2) 75%); display: grid; place-items: center; overflow: hidden; }
.prof__bean .bean-svg { width: 24%; filter: drop-shadow(0 14px 16px rgba(26, 22, 18, .25)); }
.verdict { display: grid; gap: .9rem; }
.verdict__deg { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .9375rem; color: var(--ink-2); }
.verdict__deg strong { font-family: var(--f-display); font-size: 1.85rem; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.spec--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; }
.spec--row > div { display: grid; gap: .15rem; justify-content: start; }
.spec--row dd { text-align: left; font-size: 1.125rem; }
.verdict__taste { font-size: 1.0625rem; }
.verdict__warn { font-size: .875rem; color: var(--ember-ink); background: var(--ember-soft); padding: .7rem .9rem; border-radius: var(--r-sm); }
.verdict__brew { font-size: .9375rem; color: var(--ink-2); }
.verdict__brew span:last-child { color: var(--ink); font-weight: 600; margin-left: .35rem; }

/* roast levels */
.levels { padding-block: var(--sec); background: var(--paper-2); }
.levels__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.levels__pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.levels__pic img { width: 100%; height: 100%; object-fit: cover; }
.levels__body h2 { margin-bottom: 1.25rem; }
.lvl { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.lvl__item { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.lvl__item h3 { margin-bottom: .35rem; font-size: 1.375rem; }
.lvl__item p { color: var(--ink-2); font-size: 1rem; }
.lvl__item .lvl__fit { margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--ink); }
.lvl__sw { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--sw) 70%, #fff), var(--sw) 60%); box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .25); }

/* subscription builder */
.sub { padding-block: var(--sec); }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem); gap: 2.5rem; align-items: start; }
.builder__steps { display: grid; gap: 2.75rem; }
.step legend { display: flex; align-items: center; gap: .75rem; font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; margin-bottom: 1.1rem; }
.step__n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line-2); font: 600 .875rem/1 var(--f-text); font-variant-numeric: tabular-nums; }
.opts { display: grid; gap: .75rem; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__box { display: grid; gap: .3rem; align-content: start; height: 100%; padding: 1rem 1.1rem; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s var(--ease), background-color .25s; }
.opt__box b { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.opt__box small { font-size: .8125rem; line-height: 1.4; color: var(--ink-3); }
.opt:hover .opt__box { box-shadow: inset 0 0 0 1px var(--ink-3); }
.opt input:checked + .opt__box { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.opt__sw { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--sw); margin-bottom: .35rem; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .25); }
.step__hint { margin-top: .9rem; font-size: .9375rem; }
.step-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; }
.summary { position: sticky; top: calc(var(--hdr) + 1.5rem); padding: 1.75rem; display: grid; gap: 1.1rem; }
.summary h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; }
.sum { margin: 0; display: grid; }
.sum > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.sum dt { color: var(--ink-3); flex: none; }
.sum dd { margin: 0; text-align: right; font-weight: 600; }
.sum__price { font-size: 1rem !important; }
.sum__next { font-size: .9375rem; color: var(--ink-2); }

/* sample */
.sample { padding-block: var(--sec); background: var(--paper-2); }
.sample__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.sample__body h2 { margin-bottom: 1.25rem; }
.pack { list-style: none; margin: 2rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.pack li { display: flex; align-items: center; gap: .7rem; padding: .75rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.pack .num { margin-left: auto; color: var(--ink-3); font-weight: 400; }
.pack__dot { width: .85rem; height: .85rem; border-radius: 50%; background: var(--lot); flex: none; }
.mini { margin-top: 2rem; }
.mini__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.mini__foot .quick__price { border: 0; padding: 0; gap: .75rem; }
.sample__pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; }
.sample__pic img { width: 100%; height: 100%; object-fit: cover; }

/* brew */
.brew { padding-block: var(--sec); }
.tabs { display: flex; gap: .25rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: none; border: 0; background: none; padding: .9rem 1.1rem; font-size: 1rem; font-weight: 500; color: var(--ink-3); cursor: pointer; position: relative; transition: color .2s; }
.tabs button::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs button:hover { color: var(--ink); }
.tabs button:focus-visible { outline-offset: -3px; }
.brew__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.brew__grid:focus-visible { outline-offset: 8px; }
.brew__pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); }
.brew__pic img { width: 100%; height: 100%; object-fit: cover; }
.brew__guide .spec--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.brew__guide .spec--row dd { font-size: 1rem; }
.bsteps { list-style: none; counter-reset: s; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.bsteps li { counter-increment: s; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; color: var(--ink-2); }
.bsteps li::before { content: counter(s); font-weight: 600; color: var(--ember-ink); font-variant-numeric: tabular-nums; }
.calc { padding: 1.6rem; display: grid; gap: 1.25rem; }
.calc h3 { font-size: 1.25rem; }
.stepper { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .4rem; }
.stepper input { text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.125rem !important; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__u { color: var(--ink-3); font-size: .9375rem; min-width: 1.5rem; }
.stepper .icon-btn { box-shadow: inset 0 0 0 1px var(--line-2); }
.calc__out { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.calc__out strong { font-family: var(--f-display); font-size: 2.5rem; font-weight: 500; color: var(--ink); letter-spacing: -.02em; line-height: 1; }

/* grind */
.grind { padding-block: calc(var(--sec) * .8) var(--sec); }
.gscale { position: relative; border-radius: var(--r); background: var(--card); padding: 1.25rem; box-shadow: inset 0 0 0 1px var(--line); }
.gscale canvas { display: block; width: 100%; height: clamp(8rem, 14vw, 12rem); }
.gscale__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.gscale__list li { display: grid; gap: .15rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.gscale__list b { font-weight: 600; font-size: .9375rem; }
.gscale__list span { font-size: .8125rem; color: var(--ink-3); }
.grind .note { margin-top: 1.25rem; max-width: 52em; }

/* freshness */
.fresh { padding-block: var(--sec); background: var(--paper-2); }
.fline { margin: 0 0 clamp(3rem, 6vw, 5rem); padding: 1.75rem; }
.fline__bar { display: flex; height: 6.5rem; border-radius: var(--r-sm); overflow: hidden; }
.fz { width: var(--w); display: grid; align-content: end; gap: .1rem; padding: .9rem 1rem; min-width: 0; }
.fz b { font-weight: 600; font-size: .9375rem; line-height: 1.2; }
.fz small { font-size: .8125rem; line-height: 1.3; }
.fz--rest { background: #e3d9cc; color: var(--ink); }
.fz--best { background: #5f3a22; color: #f6efe7; }
.fz--ok { background: linear-gradient(90deg, #c9b39c, #e6ded3); color: var(--ink); }
.fz--ok small, .fz--rest small { color: var(--ink); }
.fline__axis { display: flex; justify-content: space-between; margin-top: .6rem; font-size: .8125rem; color: var(--ink-3); }
.fline figcaption { margin-top: 1rem; font-size: .875rem; color: var(--ink-2); }
.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; }
.tips li { padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.tips h3 { margin-bottom: .6rem; }
.tips p { color: var(--ink-2); }

/* delivery month */
.month { padding-block: var(--sec); }
.month__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.month__body h2 { margin-bottom: 1.25rem; }
.terms { margin: 2.25rem 0 0; display: grid; }
.terms > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.terms dt { font-weight: 600; }
.terms dd { margin: 0; color: var(--ink-2); }
.cal { margin: 0; padding: 1.75rem; }
.cal__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.cal__days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.cal__wd { font-size: .75rem; font-weight: 600; color: var(--ink-3); text-align: center; padding-bottom: .25rem; }
.cal__d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--paper); font-size: .875rem; color: var(--ink-2); position: relative; }
.cal__d.is-remind { box-shadow: inset 0 0 0 1.5px var(--ink-3); color: var(--ink); }
.cal__d.is-roast { background: var(--ember); color: #fff; font-weight: 600; }
.cal__d.is-ship { background: #5f3a22; color: #fff; }
.cal__d.is-arrive { background: var(--ink); color: var(--paper); font-weight: 600; }
.cal__key { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .8125rem; color: var(--ink-2); }
.cal__key > span { display: inline-flex; align-items: center; gap: .45rem; }
.k { width: .9rem; height: .9rem; border-radius: 4px; display: inline-block; }
.k--remind { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.k--roast { background: var(--ember); }
.k--ship { background: #5f3a22; }
.k--arrive { background: var(--ink); }

/* cafés */
.cafe { padding-bottom: var(--sec); }
.cafe__band { position: relative; min-height: min(80vh, 46rem); display: grid; align-items: end; color: var(--roast-ink); background: var(--roast-bg); overflow: hidden; }
.cafe__band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.cafe__band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 10, 6, .82) 0%, rgba(16, 10, 6, .35) 45%, rgba(16, 10, 6, .1) 100%); }
.cafe__band-in { position: relative; z-index: 1; padding-block: 4rem clamp(3rem, 6vw, 5rem); }
.cafe__band h2 { max-width: 12em; margin-bottom: 1rem; }
.cafe__band p { font-size: 1.1875rem; max-width: 32em; color: rgba(242, 236, 229, .9); }
.cafe__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
.services li { padding-top: 1.1rem; border-top: 1px solid var(--line-2); }
.services h3 { margin-bottom: .5rem; font-size: 1.1875rem; }
.services p { color: var(--ink-2); font-size: 1rem; }
.cafe .mini { margin: 0; padding: 1.75rem; display: grid; gap: 1.1rem; }
.cafe .mini h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; }
.cafe .mini > .btn { justify-self: start; }

/* faq */
.faq { padding-block: var(--sec); background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq h2 { margin-bottom: 1.25rem; }
.faq__pic { margin: 2.5rem 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-width: 22rem; }
.faq__pic img { width: 100%; height: 100%; object-fit: cover; }
.q { border-top: 1px solid var(--line-2); }
.q:last-child { border-bottom: 1px solid var(--line-2); }
.q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; font-family: var(--f-display); font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 500; letter-spacing: -.01em; }
.q summary::-webkit-details-marker { display: none; }
.q summary svg { width: 1.4rem; height: 1.4rem; flex: none; transition: transform .4s var(--ease); }
.q[open] summary svg { transform: rotate(45deg); }
.q summary:hover { color: var(--ink-2); }
.q p { padding: 0 3rem 1.5rem 0; color: var(--ink-2); max-width: 44em; }

/* close + footer */
.close { background: var(--roast-bg); color: var(--roast-ink); padding-block: clamp(5rem, 10vw, 9rem); }
.close__in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem 4rem; align-items: end; }
.close h2 { font-size: clamp(2.25rem, 1.4rem + 3vw, 4.5rem); max-width: 13em; }
.close__acts { display: flex; flex-wrap: wrap; gap: .75rem; }
.foot { background: var(--paper); padding-block: 4rem 2.5rem; font-size: .9375rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.brand--foot { margin-bottom: 1rem; }
.foot__brand p { color: var(--ink-2); }
.foot__contact { margin: 0; display: grid; gap: .75rem; }
.foot__contact dt { color: var(--ink-3); font-size: .8125rem; }
.foot__contact dd { margin: .15rem 0 0; }
.foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; align-content: start; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__base { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.75rem; color: var(--ink-3); font-size: .875rem; }
.foot__base p:first-child { max-width: 46em; }

/* motion helpers: content is visible by default; motion.js only animates from visible states */
.anim .rv { will-change: transform, opacity; }

/* responsive */
@media (max-width: 1180px) {
  .nav a { padding-inline: .55rem; font-size: .875rem; }
  .brand__sub { display: none; }
  .brew__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .calc { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .calc h3, .calc .note { grid-column: 1 / -1; }
  .calc__out { border: 0; padding: 0; }
  .opts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --hdr: 4rem; }
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; top: var(--hdr); left: 0; right: 0; background: var(--paper); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(26, 22, 18, .25); padding: .5rem var(--gutter) 1.25rem; display: none; }
  .hdr.menu-open .nav { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .85rem 0; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .hdr__tools { margin-left: auto; }
  .hero__in { grid-template-columns: minmax(0, 1fr); align-content: end; }
  .quick { max-width: 30rem; }
  .sec-head, .coffees__head, .roast__head { grid-template-columns: minmax(0, 1fr); }
  .sec-head .lead { justify-self: start; }
  .coffees__head .lead, .coffees__head .note { grid-column: 1; grid-row: auto; }
  .jsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { padding-bottom: 1rem; }
  .prof, .builder, .levels__grid, .sample__grid, .month__grid, .cafe__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .levels__pic { aspect-ratio: 16 / 10; }
  .sample__pic { aspect-ratio: 16 / 10; order: -1; }
  .faq__pic { display: none; }
  .close__in { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hdr__tools .btn { display: none; }
  .hero { min-height: 0; display: block; background: var(--paper); }
  .hero__img { position: relative; display: block; height: 72svh; min-height: 30rem; }
  .hero__shade { height: 72svh; min-height: 30rem; background: linear-gradient(0deg, rgba(16, 10, 6, .8) 0%, rgba(16, 10, 6, .2) 60%), linear-gradient(180deg, rgba(16, 10, 6, .5) 0%, rgba(16, 10, 6, 0) 25%); }
  .hero__in { position: static; padding: 0; display: block; }
  .hero__copy { position: absolute; left: 0; right: 0; top: 0; height: 72svh; min-height: 30rem; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr) + 1rem) var(--gutter) 2rem; }
  .hero__facts { display: none; }
  .quick { margin: 1.25rem var(--gutter) 0; box-shadow: inset 0 0 0 1px var(--line); max-width: none; }
  .jsteps, .opts--3, .fields, .sliders, .tips, .services, .pack { grid-template-columns: minmax(0, 1fr); }
  .jstep__pic { aspect-ratio: 16 / 10; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .roast__in { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .roast__bean { max-height: 20rem; }
  .roast__read { gap: 1.5rem; justify-content: space-between; }
  .step-pair { grid-template-columns: minmax(0, 1fr); }
  .brew__grid { grid-template-columns: minmax(0, 1fr); }
  .brew__pic { aspect-ratio: 16 / 11; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .gscale__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fline__bar { height: auto; flex-direction: column; }
  .fz { width: auto; padding: .8rem 1rem; }
  .fline__axis { display: none; }
  .terms > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .q p { padding-right: 0; }
  .lot { width: min(80vw, 20rem); }
  .spec--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.4rem; }
  .seg span { font-size: .8125rem; padding-inline: .3rem; }
  .gscale__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (min-width: 981px) {
  .pinmode .rail { padding-bottom: 0; }
  .pinmode .coffees { padding-bottom: calc(var(--sec) * .6); }
  .pinmode .lot__pic { aspect-ratio: 4 / 3; }
}
