:root {
  --bg: oklch(96% 0.012 75);
  --ink: oklch(24% 0.03 55);
  --mute: oklch(48% 0.03 60);
  --line: oklch(86% 0.02 70);
  --accent: oklch(52% 0.13 45);
  --pad: clamp(20px, 5vw, 64px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(20% 0.02 55);
    --ink: oklch(92% 0.02 75);
    --mute: oklch(70% 0.03 70);
    --line: oklch(32% 0.02 55);
    --accent: oklch(74% 0.12 60);
  }
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 "Instrument Sans", sans-serif;
  padding: 0 var(--pad);
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { max-width: 1040px; margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; font-weight: 500; }
header span:last-child { color: var(--mute); font-weight: 400; }
header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
header .brand img { border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
h1 {
  font: 300 clamp(3.2rem, 11vw, 8.5rem)/0.95 "Fraunces", serif;
  letter-spacing: -0.03em;
  padding: clamp(64px, 14vh, 160px) 0 32px;
}
h1 em { color: var(--accent); font-style: italic; }
.lede { max-width: 34ch; color: var(--mute); font-size: 1.15rem; }
h2 {
  font: 500 0.8rem/1 "Instrument Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: clamp(80px, 16vh, 180px) 0 16px;
}
#q {
  width: 100%; max-width: 520px; font: inherit; color: var(--ink); background: none;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 28px; border-radius: 0;
}
#q::placeholder { color: var(--mute); }
#q:focus-visible { outline: none; border-color: var(--accent); }
.empty { grid-column: 1 / -1; color: var(--mute); }
.filters { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 40px; }
.filters button {
  font: inherit; color: var(--mute); background: none; border: 0; padding: 4px 0; cursor: pointer;
  border-bottom: 1px solid transparent;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); }
.filters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#coffees { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 48px 28px; }
figure img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
  background: var(--line); margin-bottom: 14px;
}
figure .n { font: 300 1.35rem/1.25 "Fraunces", serif; }
figure .m { color: var(--mute); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.group { grid-column: 1 / -1; margin: 24px 0 -16px; display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.group:first-child { margin-top: 0; }
.group h3 { font: 300 clamp(1.6rem, 4vw, 2.4rem)/1.1 "Fraunces", serif; }
.group span { color: var(--mute); font-size: 0.88rem; }
.filters + .filters { margin-top: -20px; }
.filters .label { color: var(--mute); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; align-self: center; }
figure .f { color: var(--ink); font-size: 0.88rem; margin-top: 6px; }
figure .notes { color: var(--mute); font-size: 0.88rem; font-style: italic; }
.bundles { border-top: 1px solid var(--line); }
.bundle { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 24px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.bundle h3 { font: 300 clamp(1.6rem, 3.5vw, 2.2rem)/1.1 "Fraunces", serif; margin-bottom: 8px; }
.bundle p { color: var(--mute); max-width: 32ch; }
.bundle .tot { margin-top: 14px; font-variant-numeric: tabular-nums; }
.bundle .bags { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px; }
.bundle img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: var(--line); margin-bottom: 8px; }
.bundle .bn { font-size: 0.9rem; line-height: 1.3; }
.bundle .bm { color: var(--mute); font-size: 0.8rem; }
@media (max-width: 700px) { .bundle { grid-template-columns: 1fr; } }
details { margin-top: 10px; font-size: 0.88rem; }
summary { cursor: pointer; color: var(--accent); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.chart { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0 8px; align-items: center; }
.chart dt { color: var(--mute); }
.chart dd { margin: 0; display: flex; gap: 4px; align-items: center; }
.chart i { width: 22px; height: 6px; background: var(--line); }
.chart i.on { background: var(--accent); }
.chart dd span { margin-left: 6px; color: var(--mute); font-size: 0.8rem; }
.methods { color: var(--mute); }
.methods b { color: var(--ink); font-weight: 500; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 48px; }
.how p { max-width: 30ch; }
.how b { display: block; font-weight: 500; margin-bottom: 4px; }
footer { padding: 120px 0 40px; color: var(--mute); font-size: 0.9rem; }


.motto {
  font: 300 clamp(1.4rem, 3.4vw, 2.1rem)/1.25 "Fraunces", serif;
  max-width: 24ch; margin-top: clamp(40px, 8vh, 80px);
}
.motto em { color: var(--accent); }
.bundle .brew { margin-top: 10px; color: var(--mute); font-size: 0.9rem; }
.bundle .brew b { color: var(--ink); font-weight: 500; }
.bundle a, figure a { color: inherit; text-decoration: none; }
.bundle a:hover .bn, figure a:hover .n { color: var(--accent); }
.bundle a:focus-visible, figure a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.back { display: inline-block; padding: 8px 0; color: var(--mute); text-decoration: none; }
.back:hover { color: var(--accent); }
.coffee { display: grid; grid-template-columns: minmax(240px, 5fr) 6fr; gap: 40px clamp(32px, 6vw, 80px); padding: 24px 0 0; }
.coffee > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--line); }
.coffee h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); padding: 0 0 12px; }
.coffee .roaster { color: var(--mute); margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0 0 28px; }
.facts dt { color: var(--mute); }
.facts dd { margin: 0; }
.coffee h2 { margin: 36px 0 14px; }
.coffee .chart i { width: 28px; height: 7px; }
.recipes { border-top: 1px solid var(--line); }
.recipe { display: grid; grid-template-columns: 9rem 1fr; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recipe b { font-weight: 500; }
.recipe span { color: var(--mute); font-size: 0.92rem; }
.note { color: var(--mute); font-size: 0.9rem; margin-top: 12px; }
.tasted { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font: 300 1.3rem/1.3 "Fraunces", serif; }
.more { margin-top: clamp(64px, 12vh, 120px); }
@media (max-width: 760px) { .coffee { grid-template-columns: 1fr; } .recipe { grid-template-columns: 1fr; } }

.chips { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; vertical-align: middle; }
.chip { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: 0.88rem; }
.chip:hover { color: var(--accent); }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip .icon { color: var(--accent); flex: none; }
.methods, .bundle .brew { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
header nav a { color: var(--mute); text-decoration: none; font-weight: 400; }
header nav a:hover { color: var(--accent); }
.recipe .rname { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.recipe .rname .icon { color: var(--accent); }
.lede-sm { color: var(--mute); max-width: 48ch; }
.jump { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 40px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method { padding: clamp(48px, 9vh, 96px) 0 0; display: grid; grid-template-columns: 4rem 1fr; gap: 8px 24px; scroll-margin-top: 16px; }
.method .big { color: var(--accent); }
.method h2 { font: 300 clamp(2rem, 5vw, 3.2rem)/1.05 "Fraunces", serif; letter-spacing: -0.02em; text-transform: none; color: var(--ink); margin: 0 0 8px; }
.method .sum { font-size: 1.1rem; max-width: 40ch; }
.method .suits { color: var(--mute); margin-top: 6px; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px 28px; margin: 28px 0 8px; }
.spec dt { color: var(--mute); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.spec dd { margin: 4px 0 0; }
.steps { margin: 20px 0 0; padding-left: 1.2rem; max-width: 52ch; }
.steps li { padding: 4px 0; }
.for { margin-top: 24px; color: var(--mute); font-size: 0.92rem; }
.for a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.for a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.hero h1 { padding-bottom: 32px; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 0.06em 0.12em 0; margin-bottom: -0.12em; }
.w > span { display: inline-block; }
.cup { color: var(--accent); margin: 0 0 40px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .cup { display: none; } }

.timeline { list-style: none; padding: 0; position: relative; --p: 0; margin-top: 8px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 1.55rem; top: 0; bottom: 0; width: 1px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--p)); }
.step { display: grid; grid-template-columns: 3.4rem 1fr; gap: 16px; padding: 0 0 clamp(28px, 6vh, 56px); position: relative; }
.step .num {
  align-self: start; justify-self: start; z-index: 1; background: var(--bg); padding: 4px 0;
  font: 300 1.1rem/1 "Fraunces", serif; color: var(--mute); transition: color 0.4s;
}
.step h3 { font: 300 clamp(1.8rem, 4.5vw, 3rem)/1.05 "Fraunces", serif; letter-spacing: -0.02em; color: var(--mute); transition: color 0.5s; }
.step p { color: var(--mute); max-width: 40ch; margin-top: 6px; }
.step a { display: inline-block; margin-top: 10px; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.step a:hover { border-color: var(--accent); }
.step a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.step.on .num { color: var(--accent); }
.step.on h3 { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .w > span { transform: translateY(110%); animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms) forwards; }
  .lede, .motto, .cup { animation: fade 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
  .motto { animation-delay: 0.7s; }
  .steam path { animation: steam 3.2s ease-in-out infinite; transform-box: fill-box; }
  .steam path:nth-child(2) { animation-delay: 0.8s; }
  .steam path:nth-child(3) { animation-delay: 1.6s; }
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .step .num, .step h3 { transition: color 0.5s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  .step.on h3 { transform: translateX(6px); }
  @keyframes rise { to { transform: none; } }
  @keyframes fade { from { opacity: 0; transform: translateY(12px); } }
  @keyframes steam { 0% { opacity: 0; transform: translateY(5px); } 40% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-7px); } }
}
@media (prefers-reduced-motion: reduce) { .w > span { transform: none; } }

select {
  font: inherit; color: var(--ink); background: var(--bg); border: 0; border-bottom: 1px solid var(--line);
  padding: 6px 24px 6px 0; border-radius: 0; cursor: pointer; max-width: 100%;
}
select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.more-wrap { grid-column: 1 / -1; text-align: center; padding: 24px 0 0; }
.more-btn { font: inherit; color: var(--ink); background: none; border: 1px solid var(--line); padding: 12px 28px; cursor: pointer; }
.more-btn:hover { border-color: var(--accent); color: var(--accent); }
.more-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.source { margin-top: 20px; }
.source a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.source a:hover { border-color: var(--accent); }
.source a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.allbundles { margin-top: 20px; }
.allbundles a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.allbundles a:hover { border-color: var(--accent); }
header nav { display: flex; gap: 24px; }

.aero-wrap { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px 40px; align-items: center; margin-top: 20px; }
.aero { margin: 0; }
.aero-svg { width: 100%; height: auto; display: block; }
.aero-svg .chamber { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.aero-svg .flange { fill: var(--line); stroke: var(--ink); stroke-width: 1.2; }
.aero-svg .rod { fill: var(--line); stroke: var(--mute); stroke-width: 1.2; }
.aero-svg .seal { fill: var(--mute); }
.aero-svg .cap { fill: var(--line); stroke: var(--ink); stroke-width: 1.2; }
.aero-svg .hole { fill: var(--bg); }
.aero-svg .water { fill: color-mix(in oklch, var(--accent) 22%, transparent); }
.aero-svg .coffee { fill: oklch(40% 0.08 50); }
.aero-svg .grounds { fill: oklch(34% 0.06 50); }
.aero-svg .dot { fill: oklch(45% 0.09 55); }
.aero-svg .mug { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.aero-svg .table { stroke: var(--line); stroke-width: 1.5; }
.aero-svg .stream { stroke: color-mix(in oklch, var(--accent) 70%, transparent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 7; fill: none; }
.aero-svg .out { stroke: oklch(45% 0.09 50); }
.aero-svg .paddle { stroke: var(--mute); stroke-width: 4; stroke-linecap: round; }
.aero-svg .clock { fill: var(--accent); font: 300 20px "Fraunces", serif; font-variant-numeric: tabular-nums; }
.aero-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 0.9rem; }
.aero-bar .cap-text { color: var(--ink); }
.aero-bar button { font: inherit; color: var(--accent); background: none; border: 0; padding: 4px 0; cursor: pointer; border-bottom: 1px solid transparent; }
.aero-bar button:hover { border-color: var(--accent); }
.aero-bar button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.steps.live { list-style: none; padding: 0; counter-reset: s; }
.steps.live li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--mute); cursor: pointer; transition: color 0.4s; }
.steps.live li::before { content: counter(s, decimal-leading-zero); font: 300 0.95rem/1.6 "Fraunces", serif; }
.steps.live li:hover { color: var(--ink); }
.steps.live li.on { color: var(--ink); }
.steps.live li.on::before { color: var(--accent); }
.steps.live li:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) { .aero-wrap { grid-template-columns: 1fr; } .aero { max-width: 320px; } }

.aero-svg { transition: opacity 0.35s; }
.aero-svg.dim { opacity: 0; }
.aero-svg .lbl { fill: var(--mute); font: 400 11px "Instrument Sans", sans-serif; }
.aero-svg .clock.sm { font-size: 13px; fill: var(--mute); }
.aero-svg .flame { fill: var(--accent); opacity: 0.9; }
.aero-svg .milk { fill: color-mix(in oklch, var(--ink) 55%, var(--bg)); }
.aero-svg .kaapi { fill: oklch(55% 0.07 60); }
.aero-svg .dil { fill: oklch(52% 0.06 62); }
.aero-svg .crema { fill: oklch(62% 0.08 65); }
.aero-svg .ice { fill: color-mix(in oklch, var(--ink) 18%, transparent); stroke: var(--ink); stroke-width: 1; }
.aero-svg .drop { fill: oklch(70% 0.08 230); }
.aero-svg .sugar { fill: var(--ink); }
.aero-svg .steam { fill: none; stroke: var(--mute); stroke-width: 1.5; stroke-linecap: round; opacity: 0.7; }
.aero-svg .milkS { stroke: color-mix(in oklch, var(--ink) 70%, var(--bg)); }

.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60vmax 60vmax at 88% -8%, color-mix(in oklch, var(--accent) 13%, transparent), transparent 62%),
    radial-gradient(52vmax 52vmax at -8% 108%, color-mix(in oklch, var(--accent) 9%, transparent), transparent 62%);
}
.backdrop::after {
  content: ""; position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bean { position: absolute; top: 0; color: var(--accent); will-change: transform; }
.bean svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .bean svg { animation: bob 18s ease-in-out infinite alternate; animation-duration: inherit; }
  @keyframes bob { from { transform: translateX(-10px) rotate(-6deg); } to { transform: translateX(14px) rotate(7deg); } }
}
.wrap { position: relative; z-index: 1; }

.group .viewall { margin-left: auto; font-size: 0.88rem; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; white-space: nowrap; }
.group .viewall:hover { border-color: var(--accent); }
.group h3 a { color: inherit; text-decoration: none; }
.group h3 a:hover { color: var(--accent); }
.group a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pager { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 8px; }
.pager button, .pager a, .pager .gap {
  min-width: 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px;
  font: inherit; font-size: 0.9rem; color: var(--mute); background: none; border: 1px solid transparent; text-decoration: none; cursor: pointer;
}
.pager .gap { cursor: default; min-width: 1rem; padding: 0; }
.pager button:hover, .pager a:hover { color: var(--accent); border-color: var(--line); }
.pager .cur { color: var(--ink); border-color: var(--accent) !important; cursor: default; }
.pager .off { opacity: 0.3; pointer-events: none; }
.pager button:focus-visible, .pager a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cat-head { padding: 24px 0 0; }
.cat-head .kicker { color: var(--mute); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cat-head h1 { padding: 8px 0 12px; font-size: clamp(2.6rem, 8vw, 6rem); }
.cat-head p { color: var(--mute); }
.cat-sibs { margin: 28px 0 40px; }

footer a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
footer a:hover { color: var(--accent); border-color: var(--accent); }
.prose { max-width: 66ch; padding-top: 24px; }
.prose .kicker { color: var(--mute); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.prose h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); padding: 12px 0 16px; }
.prose .tldr { font: 300 clamp(1.5rem, 4vw, 2.2rem)/1.2 "Fraunces", serif; margin: 0 0 8px; }
.prose .tldr em { color: var(--accent); }
.prose h2 { font: 300 1.6rem/1.2 "Fraunces", serif; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin: 2.4rem 0 0.6rem; }
.prose p, .prose li { color: color-mix(in oklch, var(--ink) 82%, var(--bg)); }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { padding: 3px 0; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.prose a:hover { border-color: var(--accent); }

.paths { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.paths a { display: grid; grid-template-columns: 3rem 1fr; gap: 2px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.paths a:hover { padding-left: 10px; }
.paths .num { grid-row: span 2; font: 300 1.1rem/1.6 "Fraunces", serif; color: var(--accent); }
.paths b { font: 300 clamp(1.4rem, 3.5vw, 2rem)/1.2 "Fraunces", serif; }
.paths a > span:last-child { color: var(--mute); }
.paths a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.path { padding-top: clamp(56px, 10vh, 112px); scroll-margin-top: 8px; }
.path .kicker { color: var(--mute); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.path h2 { font: 300 clamp(1.8rem, 5vw, 3rem)/1.1 "Fraunces", serif; letter-spacing: -0.02em; text-transform: none; color: var(--ink); margin: 8px 0 20px; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { padding: 0; margin-bottom: 10px; color: var(--ink); font-weight: 500; }
legend small { color: var(--mute); font-weight: 400; margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.opt span .icon { color: var(--accent); }
.opt:hover span { border-color: var(--mute); }
.opt input:checked + span { border-color: var(--accent); color: var(--accent); background: color-mix(in oklch, var(--accent) 10%, transparent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.go { font: inherit; font-weight: 500; color: var(--bg); background: var(--accent); border: 0; padding: 13px 28px; cursor: pointer; margin-top: 8px; transition: transform 0.2s; }
.go:hover { transform: translateY(-2px); }
.go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.out { margin-top: 36px; }
.result h3 { font: 300 clamp(1.6rem, 4vw, 2.4rem)/1.1 "Fraunces", serif; }
.result > p { color: var(--mute); margin: 6px 0 20px; }
.pkg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.pkg a, .deal a { color: inherit; text-decoration: none; display: block; }
.pkg img, .deal img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: var(--line); margin-bottom: 10px; }
.pkg a:hover .bn, .deal a:hover .bn { color: var(--accent); }
.pkg .bn, .deal .bn { font-size: 0.95rem; line-height: 1.3; }
.pkg .bm, .deal .bm { color: var(--mute); font-size: 0.82rem; }
.why { list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.82rem; color: var(--mute); }
.why li::before { content: "· "; color: var(--accent); }
#hq { width: 100%; max-width: 520px; font: inherit; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; }
#hq:focus-visible { outline: none; border-color: var(--accent); }
.hres { list-style: none; padding: 0; margin: 0; max-width: 520px; }
.hres li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hres small, .hchip small { color: var(--mute); }
.hres button { font: inherit; color: var(--accent); background: none; border: 0; cursor: pointer; }
.hlist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; align-items: center; }
.hchip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px 6px 12px; border: 1px solid var(--line); font-size: 0.9rem; }
.hchip button { font: inherit; color: var(--mute); background: none; border: 0; cursor: pointer; padding: 0 8px; }
.hchip button:hover { color: var(--accent); }
.link { font: inherit; color: var(--mute); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.deal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.tile { perspective: 900px; aspect-ratio: 3/5.6; }
.lede-sm + .opts { margin-top: 20px; }
.deal .bn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.tile.flip .inner { transform: rotateY(180deg); }
.tile .face { position: absolute; inset: 0; backface-visibility: hidden; }
.tile .front { display: grid; place-items: center; border: 1px dashed var(--accent); color: var(--accent); font: 300 3rem/1 "Fraunces", serif; background: color-mix(in oklch, var(--accent) 6%, transparent); }
.tile .back { transform: rotateY(180deg); overflow: hidden; }
@media (max-width: 560px) { .deal { gap: 8px; } .tile .front { font-size: 2rem; } .deal .bn { font-size: 0.8rem; } .deal .why { display: none; } }
@media (prefers-reduced-motion: reduce) { .tile .inner { transition: none; } }
.acct form { display: grid; gap: 20px; max-width: 480px; margin-top: 20px; }
.acct label { display: grid; gap: 6px; font-weight: 500; }
.acct input, .acct textarea { font: inherit; font-weight: 400; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; resize: vertical; }
.acct input:focus-visible, .acct textarea:focus-visible { outline: none; border-color: var(--accent); }
.acct-msg { margin-top: 20px; color: var(--mute); min-height: 1.6em; }
.acct [hidden] { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1px var(--line); }
.avatar.big { width: 64px; height: 64px; }
.who { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 20px 0; max-width: 480px; }
.details dt { color: var(--mute); }
.details dd { white-space: pre-line; overflow-wrap: anywhere; }
header nav { align-items: center; }
.buy { display: grid; gap: 14px; justify-items: start; margin: 20px 0 28px; }
.buy label { display: grid; gap: 6px; font-weight: 500; width: 100%; max-width: 420px; }
.buy select { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 12px 10px; width: 100%; }
.buy select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy .go { margin-top: 0; }
.buy .added { color: var(--mute); }
.buy .note { margin: 0; }
.lines { max-width: 720px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; aspect-ratio: 4/5; object-fit: cover; background: var(--line); display: block; }
.line .info { display: grid; gap: 2px; }
.line .info a { text-decoration: none; }
.line .info small { color: var(--mute); }
.qty { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.qty button:not(.link) { font: inherit; color: var(--ink); background: none; border: 1px solid var(--line); width: 32px; height: 32px; cursor: pointer; }
.qty button:not(.link):hover { border-color: var(--accent); color: var(--accent); }
#summary { margin-top: 24px; }
.total { font-size: 1.2rem; margin-bottom: 8px; }
.order { max-width: 720px; border: 1px solid var(--line); padding: 20px; margin-bottom: 24px; }
.order.fresh { border-color: var(--accent); }
.ohead { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-bottom: 12px; }
.ohead span { color: var(--mute); }
.ohead .status { color: var(--accent); margin-left: auto; }
.order ul { list-style: none; padding: 0; margin: 0 0 12px; }
.order li { display: flex; gap: 10px; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.order li small { color: var(--mute); margin-right: auto; }
.order li a { text-decoration: none; }
.pay { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 16px; }
.qr { width: 160px; height: 160px; background: #fff; padding: 4px; flex: none; }
.qr svg { width: 100%; height: 100%; display: block; }
.pay .go { display: inline-block; text-decoration: none; margin-top: 4px; }
@media (max-width: 560px) { .line { grid-template-columns: 56px 1fr; } .line img { width: 56px; } .qty { grid-column: 1 / -1; justify-content: flex-start; } }
header .brand, header nav a { white-space: nowrap; }
@media (max-width: 640px) { header { flex-wrap: wrap; gap: 12px 0; padding-bottom: 12px; } header nav { width: 100%; gap: 20px; } }
header nav sup { font-size: 0.7em; margin-left: 2px; color: var(--accent); font-weight: 500; vertical-align: super; line-height: 0; }
.tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 24px; max-width: 720px; }
.tools input { flex: 1 1 240px; font: inherit; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; }
.tools input:focus-visible { outline: none; border-color: var(--accent); }
.tools select { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 9px 10px; }
.tools span { color: var(--mute); }
.cust { margin-bottom: 12px; white-space: pre-line; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.acts .go { margin-top: 0; padding: 10px 18px; }
.acts .go:disabled { opacity: 0.5; cursor: default; transform: none; }
.acts .go.danger { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.acts .go.danger:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
