:root {
  color-scheme: light;
  --paper: #efe2c9;
  --paper-deep: #e7d3b0;
  --card: rgba(252, 247, 239, 0.92);
  --card-border: rgba(124, 85, 54, 0.14);
  --ink: #4c331f;
  --ink-soft: #6f5137;
  --accent: #7b5330;
  --accent-deep: #5a381f;
  --line: rgba(123, 83, 48, 0.45);
  --shadow: 0 16px 34px rgba(79, 55, 34, 0.12);
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.3), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, var(--paper) 0%, #f7f0e3 25%, #f6efdf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(102, 69, 41, 0.12) 1px, transparent 0),
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.3) 1px, transparent 0);
  background-size: 18px 18px, 26px 26px;
}

img {
  max-width: 100%;
}

.site-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #e0c096;
  background-image: url("../images/header_texture.png");
  background-repeat: repeat;
  background-size: 112px 88px;
  border-bottom: 1px solid rgba(92, 59, 35, 0.1);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 80px;
  padding: 0 72px 0 24px;
  gap: 36px;
}

.brand {
  flex: 0 0 auto;
}

.brand__logo {
  width: 180px;
  display: block;
  margin-left: -18px;
}

.mobile-header-actions,
.cart-button,
.menu-toggle {
  display: none;
}

.menu-backdrop {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 34px;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.site-nav__link {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 0;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: transparent;
  transition: background-color 180ms ease;
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  background: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  background: #24160f;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-position: center 28%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroImageCycle 32s ease-in-out infinite;
}

.hero__bg--primary {
  background-image: url("../images/coffe_drip.png");
  opacity: 1;
}

.hero__bg--secondary {
  background-image: url("../images/surftripmap_img052_pc2.jpg");
  animation-delay: -24s;
}

.hero__bg--tertiary {
  background-image: url("../images/9e13fe91c359ee7842d1946c6ef4f479.jpg");
  animation-delay: -16s;
}

.hero__bg--quaternary {
  background-image: url("../images/teikyou/1781920914055.jpg");
  animation-delay: -8s;
}

@keyframes heroImageCycle {
  0%,
  20% {
    opacity: 1;
  }

  25%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 13, 8, 0.82) 0%, rgba(20, 13, 8, 0.62) 42%, rgba(20, 13, 8, 0.18) 72%, rgba(20, 13, 8, 0.05) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16));
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(560px, 37.5vw, 720px);
  padding: 48px 0;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-left: -8px;
  transform: translateY(-28px);
  color: #f7efe1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hero h1,
.hero p,
.section h2,
.section h3,
.section p,
.section dl,
.section dt,
.section dd {
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.45rem);
  line-height: 1.38;
  letter-spacing: 0.06em;
  margin-bottom: 30px;
}

.hero__line {
  white-space: nowrap;
}

.hero__lead {
  margin-top: 0;
  color: rgba(248, 240, 226, 0.95);
  font-size: 1.15rem;
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 18px 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(48, 31, 18, 0.18);
}

.button--dark {
  color: #fff8ef;
  background: rgba(74, 47, 27, 0.8);
  border-color: rgba(255, 240, 221, 0.4);
}

.button--light {
  color: var(--ink);
  background: rgba(246, 237, 224, 0.96);
  border-color: rgba(123, 83, 48, 0.16);
}

.button--small {
  min-width: 0;
  padding: 14px 22px;
  font-size: 0.94rem;
}

.button__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.button__image-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.section {
  width: var(--shell);
  margin: 0 auto;
  padding: 46px 0 0;
}

.section--lineup {
  padding-top: 38px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  letter-spacing: 0.05em;
}

.section--lineup .section-heading h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
}

.section-heading__line {
  width: clamp(80px, 12vw, 140px);
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(123, 83, 48, 0.6) 30%, rgba(123, 83, 48, 0.6) 70%, transparent 100%);
}

.section-heading__beans {
  margin-top: 8px;
  text-align: center;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.26em;
}

.lineup-carousel {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.lineup-viewport {
  min-width: 0;
  overflow: hidden;
  padding: 14px 0 18px;
}

.lineup-track {
  --visible-cards: 2;
  display: flex;
  align-items: stretch;
  gap: 14px;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.lineup-track--instant {
  transition: none;
}

.lineup-track .bean-card {
  flex: 0 0 calc((100% - 14px) / var(--visible-cards));
}

.lineup-nav {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 50px;
  height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 0 5px;
  border: 2px solid #f7ebd8;
  border-radius: 15px;
  color: #fff8ef;
  background: linear-gradient(180deg, #654328, #412817);
  box-shadow: 0 12px 24px rgba(63, 40, 23, 0.2);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lineup-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(63, 40, 23, 0.24);
}

.lineup-nav:focus-visible {
  outline: 3px solid rgba(123, 83, 48, 0.38);
  outline-offset: 4px;
}

.bean-card,
.about-card,
.access-panel {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
    var(--card);
  box-shadow: var(--shadow);
}

.bean-card {
  display: flex;
  flex-direction: column;
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  padding: 22px 22px 18px;
}

.bean-card__top {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.bean-card__flag {
  width: 96px;
  border-radius: 2px;
  box-shadow: 0 8px 16px rgba(56, 37, 21, 0.08);
}

.bean-card__country-en {
  color: #936847;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.bean-card__title h3 {
  margin-top: 4px;
  font-size: clamp(1.32rem, 2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.bean-card__title--nowrap {
  white-space: nowrap;
}

.bean-card__farm {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 600;
}

.bean-card__art {
  width: 68px;
  align-self: center;
}

.bean-card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(121, 84, 54, 0.28);
}

.bean-stats {
  display: grid;
  gap: 0px;
}

.bean-stats__row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-left: 16px;
  margin-top: 7px;
  margin-bottom: 7px;
}

.bean-stats__label {
  font-weight: 700;
}

.beans {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.beans__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.beans__icon--empty {
  opacity: 0.32;
  filter: sepia(1) saturate(2) hue-rotate(342deg) brightness(0.78) contrast(0.9);
}

.bean-specs {
  display: grid;
  gap: 7px;
  padding-left: 14px;
  border-left: 1px dashed rgba(121, 84, 54, 0.45);
}

.bean-specs div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  font-size: 0.8rem;
}

.bean-specs dt {
  font-weight: 700;
}

.bean-specs dd {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.bean-card__note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(121, 84, 54, 0.4);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.75;
}

.blend-card {
  padding: 22px;
}

.blend-card__body {
  display: grid;
  grid-template-columns: minmax(130px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  flex: 1;
  min-height: 0;
}

.blend-card__image-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.blend-card__image {
  display: block;
  width: 100%;
  max-height: 270px;
  object-fit: contain;
}

.blend-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.blend-card__badge {
  align-self: flex-start;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.blend-card__title {
  margin-top: 14px !important;
  font-size: clamp(1.05rem, 1.6vw, 1.36rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.blend-card__stats {
  gap: 4px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(121, 84, 54, 0.28);
}

.blend-card__stats .bean-stats__row {
  grid-template-columns: 36px 1fr;
  margin: 3px 0;
}

.blend-card__stats .beans__icon {
  width: 21px;
  height: 21px;
}

.blend-card__note {
  margin-top: 18px;
}

.bean-specs--small div,
.bean-specs--small dd {
  font-size: 0.72rem;
}

.section--about {
  padding-top: 26px;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: var(--card);
  box-shadow: var(--shadow);
}

.about-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(121, 84, 54, 0.45);
  transform: translateX(-50%);
  pointer-events: none;
}

.about-card {
  position: relative;
  min-height: 380px;
  padding: 32px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.about-card + .about-card {
  border-left: 0;
}

.about-card__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-card__heading h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.about-card__icon {
  color: var(--accent);
  font-size: 1.25rem;
}

.about-card__wave {
  display: block;
  width: clamp(80px, 12vw, 140px);
  height: 2px;
  margin: 14px 0 22px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(123, 83, 48, 0.6) 30%, rgba(123, 83, 48, 0.6) 70%, transparent 100%);
}

.about-card p {
  max-width: 34ch;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 2;
}

.about-card p + p {
  margin-top: 8px;
}

.about-card__art {
  position: absolute;
  bottom: 18px;
  right: 20px;
}

.about-card__art--jar {
  width: 180px;
}

.about-card__art--cup {
  width: 154px;
}

.section--access {
  padding-bottom: 58px;
}

.access-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.2fr 220px;
  gap: 0;
  margin-top: 24px;
  padding: 24px 12px;
  align-items: center;
}

.access-item,
.access-social {
  min-height: 208px;
  padding: 8px 20px;
}

.access-item + .access-item,
.access-item + .access-social,
.access-social + .access-panel__photo-wrap {
  border-left: 1px dashed rgba(121, 84, 54, 0.45);
}

.access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.access-item__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--accent);
}

.access-item__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-map-button {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.access-item__icon--social {
  width: 40px;
  height: 40px;
  margin: 0;
}

.access-item__title,
.access-social__title {
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.access-item__text,
.access-social__text {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.7;
}

.access-social {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.access-social__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.access-panel__photo-wrap {
  min-height: 208px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-panel__photo {
  width: 188px;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(79, 55, 34, 0.18);
}

.site-footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(180deg, #563822 0%, #3f2817 100%);
  color: #fbf2e2;
}

.footer-bar {
  display: grid;
  grid-template-columns: 220px 1fr 120px;
  align-items: center;
  gap: 24px;
  min-height: 158px;
}

.site-footer__logo {
  width: 186px;
  filter: brightness(0) saturate(100%) invert(94%) sepia(19%) saturate(477%) hue-rotate(311deg) brightness(104%) contrast(97%);
}

.site-footer__copy {
  text-align: center;
}

.site-footer__copy p + p {
  margin-top: 10px;
}

.site-footer__beans {
  text-align: right;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  opacity: 0.85;
}

@media (max-width: 1080px) {
  .header-bar {
    flex-direction: column;
    justify-content: center;
    padding: 18px 24px;
  }

  .hero__inner {
    min-height: 560px;
    padding: 56px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card + .about-card {
    border-left: 0;
    border-top: 1px dashed rgba(121, 84, 54, 0.45);
  }

  .about-grid::after {
    display: none;
  }

  .access-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .access-item,
  .access-social {
    border-left: 0;
  }

  .access-panel > * {
    border-left: 0;
  }

  .access-item,
  .access-social,
  .access-panel__photo-wrap {
    border-top: 1px dashed rgba(121, 84, 54, 0.45);
  }

  .access-item:nth-child(-n + 2) {
    border-top: 0;
  }

  .access-panel__photo-wrap {
    min-height: 0;
    padding-top: 18px;
  }

  .access-panel__photo {
    width: 200px;
  }

  .footer-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 0;
  }

  .site-footer__beans {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .lineup-track {
    --visible-cards: 1;
  }

  .lineup-track .bean-card {
    flex-basis: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  .site-header {
    position: sticky;
  }

  .header-bar {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    min-height: 0;
    gap: 16px;
    padding: 10px 16px;
  }

  .brand__logo {
    width: 70px;
    margin-left: 0;
  }

  .mobile-header-actions {
    position: relative;
    z-index: 32;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
  }

  .cart-button {
    display: inline-flex;
    width: 38px;
    height: 40px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    color: #1f1f1f;
    background: transparent;
    cursor: default;
  }

  .cart-button__icon {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
  }

  .menu-toggle {
    display: inline-flex;
    width: 32px;
    height: 40px;
    flex: 0 0 32px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    color: #1f1f1f;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle__line {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu-open .menu-toggle__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 30;
    top: 65px;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 22px 34px;
    overflow-y: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.12)),
      #f6eddd;
    box-shadow: 0 20px 34px rgba(79, 55, 34, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(121, 84, 54, 0.22);
    font-size: 1rem;
    line-height: 1.4;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 14px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.72;
  }

  .mobile-menu-open .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .menu-backdrop {
    position: fixed;
    z-index: 29;
    top: 65px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: rgba(47, 31, 19, 0.26);
  }

  .menu-backdrop[hidden] {
    display: none;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .hero__bg {
    background-position: right center;
    background-size: cover;
  }

  .hero__bg--primary {
    background-image: url("../images/coffe_drip2.png");
  }

  .hero__inner {
    min-height: 430px;
    padding: 42px 0;
    align-items: flex-start;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(20, 13, 8, 0.78) 0%, rgba(20, 13, 8, 0.58) 52%, rgba(20, 13, 8, 0.22) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.28));
  }

  .hero h1 {
    font-size: clamp(1.58rem, 7.2vw, 2.16rem);
    line-height: 1.42;
    margin-bottom: 18px;
  }

  .hero__copy {
    position: relative;
    margin-left: 0;
    transform: translateY(-126px);
    max-width: 100%;
  }

  .hero__lead {
    display: none;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    position: absolute;
    left: 0;
    bottom: 18px;
  }

  .hero__actions .button {
    width: min(220px, 72vw);
  }

  .button {
    width: 100%;
    min-width: 0;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .section {
    padding-top: 34px;
  }

  .section--lineup {
    padding-top: 30px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading h2,
  .section--lineup .section-heading h2 {
    font-size: clamp(1.22rem, 5.7vw, 1.55rem);
  }

  .section-heading__line {
    width: clamp(42px, 16vw, 76px);
  }

  .section-heading__beans {
    margin-top: 4px;
  }

  .lineup-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
  }

  .lineup-viewport {
    padding: 12px 0 14px;
  }

  .lineup-nav {
    width: 38px;
    height: 54px;
    border-radius: 12px;
    font-size: 2.45rem;
  }

  .bean-card {
    padding: 18px 14px 16px;
  }

  .blend-card__body {
    grid-template-columns: minmax(110px, 0.82fr) minmax(0, 1.18fr);
    gap: 14px;
  }

  .blend-card__image {
    max-height: 230px;
  }

  .blend-card__badge {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .blend-card__title {
    margin-top: 10px !important;
    font-size: clamp(0.9rem, 3.7vw, 1.1rem);
  }

  .blend-card__stats {
    padding-top: 12px;
  }

  .blend-card__stats .beans__icon {
    width: 19px;
    height: 19px;
  }

  .bean-card__top {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .bean-card__flag {
    width: 82px;
  }

  .bean-card__art {
    display: none;
  }

  .bean-card__country-en {
    font-size: 0.74rem;
  }

  .bean-card__title h3 {
    font-size: clamp(1.18rem, 5.3vw, 1.46rem);
  }

  .bean-card__farm {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .bean-card__title--nowrap {
    font-size: clamp(1.06rem, 4.55vw, 1.24rem);
  }

  .bean-card__details {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 12px;
    padding-top: 14px;
  }

  .bean-stats__row {
    grid-template-columns: 34px 1fr;
    margin: 4px 0;
    gap: 6px;
    font-size: 0.78rem;
  }

  .beans {
    gap: 3px;
  }

  .beans__icon {
    width: 21px;
    height: 21px;
  }

  .bean-specs {
    padding-left: 0;
    border-left: 0;
    padding-top: 12px;
    border-top: 1px dashed rgba(121, 84, 54, 0.45);
  }

  .bean-specs div {
    grid-template-columns: 58px 1fr;
    gap: 7px;
    font-size: 0.76rem;
  }

  .bean-specs dd {
    font-size: 0.76rem;
  }

  .bean-card__note {
    padding-top: 12px;
    font-size: 0.78rem;
    line-height: 1.7;
  }

  .bean-specs--small div,
  .bean-specs--small dd {
    font-size: 0.7rem;
  }

  .about-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .about-card__heading {
    gap: 10px;
  }

  .about-card__heading h2 {
    font-size: clamp(1.2rem, 5.4vw, 1.5rem);
  }

  .about-card__wave {
    width: clamp(72px, 24vw, 120px);
    margin: 12px 0 16px;
  }

  .about-card p {
    font-size: 0.86rem;
    line-height: 1.85;
  }

  .about-card p {
    max-width: none;
  }

  .about-card__art {
    right: 12px;
    bottom: 10px;
  }

  .access-panel {
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: 10px 0;
  }

  .access-map-icon-static {
    display: none;
  }

  .access-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .access-item,
  .access-social,
  .access-panel__photo-wrap {
    min-height: 0;
    padding: 18px 16px;
    border-top: 1px dashed rgba(121, 84, 54, 0.45);
  }

  .access-item:first-child {
    border-top: 0;
  }

  .access-panel__photo {
    width: min(260px, 78vw);
  }

  .access-social {
    align-items: center;
    text-align: left;
  }

  .access-social__header {
    justify-content: center;
  }

  .footer-bar {
    min-height: 0;
    gap: 16px;
    padding: 24px 0;
  }

  .site-footer__logo {
    width: 148px;
  }

  .site-footer__copy {
    font-size: 0.78rem;
    line-height: 1.8;
  }
}

@media (max-width: 420px) {
  :root {
    --shell: min(100% - 20px, 1180px);
  }

  .site-nav__link {
    font-size: 0.96rem;
  }

  .hero__inner {
    min-height: 400px;
    padding: 36px 0;
  }

  .hero h1 {
    font-size: clamp(1.44rem, 7.4vw, 1.92rem);
  }

  .hero__lead {
    font-size: 0.82rem;
  }

  .bean-card__top {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .blend-card__body {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
  }

  .bean-card__flag {
    width: 76px;
  }

  .beans__icon {
    width: 19px;
    height: 19px;
  }

  .access-item__text,
  .access-social__text {
    font-size: 0.8rem;
  }
}
