:root {
  --bg: #060606;
  --text: #f4efe7;
  --ink: #f4efe7;
  --muted: rgba(244, 239, 231, 0.68);
  --line: rgba(216, 176, 107, 0.18);
  --gold: #d8b06b;
  --gold-2: #e2c98b;
  --max: 1180px;
  --radius: 30px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --touch-target: 48px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

/* ==========================================================================
   01. Base
   ========================================================================== */

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(216, 176, 107, 0.12),
      transparent 30rem
    ),
    linear-gradient(180deg, #050505, #080808 42%, #050505);
  color: var(--text);
  font-family:
    "Zen Kaku Gothic New",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Helvetica Neue",
    Meiryo,
    sans-serif;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: calc(12px + var(--safe-top));
  left: calc(12px + var(--safe-left));
  z-index: 1000;
  padding: 10px 16px;
  border: 1px solid var(--gold-2);
  border-radius: 999px;
  background: #070707;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(calc(-100% - 24px - var(--safe-top)));
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

button {
  font: inherit;
}

img,
iframe,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

figure,
dl,
dd {
  margin-left: 0;
  margin-right: 0;
}

main {
  overflow: hidden;
}

main[tabindex="-1"]:focus {
  outline: none;
}

/* ==========================================================================
   02. Layout primitives
   ========================================================================== */

.section {
  width: min(
    var(--max),
    calc(100% - clamp(30px, 5vw, 42px) - var(--safe-left) - var(--safe-right))
  );
  margin: 0 auto;
  padding: clamp(78px, 10vw, 136px) 0;
}

section[id] {
  scroll-margin-top: calc(96px + var(--safe-top));
}

.section.section-divider {
  position: relative;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 36px;
}

.section-head > * {
  min-width: 0;
}

.hero-headline,
.section-title-en,
.visit-title-en {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.info-resonate-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.5vw, 94px);
  font-weight: 700;
}

.section-title-en,
.info-resonate-title {
  margin: 0;
  color: var(--text);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-title-en {
  font-size: clamp(52px, 8.2vw, 112px);
}

.section-title-line {
  display: block;
  white-space: nowrap;
}

.section-title-line + .section-title-line {
  margin-top: 0.12em;
}

.section-heading-ja {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.9em;
  margin: 0 0 clamp(14px, 1.8vw, 20px);
  color: var(--gold-2);
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.75;
  text-transform: none;
}

.section-index {
  color: rgba(216, 176, 107, 0.58);
  font-size: 0.78em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  line-height: 1;
}

.section-head .section-heading-ja {
  max-width: 38rem;
}

.quiet-thin-rule {
  width: min(
    var(--max),
    calc(100% - clamp(30px, 5vw, 42px) - var(--safe-left) - var(--safe-right))
  );
  height: 1px;
  min-height: 1px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
}

/* ==========================================================================
   03. Header / navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: var(--safe-top);
  padding-right: var(--safe-right);
  padding-left: var(--safe-left);
  border-bottom: 1px solid rgba(216, 176, 107, 0.08);
  background: rgba(5, 5, 5, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(216, 176, 107, 0.18);
  background: rgba(5, 5, 5, 0.86);
}

.header-inner {
  width: min(
    var(--max),
    calc(100% - clamp(28px, 5vw, 42px) - var(--safe-left) - var(--safe-right))
  );
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(210px, 26vw, 380px);
  max-height: 56px;
  object-fit: contain;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a,
.footer-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: none;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.nav a:hover,
.nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  outline: none;
}

.menu-button {
  display: none;
  position: relative;
  z-index: 102;
  width: var(--touch-target);
  height: var(--touch-target);
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(216, 176, 107, 0.2);
}

.menu-button span {
  position: absolute;
  left: 50%;
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s var(--ease);
}

.menu-button span:nth-child(1) {
  top: 15px;
}
.menu-button span:nth-child(2) {
  top: 23px;
}
.menu-button span:nth-child(3) {
  top: 31px;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateX(-50%) translateY(8px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateX(-50%) translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   04. Components
   ========================================================================== */

.button {
  display: inline-grid;
  min-width: 210px;
  min-height: 56px;
  justify-content: center;
  gap: 2px;
  padding: 14px 20px;
  border: 1px solid rgba(216, 176, 107, 0.32);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: rgba(216, 176, 107, 0.18);
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.button:hover,
.button:focus-visible,
.card-link:hover,
.info-contact-button:hover,
.info-contact-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-main {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.button-sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.065), transparent 50%),
    rgba(16, 16, 16, 0.76);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.24s var(--ease),
    border-color 0.24s var(--ease),
    background 0.24s var(--ease);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(216, 176, 107, 0.42);
  outline: none;
}

.link-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.heading-main,
.heading-sub {
  display: block;
}

.heading-sub {
  margin-top: 8px;
  color: var(--gold-2);
  font-size: clamp(14px, 1.7vw, 20px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.link-card p {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.9;
  text-wrap: pretty;
}

.card-link,
.info-contact-button {
  width: fit-content;
  margin-top: 28px;
  padding: 11px 0 7px;
  border-bottom: 1px solid currentColor;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}

.info-contact-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-left: 0.7em;
}

.card-link-visual {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(216, 176, 107, 0.18);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(5, 5, 5, 0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   05. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(96px, 11svh, 138px);
  padding-bottom: clamp(42px, 7svh, 82px);
  isolation: isolate;
}

.hero-bg,
.hero-bg::before,
.hero-bg::after {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -2;
  background: #040404;
}

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.025);
  transform-origin: 58% 46%;
  opacity: 0.98;
  filter: contrast(1.02) brightness(1.03) saturate(0.96);
  animation: none;
  will-change: auto;
}

.hero-bg::before {
  --hero-reveal-duration: 4s;

  content: "";
  z-index: 1;
  background: radial-gradient(
    ellipse at 78% 34%,
    rgba(4, 4, 4, 0.56) 0%,
    rgba(4, 4, 4, 0.68) 24%,
    rgba(4, 4, 4, 0.86) 60%,
    rgba(4, 4, 4, 0.91) 100%
  );
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.hero-sync:not(.hero-ready) .hero-bg::before {
  opacity: 1;
}

.hero-ready .hero-bg::before {
  animation: hero-light-reveal var(--hero-reveal-duration) linear both;
}

/* Returning visitors see the finished Hero immediately, without a second fade. */
.hero-static .hero-bg::before {
  opacity: 0 !important;
  animation: none !important;
}

.hero-bg::after {
  content: "";
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.82) 0%,
      rgba(5, 5, 5, 0.68) 34%,
      rgba(5, 5, 5, 0.24) 64%,
      rgba(5, 5, 5, 0.1) 100%
    ),
    radial-gradient(
      circle at 78% 34%,
      rgba(216, 176, 107, 0.12),
      transparent 28rem
    );
}

@keyframes hero-light-reveal {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0.98;
  }

  42% {
    opacity: 0.68;
  }

  72% {
    opacity: 0.28;
  }

  100% {
    opacity: 0;
  }
}

.hero-inner {
  width: min(var(--max), calc(100% - clamp(30px, 5vw, 48px)));
  margin: 0 auto;
}

.hero-copy {
  max-width: min(820px, 100%);
}

.hero-copy .lead {
  margin: 0 0 clamp(12px, 2.2svh, 18px);
  max-width: 40rem;
  color: var(--ink);
  font-size: clamp(15px, 1.55vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.75;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.46);
}

.hero-headline {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  color: var(--text);
  font-size: clamp(54px, min(10vw, 14svh), 142px);
  line-height: 0.9;
  letter-spacing: -0.052em;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.38);
}

.hero-headline-line {
  display: block;
  white-space: nowrap;
}

.hero-headline-line:nth-child(3) {
  margin-top: 0.12em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.4svh, 40px);
}

.hero-actions .button {
  position: relative;
  padding-right: 44px;
  padding-left: 44px;
}

.hero-button-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  color: rgba(244, 239, 231, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-actions .button:hover,
.hero-actions .button:focus-visible {
  border-color: rgba(216, 176, 107, 0.48);
  background: rgba(255, 255, 255, 0.045);
}

/* ==========================================================================
   06. Order section
   ========================================================================== */

.order-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #070707;
}

.order-section::before,
.order-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.order-section::before {
  inset: clamp(54px, 6.5vw, 92px) 0 clamp(54px, 5.6vw, 82px) 0;
  background:
    radial-gradient(
      circle at 74% 28%,
      rgba(216, 176, 107, 0.08),
      transparent 26rem
    ),
    linear-gradient(
      180deg,
      rgba(7, 7, 7, 0.96),
      rgba(7, 7, 7, 0.86) 52%,
      rgba(7, 7, 7, 0.96)
    );
}

.order-section::after {
  inset: clamp(54px, 6.5vw, 92px) 18px clamp(54px, 5.6vw, 82px) 18px;
  border: 1px solid rgba(216, 176, 107, 0.1);
  border-radius: calc(var(--radius) + 2px);
}

.order-section .section-head {
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}

.order-specialty-copy {
  width: min(780px, 100%);
  margin: -10px 0 clamp(24px, 3.4vw, 40px);
  color: var(--ink);
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.order-card-image {
  position: relative;
  isolation: isolate;
  background: rgba(8, 8, 8, 0.76);
}

.order-card-image > * {
  position: relative;
  z-index: 2;
}

.order-card-image::before,
.order-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.order-card-image::before {
  z-index: 0;
  background-image: var(--order-card-image);
  background-size: cover;
  background-position: var(--order-card-position, center);
  transform: scale(1.025);
  transition:
    transform 0.42s var(--ease),
    opacity 0.28s var(--ease),
    filter 0.28s var(--ease);
}

.order-card-image::after {
  z-index: 1;
}

.order-card-image:hover::before,
.order-card-image:focus-visible::before {
  transform: scale(1.045);
}

.order-card-shipping {
  --order-card-image: url("../images/order-shipping-roastery-v274.webp");
  --order-card-position: 54% 52%;
}

.order-card-shipping::before {
  opacity: 0.95;
  filter: grayscale(0.01) sepia(0.04) saturate(0.92) contrast(1.04)
    brightness(0.88);
}

.order-card-shipping::after {
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.86) 0%,
      rgba(8, 8, 8, 0.48) 42%,
      rgba(8, 8, 8, 0.12) 100%
    ),
    linear-gradient(180deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.26));
}

.order-card-shipping:hover::before,
.order-card-shipping:focus-visible::before {
  opacity: 0.97;
  filter: grayscale(0.01) sepia(0.04) saturate(0.94) contrast(1.05)
    brightness(0.93);
}

.order-card-pickup {
  --order-card-image: url("../images/order-pickup-logo-lower-v274.webp");
  --order-card-position: 58% 54%;
}

.order-card-pickup::before {
  opacity: 0.95;
  filter: grayscale(0.01) sepia(0.04) saturate(0.93) contrast(1.04)
    brightness(1.1);
}

.order-card-pickup::after {
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.86) 0%,
      rgba(8, 8, 8, 0.46) 42%,
      rgba(8, 8, 8, 0.1) 100%
    ),
    linear-gradient(180deg, rgba(8, 8, 8, 0.07), rgba(8, 8, 8, 0.24));
}

.order-card-pickup:hover::before,
.order-card-pickup:focus-visible::before {
  opacity: 0.97;
  filter: sepia(0.04) saturate(0.95) contrast(1.05) brightness(1.16);
}

/* ==========================================================================
   07. Roast section
   ========================================================================== */

.roast-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  grid-template-areas:
    "visual intro"
    "visual details";
  column-gap: clamp(28px, 6vw, 72px);
  row-gap: 0;
  align-items: center;
  padding-top: clamp(86px, 10.8vw, 148px);
  border-top: 0;
}

.roast-intro {
  grid-area: intro;
  align-self: end;
}

.roast-details {
  grid-area: details;
  align-self: start;
}

.roast-section.section-divider::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--line);
  box-shadow: none;
  pointer-events: none;
}

.roast-visual {
  grid-area: visual;
  position: relative;
  min-height: clamp(560px, 48vw, 660px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
}

.roast-description--details {
  margin-top: 1.75em;
}

.roast-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.06) sepia(0.1) saturate(0.78) contrast(1.09)
    brightness(0.84);
}

.roast-description {
  margin-bottom: 1em;
  color: var(--muted);
}

.roast-description p {
  margin: 0;
}

.roast-description p + p {
  margin-top: 1.75em;
}

.roast-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.roast-list li {
  display: block;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.85;
  text-transform: none;
}

.roast-list li strong {
  display: block;
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.roast-list li p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.8;
}

/* ==========================================================================
   08. Concept section
   ========================================================================== */

.about-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #070707;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/about-mug-beans-cinematic-v236.webp") center 52% /
    cover no-repeat;
  filter: contrast(1.02) brightness(0.96) saturate(0.92);
}

.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.about-grid {
  display: grid;
  align-items: start;
}

.story-text {
  color: var(--muted);
  font-size: 16px;
}

.story-text p {
  margin: 0 0 22px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.34);
  text-wrap: pretty;
}

.about-visual-mobile {
  display: none;
}

.concept-closing-copy {
  margin: clamp(28px, 4vw, 42px) 0 0;
  padding-top: clamp(18px, 2.6vw, 26px);
  border-top: 1px solid rgba(216, 176, 107, 0.22);
  color: var(--muted);
  font-size: clamp(16px, 1.75vw, 21px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.06em;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.42);
}

.logo-credit-copy {
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid rgba(216, 176, 107, 0.18);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.34);
}

@media (min-width: 901px) {
  .order-card-pickup {
    --order-card-position: 58% 42%;
  }

  .about-section {
    min-height: clamp(920px, 72vw, 1020px);
  }

  .about-section::after {
    background:
      radial-gradient(
        circle at 78% 46%,
        rgba(216, 176, 107, 0.08),
        transparent 20rem
      ),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.97) 0%,
        rgba(5, 5, 5, 0.92) 30%,
        rgba(5, 5, 5, 0.78) 46%,
        rgba(5, 5, 5, 0.4) 62%,
        rgba(5, 5, 5, 0.1) 100%
      ),
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.54) 0%,
        rgba(5, 5, 5, 0.08) 30%,
        rgba(5, 5, 5, 0.2) 72%,
        rgba(5, 5, 5, 0.72) 100%
      );
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
    grid-template-areas:
      "intro visual"
      "story visual";
    column-gap: clamp(72px, 7.5vw, 96px);
    row-gap: clamp(38px, 4vw, 54px);
  }

  .about-intro {
    grid-area: intro;
  }

  .about-section .section-title-en {
    font-size: clamp(52px, 5.8vw, 78px);
    line-height: 0.9;
  }

  .about-section .story-text {
    grid-area: story;
    max-width: 32rem;
  }
}

/* ==========================================================================
   09. Business section
   ========================================================================== */

.wholesale-section .section-title-en {
  max-width: none;
  white-space: nowrap;
  line-height: 0.92;
}

.wholesale-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.wholesale-copy,
.info-resonate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wholesale-copy {
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), transparent 52%),
    rgba(16, 16, 16, 0.78);
}

.wholesale-lead {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  line-height: 1.9;
  text-wrap: pretty;
}

.wholesale-items {
  display: grid;
  gap: 12px;
}

.wholesale-items article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.wholesale-items article > span {
  grid-row: span 2;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.wholesale-items h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.25;
}

.wholesale-items p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  text-wrap: pretty;
}

.wholesale-contact {
  margin: 30px 0 0;
  color: var(--ink);
  font-weight: 500;
}

.wholesale-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.info-resonate {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 38px);
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(216, 176, 107, 0.1), transparent 52%),
    linear-gradient(180deg, rgba(10, 8, 5, 0.24), rgba(9, 7, 4, 0.72)),
    url("../images/info-resonate-beans-overlay-v15.webp") center / cover
      no-repeat;
}

.info-resonate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 80% 16%,
      rgba(216, 176, 107, 0.18),
      transparent 18rem
    ),
    linear-gradient(90deg, rgba(5, 5, 5, 0.64), rgba(5, 5, 5, 0.1));
}

.info-resonate > p:not(.info-resonate-title) {
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ==========================================================================
   10. Visit section
   ========================================================================== */

.visit-section {
  position: relative;
}

.visit-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.76fr);
  gap: clamp(24px, 2.7vw, 36px);
  align-items: stretch;
  overflow: hidden;
  min-height: clamp(580px, 52vw, 760px);
  border: 1px solid rgba(216, 176, 107, 0.22);
  border-radius: calc(var(--radius) + 2px);
  background-color: #090806;
  background-image: url("../images/photo-visit-interior-cinematic-v209.webp");
  background-position: 6% 8%;
  background-repeat: no-repeat;
  background-size: auto 148%;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.38);
  isolation: isolate;
}

.visit-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.62) 0%,
      rgba(5, 5, 5, 0.16) 48%,
      rgba(5, 5, 5, 0.24) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 7, 5, 0.16) 0%,
      rgba(8, 7, 6, 0.02) 44%,
      rgba(5, 5, 5, 0.58) 100%
    );
}

.visit-showcase::after {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  pointer-events: none;
  background: url("../images/photo-visit-interior-cinematic-v209.webp") center
    18% / cover no-repeat;
  filter: blur(14px);
  opacity: 0.21;
  transform: scale(1.035);
}

.visit-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: clamp(580px, 52vw, 760px);
}

.visit-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at 42% 25%,
      rgba(208, 110, 44, 0.11),
      transparent 23%
    ),
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.72) 0%,
      rgba(5, 5, 5, 0.38) 40%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(18, 11, 8, 0.18) 0%,
      transparent 44%,
      rgba(8, 7, 7, 0.46) 100%
    );
}

.visit-copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 4.4vw, 58px);
  top: clamp(34px, 8vw, 98px);
  padding-top: 24px;
  max-width: min(40rem, 92%);
}

.visit-heading {
  position: absolute;
  z-index: 3;
  top: clamp(34px, 8vw, 98px);
  left: clamp(28px, 4.4vw, 58px);
  width: max-content;
  margin: 0;
  grid-template-columns: auto auto;
  white-space: nowrap;
}

.visit-title-en {
  margin: clamp(96px, 9.5vw, 138px) 0 46px;
  color: #f6eee2;
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.visit-lead {
  margin: 0;
  color: rgba(244, 239, 231, 0.96);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
  line-height: 1.92;
  white-space: nowrap;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.42);
}

.visit-card {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 18px) clamp(14px, 1.5vw, 18px)
    clamp(14px, 1.5vw, 18px) 0;
}

.info-list.visit-card-list {
  width: 100%;
  position: relative;
  margin: 0;
  padding: clamp(26px, 2.7vw, 34px);
  border: 1px solid rgba(216, 176, 107, 0.48);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(216, 176, 107, 0.07),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(17, 14, 12, 0.66), rgba(10, 9, 8, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}

.visit-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(216, 176, 107, 0.18);
}

.visit-card-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.visit-card-row--contact {
  padding-bottom: 0;
}

.info-list.visit-card-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.visit-card-icon {
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: rgba(247, 238, 224, 0.95);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
}

.info-list.visit-card-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.62;
  padding-left: 36px;
}

.visit-primary {
  display: block;
  margin-bottom: 4px;
  color: #f7efe4;
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 700;
  line-height: 1.34;
}

.visit-name-part {
  display: inline-block;
  white-space: nowrap;
}

.visit-card-row:first-child .visit-primary {
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  letter-spacing: -0.035em;
  white-space: normal;
}

.visit-secondary-roman {
  letter-spacing: 0.03em;
  opacity: 0.94;
}

.visit-card-list .visit-info-link {
  margin: 4px 0 0;
}

.info-list.visit-card-list dd > span {
  display: block;
  margin-top: 4px;
  color: rgba(232, 221, 204, 0.84);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
}

.info-list.visit-card-list dd .visit-note {
  margin-top: 10px;
}

.visit-inline-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 14px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid rgba(216, 176, 107, 0.46);
  border-radius: 10px;
  color: var(--gold-2);
  background: rgba(16, 12, 10, 0.58);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background-color 0.28s var(--ease),
    color 0.28s var(--ease);
}

.visit-inline-button::after {
  content: "↗";
  color: var(--gold-2);
  font-size: 11px;
}

.visit-inline-button:hover,
.visit-inline-button:focus-visible {
  color: var(--ink);
  border-color: rgba(244, 239, 231, 0.7);
  background: rgba(24, 18, 14, 0.82);
  transform: translateY(-1px);
  outline: none;
}

.visit-info-ambient {
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.footer {
  width: min(
    var(--max),
    calc(100% - clamp(30px, 5vw, 42px) - var(--safe-left) - var(--safe-right))
  );
  margin: 0 auto;
  padding: 34px 0 calc(48px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-brand img {
  width: min(270px, 42vw);
  max-height: 54px;
  object-fit: contain;
}

.footer-links {
  justify-content: center;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   12. 404 page
   ========================================================================== */

.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #050505;
}

.error-404-main {
  min-height: 100vh;
  min-height: 100dvh;
}

.error-404-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(clamp(28px, 4vh, 56px) + var(--safe-top))
    calc(clamp(22px, 4vw, 72px) + var(--safe-right))
    calc(clamp(28px, 4vh, 56px) + var(--safe-bottom))
    calc(clamp(22px, 4vw, 72px) + var(--safe-left));
  isolation: isolate;
}

.error-404-bg,
.error-404-bg::after {
  position: absolute;
  z-index: -1;
}

.error-404-bg {
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.9),
      rgba(5, 5, 5, 0.5) 52%,
      rgba(5, 5, 5, 0.8)
    ),
    radial-gradient(
      circle at 72% 38%,
      rgba(216, 176, 107, 0.13),
      transparent 24rem
    ),
    url("../images/404-bg-beans-scoop-toned.webp") center center / cover
      no-repeat;
  opacity: 0.9;
  filter: grayscale(0.04) sepia(0.07) saturate(0.9) contrast(1.08)
    brightness(0.76);
}

.error-404-bg::after {
  content: "";
  inset: 18px;
  border: 1px solid rgba(216, 176, 107, 0.12);
  border-radius: var(--radius);
  pointer-events: none;
}

.error-404-inner {
  width: min(
    var(--max),
    calc(100% - 42px - var(--safe-left) - var(--safe-right))
  );
  max-height: calc(100dvh - clamp(56px, 8vh, 112px));
  margin-inline: auto;
  overflow: hidden;
}

.error-404-inner h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(64px, min(11vw, 15vh), 150px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: none;
}

.error-404-lead {
  margin: clamp(14px, 2vh, 22px) 0 0;
  color: var(--ink);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  line-height: 1.8;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.46);
}

.error-404-copy {
  max-width: none;
  margin: clamp(8px, 1.4vh, 14px) 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 17px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 280px;
  margin-top: clamp(18px, 3vh, 32px);
}

.error-404-actions .button {
  width: 100%;
}

/* ========================================================================== 
   13. Tremolo hover accents
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .button,
  .link-card,
  .info-contact-button,
  .visit-inline-button,
  .nav a,
  .footer-links a {
    --tremolo-lift: -1px;
  }

  .button,
  .info-contact-button,
  .visit-inline-button {
    --tremolo-lift: -2px;
  }

  .link-card {
    --tremolo-lift: -4px;
  }

  .button:hover,
  .button:focus-visible,
  .link-card:hover,
  .link-card:focus-visible,
  .info-contact-button:hover,
  .info-contact-button:focus-visible,
  .visit-inline-button:hover,
  .visit-inline-button:focus-visible,
  .nav a:hover,
  .nav a:focus-visible,
  .footer-links a:hover,
  .footer-links a:focus-visible {
    animation: tremolo-hover 0.92s cubic-bezier(0.34, 0.01, 0.2, 1) both;
    border-color: rgba(216, 176, 107, 0.52);
    box-shadow:
      0 0 0 1px rgba(216, 176, 107, 0.055),
      0 14px 38px rgba(0, 0, 0, 0.18);
  }

  .button:hover,
  .button:focus-visible,
  .info-contact-button:hover,
  .info-contact-button:focus-visible,
  .visit-inline-button:hover,
  .visit-inline-button:focus-visible,
  .nav a:hover,
  .nav a:focus-visible,
  .footer-links a:hover,
  .footer-links a:focus-visible {
    animation-name: tremolo-hover, tremolo-dark-pulse;
    animation-duration: 0.92s, 1.08s;
    animation-timing-function: cubic-bezier(0.34, 0.01, 0.2, 1), ease-in-out;
    background-color: rgba(255, 255, 255, 0.042);
  }

  .link-card:hover,
  .link-card:focus-visible {
    border-color: rgba(216, 176, 107, 0.46);
    box-shadow:
      0 0 0 1px rgba(216, 176, 107, 0.055),
      0 26px 82px rgba(0, 0, 0, 0.3);
  }
}

@keyframes tremolo-hover {
  0% {
    transform: translate3d(0, var(--tremolo-lift), 0);
  }

  24% {
    transform: translate3d(-0.28px, calc(var(--tremolo-lift) - 0.025px), 0);
  }

  48% {
    transform: translate3d(0.34px, calc(var(--tremolo-lift) + 0.045px), 0);
  }

  68% {
    transform: translate3d(-0.18px, calc(var(--tremolo-lift) - 0.018px), 0);
  }

  84% {
    transform: translate3d(0.1px, var(--tremolo-lift), 0);
  }

  100% {
    transform: translate3d(0, var(--tremolo-lift), 0);
  }
}

@keyframes tremolo-dark-pulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.012);
  }
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .footer {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 16px;
  }

  .footer-links {
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .footer p {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }

  .brand img {
    width: clamp(210px, 30vw, 320px);
  }

  .hero-bg::before {
    --hero-reveal-duration: 3.5s;
  }

  .hero-headline {
    letter-spacing: -0.058em;
  }

  .section-title-en,
  .info-resonate-title {
    letter-spacing: -0.052em;
  }

  .link-card h3 {
    letter-spacing: -0.044em;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .hero {
    padding-top: clamp(82px, 9svh, 110px);
    padding-bottom: clamp(28px, 5svh, 52px);
  }

  .hero-copy .lead {
    margin-bottom: 12px;
    line-height: 1.62;
  }

  .hero-headline {
    font-size: clamp(52px, min(10vw, 14svh), 118px);
    line-height: 0.84;
  }

  .hero-actions {
    margin-top: clamp(18px, 3svh, 28px);
  }
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: calc(84px + var(--safe-top));
  }

  .js body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(5, 5, 5, 0.7);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.28s var(--ease);
  }

  .js body.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .header-inner {
    width: min(
      calc(100% - 30px - var(--safe-left) - var(--safe-right)),
      var(--max)
    );
    height: 68px;
  }

  .brand img {
    width: min(260px, 68vw);
    max-height: 48px;
  }

  .js .menu-button {
    display: block;
    background: rgba(5, 5, 5, 0.88);
    border-color: rgba(216, 176, 107, 0.28);
  }

  .js .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 101;
    width: min(86vw, 390px);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: calc(92px + var(--safe-top)) calc(18px + var(--safe-right))
      calc(24px + var(--safe-bottom)) 18px;
    border-left: 1px solid rgba(216, 176, 107, 0.18);
    background: rgba(3, 3, 3, 0.92);
    box-shadow: -28px 0 80px rgba(0, 0, 0, 0.46);
    opacity: 1;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      transform 0.32s var(--ease),
      box-shadow 0.32s var(--ease);
    isolation: isolate;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .js .nav.is-open {
    pointer-events: auto;
    transform: translateX(0);
  }

  .js .nav a {
    position: relative;
    z-index: 1;
    min-height: var(--touch-target);
    padding: 18px;
    border: 1px solid rgba(216, 176, 107, 0.34);
    border-radius: 18px;
    color: var(--text);
    background: rgba(5, 5, 5, 0.92);
    font-size: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
    text-shadow: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .js .nav a:hover,
  .js .nav a:focus-visible {
    border-color: rgba(216, 176, 107, 0.52);
    background: rgba(18, 18, 18, 0.96);
  }

  .no-js .site-header {
    position: absolute;
    background: rgba(5, 5, 5, 0.96);
  }

  .no-js .header-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 10px 0 12px;
  }

  .no-js .nav {
    order: 3;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .no-js .nav a {
    display: inline-flex;
    grid-column: span 2;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border-color: rgba(216, 176, 107, 0.22);
    background: rgba(255, 255, 255, 0.025);
    font-size: 12px;
    text-align: center;
  }

  .no-js .nav a:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .no-js .nav a:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .no-js .hero {
    padding-top: calc(174px + var(--safe-top));
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    padding-top: calc(86px + var(--safe-top));
    padding-bottom: calc(clamp(34px, 7svh, 58px) + var(--safe-bottom));
  }

  .hero-inner {
    width: min(
      calc(100% - 30px - var(--safe-left) - var(--safe-right)),
      var(--max)
    );
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy .lead {
    margin-bottom: clamp(12px, 2.2svh, 18px);
    line-height: 1.68;
  }

  .hero-headline {
    max-width: 7.5ch;
    font-size: clamp(48px, min(15vw, 12.5svh), 96px);
    line-height: 0.87;
    letter-spacing: -0.052em;
  }

  .hero-actions {
    margin-top: clamp(22px, 3.8svh, 34px);
  }

  .hero-bg img {
    object-position: center center;
    transform: scale(1.025);
    transform-origin: 62% 46%;
    opacity: 0.97;
    filter: contrast(1.02) brightness(1.01) saturate(0.94);
  }

  .hero-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.52) 0%,
        rgba(5, 5, 5, 0.18) 28%,
        rgba(5, 5, 5, 0.28) 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.8),
        rgba(5, 5, 5, 0.34) 50%,
        rgba(5, 5, 5, 0.5)
      );
  }

  .section-head,
  .link-cards,
  .about-grid,
  .wholesale-grid {
    grid-template-columns: 1fr;
  }

  .wholesale-grid {
    row-gap: clamp(24px, 4vw, 30px);
  }

  .section-head {
    align-items: start;
    margin-bottom: 28px;
  }

  .section-title-en,
  .info-resonate-title {
    letter-spacing: -0.044em;
  }

  .link-card {
    min-height: 300px;
  }

  .link-card h3 {
    letter-spacing: -0.038em;
  }

  .roast-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "details";
    row-gap: clamp(28px, 7vw, 52px);
    padding-top: clamp(74px, 12vw, 108px);
  }

  .roast-intro,
  .roast-details {
    align-self: auto;
  }

  .roast-intro .roast-description,
  .roast-description--details {
    margin-bottom: 0;
  }

  .roast-description--details {
    margin-top: 0;
  }

  .roast-visual {
    min-height: clamp(300px, 68vw, 460px);
  }

  .about-section::before {
    display: none;
  }

  .about-section::after {
    background:
      radial-gradient(
        circle at 78% 30%,
        rgba(216, 176, 107, 0.055),
        transparent 18rem
      ),
      linear-gradient(
        180deg,
        rgba(13, 12, 11, 0.22) 0%,
        rgba(5, 5, 5, 0.68) 100%
      );
  }

  .about-section .about-grid {
    row-gap: clamp(26px, 7vw, 38px);
  }

  .about-visual-mobile {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: clamp(4px, 1.5vw, 10px) 0 clamp(4px, 1.5vw, 10px);
    border-top: 1px solid rgba(216, 176, 107, 0.18);
    border-bottom: 1px solid rgba(216, 176, 107, 0.16);
    background: #090807;
  }

  .about-visual-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.04), transparent 60%),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.12),
        transparent 36%,
        rgba(5, 5, 5, 0.08)
      );
  }

  .about-visual-mobile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.82) contrast(1.04) saturate(0.9);
  }

  .wholesale-section .section-title-en {
    font-size: clamp(42px, 9.8vw, 82px);
    white-space: nowrap;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target);
  }

  .info-resonate {
    order: -1;
    min-height: clamp(320px, 42vw, 360px);
  }

  .info-resonate-title {
    display: none;
  }

  .info-resonate > p:not(.info-resonate-title) {
    margin-bottom: 0;
  }

  .error-404-hero {
    padding-top: clamp(62px, 14vw, 96px);
  }

  .error-404-bg {
    background-position: 74% center;
  }

  .error-404-actions,
  .error-404-actions .button {
    width: 100%;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(10px, 3.2vw, 22px);
    width: 100%;
  }

  .footer-links a {
    padding: 8px 6px;
    font-size: clamp(11px, 2.2vw, 12px);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 560px) {
  .js .nav {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: calc(76px + var(--safe-top)) calc(16px + var(--safe-right))
      calc(18px + var(--safe-bottom)) 16px;
  }

  .js .nav a {
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 16px;
    line-height: 1.18;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  .about-section .story-text {
    color: rgba(244, 239, 231, 0.82);
  }

  .about-section .concept-closing-copy,
  .about-section .logo-credit-copy {
    color: rgba(244, 239, 231, 0.84);
  }

  .about-section .section-heading-ja,
  .about-section .section-title-en,
  .about-section .story-text p {
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.46);
  }
}

/*
 * Portrait tablets use the storefront photo as a complete 16:9 panel.
 * This avoids the severe side crop produced by object-fit: cover while
 * retaining the one-screen Hero structure used on phones.
 */
@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .hero {
    --portrait-hero-header: 68px;

    height: 100svh;
    min-height: 0;
    display: block;
    padding: 0;
  }

  .hero-inner {
    height: 100%;
    padding-top: calc(
      var(--portrait-hero-header) + var(--safe-top) + 56.25vw +
        clamp(8px, 1.4svh, 14px) - clamp(36px, 6svh, 60px)
    );
    padding-bottom: calc(clamp(10px, 1.8svh, 18px) + var(--safe-bottom));
  }

  .hero-copy {
    display: flex;
    height: 100%;
    flex-direction: column;
  }

  .hero-bg picture {
    position: relative;
    overflow: hidden;
  }

  .hero-bg img {
    position: absolute;
    top: calc(var(--portrait-hero-header) + var(--safe-top));
    left: 0;
    width: 100vw;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center top;
    transform: none !important;
    transform-origin: center top;
    opacity: 1;
    filter: none;
  }

  .hero-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.24) 0%,
        rgba(5, 5, 5, 0.08) 28%,
        rgba(5, 5, 5, 0.58) 45%,
        rgba(5, 5, 5, 0.94) 64%,
        #050505 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.08),
        rgba(5, 5, 5, 0.03) 50%,
        rgba(5, 5, 5, 0.2)
      );
  }

  .hero-copy .lead {
    margin-bottom: clamp(6px, 1.3svh, 12px);
    font-size: clamp(12px, min(2vw, 2svh), 16px);
    line-height: 1.55;
  }

  .hero-headline {
    max-width: 7.5ch;
    font-size: clamp(44px, min(11vw, 9svh), 82px);
    line-height: 0.86;
    letter-spacing: -0.048em;
  }

  .hero-headline-line:nth-child(3) {
    margin-top: 0.09em;
  }

  .hero-actions {
    gap: 10px;
    margin-top: clamp(12px, 2.4svh, 24px);
  }

  .hero-actions .button {
    min-height: 46px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

@media (min-width: 901px) and (max-width: 1024px) and (orientation: portrait) {
  .hero {
    --portrait-hero-header: 74px;
  }
}

@media (max-width: 640px) {
  .section-heading-ja {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.11em;
    line-height: 1.7;
  }
  .brand img {
    width: min(230px, 64vw);
  }

  .js .nav {
    width: min(88vw, 360px);
  }

  .hero {
    height: 100svh;
    min-height: 0;
    display: block;
    padding: 0;
  }

  /*
   * Fit the complete mobile Hero into the stable small viewport. The photo
   * remains width-based so browser toolbar changes cannot move its geometry.
   */
  .hero-inner {
    height: 100%;
    padding-top: calc(
      68px + var(--safe-top) + 63.05vw + clamp(6px, 1svh, 8px) -
        clamp(36px, 6svh, 48px)
    );
    padding-bottom: calc(clamp(6px, 1.2svh, 10px) + var(--safe-bottom));
  }

  .hero-copy {
    display: flex;
    height: 100%;
    flex-direction: column;
  }

  .hero-bg picture {
    position: relative;
    overflow: hidden;
  }

  .hero-bg img {
    position: absolute;
    top: calc(68px + var(--safe-top));
    left: -6vw;
    width: 112vw;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center top;
    transform: none !important;
    transform-origin: center top;
    opacity: 1;
    filter: none;
  }

  .hero-bg::before {
    --hero-reveal-duration: 3s;
  }

  .hero-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.24) 0%,
        rgba(5, 5, 5, 0.08) 25%,
        rgba(5, 5, 5, 0.62) 43%,
        rgba(5, 5, 5, 0.94) 62%,
        #050505 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.06),
        rgba(5, 5, 5, 0.04) 50%,
        rgba(5, 5, 5, 0.22)
      );
  }

  .hero-copy .lead {
    margin-bottom: clamp(3px, 0.8svh, 6px);
    font-size: clamp(11.5px, min(3.3vw, 2svh), 13px);
    line-height: 1.48;
    letter-spacing: 0.035em;
  }

  .hero-headline {
    font-size: clamp(36px, min(13vw, 7.6svh), 64px);
    line-height: 0.84;
    letter-spacing: -0.046em;
  }

  .hero-headline-line:nth-child(3) {
    margin-top: 0.08em;
  }

  .hero-actions {
    gap: clamp(6px, 1svh, 8px);
    margin-top: clamp(8px, 3svh, 20px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions .button {
    min-height: clamp(44px, 7svh, 48px);
    gap: 0;
    padding: 8px 42px;
  }

  .hero-actions .button-main {
    font-size: 10px;
  }

  .hero-actions .button-sub {
    font-size: 11px;
  }

  .section {
    width: min(
      calc(100% - 30px - var(--safe-left) - var(--safe-right)),
      var(--max)
    );
    padding: clamp(62px, 14vw, 84px) 0;
  }

  .section-title-en,
  .info-resonate-title {
    font-size: clamp(40px, 13.5vw, 68px);
    line-height: 0.9;
    letter-spacing: -0.038em;
  }

  .order-section .section-title-en {
    font-size: clamp(32px, 10.5vw, 48px);
    letter-spacing: -0.045em;
  }

  .wholesale-section .section-title-en {
    font-size: clamp(30px, 9.2vw, 44px);
    letter-spacing: -0.05em;
  }

  .link-card {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .link-card h3 {
    font-size: clamp(34px, 11.5vw, 54px);
    letter-spacing: -0.034em;
  }

  .order-section::before {
    inset: 38px 0 46px;
  }

  .order-section::after {
    inset: 38px 14px 46px;
  }

  .order-card-shipping::before {
    opacity: 0.97;
    filter: grayscale(0.01) sepia(0.03) saturate(0.94) contrast(1.03)
      brightness(0.93);
  }

  .order-card-pickup::before {
    opacity: 0.97;
    filter: sepia(0.03) saturate(0.95) contrast(1.03) brightness(1.2);
  }

  .order-card-shipping:hover::before,
  .order-card-shipping:focus-visible::before {
    opacity: 0.99;
    filter: grayscale(0.01) sepia(0.03) saturate(0.95) contrast(1.04)
      brightness(0.98);
  }

  .order-card-pickup:hover::before,
  .order-card-pickup:focus-visible::before {
    opacity: 0.99;
    filter: sepia(0.03) saturate(0.97) contrast(1.04) brightness(1.25);
  }

  .order-card-shipping::after,
  .order-card-pickup::after {
    background:
      linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.68) 0%,
        rgba(8, 8, 8, 0.44) 54%,
        rgba(8, 8, 8, 0.14) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.08) 0%,
        rgba(8, 8, 8, 0.22) 48%,
        rgba(8, 8, 8, 0.66) 100%
      );
  }

  .roast-section {
    padding-top: 68px;
  }

  .roast-list li {
    padding: 14px 0 16px;
  }

  .roast-list li strong,
  .roast-list li p {
    font-size: 13px;
  }

  .concept-closing-copy {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.03em;
  }

  .logo-credit-copy {
    font-size: 13px;
    line-height: 1.85;
    letter-spacing: 0.03em;
  }

  .wholesale-copy,
  .info-resonate {
    border-radius: 24px;
  }

  .wholesale-copy {
    padding: 24px 20px;
  }

  .wholesale-items article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wholesale-items article > span {
    grid-row: auto;
  }

  .info-contact-button {
    display: inline-flex;
    margin: 14px 0 0;
  }

  .info-resonate {
    min-height: clamp(320px, 86vw, 360px);
  }

  .info-list.visit-card-list > .visit-card-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-brand img {
    width: min(260px, 72vw);
  }

  .footer-links a {
    padding: 8px 9px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .error-404-inner {
    width: min(
      calc(100% - 30px - var(--safe-left) - var(--safe-right)),
      var(--max)
    );
  }

  .error-404-inner h1 {
    font-size: clamp(62px, 18vw, 98px);
  }

  .error-404-bg::after {
    inset: 14px;
    border-radius: 24px;
  }

  .error-404-copy {
    white-space: normal;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    min-height: 100svh;
    padding-top: calc(66px + var(--safe-top));
    padding-bottom: calc(20px + var(--safe-bottom));
  }

  .hero-copy .lead {
    display: none;
  }

  .hero-headline {
    max-width: 10ch;
    font-size: clamp(40px, 10vw, 72px);
  }

  .hero-actions {
    margin-top: 18px;
  }
}

@media (max-width: 390px) {
  .brand img {
    width: min(210px, 62vw);
  }

  .hero-headline {
    font-size: clamp(36px, min(12.8vw, 7.2svh), 50px);
  }

  .button-main {
    letter-spacing: 0.13em;
  }

  .info-list.visit-card-list dd {
    font-size: 14px;
  }
}

@media (min-width: 769px) and (max-height: 680px) {
  .error-404-inner h1 {
    font-size: clamp(56px, 14vh, 104px);
  }

  .error-404-lead,
  .error-404-copy {
    font-size: 14px;
    line-height: 1.7;
  }

  .error-404-actions {
    margin-top: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .reveal-ready .reveal,
  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-bg img {
    animation: none !important;
    will-change: auto;
  }

  .hero-bg::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .button:hover,
  .button:focus-visible,
  .link-card:hover,
  .link-card:focus-visible,
  .info-contact-button:hover,
  .info-contact-button:focus-visible,
  .visit-inline-button:hover,
  .visit-inline-button:focus-visible,
  .nav a:hover,
  .nav a:focus-visible,
  .footer-links a:hover,
  .footer-links a:focus-visible {
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }

  .order-card-image:hover::before,
  .order-card-image:focus-visible::before {
    transform: scale(1.025) !important;
    transition: none !important;
  }
}

/* ==========================================================================
   16. Coffee guide
   ========================================================================== */

.nav a[aria-current="page"],
.footer-links a[aria-current="page"] {
  border-color: rgba(216, 176, 107, 0.28);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.guide-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.1fr) auto;
  gap: 8px clamp(22px, 4vw, 52px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 82px);
  padding: clamp(24px, 3.5vw, 38px) clamp(22px, 4vw, 46px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    90deg,
    rgba(216, 176, 107, 0.045),
    transparent 58%
  );
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.guide-entry:hover,
.guide-entry:focus-visible {
  border-color: rgba(216, 176, 107, 0.42);
  background: linear-gradient(
    90deg,
    rgba(216, 176, 107, 0.09),
    rgba(255, 255, 255, 0.012) 65%
  );
  outline: none;
}

.guide-entry-kicker {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.guide-entry-title {
  color: var(--text);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.guide-entry-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.guide-entry-arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--gold-2);
  font-size: 28px;
  transition: transform 0.25s var(--ease);
}

.guide-entry:hover .guide-entry-arrow,
.guide-entry:focus-visible .guide-entry-arrow {
  transform: translateX(6px);
}

.guide-page {
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(216, 176, 107, 0.11),
      transparent 28rem
    ),
    linear-gradient(180deg, #050505, #080808 46%, #050505);
}

.guide-main {
  overflow: hidden;
}

.guide-hero {
  position: relative;
  min-height: clamp(620px, 86svh, 840px);
  display: grid;
  align-items: center;
  padding: calc(110px + var(--safe-top)) 0 clamp(84px, 10vw, 132px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(216, 176, 107, 0.045) 0,
      transparent 34%,
      rgba(216, 176, 107, 0.025) 75%,
      transparent 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(216, 176, 107, 0.035) 25%
    );
  pointer-events: none;
}

.guide-hero-inner {
  width: min(
    var(--max),
    calc(100% - clamp(30px, 5vw, 42px) - var(--safe-left) - var(--safe-right))
  );
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65em;
  margin-bottom: clamp(42px, 8vw, 86px);
  color: rgba(244, 239, 231, 0.48);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.breadcrumb a {
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--text);
  outline: none;
}

.guide-hero-kicker,
.guide-section-title-en,
.guide-closing-kicker {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.guide-hero-kicker {
  margin-bottom: clamp(20px, 3vw, 34px);
  color: var(--gold);
  font-size: clamp(54px, 10vw, 132px);
  letter-spacing: -0.025em;
  line-height: 0.78;
}

.guide-hero h1 {
  display: grid;
  gap: 8px;
  margin: 0;
}

.guide-hero h1 span:first-child {
  color: var(--gold-2);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.guide-hero h1 span:last-child {
  color: var(--text);
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.guide-lead {
  width: min(720px, 100%);
  margin: clamp(36px, 5vw, 62px) 0 0 auto;
  padding-left: clamp(20px, 4vw, 44px);
  border-left: 1px solid rgba(216, 176, 107, 0.28);
}

.guide-lead p,
.guide-prose p,
.guide-taste-closing p {
  color: rgba(244, 239, 231, 0.78);
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 2.15;
  letter-spacing: 0.035em;
}

.guide-lead p:last-child,
.guide-prose p:last-child,
.guide-taste-closing p:last-child {
  margin-bottom: 0;
}

.guide-section {
  padding-top: clamp(92px, 11vw, 148px);
  padding-bottom: clamp(92px, 11vw, 148px);
}

.guide-reason {
  isolation: isolate;
}

.guide-reason-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: 0;
  width: min(56vw, 780px);
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  opacity: 0.5;
  filter: brightness(0.52) saturate(0.72) contrast(1.08);
  pointer-events: none;
  user-select: none;
}

.guide-reason::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: 1;
  width: min(64vw, 900px);
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.12) 0,
      rgba(5, 5, 5, 0.32) 48%,
      rgba(5, 5, 5, 0.94) 78%,
      #060606 100%
    ),
    linear-gradient(
      180deg,
      #060606 0,
      rgba(6, 6, 6, 0.12) 16%,
      rgba(6, 6, 6, 0.18) 72%,
      #060606 100%
    );
  pointer-events: none;
}

.guide-reason > :not(.guide-reason-background) {
  position: relative;
  z-index: 2;
}

.guide-section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: end;
  margin-bottom: clamp(54px, 8vw, 94px);
}

.guide-section-head .section-heading-ja {
  align-self: start;
}

.guide-section-title-en {
  margin: 0;
  color: var(--text);
  font-size: clamp(58px, 9vw, 116px);
  letter-spacing: -0.025em;
  line-height: 0.78;
}

.guide-prose,
.guide-taste-closing,
.faq-list {
  width: min(790px, 100%);
  margin-left: auto;
}

.guide-prose p {
  margin-bottom: 1.5em;
}

.guide-roast-chart {
  width: min(790px, 100%);
  margin: clamp(58px, 8vw, 90px) 0 0 auto;
}

.guide-roast-chart img {
  display: block;
  width: 100%;
  border: 1px solid rgba(216, 176, 107, 0.16);
  background: #050505;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.guide-roast-chart figcaption {
  margin-top: 16px;
  color: rgba(244, 239, 231, 0.5);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.taste-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--line);
}

.taste-card {
  min-height: 320px;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(
      145deg,
      rgba(216, 176, 107, 0.045),
      transparent 48%
    ),
    #070707;
}

.taste-card > span {
  display: block;
  margin-bottom: 26px;
  color: rgba(216, 176, 107, 0.52);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.taste-card h3 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.75;
}

.taste-card .taste-roast {
  margin-bottom: 16px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.taste-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.guide-taste-closing {
  margin-top: clamp(44px, 7vw, 76px);
  padding: clamp(26px, 4vw, 42px);
  border-left: 1px solid rgba(216, 176, 107, 0.34);
  background: linear-gradient(
    90deg,
    rgba(216, 176, 107, 0.055),
    transparent 72%
  );
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  color: var(--text);
  cursor: pointer;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.75;
  list-style: none;
  -webkit-tap-highlight-color: rgba(216, 176, 107, 0.12);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 1px solid rgba(216, 176, 107, 0.56);
  outline-offset: 6px;
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(216, 176, 107, 0.3);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 62px 28px 4px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.03em;
}

.faq-inline-link {
  color: var(--gold-2);
  text-decoration: underline;
  text-decoration-color: rgba(226, 201, 139, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition:
    color 0.2s var(--ease),
    text-decoration-color 0.2s var(--ease);
}

.faq-inline-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.18em;
  font-size: 0.78em;
  text-decoration: none;
}

.faq-inline-link:hover,
.faq-inline-link:focus-visible {
  color: var(--text);
  text-decoration-color: rgba(244, 239, 231, 0.76);
  outline: none;
}

.guide-closing {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(216, 176, 107, 0.1),
      transparent 28rem
    ),
    #050505;
}

.guide-closing-inner {
  width: min(
    920px,
    calc(100% - clamp(30px, 5vw, 42px) - var(--safe-left) - var(--safe-right))
  );
  margin: 0 auto;
  padding: clamp(92px, 12vw, 160px) 0;
  text-align: center;
}

.guide-closing-kicker {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: clamp(44px, 7vw, 82px);
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.guide-closing h2 {
  margin-bottom: 24px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .guide-closing h2 {
    white-space: nowrap;
  }
}

.guide-closing-inner > p:not(.guide-closing-kicker) {
  width: min(620px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.guide-closing-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}

.guide-closing-actions .button {
  position: relative;
  padding-right: 44px;
  padding-left: 44px;
}

@media (max-width: 900px) {
  .no-js .nav a:nth-child(4),
  .no-js .nav a:nth-child(5) {
    grid-column: span 2;
  }

  .guide-entry {
    grid-template-columns: 1fr auto;
  }

  .guide-entry-kicker {
    grid-column: 1;
    grid-row: auto;
  }

  .guide-entry-title,
  .guide-entry-copy {
    grid-column: 1;
  }

  .guide-entry-arrow {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .guide-hero {
    min-height: auto;
    padding-top: calc(128px + var(--safe-top));
  }

  .guide-section-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .guide-section-title-en {
    font-size: clamp(52px, 13vw, 92px);
  }
}

@media (max-width: 640px) {
  .guide-entry {
    gap: 10px 16px;
    padding: 24px 18px;
  }

  .guide-entry-kicker {
    font-size: 36px;
  }

  .guide-entry-title {
    font-size: 16px;
    line-height: 1.7;
  }

  .guide-entry-copy {
    font-size: 12px;
  }

  .guide-hero {
    padding-top: calc(112px + var(--safe-top));
    padding-bottom: 78px;
  }

  .breadcrumb {
    margin-bottom: 46px;
  }

  .guide-hero-kicker {
    font-size: clamp(52px, 19vw, 78px);
  }

  .guide-hero h1 span:last-child {
    font-size: clamp(28px, 9vw, 40px);
  }

  .guide-lead {
    padding-left: 18px;
  }

  .guide-lead p,
  .guide-prose p,
  .guide-taste-closing p {
    font-size: 14px;
    line-height: 2;
  }

  .guide-section {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .guide-reason-background {
    bottom: auto;
    width: 100vw;
    height: 430px;
    object-position: center 36%;
    opacity: 0.56;
    filter: brightness(0.62) saturate(0.74) contrast(1.08);
  }

  .guide-reason::after {
    bottom: auto;
    width: 100vw;
    height: 430px;
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.32),
        rgba(5, 5, 5, 0.58)
      ),
      linear-gradient(
        180deg,
        #060606 0,
        rgba(6, 6, 6, 0.12) 18%,
        rgba(6, 6, 6, 0.5) 62%,
        #060606 100%
      );
  }

  .guide-section-head {
    margin-bottom: 46px;
  }

  .guide-section-title-en {
    font-size: clamp(48px, 15vw, 66px);
    line-height: 0.82;
  }

  .guide-roast-chart {
    width: calc(100% + 2px);
    margin-top: 48px;
  }

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

  .taste-card {
    min-height: 0;
    padding: 28px 22px 32px;
  }

  .taste-card h3 {
    font-size: 18px;
  }

  .guide-taste-closing {
    padding: 24px 20px;
  }

  .faq-item summary {
    min-height: 70px;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 14px;
    padding: 20px 0;
    font-size: 15px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-answer {
    padding: 0 0 24px;
  }

  .guide-closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-closing-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-entry-arrow,
  .faq-icon::before,
  .faq-icon::after {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 641px) {
  .hero-bg img {
    transform: scale(1.025) !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .nav,
  body::before {
    transition: none;
  }
}

/* Visit-specific breakpoints stay after shared rules to preserve the cascade. */

@media (max-width: 960px) {
  .visit-showcase {
    grid-template-columns: 1fr;
  }

  .visit-card {
    padding: 0 14px 14px;
  }

  .visit-card-row:first-child .visit-primary {
    font-size: clamp(11.2px, calc(4.375vw - 2.8px), 19px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.45;
  }

  .visit-visual {
    min-height: clamp(520px, 82vw, 680px);
  }

  .visit-copy {
    top: 34px;
    max-width: min(35rem, 58%);
  }

  .visit-heading {
    top: 34px;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .info-list.visit-card-list > .visit-card-row {
    grid-template-columns: 132px 1fr;
  }
}

@media (max-width: 760px) {
  .visit-visual {
    min-height: 500px;
  }

  .visit-copy {
    top: 24px;
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
  }

  .visit-heading {
    top: 24px;
    left: 20px;
  }

  .visit-title-en {
    font-size: clamp(36px, 10.8vw, 54px);
    letter-spacing: -0.04em;
  }

  .info-list.visit-card-list {
    padding: 22px 18px;
  }

  .info-list.visit-card-list dt {
    font-size: 14px;
  }

  .visit-card-icon {
    width: 26px;
    height: 26px;
  }

  .info-list.visit-card-list dd {
    padding-left: 0;
  }

  .visit-primary {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .visit-showcase {
    background-color: #080706;
    background-image: none;
  }

  .visit-showcase::before,
  .visit-showcase::after {
    display: none;
  }

  .visit-visual {
    min-height: calc((100vw - 30px) * 1.777 + 346px);
    background-color: #080706;
    background-image: url("../images/photo-visit-interior-cinematic-v209.webp");
    background-position: center 210px;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  .visit-visual::before {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 61%,
      rgba(8, 7, 6, 0.3) 67%,
      rgba(8, 7, 6, 0.92) 76%,
      #080706 84%,
      #080706 100%
    );
  }

  .visit-copy {
    position: static;
    display: contents;
  }

  .visit-heading {
    top: 24px;
    left: 20px;
  }

  .visit-title-en {
    position: absolute;
    z-index: 2;
    top: 70px;
    left: 20px;
    right: 20px;
    margin: 0;
  }

  .visit-lead {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 26px;
    left: 20px;
    margin: 0;
    font-size: clamp(11px, 3.45vw, 13px);
    line-height: 1.82;
    white-space: normal;
  }

  .visit-inline-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .visit-card-row:first-child .visit-primary {
    font-size: 14px;
    line-height: 1.5;
  }
}

:where(a, button):focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
}

/* ==========================================================================
   18. COFFEE-to-Hero opening
   ========================================================================== */

html.opening-active {
  overflow: hidden;
  scrollbar-gutter: stable;
}

html.opening-active body {
  overflow: hidden;
}

.opening {
  --opening-duration: 4.5s;

  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  overflow: hidden;
  isolation: isolate;
  color: #f3eee4;
  animation: opening-lifetime var(--opening-duration) linear both;
}

.opening-active .opening {
  display: block;
}

.opening__scene,
.opening__coffee,
.opening__grade {
  position: absolute;
  inset: 0;
}

.opening__scene {
  z-index: 1;
  overflow: hidden;
  background: #020202;
  pointer-events: none;
  animation: opening-scene var(--opening-duration) linear both;
}

.opening__coffee {
  z-index: 1;
  display: block;
  overflow: hidden;
}

.opening__coffee img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.025);
  transform-origin: 58% 46%;
  animation: opening-coffee var(--opening-duration) linear both;
}

.opening__grade {
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.82) 0%,
      rgba(5, 5, 5, 0.68) 34%,
      rgba(5, 5, 5, 0.24) 64%,
      rgba(5, 5, 5, 0.1) 100%
    ),
    radial-gradient(
      circle at 78% 34%,
      rgba(216, 176, 107, 0.12),
      transparent 28rem
    );
  pointer-events: none;
}

.opening__wave {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(clamp(48px, 8svh, 82px) + var(--safe-bottom));
  width: min(68vw, 68rem);
  height: clamp(30px, 4.8vw, 52px);
  transform: translateX(-50%);
  pointer-events: none;
}

.opening__wave svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.opening__wave path {
  fill: none;
  stroke: rgba(226, 201, 139, 0.68);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.opening__wave-base {
  opacity: 0;
  animation: opening-wave-base var(--opening-duration) linear both;
}

.opening__wave-motion {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0;
  animation: opening-wave-motion var(--opening-duration) ease-in-out both;
}

.opening__skip {
  position: absolute;
  z-index: 3;
  right: calc(20px + var(--safe-right));
  bottom: calc(18px + var(--safe-bottom));
  min-width: 44px;
  min-height: 44px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: rgba(244, 239, 231, 0.58);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  cursor: pointer;
  opacity: 0;
  animation: opening-skip var(--opening-duration) linear both;
}

.opening__skip:hover,
.opening__skip:focus-visible {
  color: #f3eee4;
}

.opening-managed .hero-bg::before {
  opacity: 0 !important;
  animation: none !important;
}

.opening-managed .site-header {
  --opening-brand-scale: 1.12;
}

.opening-active .site-header {
  z-index: 10001;
  pointer-events: none;
  animation: opening-header-shell var(--opening-duration) linear both;
}

.opening-active .brand {
  transform-origin: left center;
  animation: opening-brand-to-header var(--opening-duration) cubic-bezier(0.22, 0.61, 0.36, 1)
    both;
}

.opening-active .nav,
.opening-active .menu-button {
  opacity: 0;
  animation: opening-header-controls var(--opening-duration) linear both;
}

.opening-active .hero-inner {
  opacity: 1;
  filter: none;
  transform: none;
  pointer-events: none;
}

.opening-active .hero-copy .lead,
.opening-active .hero-copy .hero-headline {
  opacity: 1;
  color: rgba(244, 239, 231, 0.11);
  filter: blur(1.5px);
  transform: translateY(8px);
  will-change: color, filter, transform;
  animation: opening-hero-copy 4.05s linear both;
}


.opening-active .hero-actions {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(10px);
  will-change: opacity, filter, transform;
  animation: opening-hero-actions var(--opening-duration) linear both;
}

@keyframes opening-lifetime {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.999;
  }
}

@keyframes opening-scene {
  0%,
  42% {
    opacity: 1;
  }
  58% {
    opacity: 0.82;
  }
  72% {
    opacity: 0.52;
  }
  84% {
    opacity: 0.2;
  }
  92%,
  100% {
    opacity: 0;
  }
}

@keyframes opening-coffee {
  0%,
  8% {
    opacity: 0;
    transform: scale(1.03);
  }
  16% {
    opacity: 0.05;
    transform: scale(1.029);
  }
  30% {
    opacity: 0.18;
    transform: scale(1.027);
  }
  46% {
    opacity: 0.4;
    transform: scale(1.024);
  }
  62% {
    opacity: 0.65;
    transform: scale(1.02);
  }
  76% {
    opacity: 0.86;
    transform: scale(1.016);
  }
  88%,
  100% {
    opacity: 1;
    transform: scale(1.012);
  }
}

@keyframes opening-brand-to-header {
  0% {
    opacity: 0.08;
    transform: scale(var(--opening-brand-scale));
  }
  7% {
    opacity: 0.36;
    transform: scale(var(--opening-brand-scale));
  }
  14%,
  42% {
    opacity: 1;
    transform: scale(var(--opening-brand-scale));
  }
  75%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes opening-header-shell {
  0%,
  66.667% {
    border-color: transparent;
    background: rgba(5, 5, 5, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
  80% {
    border-color: rgba(216, 176, 107, 0.03);
    background: rgba(5, 5, 5, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  93%,
  100% {
    border-color: rgba(216, 176, 107, 0.08);
    background: rgba(5, 5, 5, 0.58);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
}

@keyframes opening-header-controls {
  0%,
  66.667% {
    opacity: 0;
  }
  78% {
    opacity: 0.3;
  }
  91.667%,
  100% {
    opacity: 1;
  }
}

@keyframes opening-hero-copy {
  0% {
    opacity: 1;
    color: rgba(244, 239, 231, 0.11);
    filter: blur(1.5px);
    transform: translateY(8px);
  }
  54% {
    filter: blur(0.65px);
    transform: translateY(3px);
  }
  72% {
    filter: blur(0);
    transform: translateY(0);
  }
  90%,
  100% {
    opacity: 1;
    color: rgb(244, 239, 231);
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes opening-hero-actions {
  0%,
  58% {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(10px);
  }
  70% {
    opacity: 0.18;
    filter: blur(1.5px);
    transform: translateY(7px);
  }
  82% {
    opacity: 0.48;
    filter: blur(0.9px);
    transform: translateY(4px);
  }
  92% {
    opacity: 0.82;
    filter: blur(0.3px);
    transform: translateY(1.5px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes opening-wave-base {
  0%,
  6% {
    opacity: 0;
  }
  12%,
  88% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
  }
}

@keyframes opening-wave-motion {
  0%,
  8% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  16% {
    stroke-dashoffset: 920;
    opacity: 0.12;
  }
  72% {
    stroke-dashoffset: 0;
    opacity: 0.34;
  }
  82% {
    stroke-dashoffset: 0;
    opacity: 0.18;
  }
  92%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes opening-skip {
  0%,
  8% {
    opacity: 0;
  }
  15%,
  87% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .opening-managed .site-header {
    --opening-brand-scale: 1.08;
  }

  .opening__coffee img {
    transform-origin: 62% 46%;
  }
}

@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .opening__grade {
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.24) 0%,
        rgba(5, 5, 5, 0.08) 28%,
        rgba(5, 5, 5, 0.58) 45%,
        rgba(5, 5, 5, 0.94) 64%,
        #050505 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.08),
        rgba(5, 5, 5, 0.03) 50%,
        rgba(5, 5, 5, 0.2)
      );
  }

  .opening__coffee img {
    position: absolute;
    top: calc(68px + var(--safe-top));
    right: auto;
    bottom: auto;
    left: 0;
    width: 100vw;
    height: auto;
    object-fit: contain;
    object-position: center top;
    transform: none;
    transform-origin: center top;
  }
}

@media (min-width: 901px) and (max-width: 1024px) and (orientation: portrait) {
  .opening__coffee img {
    top: calc(74px + var(--safe-top));
  }
}

@media (max-width: 640px) {
  .opening__grade {
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.24) 0%,
        rgba(5, 5, 5, 0.08) 25%,
        rgba(5, 5, 5, 0.62) 43%,
        rgba(5, 5, 5, 0.94) 62%,
        #050505 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.06),
        rgba(5, 5, 5, 0.04) 50%,
        rgba(5, 5, 5, 0.22)
      );
  }

  .opening__coffee img {
    position: absolute;
    top: calc(68px + var(--safe-top));
    right: auto;
    bottom: auto;
    left: -6vw;
    width: 112vw;
    height: auto;
    object-fit: contain;
    object-position: center top;
    transform: none;
    transform-origin: center top;
  }

  .opening__wave {
    bottom: calc(46px + var(--safe-bottom));
    width: 72vw;
    height: 32px;
  }

  .opening__skip {
    right: calc(12px + var(--safe-right));
    bottom: calc(10px + var(--safe-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html.opening-active,
  html.opening-active body {
    overflow: auto;
  }

  .opening {
    display: none !important;
    animation: none !important;
  }

  .opening-active .site-header,
  .opening-active .hero-inner {
    opacity: 1;
    filter: none;
    transform: none;
    pointer-events: auto;
  }

  .opening-active .brand,
  .opening-active .nav,
  .opening-active .menu-button,
  .opening-active .hero-copy .lead,
  .opening-active .hero-copy .hero-headline,
  .opening-active .hero-actions {
    opacity: 1;
    color: var(--text);
    filter: none;
    transform: none;
    animation: none !important;
  }
}
