@charset "UTF-8";
:root {
  font-family: 'Yu Gothic UI', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: #28372f;
  background: #f7f7f2;
  font-synthesis: none;
  --green: #254a3b;
  --muted: #677269;
  --line: #dce0d6;
  --paper: #fffefa;
  --serif: 'Yu Mincho', 'Hiragino Mincho ProN', Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ab7639;
  outline-offset: 4px;
}
input,
select {
  min-height: 44px;
  border: 1px solid #cbd2c7;
  border-radius: 5px;
  background: #fffefa;
  color: #28372f;
  padding: 10px 12px;
  max-width: 100%;
}
input[type='search'] {
  width: 100%;
  padding: 15px 18px;
  font-size: 15px;
}
input[type='range'] {
  accent-color: var(--green);
  width: 100%;
  padding: 4px;
}
input[type='checkbox'] {
  min-height: auto;
  accent-color: var(--green);
  width: 17px;
  height: 17px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.025em;
  color: #4e5e52;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  font-family: var(--serif);
}
h1 {
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 24px;
  line-height: 1.6;
}
h3 {
  font-size: 17px;
  line-height: 1.65;
}
p {
  line-height: 1.9;
}
small {
  font-size: 12px;
  font-weight: 400;
}
code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted);
}
.micro {
  font-size: 12px;
  line-height: 1.8;
}
.eyebrow {
  font:
    10px/1.6 Arial,
    sans-serif;
  letter-spacing: 0.2em;
  color: #647263;
  font-weight: 600;
  margin-bottom: 13px;
}
.header {
  min-height: 96px;
  padding: 20px 4%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 34px;
  background: var(--paper);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font: 21px var(--serif);
  letter-spacing: 0.08em;
}
.brand small {
  display: block;
  font:
    8px/2.2 Arial,
    sans-serif;
  letter-spacing: 0.18em;
  color: #6e776e;
}
.brand b {
  padding: 2px 4px;
  background: #e9eddf;
  font-size: 8px;
  margin-left: 5px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: auto;
  font-size: 13px;
  white-space: nowrap;
}
.header nav a {
  padding: 14px 0;
  position: relative;
}
.header nav a[aria-current] {
  color: var(--green);
  font-weight: 600;
}
.header nav a[aria-current]:after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--green);
  bottom: 0;
  left: calc(50% - 9px);
}
.settings-link {
  font-size: 11px;
  white-space: nowrap;
}
.source-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1248px;
  margin: auto;
  padding: 14px 24px;
  font-size: 10px;
  color: #647263;
}
.source-bar > div {
  display: flex;
  gap: 9px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: #72866b;
  border-radius: 50%;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 6px 0;
  font-size: 12px;
  min-height: 36px;
}
.text-button:hover {
  text-decoration: underline;
}
main {
  max-width: 1248px;
  margin: 0 auto;
  padding: 12px 24px 70px;
  min-height: 70vh;
}
main:focus {
  outline: 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  background: #e9eddf;
  border: 1px solid #e0e5d7;
  min-height: 446px;
  border-radius: 5px;
  overflow: hidden;
}
.hero-copy {
  padding: 46px 50px 23px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.7;
  letter-spacing: 0.075em;
  margin: 18px 0;
}
.hero-copy > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 2.1;
  color: #5d6b5a;
  margin-bottom: 23px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 15px 22px;
  font-size: 12px;
  min-height: 46px;
  text-decoration: none;
}
.button:hover {
  background: #35634d;
  text-decoration: none;
}
.button.secondary {
  color: var(--green);
  background: transparent;
}
.button.secondary:hover {
  background: #e9eddf;
}
.hero-caption {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #cdd5c2;
  padding-top: 16px;
  font-size: 8px;
  letter-spacing: 0.05em;
  color: #6b765f;
  gap: 10px;
}
.hero-art {
  position: relative;
  overflow: hidden;
  background: #dae1cc;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    radial-gradient(ellipse at 25% 20%, #eceddc 0, transparent 60%),
    linear-gradient(130deg, transparent 45%, #bdc9b3 100%);
}
.art-orbit {
  position: absolute;
  border: 1px solid #b6c3a8;
  border-radius: 50%;
  width: 450px;
  height: 450px;
  opacity: 0.5;
}
.orbit-one {
  transform: translate(80px, 50px);
}
.orbit-two {
  transform: translate(-110px, -170px);
  width: 390px;
  height: 390px;
}
.art-label,
.art-coordinate {
  position: absolute;
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 0.2em;
  color: #65725c;
  z-index: 2;
}
.art-label {
  top: 29px;
  left: 29px;
}
.art-coordinate {
  bottom: 27px;
  right: 25px;
}
.saucer {
  width: 275px;
  height: 275px;
  background: radial-gradient(
    circle at 40% 35%,
    #fffff4,
    #d8dccb 66%,
    #c3cbb6 68%,
    #f8f9ec 72%,
    #c5ceb8 98%
  );
  border-radius: 50%;
  box-shadow:
    20px 30px 35px #40573540,
    inset 3px 3px 9px #fffff5;
  position: relative;
  transform: rotate(-20deg);
  margin-top: 10px;
}
.coffee-shadow {
  position: absolute;
  width: 255px;
  height: 190px;
  background: #47634036;
  filter: blur(30px);
  transform: translate(50px, 80px);
  border-radius: 50%;
}
.coffee-cup {
  position: absolute;
  inset: 36px;
  background: linear-gradient(135deg, #fffff6, #e0e4d5);
  border-radius: 50%;
  padding: 12px;
  box-shadow:
    4px 7px 10px #48523f50,
    inset -3px -4px 4px #b5beac;
}
.coffee {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 37% 30%, #9e673e 0, #704224 35%, #442a19 70%, #291c12 94%);
  border: 4px solid #a98b61;
  box-shadow: inset 3px 5px 8px #1f170c9c;
  position: relative;
  overflow: hidden;
}
.coffee:after {
  content: '';
  width: 80%;
  height: 90%;
  position: absolute;
  border: 1px solid #cbab784a;
  border-radius: 50%;
  transform: rotate(30deg);
  left: 7%;
  top: 5%;
}
.coffee span {
  position: absolute;
  display: block;
  top: 11px;
  left: 20px;
  width: 80px;
  height: 20px;
  background: #f7ddb329;
  border-radius: 50%;
  transform: rotate(-30deg);
  filter: blur(5px);
}
.cup-handle {
  position: absolute;
  right: 12px;
  top: 111px;
  width: 57px;
  height: 45px;
  border: 13px solid #e6e9da;
  border-radius: 16px;
  box-shadow: 3px 4px 5px #67745b66;
}
.art-bean {
  position: absolute;
  width: 18px;
  height: 27px;
  border-radius: 50%;
  background: linear-gradient(100deg, #4c3421 44%, #b39469 47%, #4c3421 54%);
  box-shadow: 3px 4px 4px #3a492d33;
}
.bean-one {
  bottom: 61px;
  left: 70px;
  transform: rotate(25deg);
}
.bean-two {
  bottom: 75px;
  left: 44px;
  transform: rotate(-35deg);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.stats > div {
  padding: 0 30px;
  border-right: 1px solid var(--line);
}
.stats > div:first-child {
  padding-left: 9px;
}
.stats > div:last-child {
  border: 0;
}
.stats b {
  display: block;
  font:
    34px Georgia,
    serif;
  line-height: 1.5;
  color: var(--green);
}
.stats b small {
  font:
    11px Meiryo,
    sans-serif;
  color: #647263;
}
.stats span {
  font-size: 11px;
  color: #6b7469;
}
.home-section {
  margin-top: 46px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 0 0 22px;
}
.section-title h2,
.section-title p {
  margin-bottom: 0;
}
.section-title .eyebrow {
  margin-bottom: 7px;
}
.section-title > a,
.section-title > span {
  font-size: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.bean-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s;
}
.bean-card:hover {
  border-color: #94a58b;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px 0;
  position: relative;
  z-index: 1;
}
.country-caption {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #5f6e5b;
}
.rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 27px;
  padding: 3px 6px;
  border-radius: 50%;
  font:
    16px Georgia,
    serif;
  background: #e7ecde;
  color: #36583b;
  flex-shrink: 0;
}
.rating-S {
  background: #ede5ce;
  color: #755c28;
}
.rating-A {
  background: #e0e9da;
  color: #355a40;
}
.rating-B {
  background: #e9e8e0;
  color: #67634e;
}
.rating-C {
  background: #eee3dd;
  color: #785c51;
}
.bean-motif {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.bean-motif span {
  display: block;
  width: 29px;
  height: 43px;
  border: 1px solid #9ba68c;
  border-radius: 50%;
  transform: rotate(28deg);
  background: linear-gradient(110deg, transparent 47%, #aeb79c 49%, #aeb79c 51%, transparent 53%);
}
.bean-motif span:nth-child(2) {
  transform: rotate(-30deg) translateY(-7px);
  width: 35px;
  height: 50px;
}
.bean-motif span:nth-child(3) {
  transform: rotate(50deg) translateY(8px);
  width: 23px;
  height: 35px;
}
.motif-1 {
  background: radial-gradient(ellipse, #ebe7d84d, transparent 70%);
}
.motif-2 span {
  border-color: #aa9b80;
  background: linear-gradient(110deg, transparent 47%, #c7b99e 49%, #c7b99e 51%, transparent 53%);
}
.motif-3 span {
  border-color: #b5a394;
}
.card-body {
  padding: 5px 22px 16px;
}
.card-body > .micro {
  font-size: 10px;
  color: #71796b;
  margin-bottom: 8px;
}
.card-body > .micro span {
  margin: 0 4px;
  color: #b6bbad;
}
.card-body h3 {
  font: 19px/1.65 var(--serif);
  margin-bottom: 12px;
}
.card-note {
  font-size: 12px;
  color: #677160;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
}
.taste-line {
  display: flex;
  gap: 25px;
  font-size: 11px;
  color: #64705f;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.taste-line b {
  font:
    17px Georgia,
    serif;
  margin-left: 9px;
  color: #36583b;
}
.taste-line small {
  font-size: 9px;
  margin-left: 3px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: #77806e;
  padding-top: 12px;
  border-top: 1px solid #eceee5;
}
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}
.explore-grid > a {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #c7d1bf;
  padding: 27px 14px 10px;
}
.explore-icon {
  font-size: 40px;
  color: #7b8d70;
}
.explore-grid h2 {
  font-size: 20px;
  margin-bottom: 7px;
}
.explore-grid p:last-child {
  font-size: 11px;
  color: #6c7765;
  margin: 0;
}
.explore-grid .eyebrow {
  font-size: 8px;
  margin-bottom: 7px;
}
.explore-grid b {
  margin-left: auto;
  font-size: 24px;
  font-weight: 400;
  color: #718669;
}
.page-head {
  padding: 26px 0 20px;
}
.page-head h1 {
  margin-bottom: 12px;
}
.page-head > .muted {
  font-size: 13px;
  max-width: 850px;
}
.panel,
.filter-panel {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.panel h2 {
  font-size: 21px;
}
.panel > p {
  font-size: 13px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  margin-top: 20px;
}
.filter-row > label {
  flex: 1;
  min-width: 130px;
}
.filter-row .text-button {
  margin-left: auto;
}
.filter-panel details {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 15px;
}
summary {
  cursor: pointer;
  font-size: 12px;
  line-height: 1.8;
  color: #52634e;
  min-height: 32px;
}
details[open] > summary {
  margin-bottom: 15px;
}
.checks {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
.range-filters {
  margin-bottom: 20px;
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 26px 0 20px;
  font-size: 13px;
}
.results-toolbar > div {
  display: flex;
  gap: 15px;
  align-items: end;
}
.results-toolbar > p {
  margin: 0;
}
.results-toolbar label {
  font-size: 10px;
}
.results-toolbar select {
  font-size: 11px;
  min-height: 38px;
}
.segmented {
  display: flex;
  border: 1px solid #cbd2c7;
  border-radius: 4px;
  overflow: hidden;
}
.segmented button {
  min-height: 38px;
  background: transparent;
  color: #5b6a56;
  border: 0;
  padding: 7px 14px;
  font-size: 11px;
}
.segmented button[aria-pressed='true'] {
  background: var(--green);
  color: white;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  background: var(--paper);
  text-align: left;
}
th,
td {
  padding: 16px;
  border-bottom: 1px solid #e4e7dc;
  line-height: 1.9;
  min-width: 90px;
}
thead {
  background: #eef1e7;
  color: #617159;
}
th {
  font-weight: 500;
}
tbody th {
  min-width: 170px;
}
td {
  max-width: 340px;
  white-space: normal;
  overflow-wrap: anywhere;
}
table a {
  color: #254a3b;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.empty {
  grid-column: 1/-1;
  padding: 60px 25px;
  text-align: center;
  background: #eef1e7;
  border-radius: 5px;
}
.empty > span {
  font:
    50px Georgia,
    serif;
  color: #9baa8c;
}
.empty h3 {
  margin: 15px;
}
.empty p {
  font-size: 13px;
}
.more {
  display: flex;
  margin: 30px auto 0;
}
.detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin: 40px 0 30px;
}
.detail-hero h1 {
  font-size: 36px;
}
.back-link {
  font-size: 12px;
  display: inline-block;
  margin-top: 15px;
}
.record-id {
  font-size: 10px;
  color: #74806e;
}
.baseline-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  flex-shrink: 0;
}
.baseline-badge .rating {
  width: 68px;
  height: 68px;
  font-size: 39px;
}
.baseline-badge small {
  font-size: 10px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}
.long-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 2.15;
  font-size: 15px;
}
.note-panel .long-note {
  font: 19px/2.2 var(--serif);
  margin: 30px 0;
}
.profile {
  font-size: 12px;
}
.profile > div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #eceee4;
}
.profile dt {
  color: #6e7867;
}
.profile dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.tasting {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-top: 1px solid var(--line);
  padding: 25px 8px;
  gap: 30px;
}
.tasting-meta {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  font-size: 12px;
  color: #63725a;
}
.tasting-meta code {
  font-size: 9px;
  color: #7b8672;
}
.tag {
  display: inline-block;
  background: #e7ecde;
  padding: 6px 11px;
  border-radius: 3px;
  font-size: 11px;
}
.divider {
  margin: 0 12px;
  color: #aab29e;
}
.tasting .long-note {
  margin-bottom: 10px;
}
.ranked-card {
  min-width: 0;
}
.distance {
  display: flex;
  justify-content: space-between;
  font:
    23px Georgia,
    serif;
  border-bottom: 1px solid #c7d0bf;
  margin: 26px 0 12px;
  padding: 0 4px 10px;
}
.distance span {
  font:
    10px Meiryo,
    sans-serif;
  align-self: end;
  color: #6e7b63;
}
.analysis-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.analysis-summary > div {
  display: flex;
  flex-direction: column;
}
.analysis-summary h2 {
  margin: 5px 0;
}
.analysis-summary b {
  font:
    32px Georgia,
    serif;
  color: var(--green);
}
.analysis-summary span:not(.eyebrow) {
  font-size: 10px;
  color: #6e7b63;
  margin-top: 6px;
}
.rate-track {
  display: inline-block;
  width: 80px;
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  background: #e3e8d9;
  margin-right: 10px;
  vertical-align: middle;
}
.rate-track span {
  display: block;
  background: #6e8960;
  height: 100%;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-size: 12px;
  color: #52634e;
}
fieldset .checks {
  margin-bottom: 10px;
}
#advanced-analysis {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
#analysis-detail > section {
  margin-top: 20px;
}
#scatter svg {
  width: 100%;
  max-height: 360px;
  font:
    12px Meiryo,
    sans-serif;
  fill: #66775d;
}
.record-links {
  padding: 0;
  list-style: none;
}
.record-links li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  border-bottom: 1px solid #e6eadd;
}
.record-links small {
  color: #77816c;
}
.map-panel {
  background: #f1f3eb;
}
.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.map-toolbar select {
  min-width: 210px;
}
#world-map svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 15px 0;
}
#world-map path.mapped-country {
  cursor: pointer;
}
#world-map path.mapped-country:hover {
  stroke: #244c3b;
  stroke-width: 1.5;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #6c7a60;
  flex-wrap: wrap;
}
.map-legend i {
  width: 140px;
  height: 7px;
  background: linear-gradient(90deg, #d5dfca, #31573c);
  border-radius: 4px;
}
.map-legend small {
  font-size: 9px;
  margin-left: auto;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.country-grid button {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--green);
  border-radius: 4px;
}
.country-grid button:hover {
  background: #e8eddf;
}
.country-grid button span {
  font-size: 12px;
}
.country-grid button b {
  font:
    22px Georgia,
    serif;
}
.country-grid button small {
  font:
    10px Meiryo,
    sans-serif;
  color: #6e7b63;
}
.country-detail {
  border-top: 1px solid #cbd5bf;
  padding-top: 25px;
  margin-top: 30px;
}
.country-detail p {
  font-size: 12px;
}
#connection-form label {
  margin-top: 22px;
}
#connection-form button {
  margin-top: 16px;
}
#connection-message,
#mapping-message {
  font-size: 12px;
}
#mapping-code {
  margin-bottom: 15px;
}
footer {
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #5f7056;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  z-index: 100;
  background: var(--green);
  color: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.loading {
  padding: 80px;
  text-align: center;
}
@media (min-width: 1500px) {
  .header {
    padding-left: calc((100vw - 1350px) / 2);
    padding-right: calc((100vw - 1350px) / 2);
  }
}
@media (max-width: 1100px) {
  .header {
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 24px;
  }
  .header nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 26px;
    overflow: auto;
  }
  .settings-link {
    margin-left: auto;
  }
  .header nav a {
    padding: 8px 0 12px;
  }
  .hero-copy {
    padding: 35px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .saucer {
    width: 240px;
    height: 240px;
  }
  .cup-handle {
    top: 95px;
  }
  .cards {
    gap: 15px;
  }
  .card-body,
  .card-top {
    padding-left: 17px;
    padding-right: 17px;
  }
  .stats > div {
    padding: 0 20px;
  }
  footer {
    margin: 0 24px;
  }
  .country-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  main {
    padding: 8px 18px 45px;
  }
  .header {
    padding: 14px 18px 0;
    gap: 14px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .header nav {
    font-size: 12px;
    gap: 23px;
  }
  .settings-link {
    font-size: 10px;
  }
  .source-bar {
    padding: 12px 18px;
    font-size: 9px;
    align-items: start;
  }
  .source-bar .text-button {
    font-size: 10px;
    white-space: nowrap;
    min-height: 24px;
    padding-top: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    padding: 30px 27px 22px;
  }
  .hero h1 {
    font-size: 32px;
    margin: 14px 0;
    line-height: 1.65;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .hero-caption {
    margin-top: 25px;
  }
  .hero-art {
    height: 255px;
  }
  .saucer {
    width: 200px;
    height: 200px;
    margin: 0;
  }
  .coffee-cup {
    inset: 25px;
    padding: 9px;
  }
  .cup-handle {
    top: 76px;
    right: 6px;
    height: 40px;
    width: 45px;
    border-width: 11px;
  }
  .art-label {
    top: 21px;
    left: 21px;
    font-size: 7px;
  }
  .art-coordinate {
    bottom: 20px;
    right: 18px;
    font-size: 6px;
  }
  .art-bean.bean-one {
    bottom: 43px;
    left: 66px;
  }
  .art-bean.bean-two {
    bottom: 36px;
    left: 39px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 15px 0;
    row-gap: 18px;
  }
  .stats > div {
    padding: 0 18px !important;
  }
  .stats > div:nth-child(2) {
    border: 0;
  }
  .stats b {
    font-size: 29px;
  }
  .stats span {
    font-size: 10px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-body,
  .card-top {
    padding-left: 13px;
    padding-right: 13px;
  }
  .card-top {
    padding-top: 13px;
  }
  .country-caption {
    font-size: 10px;
    letter-spacing: 0;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .card-note {
    font-size: 11px;
  }
  .card-body > .micro {
    font-size: 9px;
  }
  .card-bottom {
    flex-direction: column;
    font-size: 8px;
    gap: 5px;
  }
  .taste-line {
    gap: 13px;
    font-size: 9px;
    margin-top: 14px;
    padding: 12px 0;
  }
  .taste-line b {
    font-size: 15px;
    margin-left: 4px;
  }
  .bean-motif {
    height: 85px;
  }
  .rating {
    min-width: 23px;
    height: 23px;
    font-size: 14px;
  }
  .home-section {
    margin-top: 32px;
  }
  .section-title {
    gap: 12px;
    align-items: end;
  }
  .section-title h2 {
    font-size: 21px;
  }
  .section-title > a {
    font-size: 10px;
  }
  .section-title .eyebrow {
    font-size: 8px;
  }
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }
  .explore-grid > a {
    padding: 22px 7px 10px;
  }
  .explore-grid h2 {
    font-size: 19px;
  }
  .page-head {
    padding: 20px 0 13px;
  }
  .page-head h1 {
    font-size: 27px;
  }
  .page-head > .muted {
    font-size: 12px;
  }
  .panel,
  .filter-panel {
    padding: 19px;
  }
  .filter-row {
    gap: 12px;
  }
  .filter-row > label {
    min-width: 110px;
  }
  .filter-row input,
  .filter-row select {
    width: 100%;
  }
  .results-toolbar {
    align-items: start;
    font-size: 12px;
    flex-direction: column;
    gap: 10px;
  }
  .results-toolbar > div {
    width: 100%;
    justify-content: space-between;
  }
  .results-toolbar label {
    flex: 1;
  }
  .segmented {
    flex-shrink: 0;
  }
  .detail-hero {
    margin-top: 30px;
  }
  .detail-hero h1 {
    font-size: 27px;
  }
  .baseline-badge {
    padding: 8px 0;
  }
  .baseline-badge .rating {
    width: 46px;
    height: 46px;
    font-size: 29px;
  }
  .baseline-badge small {
    font-size: 8px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .note-panel .long-note {
    font-size: 17px;
  }
  .tasting {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tasting-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .tasting-meta code {
    width: 100%;
  }
  .long-note {
    font-size: 13px;
  }
  .section-title > label {
    max-width: 45%;
  }
  .analysis-summary {
    flex-wrap: wrap;
    justify-content: start;
    gap: 24px;
  }
  .analysis-summary > div:first-child {
    width: 100%;
  }
  .analysis-summary b {
    font-size: 28px;
  }
  .rate-track {
    width: 50px;
  }
  .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .map-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .map-legend small {
    margin-left: 0;
    width: 100%;
  }
  .map-panel {
    padding: 15px;
  }
  #world-map {
    margin-left: -10px;
    margin-right: -10px;
  }
  .country-grid button {
    padding: 15px;
  }
  .country-detail h2 {
    font-size: 23px;
  }
  footer {
    margin: 0 18px;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
  }
  .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 380px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .settings-link {
    font-size: 9px;
  }
  .brand {
    font-size: 17px;
  }
  .header nav {
    gap: 19px;
  }
  .filter-row > label {
    min-width: 100px;
  }
  .section-title {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .header nav,
  .source-bar,
  .settings-link,
  footer,
  .button,
  .filter-panel {
    display: none;
  }
  body {
    background: white;
  }
  main {
    padding: 0;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .bean-card,
  .panel {
    break-inside: avoid;
  }
  .hero-art {
    print-color-adjust: exact;
  }
}
