:root {
  --paper: #f8f5e9;
  --ink: #12204d;
  --blue: #1736cc;
  --line: #dcd8cc;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { color: inherit; cursor: pointer; font: inherit; }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #c75613; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, .wordmark { font-weight: 900; letter-spacing: -.085em; }
h1 span, h2 span, .wordmark span { color: var(--blue); }
.shell { max-width: 1440px; width: calc(100% - clamp(32px, 9vw, 132px)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 3; background: white; padding: 12px; }
.pill, .close { border: 1px solid currentColor; border-radius: 100px; font-weight: 700; }
.footer a:last-child { font-size: 14px; font-weight: 700; text-decoration: none; }
.footer a:last-child:hover { text-decoration: underline; }
.herd-copy p:not(.eyebrow) { max-width: 30ch; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.43; }
.eyebrow { font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; }
.pill { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; font-size: 14px; text-decoration: none; padding: 0 17px; }
.pill span { font-size: 20px; }
.primary { margin-top: 28px; background: var(--blue); border-color: var(--blue); color: white; }
.primary:hover { background: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
h2 { font-size: clamp(43px, 5.2vw, 88px); line-height: .91; }
.section-head p, .product-info p, .faq p { line-height: 1.45; }
.product-art { min-height: 245px; display: grid; place-items: center; overflow: hidden; }
.product-carton { position: absolute; top: 10%; left: 50%; width: auto; height: 80%; transform: translateX(-50%); pointer-events: none; }
.product-info { display: flex; justify-content: space-between; align-items: start; gap: 8px; margin-block: 17px; }
.product-info h3 { font-size: 23px; letter-spacing: -.045em; margin-bottom: 4px; }
.product-info p { font-size: 14px; }
.price { white-space: nowrap; font-weight: bold; }
.add { width: 100%; background: transparent; }
.add:hover { color: white; background: var(--blue); }
.herd { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 7vw, 110px); align-items: center; margin-block: 105px; }
.herd-image { background: #dbe5c9; }
.herd-image img { display: block; width: 100%; height: 100%; max-height: 550px; aspect-ratio: 3 / 2; object-fit: cover; }
.herd-copy h2 { margin-block: 13px 21px; }
.herd-copy p + p { margin-top: 15px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-bottom: 105px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 16px 0; cursor: pointer; font-weight: bold; }
details p { padding-bottom: 18px; max-width: 43ch; }
.footer { background: #dce5ff; padding-block: 33px; }
.footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.footer p { font-size: 14px; }
dialog { color: var(--ink); background: var(--paper); border: 0; border-left: 1px solid var(--line); margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(100%, 440px); max-width: 100%; padding: 24px; }
dialog[open] { display: flex; flex-direction: column; gap: 22px; }
body:has(dialog[open]) { overflow: hidden; }
dialog::backdrop { background: #081639a3; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.drawer-head h2 { font-size: 40px; }
.close { width: 44px; height: 44px; font-size: 27px; background: transparent; }
#basket-lines { overflow: auto; }
.basket-line { padding-block: 15px; border-bottom: 1px solid var(--line); }
.basket-line > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.basket-line > div + div { margin-top: 9px; }
.quantity button, .remove { background: transparent; border: 1px solid var(--line); border-radius: 30px; min-height: 44px; min-width: 44px; }
.quantity span { display: inline-block; min-width: 34px; text-align: center; }
.remove { padding-inline: 13px; }
.drawer-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.drawer-foot div { display: flex; justify-content: space-between; }
.drawer-foot p { margin-top: 10px; font-size: 13px; line-height: 1.4; }
@media (max-width: 730px) {
  .herd, .faq { grid-template-columns: 1fr; gap: 24px; }
  .herd { margin-block: 70px; }
  .faq { margin-bottom: 70px; }
}
@media (max-width: 480px) {
  .section-head { display: block; }
  .section-head p { margin-top: 13px; }
  .product-art { min-height: 205px; }
  .footer .wordmark { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
#works .barista { background: #e6dccb; }
#works .lowfat { background: #d9efe6; }
#works .barista .product-carton { filter: sepia(.35) saturate(.9); }
#works .lowfat .product-carton { filter: hue-rotate(-60deg); }
.price small { display: block; font-size: 12px; font-weight: 600; opacity: .7; text-align: right; }
.note { margin-top: 18px; font-size: 14px; opacity: .75; }
.buy, .journal, .contact { margin-block: 105px; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.buy ul { list-style: none; padding: 0; margin: 12px 0 0; }
.buy li { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.buy li span { opacity: .75; text-align: right; }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.post img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 14px; }
.post h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.04em; margin: 8px 0 10px; }
.post > p:not(.eyebrow), .post details p { line-height: 1.5; max-width: 60ch; }
.post h4 { margin: 18px 0 6px; }
.post details img { margin-top: 14px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.contact > div p { margin-top: 18px; line-height: 1.5; max-width: 40ch; }
.contact form { display: grid; gap: 14px; }
.contact label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.contact input, .contact textarea { font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; color: #12204d; }
.contact .primary { margin-top: 4px; justify-self: start; }
.footer .fine { font-size: 12px; opacity: .7; }
@media (max-width: 730px) { .buy-grid, .posts, .contact { grid-template-columns: 1fr; } .buy, .journal, .contact { margin-block: 70px; } }
