:root {
  color-scheme: light;
  --paper:#f9f4e9; --white:#fffaf2; --ink:#2d2019; --muted:#5e4b3f; --line:#dbccbc;
  --olive:#382219; --guide-accent:#854729; --display:Georgia,"Times New Roman",serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:1.15rem; }
body { margin:0; background:var(--paper); color:var(--ink); font:1rem/1.55 system-ui,sans-serif; }
a { color:inherit; text-underline-offset:.2em; }
a:focus-visible,button:focus-visible { outline:3px solid #b36838; outline-offset:4px; }
h1,h2,h3,p,figure { margin:0; }
.shell { width:min(74rem,calc(100% - 4rem)); margin-inline:auto; }
.skip { position:absolute; top:.5rem; left:.5rem; padding:.65rem; background:#f1bc84; z-index:4; transform:translateY(-160%); }
.skip:focus { transform:none; }
.masthead { border-bottom:1px solid var(--line); }
.nav,.nav nav { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.nav { min-height:4.3rem; }
.nav a { text-decoration:none; }
.nav nav { font-size:.93rem; font-weight:750; }
.nav nav a:hover { text-decoration:underline; }
.wordmark { display:inline-flex; gap:.6rem; align-items:center; text-decoration:none; font-weight:850; font-size:1.13rem; letter-spacing:-.04em; white-space:nowrap; }
.mark { display:inline-block; width:1.55rem; height:1.55rem; border-radius:50%; background:#80472f; flex:none; position:relative; }
.mark::before { content:""; position:absolute; inset:.47rem .5rem .52rem .38rem; background:#fff1dc; border-radius:0 0 .2rem .2rem; }
.mark::after { content:""; position:absolute; top:.49rem; right:.32rem; width:.24rem; height:.29rem; border:1px solid #fff1dc; border-radius:0 50% 50% 0; }
.coffee-hero { display:grid; grid-template-columns:.85fr 1.15fr; min-height:31.5rem; background:var(--olive); color:var(--white); }
.hero-copy { align-self:center; padding:clamp(2rem,5.3vw,4.7rem) clamp(1.5rem,4vw,3.7rem) clamp(2rem,5.3vw,4.7rem) max(2rem,calc((100vw - 74rem)/2)); }
.eyebrow { color:#f5c697; font-size:.875rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; margin-bottom:1.15rem; }
.coffee-hero h1,.section h2 { font:500 clamp(3.55rem,6.5vw,6.25rem)/.98 var(--display); letter-spacing:-.065em; }
.coffee-hero h1 { max-width:9ch; }
.hero-copy > p:not(.eyebrow) { margin:1.25rem 0 1.45rem; max-width:37ch; color:#f2e0ce; font-size:1.1rem; }
.button,.buy { display:inline-block; padding:.69rem .93rem; border-radius:6px; font-size:.94rem; font-weight:800; text-decoration:none; }
.button { background:#f4c092; color:#322018; }
.button:hover { background:#ffdbaf; }
.hero-image { position:relative; min-height:100%; overflow:hidden; }
.hero-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:58% 50%; }
.hero-image figcaption { position:absolute; bottom:.85rem; right:.85rem; background:#382219e0; padding:.22rem .52rem; border-radius:.25rem; font-size:.78rem; }
.section { margin-top:clamp(2.3rem,6vw,4.35rem); }
.section h2 { font-size:clamp(2.15rem,4.5vw,3.63rem); letter-spacing:-.055em; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.2rem; }
.section-heading p { max-width:34ch; color:var(--muted); }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; }
.product { display:flex; flex-direction:column; gap:.75rem; background:var(--white); border:1px solid var(--line); border-radius:8px; padding:1.12rem; }
.product-label { color:var(--guide-accent); font-size:.86rem; font-weight:800; }
.product h3 { font-size:1.32rem; line-height:1.15; letter-spacing:-.035em; }
.product > p:not(.product-label) { color:var(--muted); }
.product dl { margin:auto 0 0; padding:.65rem 0; border-block:1px solid var(--line); font-size:.875rem; }
.product dl div { display:grid; grid-template-columns:4rem 1fr; gap:.35rem; }
.product dl div + div { margin-top:.3rem; }
.product dt { color:var(--muted); }
.product dd { margin:0; font-weight:650; }
.buy { background:var(--olive); color:var(--white); text-align:center; }
.buy:hover { background:#603827; }
.product-guide { text-align:center; font-size:.875rem; font-weight:700; }
.product-note { margin-top:.8rem; color:var(--muted); font-size:.875rem; }
.footer { border-top:1px solid var(--line); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:1.05rem; color:var(--muted); font-size:.88rem; }
.footer .wordmark { color:var(--ink); }
@media(max-width:950px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .coffee-hero { min-height:27rem; }
}
@media(max-width:680px) {
  .shell { width:calc(100% - 2rem); }
  .coffee-hero { grid-template-columns:1fr; }
  .coffee-hero h1 { font-size:clamp(3.45rem,11vw,5.1rem); }
  .hero-copy { padding:2.3rem 1rem 1.8rem; }
  .hero-image { min-height:clamp(14.5rem,62vw,23rem); }
  .section-heading { display:block; }
  .section-heading p,.section-heading > a { margin-top:.55rem; display:block; }
  .nav { min-height:3.65rem; }
  .nav,.nav nav { gap:.65rem; }
  .wordmark { font-size:1rem; }
  .nav nav { font-size:.875rem; }
  .footer-inner { flex-direction:column; align-items:flex-start; }
}
@media(max-width:470px) { .product-grid { grid-template-columns:1fr; } }
@media(max-width:340px) { .nav .mark { display:none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.product-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.photo-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .85rem;
  margin: 1.2rem 0 0;
  max-width: 51rem;
}
.photo-guide-grid figure { margin: 0; max-width: 22rem; }
.photo-guide-grid figcaption { margin-top: .35rem; color: var(--muted); font-size: .9rem; font-weight: 650; }

.quiz {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 5vw, 4.2rem);
  align-items: start;
  padding: clamp(1.15rem, 4vw, 2.85rem);
  background: #f1e3d1;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.quiz-intro h2 { max-width: 14ch; }
.quiz-intro p, .quiz-intro > a { margin-top: .65rem; }
.quiz-intro > a { display: inline-block; font-weight: 700; }
.quiz-form { display: grid; gap: .95rem; justify-items: start; }
.quiz-form[hidden] { display: none; }
.quiz-form fieldset { width: 100%; min-width: 0; border: 0; padding: 0; margin: 0; }
.quiz-form legend { padding: 0; margin-bottom: .3rem; font-weight: 800; }
.quiz-form label {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.6rem;
  border: 1px solid #cbb49e;
  background: var(--white);
  padding: .3rem .65rem;
  border-radius: 5px;
  margin-top: .25rem;
  cursor: pointer;
}
.quiz-form label:has(:checked) { background: #f7cda4; border-color: #9b5834; }
.quiz-form input { margin: 0; accent-color: #80472f; }
.quiz-form button { border: 1px solid #aa714d; cursor: pointer; }
.quiz-result {
  grid-column: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
}
.quiz-result h3 { font-size: clamp(1.22rem, 2vw, 1.6rem); line-height: 1.15; }
.quiz-result p { color: var(--muted); margin-top: .5rem; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: .8rem; }
.quiz-actions > a:last-child { font-weight: 750; font-size: .93rem; }
.product:target { outline: 2px solid #a65d36; outline-offset: 3px; }
@media (max-width: 680px) {
  .quiz { grid-template-columns: 1fr; }
  .quiz-result { grid-column: 1; }
}
