/* Shade: matcha supply for Singapore cafés. Shared styles for every page. */

:root {
  --shade: #18211b;      /* shade-cloth green-black: hero overlay, footer */
  --paper: #f5f6f1;      /* page ground */
  --white: #ffffff;
  --leaf: #2e5a34;       /* primary action, links */
  --leaf-deep: #1f3f25;  /* hover */
  --matcha: #8ab13e;     /* data marks, highlights */
  --mist: #e4eadb;       /* quiet panels */
  --indigo: #2b4763;     /* lot report ink and stamp */
  --ink: #18211b;
  --muted: #4c574d;
  --rule: #cbd2c3;

  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Helvetica Neue", Helvetica, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "palt" 0;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--leaf-deep); }

:focus-visible { outline: 3px solid var(--matcha); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 800; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.12; }
h3 { font-size: 25px; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: 20px; line-height: 1.6; max-width: 40em; }
.small { font-size: 14px; line-height: 1.55; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 3px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--leaf); color: var(--white); }
.btn-primary:hover { background: var(--leaf-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--leaf); border-color: var(--leaf); }
.btn-ghost:hover { background: var(--leaf); color: var(--white); }
.btn-light { background: var(--paper); color: var(--shade); }
.btn-light:hover { background: var(--white); color: var(--shade); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(245, 246, 241, .7); }
.btn-outline-light:hover { background: rgba(245, 246, 241, .12); color: var(--white); }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.wordmark-name { font-family: var(--serif); font-weight: 800; font-size: 28px; letter-spacing: .01em; line-height: 1; }
.wordmark-seal {
  writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700; font-size: 11px; line-height: 1;
  border: 1.5px solid currentColor; padding: 4px 3px; letter-spacing: .1em;
}

/* Top bar (sits over the hero on the home page) */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; color: var(--paper); }
.topbar.on-paper { position: relative; color: var(--ink); border-bottom: 1px solid var(--rule); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.topnav { display: flex; align-items: center; gap: 28px; }
.topnav a { color: inherit; text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav a:hover { text-decoration: underline; color: inherit; }
.topnav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.topnav .btn:hover { text-decoration: none; }
.topnav .btn-light { color: var(--shade); }
.topnav .btn-primary, .topnav .btn-primary:hover { color: var(--white); }
@media (max-width: 900px) { .topnav .navlink { display: none; } }

/* Hero: tea under shade cloth; the cloth lifts once on load */
.hero { position: relative; min-height: max(640px, 92vh); color: var(--paper); overflow: hidden; background: var(--shade); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 75%; }
.hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24, 33, 27, .86) 0%, rgba(24, 33, 27, .62) 42%, rgba(24, 33, 27, .12) 78%);
}
.hero-cloth {
  position: absolute; inset: 0; pointer-events: none;
  background-color: rgba(18, 24, 20, .72);
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .55) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .45) 0 2px, transparent 2px 7px);
  transform: translateY(0);
  transition: transform 1.9s cubic-bezier(.65, 0, .25, 1) .35s, opacity 1.9s ease .35s;
}
.hero.is-lifted .hero-cloth { transform: translateY(-104%); opacity: .85; }
.hero-body { position: relative; z-index: 2; display: flex; align-items: flex-end; min-height: inherit; padding-top: 140px; padding-bottom: 72px; }
.hero-copy { max-width: 760px; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { color: rgba(245, 246, 241, .92); margin-bottom: 18px; }
.hero-status { display: inline-block; font-size: 15px; color: var(--paper); border-left: 3px solid var(--matcha); padding-left: 12px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-vertical {
  position: absolute; right: 28px; top: 120px; z-index: 2; writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .5em; color: rgba(245, 246, 241, .78);
}
.hero-credit { position: absolute; right: 24px; bottom: 16px; z-index: 2; font-size: 12px; color: rgba(245, 246, 241, .86); max-width: 46ch; text-align: right; text-shadow: 0 1px 2px rgba(24, 33, 27, .9), 0 0 12px rgba(24, 33, 27, .7); }
.hero-credit a { color: inherit; }
@media (max-width: 700px) {
  .hero-tint { background: linear-gradient(180deg, rgba(24, 33, 27, .5) 0%, rgba(24, 33, 27, .74) 45%, rgba(24, 33, 27, .9) 100%); }
  .hero-vertical { display: none; }
  .hero-credit { left: 24px; text-align: left; }
  .hero-body { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cloth { display: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.on-mist { background: var(--mist); }
.on-white { background: var(--white); }
.on-shade { background: var(--shade); color: var(--paper); }
.on-shade a { color: #cfe3a6; }
@media (max-width: 700px) { .section { padding: 80px 0; } .section-tight { padding: 60px 0; } }

/* Problem */
.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.problem-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.problem-list li { padding: 22px 0 20px; border-bottom: 1px solid var(--rule); }
.problem-list strong { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.35; margin-bottom: 6px; }
.problem-list .src { font-size: 13px; color: var(--muted); }
.problem-answer { margin-top: 28px; font-size: 19px; }
@media (max-width: 900px) { .problem { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Lots */
.lots { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: stretch; }
.lots-side { display: grid; gap: 28px; }
.lot {
  position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: 4px;
  display: flex; flex-direction: column; min-width: 0;
}
.lot::before { /* the perforated top edge of a tea auction slip */
  content: ""; position: absolute; left: 14px; right: 14px; top: -5px; height: 10px;
  background: radial-gradient(circle at 5px 5px, var(--paper) 3.2px, transparent 3.6px) 0 0 / 14px 10px repeat-x;
}
.on-mist .lot::before { background: radial-gradient(circle at 5px 5px, var(--mist) 3.2px, transparent 3.6px) 0 0 / 14px 10px repeat-x; }
.lot-photo { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 3px 3px 0 0; }
.lot-main .lot-photo { aspect-ratio: auto; flex: 1 1 340px; min-height: 340px; height: 100%; }
.lot-main .lot-body { flex: 0 0 auto; }
.lot-side .lot-photo { aspect-ratio: 21 / 9; }
.lot-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.lot-code { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.lot h3 { font-size: 30px; margin-bottom: 10px; }
.lot-main h3 { font-size: 38px; }
.lot-for { margin-bottom: 18px; }
.lot-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0 0 22px; font-size: 15px; }
.lot-facts dt { color: var(--muted); }
.lot-facts dd { margin: 0; }
.lot-buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px dashed var(--rule); }
.lot-price { font-family: var(--serif); font-weight: 800; font-size: 34px; line-height: 1; }
.lot-price .unit { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--muted); }
.lot-perdrink { font-size: 14px; color: var(--muted); margin-top: 6px; }
.lots-note { margin-top: 28px; max-width: 760px; }
@media (max-width: 980px) { .lots { grid-template-columns: minmax(0, 1fr); } .lot-main .lot-photo { flex: none; aspect-ratio: 16 / 10; min-height: 0; height: auto; } }

/* Steps: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 24px 24px 0 0; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-weight: 800; font-size: 44px; line-height: 1; color: var(--leaf); margin-bottom: 14px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps .when { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Lot report */
.report-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.report-photo { margin: 32px 0 0; }
.report-photo img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.on-shade figcaption { color: rgba(245, 246, 241, .7); }
.report-doc {
  position: relative; background: var(--white); color: var(--indigo); border-radius: 3px;
  padding: 34px 36px 30px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -24px rgba(24, 33, 27, .35);
  font-size: 15px;
}
.report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--indigo); margin-bottom: 18px; }
.report-title { font-family: var(--serif); font-weight: 800; font-size: 24px; color: var(--indigo); }
.report-lot { font-family: var(--serif); font-weight: 700; font-size: 16px; text-align: right; }
.report-doc table { width: 100%; border-collapse: collapse; }
.report-doc th, .report-doc td { text-align: left; padding: 9px 0; border-bottom: 1px solid #d7dee6; vertical-align: top; }
.report-doc th { font-weight: 500; color: var(--indigo); width: 46%; padding-right: 16px; }
.report-doc td { color: #5b6f84; font-variant-numeric: tabular-nums; }
.report-doc .group td, .report-doc .group th { padding-top: 20px; font-family: var(--serif); font-weight: 700; color: var(--indigo); border-bottom: 1px solid var(--indigo); }
.report-stamp {
  position: absolute; right: 22px; bottom: 18px; transform: rotate(-8deg);
  border: 2.5px solid var(--indigo); color: var(--indigo); padding: 8px 14px; border-radius: 4px;
  font-family: var(--serif); font-weight: 800; font-size: 17px; line-height: 1.2; text-align: center; opacity: .82;
  background: rgba(255, 255, 255, .82);
}
.report-stamp small { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; }
.report-foot { margin-top: 16px; font-size: 13px; color: #5b6f84; max-width: 56%; }
.report-grid h2, .origins h2 { margin-bottom: 22px; }
@media (max-width: 980px) { .report-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 520px) { .report-doc { padding: 24px 18px; } .report-foot { max-width: none; } .report-stamp { position: static; display: inline-block; margin-top: 16px; transform: rotate(-4deg); } }

/* Origins */
.origins { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.bars { margin: 8px 0 0; }
.bar-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 72px; align-items: center; gap: 12px; padding: 6px 0; font-size: 15px; }
.bar-track { height: 16px; background: transparent; }
.bar-fill { height: 100%; background: #a9b3a2; border-radius: 2px; }
.bar-row.hot .bar-fill { background: var(--leaf); }
.bar-row.hot { font-weight: 700; }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; }
.region-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.region-strip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 3px; }
.region-strip h3 { font-size: 20px; margin: 14px 0 4px; }
@media (max-width: 900px) { .origins { grid-template-columns: minmax(0, 1fr); gap: 32px; } .region-strip { grid-template-columns: minmax(0, 1fr); } }

/* Terms */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; }
.terms div { padding: 22px 0; border-top: 1px solid var(--rule); }
.terms dt { font-family: var(--serif); font-weight: 700; font-size: 21px; margin-bottom: 6px; }
.terms dd { margin: 0; }
@media (max-width: 760px) { .terms { grid-template-columns: minmax(0, 1fr); } }

/* Reservation form */
.reserve { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1.5px solid #9aa596; border-radius: 3px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--leaf); outline: 3px solid rgba(138, 177, 62, .45); outline-offset: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-list { display: grid; gap: 10px; }
.field label.choice, .choice { display: flex; font-weight: 400; margin-bottom: 0; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--white); border: 1.5px solid #c3cbbd; border-radius: 3px; cursor: pointer; }
.choice:hover { border-color: var(--leaf); }
.choice input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--leaf); flex: none; }
.choice b { display: block; }
.choice span { font-size: 15px; color: var(--muted); }
.lot-qty { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; align-items: center; }
.lot-qty + .lot-qty { margin-top: 10px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--leaf); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #9b2c1f; font-weight: 700; font-size: 15px; min-height: 1em; }
.form-done { display: none; background: var(--white); border: 1.5px solid var(--leaf); border-radius: 4px; padding: 28px; }
.form-done h3 { margin-bottom: 10px; }
.is-sent .form { display: none; }
.is-sent .form-done { display: block; }
.reserve-aside { position: sticky; top: 24px; }
.reserve-aside img { border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.price-card { background: var(--shade); color: var(--paper); border-radius: 4px; padding: 22px 24px; margin-top: 16px; }
.price-card p { margin: 0 0 6px; }
.price-card .big { font-family: var(--serif); font-weight: 800; font-size: 30px; line-height: 1.1; }
@media (max-width: 980px) { .reserve { grid-template-columns: minmax(0, 1fr); } .reserve-aside { position: static; } .reserve-aside img { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } .lot-qty { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-weight: 400; font-size: 28px; color: var(--leaf); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 22px; max-width: 68ch; }

/* Footer */
.footer { background: var(--shade); color: var(--paper); padding: 64px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer a { color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(245, 246, 241, .18); font-size: 13px; color: rgba(245, 246, 241, .72); }

/* Long-form pages (report, privacy, credits) */
.page-hero { position: relative; color: var(--paper); background: var(--shade); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero .wrap { position: relative; padding-top: 150px; padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 15ch; margin-bottom: 20px; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 64px 0 18px; }
.prose h3 { margin: 36px 0 10px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.finding { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 48px 0; border-top: 1px solid var(--rule); }
.finding-num { font-family: var(--serif); font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--leaf); }
.finding h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.chart-box { margin-top: 24px; }
.src-list { font-size: 14px; }
.src-list li { margin-bottom: 6px; }
.credits-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.credits-table th, .credits-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table-scroll { overflow-x: auto; max-width: 100%; }
@media (max-width: 640px) {
  .credits-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .credits-table, .credits-table tbody, .credits-table tr, .credits-table td { display: block; width: 100%; }
  .credits-table tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .credits-table td { border: 0; padding: 2px 0; }
  .credits-table td:first-child { font-weight: 700; color: var(--ink); }
  .credits-table td:nth-child(n+2) { display: inline; width: auto; padding-right: 10px; font-size: 14px; color: var(--muted); }
}
@media (max-width: 800px) { .finding { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* At-home page */
.home-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: 88vh; }
.home-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 140px 64px 80px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.home-hero-photo { position: relative; min-height: 420px; }
.home-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pouch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pouch { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.pouch img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pouch-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pouch-body h3 { font-size: 24px; margin-bottom: 8px; }
.pouch-body .lot-buy { margin-top: auto; }
@media (max-width: 900px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-hero-copy { padding: 130px 24px 56px; }
  .pouch-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Launch additions (14 Oct 2026) */
[hidden] { display: none !important; }
.choice [data-price], .lot-qty-price { font-weight: 700; color: var(--ink); }
.lot-qty-price { display: block; }
.lot-qty .kg { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.lot-qty .kg input { width: 88px; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid #9aa596; border-radius: 3px; }
.lot-qty .kg input:disabled { background: #eef1ea; border-color: #c3cbbd; }
.lot-qty .kg input:focus { border-color: var(--leaf); outline: 3px solid rgba(138, 177, 62, .45); outline-offset: 0; }
[aria-invalid="true"] { border-color: #9b2c1f !important; }
.form-off { margin: 0; padding: 12px 14px; background: var(--white); border-left: 3px solid #9b2c1f; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.done-recorded { font-weight: 700; color: var(--ink); }
.lot-qty { grid-template-columns: minmax(0, 1fr) auto; }
.lot-qty .kg span { white-space: nowrap; }
@media (max-width: 600px) { .lot-qty { grid-template-columns: minmax(0, 1fr); } }

/* Accessibility (QA 14 Oct): focus ring at least 3:1 on every ground, input borders at least 3:1, 44 px nav button */
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.hero :focus-visible, .on-shade :focus-visible, .footer :focus-visible, .topbar :focus-visible,
.sticky-cta :focus-visible, .price-card :focus-visible, .page-hero :focus-visible { outline-color: var(--matcha); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea,
.lot-qty .kg input { border-color: #6f7b6c; }
.choice input, .consent input { outline-offset: 2px; }
.topnav .btn { min-height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus, .lot-qty .kg input:focus { border-color: var(--leaf); }
@media (max-width: 380px) {
  .topbar-inner { gap: 12px; }
  .topnav .btn { padding: 0 12px; font-size: 14px; white-space: nowrap; }
  .wordmark-name { font-size: 24px; }
}

/* Café copy v4 (14 Oct): the optional part of the tasting form */
.form-more { margin: 4px 0 20px; border-top: 1px solid var(--rule); padding-top: 12px; }
.form-more > summary { cursor: pointer; font-weight: 700; color: var(--leaf); padding: 10px 0; min-height: 44px; display: flex; align-items: center; gap: .35em; }
.form-more .hint { font-weight: 400; color: var(--muted); }
.form-more[open] > summary { margin-bottom: 12px; }
