@font-face { font-family: 'Crema Display'; src: url('./assets/OhwSubsetSans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Crema Mono'; src: url('./assets/OhwSubsetMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --paper: #ffe5d5; --ink: #222c64; --accent: #222c64; --on-accent: #ffe5d5; --soft: #ffc8a8; --rule: #af807b; --control: #73526b; --body: 'Crema Mono', monospace; --display: 'Crema Display', Arial, sans-serif; --weight: 700; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--weight); line-height: 1.1; margin: 0 0 1.2rem; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.4rem; }
figure, dl { margin: 0; }
picture, img { display: block; }
img { width: 100%; height: auto; }
.photo { width: 100%; max-width: 760px; }
figcaption { padding-top: .75rem; font-size: .8rem; line-height: 1.5; }
ul, ol { padding-left: 1.4rem; }
li { padding-block: .4rem; }
.wrap { width: min(calc(100% - 48px), 1160px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: clamp(3rem, 6vw, 5rem) 1rem; }
.page-intro h1 { max-width: 14ch; }
.page-intro .lead { max-width: 44rem; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }
.small { font-size: .85rem; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; padding: 1rem; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem max(24px, calc((100% - 1160px) / 2)); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font: var(--weight) 2rem/1 var(--display); }
.brand-mark { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wordmark { display: block; }
.brand-label { display: block; font: .6rem/1.5 var(--body); letter-spacing: .06em; margin-top: .65rem; }
#navigation { display: flex; align-items: center; gap: 1.4rem; font-size: .85rem; }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
#navigation a[aria-current], #navigation a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; border: 1px solid currentColor; min-height: 44px; padding: .5rem .75rem; background: transparent; }
.arrow, .disclosure { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button, .text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; max-width: 100%; font-size: .95rem; }
.button { padding: .9rem 1.2rem; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); justify-content: space-between; text-decoration: none; }
.button:hover { text-decoration: underline; }
.button:focus-visible { outline-color: var(--ink); }
.text-link { padding-block: .6rem; }
.closing { padding-block: 3rem; margin-top: 3rem; background: var(--soft); }
.closing-layout { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.closing-layout > div { max-width: 38rem; }
.closing h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.closing .button { flex-shrink: 0; }
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--rule); font-size: .8rem; }
.footer-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.footer-name { font: var(--weight) 1.5rem/1.2 var(--display); }
.site-footer a { display: inline-block; min-height: 44px; padding-block: .7rem; }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.form-layout > *, .footer-layout > * { min-width: 0; }
.form-panel { padding: clamp(1rem, 3vw, 2.5rem); background: var(--soft); }
.demo-note { margin-top: 2rem; border-left: 3px solid currentColor; padding-left: 1rem; font-size: .9rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: var(--weight) 1.8rem/1.2 var(--display); padding: 0; margin-bottom: 1rem; max-width: 100%; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; font-size: .9rem; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .7rem; background: var(--paper); color: var(--ink); border: 1px solid var(--control); border-radius: 0; font-size: 1rem; }
textarea { resize: vertical; }
.field .small { margin-top: .5rem; }
.confirmation { padding-block: 1rem; }
.confirmation h2 { font-size: 2rem; }
.prose { max-width: 740px; }
.prose section + section { margin-top: 2.5rem; }
.prose h2 { font-size: 2rem; }
.prose > .small { margin-top: 3rem; }
.questions { max-width: 850px; }
details { border-top: 1px solid var(--rule); padding-block: 1rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: 1rem; max-width: 48rem; }
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  #navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .2rem; }
  #navigation a { padding: .6rem .3rem; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .closing-layout { flex-direction: column; align-items: start; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { padding: 1rem 16px; gap: .75rem; }
  .brand { font-size: 1.5rem; gap: .5rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-label { font-size: .55rem; }
  .footer-layout { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
body { font-size: .95rem; }
.site-header { border-bottom: 2px solid var(--ink); padding-block: 1.1rem; }
.brand { font-size: 1.6rem; letter-spacing: -.06em; }
.brand-label { letter-spacing: .03em; }
#navigation { font-size: .78rem; gap: 1rem; }
h1, h2, h3 { letter-spacing: -.05em; }
.coffee-opening { padding-top: 1.5rem; }
.roast-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; font-size: .7rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.coffee-headline { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; padding-block: 2.2rem; align-items: end; }
.coffee-headline h1 { font-size: clamp(3rem, 7.5vw, 7rem); line-height: .95; margin: 0; }
.coffee-headline .lead { font-size: 1.1rem; max-width: 26rem; }
.coffee-window { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--ink); color: var(--paper); align-items: center; }
.coffee-window .photo { max-width: 680px; }
.coffee-window figcaption { padding: .8rem 1rem; }
.batch-label { padding: 2rem; }
.batch-label h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.coffee-index > div { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); margin-top: 2rem; }
.coffee-index article { padding: 1.75rem; }
.coffee-index article + article { border-left: 1px solid var(--ink); }
.coffee-index article span { font-size: .7rem; }
.coffee-index h3 { margin-block: 2rem 1rem; font-size: 2rem; }
.counter-band { background: var(--soft); border-block: 1px solid var(--ink); }
.counter-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.counter-band h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.bean-catalog article { display: grid; grid-template-columns: .4fr 1.8fr .7fr; align-items: start; gap: 2rem; border-top: 2px solid var(--ink); padding-block: 2rem; }
.bean-number { font-size: 3rem; line-height: 1; }
.bean-catalog h2 { font-size: 2.8rem; }
.bean-catalog .eyebrow { margin-bottom: .8rem; }
.bean-price { font: 700 3rem/1 var(--display); }
.bean-price span { font: .8rem/1.5 var(--body); display: block; margin-top: .7rem; }
.grind-board { padding: 2rem; border: 1px solid var(--ink); }
.grind-board dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-block: 2rem; }
.grind-board dt { font-weight: 700; }
.grind-board dd { margin: .75rem 0 0; font-size: .85rem; }
.subscription-note { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.counter-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; }
.drink-menu { margin-bottom: 2rem; }
.drink-menu > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--rule); padding-block: 1rem; }
.drink-menu dt { font: 700 1.5rem/1.3 var(--display); }
.drink-menu dt span { display: block; font: .75rem/1.5 var(--body); margin-top: .35rem; }
.drink-menu dd { margin: 0; }
.counter-hours { background: var(--ink); color: var(--paper); padding: 2rem; }
.counter-hours strong { font: 700 2rem/1.4 var(--display); }
.counter-photo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.roasting-story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.roasted-beans { max-width: 640px; }
.freshness-band { background: var(--ink); color: var(--paper); }
.freshness-band .wrap { max-width: 800px; }
.freshness-band h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
.wholesale-note { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 4rem; }
.green-beans { max-width: 400px; }
.closing { border-top: 2px solid var(--ink); background: var(--paper); }
.form-panel { border: 2px solid var(--ink); }
input, select, textarea { font-family: Arial, sans-serif; }
.coffee-headline > *, .coffee-window > *, .coffee-index article, .bean-catalog article > *, .grind-board dl > *, .subscription-note > *, .counter-layout > *, .counter-photo > *, .roasting-story > *, .wholesale-note > * { min-width: 0; }
@media (max-width: 900px) {
  .coffee-window { grid-template-columns: 1.3fr 1fr; }
  .batch-label { padding: 1.5rem; }
  .coffee-index > div { grid-template-columns: 1fr; }
  .coffee-index article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .coffee-index article { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; }
  .coffee-index article span { grid-column: 1 / -1; }
  .coffee-index h3 { margin: 0; }
  .grind-board dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .brand { font-size: 1.4rem; }
  .coffee-headline, .coffee-window, .counter-band .wrap, .subscription-note, .counter-layout, .counter-photo, .roasting-story, .wholesale-note { grid-template-columns: 1fr; gap: 2rem; }
  .coffee-headline h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .coffee-window { gap: 0; }
  .batch-label { padding: 2rem 1.5rem; }
  .bean-catalog article { grid-template-columns: 1fr auto; gap: 1.5rem; }
  .bean-number { grid-column: 1 / -1; font-size: 1.2rem; }
  .bean-catalog h2 { font-size: 2rem; }
  .bean-price { font-size: 2rem; }
  .grind-board, .counter-hours { padding: 1.5rem; }
  .green-beans { margin-inline: auto; }
}
@media (max-width: 400px) {
  .coffee-index article, .bean-catalog article, .grind-board dl { grid-template-columns: 1fr; }
  .bean-price span { display: inline; }
  .green-beans { max-width: 280px; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
