@font-face {
  font-family: "Sarabun";
  src: url("fonts/Sarabun-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("fonts/Sarabun-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("fonts/Sarabun-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("fonts/Sarabun-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chonburi";
  src: url("fonts/Chonburi-Regular.ttf") format("truetype");
  font-display: block;
  font-style: normal;
  font-weight: 400;
}

/* Final mobile dropdown anchor: same box as the language button. */
@media (max-width: 760px) {
  .site-header .language-switch.language-dropdown-panel,
  .site-header.language-dropdown-open .language-switch.language-dropdown-panel {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    transform: none !important;
    transform-origin: top left !important;
  }
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-display: block;
  font-style: normal;
  font-weight: 400 900;
}

:root {
  --navy: #17275f;
  --navy-deep: #0d1947;
  --cream: #f2ead9;
  --paper: #faf5e8;
  --paper-light: #fffaf0;
  --ink: #17275f;
  --muted: #6c6a62;
  --red: #b94c45;
  --line: rgba(23, 39, 95, 0.2);
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

/* Preserve the header snapshot while the browser loads another same-origin
   page. Only the page content cross-fades; the navigation itself never
   disappears or changes position between documents. */
@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: mikawa-site-header;
}

::view-transition-group(mikawa-site-header),
::view-transition-old(mikawa-site-header),
::view-transition-new(mikawa-site-header) {
  animation: none;
  opacity: 1;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  background: var(--navy);
}

body {
  margin: 8px 0 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 68%, rgba(117, 94, 60, 0.06) 0 0.8px, transparent 1.4px),
    repeating-linear-gradient(7deg, transparent 0 9px, rgba(97, 73, 46, 0.025) 10px, transparent 11px 19px),
    repeating-linear-gradient(97deg, transparent 0 12px, rgba(255, 255, 255, 0.11) 13px, transparent 15px 25px);
  background-size: 27px 31px, 41px 37px, auto, auto;
  font-family: "Chonburi", Tahoma, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 8px 0 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(101, 79, 51, 0.05) 6px, transparent 7px 15px),
    repeating-linear-gradient(90deg, transparent 0 17px, rgba(255, 255, 255, 0.12) 18px, transparent 19px 28px);
  mix-blend-mode: multiply;
}

html[lang="en"] body {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

html[lang="en"] body *:not(.ph-light) {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
}

html[lang="en"] .story-full-copy h1 {
  letter-spacing: -0.045em;
}

html[lang="th"] .flavors-page .flavor-heading h1,
html[lang="th"] .contact-page .contact-heading h1 {
  font-family: "Chonburi", Tahoma, sans-serif;
}

@media (min-width: 1101px) {
  html[lang="th"] .contact-page .contact-copy-stack {
    width: min(58%, 760px);
  }

  html[lang="th"] .contact-page .contact-heading h1 {
    font-size: clamp(68px, 4.8vw, 84px);
    line-height: 1.08;
  }
}

/* Final mobile dropdown alignment: keep it directly under the right-edge language button. */
@media (max-width: 760px) {
  .mikawa-journal .site-header .header-actions,
  .inner-page .site-header .header-actions {
    position: relative !important;
    width: var(--language-dropdown-width) !important;
    min-width: var(--language-dropdown-width) !important;
    max-width: var(--language-dropdown-width) !important;
    justify-self: end !important;
    justify-content: flex-end !important;
  }

  .site-header .language-dropdown-toggle {
    width: var(--language-dropdown-width) !important;
    max-width: var(--language-dropdown-width) !important;
  }

  .site-header .language-switch.language-dropdown-panel,
  .site-header.language-dropdown-open .language-switch.language-dropdown-panel {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    transform: none !important;
    transform-origin: top left !important;
  }
}

/* Final Story layout overrides: three always-visible, responsive nav links. */
.site-header .nav-dropdown-toggle {
  display: none !important;
}

.mikawa-journal .site-header > nav,
.inner-page .site-header > nav {
  position: static !important;
  z-index: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  inline-size: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: clamp(18px, 3vw, 56px) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  clip-path: none !important;
  transform: none !important;
}

.mikawa-journal .site-header > nav a[aria-current="page"],
.inner-page .site-header > nav a[aria-current="page"] {
  display: flex !important;
}

.mikawa-journal .site-header > nav a,
.inner-page .site-header > nav a {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  border-radius: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html[lang="th"] .story-page .story-full-copy h1 {
  font-family: "Trirong", Tahoma, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
}

.story-page,
.story-page .story-fullscreen,
.story-page .story-full-copy {
  height: auto !important;
  overflow: visible !important;
}

.story-page .story-full-copy {
  padding-bottom: 72px !important;
}

.story-page .story-full-lead p {
  margin: 0 0 1em;
}

.story-page .story-full-lead .story-full-quote {
  margin-top: 1.45em;
}

@media (max-width: 850px) {
  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav {
    margin-top: 20px !important;
    gap: clamp(10px, 2.4vw, 20px) !important;
  }

  .mikawa-journal .site-header > nav a,
  .inner-page .site-header > nav a {
    font-size: clamp(12px, 2.1vw, 16px) !important;
  }

  .mikawa-journal .site-header > nav a span,
  .inner-page .site-header > nav a span {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav {
    margin-top: 18px !important;
    gap: clamp(7px, 2vw, 12px) !important;
  }

  .mikawa-journal .site-header > nav a,
  .inner-page .site-header > nav a {
    font-size: clamp(10px, 3vw, 13px) !important;
  }

  .story-page .story-full-lead {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
}

/* Final fluid story heading: occupy and center within the copy's 3/4 column.
   JavaScript sets the largest single-line size that fits each language. */
.story-page .story-full-copy > h1,
html[lang="th"] body .story-page .story-full-copy > h1,
html[lang="en"] body .story-page .story-full-copy > h1,
html[lang="ja"] body .story-page .story-full-copy > h1 {
  width: min(75vw, 100%) !important;
  max-width: none !important;
  justify-self: start !important;
  text-align: center !important;
  font-size: var(--story-heading-size, clamp(18px, 4vw, 64px)) !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

/* Mobile portrait: larger centered heading and language-aware copy fitting. */
@media (orientation: portrait) and (max-width: 560px) {
  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="en"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
    text-align: center !important;
    white-space: normal !important;
    text-wrap: balance !important;
    line-height: 1.16 !important;
  }

  html[lang="th"] body .story-page .story-full-copy > h1 {
    font-size: clamp(32px, 10vw, 44px) !important;
  }

  html[lang="en"] body .story-page .story-full-copy > h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  html[lang="ja"] body .story-page .story-full-copy > h1 {
    font-size: clamp(27px, 8vw, 38px) !important;
  }

  .story-page .story-full-lead {
    width: 100% !important;
    padding-inline: clamp(8px, 3vw, 14px) !important;
    font-size: clamp(12px, 3.45vw, 14px) !important;
    line-height: 1.62 !important;
    text-align: center !important;
    text-wrap: pretty !important;
  }

  html[lang="th"] .story-page .story-full-lead,
  html[lang="ja"] .story-page .story-full-lead {
    word-break: auto-phrase !important;
    line-break: strict !important;
    overflow-wrap: normal !important;
  }

  html[lang="en"] .story-page .story-full-lead {
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

/* Mobile landscape: use the portrait composition, but let the whole page
   scroll so every element receives enough vertical space. */
@media (orientation: landscape) and (max-height: 560px) {
  html,
  body,
  .story-page {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body:has(> .story-page) {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .story-page {
    display: block !important;
  }

  .story-page .story-fullscreen {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 980px !important;
    overflow: visible !important;
  }

  .story-page .story-full-copy {
    height: auto !important;
    min-height: 980px !important;
    padding: 16px 12px 340px !important;
    grid-template-rows: auto auto auto !important;
    align-content: start !important;
  }

  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="en"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
    text-align: center !important;
    white-space: normal !important;
    text-wrap: balance !important;
    font-size: clamp(30px, 6vw, 46px) !important;
    line-height: 1.16 !important;
  }

  .story-page .story-full-lead {
    width: 100% !important;
    max-width: 760px !important;
    height: auto !important;
    max-height: none !important;
    margin: 18px auto 12px !important;
    padding: 10px clamp(12px, 4vw, 32px) !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    font-size: clamp(13px, 2.2vw, 16px) !important;
    line-height: 1.62 !important;
    text-align: center !important;
    text-wrap: pretty !important;
  }

  .story-page .hero-actions {
    width: min(100%, 430px) !important;
    margin: 12px auto 0 !important;
    justify-self: center !important;
    justify-content: center !important;
  }

  .story-page .story-full-character {
    right: 50% !important;
    bottom: 18px !important;
    width: min(62vw, 430px) !important;
    max-height: 330px !important;
    transform: translateX(50%) !important;
    object-position: center bottom !important;
  }

  body:has(> .story-page) {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

/* Story finishing layout: keep the reading area clear of the mascot in
   landscape, hide native scrollbars, and anchor CTAs near the lower edge. */
.story-page .story-full-copy {
  height: 100% !important;
  grid-template-rows: auto minmax(160px, 320px) minmax(0, 1fr) !important;
}

.story-page .story-full-lead {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.story-page .story-full-lead::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.story-page .hero-actions {
  align-self: end !important;
  margin-bottom: clamp(4px, 1vh, 12px) !important;
}

@media (orientation: landscape) {
  .story-page .story-full-copy {
    grid-template-rows: auto minmax(120px, 300px) minmax(0, 1fr) !important;
  }

  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="en"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 75% !important;
    max-width: none !important;
    justify-self: start !important;
    text-align: center !important;
    font-size: var(--story-heading-size, clamp(24px, 4vw, 64px)) !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
  }

  .story-page .story-full-lead {
    width: min(48%, 780px) !important;
    max-width: 780px !important;
    margin-right: auto !important;
    margin-left: clamp(12px, 4vw, 72px) !important;
  }

  .story-page .hero-actions {
    width: min(48%, 620px) !important;
    margin-right: 0 !important;
    margin-left: clamp(12px, 4vw, 72px) !important;
  }
}

@media (orientation: landscape) and (max-height: 700px) {
  .story-page .story-full-copy {
    padding-top: 3px !important;
    padding-bottom: 5px !important;
    grid-template-rows: auto minmax(80px, 180px) minmax(0, 1fr) !important;
  }

  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: min(58%, 680px) !important;
    font-size: clamp(25px, 4vw, 40px) !important;
    line-height: 1.08 !important;
  }

  .story-page .story-full-lead {
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    padding-block: 4px 20px !important;
    font-size: clamp(10px, 1.45vw, 13px) !important;
    line-height: 1.38 !important;
  }

  .story-page .hero-actions {
    margin-bottom: 2px !important;
    padding-top: 2px;
  }

  .story-page .button-primary {
    padding-block: 8px !important;
  }
}

/* Final story copy composition requested for the wider landscape treatment. */
.story-page .story-landscape-break {
  display: none !important;
}

.story-page .story-full-copy > h1,
html[lang="th"] body .story-page .story-full-copy > h1,
html[lang="ja"] body .story-page .story-full-copy > h1 {
  width: 100% !important;
  max-width: none !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  font-size: clamp(17px, 3.2vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: normal !important;
}

.story-page .hero-actions {
  align-self: start !important;
  margin-top: clamp(8px, 1vh, 14px) !important;
  margin-bottom: 0 !important;
}

@media (orientation: landscape) {
  .story-page .story-landscape-break {
    display: none !important;
  }

  .story-page .story-full-lead {
    width: min(55%, 960px) !important;
    max-width: 960px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .story-page .hero-actions {
    width: min(55%, 760px) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .story-page .story-full-character {
    width: min(40vw, 600px) !important;
    max-height: 68% !important;
  }
}

/* Thai typography and unobtrusive navigation hover treatment. */
html[lang="th"] body,
html[lang="th"] body :where(*):not(img, svg, path, use) {
  font-family: "Trirong", Tahoma, sans-serif !important;
}

.mikawa-journal .site-header > nav a:hover,
.mikawa-journal .site-header > nav a:focus-visible,
.inner-page .site-header > nav a:hover,
.inner-page .site-header > nav a:focus-visible {
  color: #e8882f !important;
  background: transparent !important;
}

.mikawa-journal .site-header > nav a:hover span,
.mikawa-journal .site-header > nav a:focus-visible span,
.inner-page .site-header > nav a:hover span,
.inner-page .site-header > nav a:focus-visible span {
  color: #e8882f !important;
}

/* Story page: keep all three primary links visible and centered. */
.site-header .nav-dropdown-toggle {
  display: none !important;
}

.mikawa-journal .site-header > nav,
.inner-page .site-header > nav {
  position: static !important;
  z-index: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  inline-size: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: clamp(18px, 3vw, 56px) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  clip-path: none !important;
  transform: none !important;
}

.mikawa-journal .site-header > nav a[aria-current="page"],
.inner-page .site-header > nav a[aria-current="page"] {
  display: flex !important;
}

.mikawa-journal .site-header > nav a,
.inner-page .site-header > nav a {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  border-radius: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html[lang="th"] .story-page .story-full-copy h1 {
  font-family: "Trirong", Tahoma, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
}

.story-page,
.story-page .story-fullscreen,
.story-page .story-full-copy {
  height: auto !important;
  overflow: visible !important;
}

.story-page .story-full-copy {
  padding-bottom: 72px !important;
}

.story-page .story-full-lead p {
  margin: 0 0 1em;
}

.story-page .story-full-lead .story-full-quote {
  margin-top: 1.45em;
}

@media (max-width: 850px) {
  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav {
    margin-top: 20px !important;
    gap: clamp(10px, 2.4vw, 20px) !important;
  }

  .mikawa-journal .site-header > nav a,
  .inner-page .site-header > nav a {
    font-size: clamp(12px, 2.1vw, 16px) !important;
  }

  .mikawa-journal .site-header > nav a span,
  .inner-page .site-header > nav a span {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav {
    margin-top: 18px !important;
    gap: clamp(7px, 2vw, 12px) !important;
  }

  .mikawa-journal .site-header > nav a,
  .inner-page .site-header > nav a {
    font-size: clamp(10px, 3vw, 13px) !important;
  }

  .story-page .story-full-lead {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
}

button,
a {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.keep-together {
  white-space: nowrap;
}

button {
  color: inherit;
}

.mikawa-journal {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  --header-solid-band: 60px;
  position: relative;
  z-index: 20;
  width: min(calc(100% - 96px), var(--max-width));
  height: 94px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-header::before {
  top: 0;
  height: var(--header-solid-band);
  background: rgba(255, 255, 255, 0.78);
}

.site-header::after {
  top: var(--header-solid-band);
  height: 132px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.42) 44%,
    rgba(255, 255, 255, 0) 100%
  );
}

.brand-mark {
  display: inline-flex;
  width: 124px;
}

.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.site-header nav a,
.header-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-header nav a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header nav span {
  color: var(--red);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.header-link {
  justify-self: end;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 26px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.language-switch a {
  opacity: 0.48;
  transition: color 180ms ease, opacity 180ms ease;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: var(--red);
  opacity: 1;
}

.language-switch [aria-current="true"] {
  color: var(--red);
}

.language-switch .language-divider {
  opacity: 0.35;
}

.header-link span {
  margin-left: 12px;
}

.hero {
  position: relative;
  width: min(calc(100% - 96px), var(--max-width));
  min-height: 740px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  overflow: hidden;
  background-color: #f8f1df;
  background-image:
    linear-gradient(90deg, rgba(250, 245, 232, 0.94) 0%, rgba(250, 245, 232, 0.75) 34%, rgba(250, 245, 232, 0.1) 64%, rgba(250, 245, 232, 0.02) 100%),
    url("brand/mikawa-bay-orchard.webp");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 90px 54px 64px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kicker,
.section-mark p,
.journal-index small,
.scene-caption span,
.product-copy > span,
.ritual-copy > p,
.story-ending span,
.contact-links span,
footer {
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 33px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 5.4vw, 84px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 470px;
  margin: 35px 0 0;
  color: #444854;
  font-size: 17px;
  line-height: 1.95;
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.button-primary {
  min-width: 154px;
  padding: 15px 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--paper-light);
  background: var(--navy);
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.button-text {
  padding: 5px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.button-text span {
  margin-left: 10px;
}

.location-note {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}

.location-note > span {
  font-size: 24px;
  font-weight: 700;
}

.location-note p {
  margin: 0;
  color: var(--muted);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.hero-visual {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background: transparent;
  border-left: 0;
}

.hero-visual::after {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(255, 250, 240, 0.55);
  pointer-events: none;
}

.hero-character {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -2px;
  width: min(82%, 670px);
  transform: translateX(-50%);
  filter: drop-shadow(0 25px 22px rgba(68, 50, 29, 0.15));
}

.journal-index {
  position: absolute;
  z-index: 7;
  top: 48px;
  left: 48px;
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.journal-index span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 39px;
  font-style: italic;
}

.journal-index small {
  font-size: 8px;
  font-weight: 700;
}

.scene-fruit,
.watercolor-fruit,
.flavor-decoration,
.contact-fruit,
.ritual > img {
  mix-blend-mode: multiply;
}

.section-pad {
  position: relative;
  width: min(calc(100% - 96px), var(--max-width));
  margin: 0 auto;
  padding: 122px 0;
}

.section-mark {
  display: flex;
  align-items: center;
  gap: 17px;
}

.section-mark span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 31px;
  font-style: italic;
}

.section-mark p {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
}

.story {
  display: grid;
  grid-template-columns: 0.25fr 0.75fr 0.55fr;
  column-gap: 62px;
  align-items: start;
}

.story-heading > p,
.flavor-heading > div > p,
.contact-heading > p {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.story-heading h2,
.flavor-heading h2,
.contact-heading h2,
.ritual h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 75px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.story-copy {
  padding-top: 37px;
  color: #4b4a48;
  font-size: 15px;
  line-height: 1.95;
}

.story-copy p {
  margin: 0 0 18px;
}

.story-scene {
  position: relative;
  grid-column: 1 / 4;
  height: 670px;
  margin-top: 78px;
  overflow: hidden;
  background-color: rgba(250, 245, 232, 0.66);
  background-image:
    radial-gradient(ellipse at 17% 22%, rgba(116, 88, 52, 0.07) 0 0.55px, transparent 1px),
    radial-gradient(ellipse at 78% 68%, rgba(255, 255, 255, 0.46) 0 0.7px, transparent 1.25px),
    repeating-linear-gradient(6deg, transparent 0 12px, rgba(101, 79, 48, 0.025) 13px, transparent 14px 26px),
    repeating-linear-gradient(97deg, transparent 0 17px, rgba(255, 255, 255, 0.12) 18px, transparent 20px 34px);
  background-size: 25px 31px, 41px 37px, auto, auto;
  border: 1px solid var(--line);
}

.story-scene::before {
  position: absolute;
  top: 36px;
  left: 36px;
  z-index: 2;
  width: 130px;
  height: 1px;
  content: "";
  background: var(--red);
}

.scene-character {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -95px;
  width: min(56%, 700px);
  transform: translateX(-50%);
  filter: drop-shadow(0 28px 24px rgba(37, 27, 15, 0.16));
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-scene.playing .scene-character {
  transform: translateX(-50%) translateY(-14px) rotate(-1deg);
}

.scene-fruit {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.scene-coconut {
  right: -2%;
  bottom: -4%;
  width: 25%;
  opacity: 0.48;
  transform: rotate(-8deg);
}

.scene-orange {
  left: 4%;
  top: 8%;
  width: 13%;
  opacity: 0.56;
  transform: rotate(-13deg);
}

.scene-caption {
  position: absolute;
  z-index: 6;
  left: 42px;
  bottom: 39px;
  width: 220px;
  padding: 17px 20px;
  background: rgba(250, 245, 232, 0.93);
  border-left: 2px solid var(--red);
}

.scene-caption span,
.scene-caption strong {
  display: block;
}

.scene-caption span {
  margin-bottom: 6px;
  font-size: 7px;
}

.scene-caption strong {
  font-size: 17px;
}

.play-button {
  position: absolute;
  right: 44px;
  bottom: 39px;
  z-index: 7;
  width: 54px;
  height: 54px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: rgba(250, 245, 232, 0.9);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.play-button:hover,
.story-scene.playing .play-button {
  color: var(--paper-light);
  background: var(--navy);
}

blockquote {
  grid-column: 1 / 3;
  margin: 95px 0 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: start;
}

blockquote > span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 86px;
  line-height: 0.85;
}

blockquote p {
  margin: 0;
  font-size: clamp(35px, 3.4vw, 55px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

blockquote cite {
  grid-column: 2;
  margin-top: 20px;
  color: var(--muted);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.story-ending {
  margin-top: 110px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.story-ending p {
  margin: 0 0 32px;
  color: #4b4a48;
  font-size: 14px;
  line-height: 1.9;
}

.story-ending span {
  color: var(--red);
  font-size: 8px;
  font-weight: 700;
}

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

.flavor-heading {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 80px;
  align-items: end;
}

.flavor-heading > p {
  max-width: 430px;
  margin: 0 0 10px auto;
  color: #4b4a48;
  font-size: 14px;
  line-height: 1.9;
}

.flavor-decoration {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.flavor-leaf {
  top: 60px;
  right: 18%;
  width: 84px;
  opacity: 0.5;
  transform: rotate(24deg);
}

.flavor-lychee {
  right: -165px;
  top: 76px;
  width: 250px;
  opacity: 0.38;
  transform: rotate(8deg);
}

.product-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.product-card:last-child {
  border-right: 0;
}

.product-art {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}

.product-number {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 20px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.watercolor-fruit {
  position: absolute;
  z-index: 1;
  top: -12%;
  left: -38%;
  width: 126%;
  height: 78%;
  object-fit: contain;
  opacity: 0.46;
  transform: rotate(-8deg);
}

.product-bottle {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -39px;
  width: 77%;
  height: 420px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: none;
  transition: transform 260ms ease;
}

.product-card:hover .product-bottle {
  transform: translateX(-50%) translateY(-10px);
}

.product-copy {
  min-height: 178px;
  padding: 24px 20px 22px;
  border-top: 1px solid var(--line);
}

.product-copy > span {
  color: var(--accent);
  font-size: 7px;
  font-weight: 700;
}

.product-copy h3 {
  margin: 12px 0 6px;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: clamp(20px, 1.65vw, 27px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.product-copy p {
  min-height: 42px;
  margin: 0;
  color: #54534f;
  font-size: 11px;
  line-height: 1.7;
}

.product-copy > div {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.ritual {
  position: relative;
  width: min(calc(100% - 96px), var(--max-width));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 0.72fr 0.85fr;
  align-items: center;
  gap: 58px;
  border-bottom: 1px solid var(--line);
}

.ritual::before {
  position: absolute;
  inset: 55px 0;
  z-index: -1;
  content: "";
  background: rgba(250, 245, 232, 0.56);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ritual > img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  opacity: 0.82;
}

.ritual-copy > p {
  margin: 0 0 24px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
}

.ritual h2 {
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: clamp(53px, 5.5vw, 82px);
  letter-spacing: -0.065em;
}

.ritual ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ritual li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 38px 0.6fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.ritual li:first-child {
  border-top: 1px solid var(--line);
}

.ritual li span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.ritual li strong {
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.ritual li p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.contact {
  min-height: 730px;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: 0.25fr 0.75fr 0.55fr;
  column-gap: 62px;
  align-items: start;
}

.contact-heading {
  position: relative;
  z-index: 3;
}

.contact-links {
  position: relative;
  z-index: 4;
  margin-top: 44px;
  padding: 8px 12px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.62), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(225, 242, 255, 0.18) 48%, rgba(255, 255, 255, 0.28));
  box-shadow:
    0 20px 55px rgba(18, 38, 69, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}

.contact-links::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.52) 0%, transparent 27% 70%, rgba(255, 255, 255, 0.28) 100%);
}

.contact-links a {
  position: relative;
  z-index: 1;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(23, 39, 95, 0.16);
  transition: background-color 180ms ease;
}

.contact-links a:first-child {
  border-top: 0;
}

.contact-links a:last-child {
  border-bottom: 0;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  background-color: rgba(255, 255, 255, 0.06);
}

.contact-links .contact-type-icon {
  color: var(--red);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

.contact-links strong {
  position: relative;
  z-index: 0;
  width: fit-content;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  min-width: 0;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-links strong::before {
  position: absolute;
  inset: -8px -14px;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 240, 143, 0.88) 0%, rgba(255, 255, 255, 0.5) 42%, transparent 74%);
  filter: blur(9px);
  transform: scale(0.72);
  transition: opacity 220ms ease, transform 220ms ease;
}

.contact-links a:hover strong::before,
.contact-links a:focus-visible strong::before {
  opacity: 1;
  transform: scale(1);
}

.contact-character {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 62px;
  width: min(39%, 530px);
  filter: drop-shadow(0 22px 20px rgba(34, 27, 18, 0.14));
}

.contact-fruit {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.contact-apple {
  right: -110px;
  top: 45px;
  width: 285px;
  opacity: 0.38;
  transform: rotate(12deg);
}

.contact-strawberry {
  left: -150px;
  bottom: 40px;
  width: 250px;
  opacity: 0.32;
  transform: rotate(-10deg);
}

.contact footer {
  position: relative;
  z-index: 8;
  grid-column: 1 / 4;
  align-self: end;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 7px;
  line-height: 1.6;
}

.contact footer .brand-mark {
  width: 104px;
}

.contact footer p {
  margin: 0;
  justify-self: center;
}

.contact footer > a {
  justify-self: end;
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .section-pad,
  .ritual {
    width: min(calc(100% - 56px), var(--max-width));
  }

  .hero {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .hero-copy {
    padding-right: 30px;
  }

  .story,
  .contact {
    column-gap: 36px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card:nth-child(3) {
    border-right: 0;
  }

  .product-card:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .product-art {
    height: 460px;
  }

  .product-bottle {
    height: 460px;
  }

  .ritual {
    grid-template-columns: 0.8fr 0.65fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 850px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    height: 77px;
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .brand-mark {
    width: 104px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    background-image:
      linear-gradient(180deg, rgba(250, 245, 232, 0.92) 0%, rgba(250, 245, 232, 0.72) 43%, rgba(250, 245, 232, 0.12) 70%, rgba(250, 245, 232, 0.02) 100%),
      url("brand/mikawa-bay-orchard.webp");
    background-position: center, 58% center;
  }

  .hero-copy {
    min-height: 650px;
    padding: 75px 0 50px;
  }

  .hero-visual {
    min-height: 660px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .story,
  .contact {
    grid-template-columns: 0.25fr 0.75fr;
  }

  .story-copy,
  .contact-links {
    grid-column: 2;
  }

  .story-scene {
    grid-column: 1 / 3;
    height: 600px;
  }

  blockquote {
    grid-column: 1 / 3;
  }

  .story-ending {
    grid-column: 2;
    margin-top: 65px;
  }

  .flavor-heading {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .flavor-heading > p {
    margin-left: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .product-card:nth-child(even) {
    border-right: 0;
  }

  .product-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .ritual {
    padding: 80px 0;
    grid-template-columns: 0.8fr 1fr;
  }

  .ritual > img {
    height: 420px;
  }

  .ritual ol {
    grid-column: 1 / 3;
  }

  .contact {
    min-height: 780px;
  }

  .contact-character {
    width: 47%;
  }

  .contact footer {
    grid-column: 1 / 3;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section-pad,
  .ritual {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 68px;
  }

  .header-link {
    font-size: 11px;
  }

  .hero-copy {
    min-height: 600px;
    padding-top: 64px;
  }

  .hero h1 {
    font-size: 51px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .button-text {
    align-self: flex-start;
  }

  .location-note {
    margin-top: 45px;
  }

  .hero-visual {
    min-height: 530px;
  }

  .hero-character {
    width: 105%;
  }

  .journal-index {
    top: 30px;
    left: 30px;
  }

  .section-pad {
    padding: 90px 0;
  }

  .story,
  .contact {
    display: block;
  }

  .story-heading,
  .contact-heading {
    margin-top: 35px;
  }

  .story-heading h2,
  .flavor-heading h2,
  .contact-heading h2 {
    font-size: 46px;
  }

  .story-copy {
    padding-top: 30px;
  }

  .story-scene {
    height: 490px;
    margin-top: 55px;
  }

  .scene-character {
    bottom: -34px;
    width: 96%;
  }

  .scene-coconut {
    display: none;
  }

  .scene-orange {
    width: 23%;
  }

  .scene-caption {
    left: 18px;
    bottom: 18px;
    width: 180px;
  }

  .play-button {
    right: 18px;
    bottom: 18px;
  }

  blockquote {
    margin-top: 70px;
    grid-template-columns: 42px 1fr;
  }

  blockquote > span {
    font-size: 60px;
  }

  blockquote p {
    font-size: 34px;
  }

  .story-ending {
    margin-top: 65px;
  }

  .flavor-heading {
    margin-top: 0;
  }

  .product-grid {
    margin-top: 50px;
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card:nth-child(3) {
    border-right: 0;
  }

  .product-card:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .product-art,
  .product-bottle {
    height: 500px;
  }

  .watercolor-fruit {
    left: -18%;
    width: 105%;
  }

  .product-copy h3 {
    font-size: 29px;
  }

  .ritual {
    display: block;
    padding: 80px 0;
  }

  .ritual::before {
    inset: 40px 0;
  }

  .ritual > img {
    height: 400px;
  }

  .ritual-copy {
    margin: 0 12px 45px;
  }

  .ritual ol {
    margin: 0 12px;
  }

  .contact {
    min-height: 920px;
  }

  .contact-links {
    margin-top: 35px;
  }

  .contact-links a {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .contact-character {
    right: -12%;
    bottom: 78px;
    width: 83%;
  }

  .contact-apple {
    right: -160px;
    width: 290px;
  }

  .contact footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 68px;
    grid-template-columns: 1fr 1fr;
  }

  .contact footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Multi-page journal layout */
.site-header nav a[aria-current="page"] {
  color: var(--red);
}

.site-header nav a[aria-current="page"] span {
  color: var(--red);
}

.story-page {
  min-height: 100svh;
  isolation: isolate;
  background: #c9dcb8 url("brand/mikawa-bay-orchard.webp") center / cover no-repeat;
}

.story-page::before,
.story-page::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.story-page::before {
  background: linear-gradient(90deg, rgba(249, 243, 226, 0.98) 0%, rgba(249, 243, 226, 0.86) 27%, rgba(249, 243, 226, 0.24) 55%, rgba(249, 243, 226, 0.02) 78%);
}

.story-page::after {
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(7deg, transparent 0 9px, rgba(74, 55, 37, 0.06) 10px, transparent 11px 19px),
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.6px);
  background-size: auto, 29px 31px;
  mix-blend-mode: multiply;
}

.story-fullscreen {
  position: relative;
  width: min(calc(100% - 96px), var(--max-width));
  min-height: calc(100svh - 94px);
  margin: 0 auto;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
  border-left: 1px solid rgba(255, 255, 255, 0.38);
}

.story-full-copy {
  position: relative;
  z-index: 4;
  width: min(47%, 610px);
  min-height: calc(100svh - 94px);
  padding: clamp(64px, 9vh, 112px) 0 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-full-copy h1 {
  margin: 0;
  font-size: clamp(58px, 5.75vw, 88px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.story-full-lead {
  max-width: 550px;
  margin: 34px 0 0;
  color: #3f4652;
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 2;
}

.story-full-index {
  position: absolute;
  z-index: 5;
  top: 6.5%;
  right: 35%;
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.story-full-index span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 48px;
  font-style: italic;
  line-height: 1;
}

.story-full-index small {
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.story-full-character {
  position: absolute;
  z-index: 3;
  right: -1.5%;
  bottom: -8.5%;
  width: min(49vw, 720px);
  max-height: 96%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 26px 22px rgba(33, 30, 20, 0.18));
}

.inner-page {
  background-color: var(--cream);
}

.inner-page .flavors,
.inner-page .contact {
  border-top: 0;
}

.flavor-heading h1,
.contact-heading h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 75px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.flavors-page .flavors {
  padding-top: 56px;
}

.contact-page .contact {
  min-height: calc(100svh - 186px);
  padding-top: 64px;
  padding-bottom: 70px;
}

.page-footer {
  position: relative;
  z-index: 8;
  width: min(calc(100% - 96px), var(--max-width));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 8px;
  line-height: 1.8;
}

.page-footer .brand-mark {
  width: 104px;
  justify-self: start;
}

.page-footer p {
  margin: 0;
  justify-self: center;
}

.page-footer > a:last-child {
  justify-self: end;
}

@media (max-width: 1180px) {
  .story-fullscreen,
  .page-footer {
    width: min(calc(100% - 56px), var(--max-width));
  }

  .story-full-character {
    right: -6%;
    width: min(54vw, 690px);
  }
}

@media (max-width: 850px) {
  .story-fullscreen {
    min-height: calc(100svh - 77px);
  }

  .story-full-copy {
    width: 58%;
    min-height: calc(100svh - 77px);
    padding-top: 48px;
  }

  .story-full-copy h1 {
    font-size: clamp(52px, 8vw, 70px);
  }

  .story-full-character {
    right: 0;
    bottom: 0;
    width: 65vw;
    max-height: 76%;
  }

  .story-full-index {
    top: 4%;
    right: 24%;
  }

  .flavor-heading h1,
  .contact-heading h1 {
    font-size: 54px;
  }

  .page-footer {
    width: min(calc(100% - 56px), var(--max-width));
  }
}

@media (max-width: 560px) {
  .story-page {
    background-position: 67% center;
  }

  .story-page::before {
    background: linear-gradient(180deg, rgba(249, 243, 226, 0.98) 0%, rgba(249, 243, 226, 0.76) 48%, rgba(249, 243, 226, 0.08) 82%);
  }

  .story-fullscreen,
  .page-footer {
    width: calc(100% - 32px);
  }

  .story-fullscreen {
    min-height: calc(100svh - 68px);
    overflow: visible;
  }

  .story-full-copy {
    width: 100%;
    min-height: calc(100svh - 68px);
    padding: 36px 0 330px;
  }

  .story-full-copy h1 {
    font-size: clamp(48px, 15vw, 62px);
  }

  .story-full-lead {
    max-width: 100%;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.85;
  }

  .story-full-copy .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .story-full-copy .button-primary {
    min-width: 150px;
  }

  .story-full-copy .location-note {
    display: none;
  }

  .story-full-index {
    display: none;
  }

  .story-full-character {
    right: 0;
    bottom: 0;
    width: 78%;
    max-height: 360px;
  }

  .flavor-heading h1,
  .contact-heading h1 {
    font-size: 46px;
  }

  .flavors-page .flavors,
  .contact-page .contact {
    padding-top: 46px;
  }

  .contact-page .contact {
    min-height: 770px;
  }

  .page-footer {
    min-height: 72px;
    grid-template-columns: 1fr 1fr;
  }

  .page-footer p {
    display: none;
  }
}

/* Landing-page alignment based on the approved full-screen reference */
.site-header nav {
  gap: clamp(32px, 3vw, 62px);
}

.site-header nav a,
.header-link {
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-link i {
  font-size: 1.05em;
}

@media (min-width: 851px) {
  .site-header {
    height: clamp(112px, 7vw, 140px);
  }

  .brand-mark {
    width: clamp(154px, 10vw, 184px);
  }

  .mikawa-journal {
    --site-gutter: clamp(80px, 7.2vw, 144px);
    --site-header-height: clamp(112px, 7vw, 140px);
  }

  .mikawa-journal .site-header,
  .story-page .story-fullscreen {
    width: calc(100% - var(--site-gutter));
    max-width: none;
  }

  .mikawa-journal .site-header {
    height: var(--site-header-height);
  }

  .story-page .story-fullscreen {
    min-height: calc(100svh - var(--site-header-height));
  }

  .story-page .story-full-copy {
    width: min(49%, 780px);
    min-height: calc(100svh - var(--site-header-height));
    padding: clamp(76px, 9vh, 104px) 0 48px;
  }

  .story-page .story-full-copy h1 {
    font-size: clamp(72px, 5.6vw, 112px);
    line-height: 1.13;
  }

  .story-page .story-full-lead {
    max-width: 780px;
    margin-top: clamp(38px, 4vh, 55px);
    font-size: clamp(17px, 1.1vw, 22px);
    line-height: 2.08;
  }

  .story-page .hero-actions {
    margin-top: clamp(34px, 4vh, 52px);
    gap: 40px;
  }

  .story-page .button-primary {
    min-width: 232px;
    padding: 20px 28px;
    font-size: clamp(15px, 0.95vw, 18px);
  }

  .story-page .button-text {
    font-size: clamp(15px, 0.95vw, 18px);
  }

  .story-page .story-full-character {
    top: 54%;
    right: 0.5%;
    bottom: auto;
    width: min(40vw, 800px);
    max-height: 96%;
    transform: translateY(-50%);
  }

  .story-page .story-full-index {
    display: none;
  }
}

@media (min-width: 851px) and (max-width: 1100px) {
  .story-page .story-full-character {
    width: min(46vw, 520px);
  }
}

@media (min-width: 561px) and (max-width: 700px) {
  .story-page .story-full-character {
    right: -4%;
    width: 54vw;
    max-height: 72%;
  }
}

@media (max-width: 850px) {
  .site-header nav a,
  .header-link {
    font-size: 15px;
  }

  .header-link {
    gap: 7px;
  }

  .header-actions {
    gap: 12px;
  }

  .language-switch {
    gap: 4px;
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .site-header .brand-mark {
    width: 112px;
  }

  .site-header nav a,
  .header-link {
    font-size: 13px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-switch {
    font-size: 10px;
  }
}

/* Inner-page compositions matched to the approved Flavour and Contact layouts */
.flavors-page .flavor-leaf,
.flavors-page .flavor-lychee {
  display: none;
}

.contact-copy-stack {
  position: relative;
  z-index: 4;
}

@media (min-width: 1101px) {
  .flavors-page .flavors {
    width: calc(100% - 100px);
    max-width: none;
    padding: 56px 0 140px;
  }

  .flavors-page .flavor-heading {
    margin-top: 0;
    grid-template-columns: minmax(0, 1.35fr) minmax(430px, 0.65fr);
    gap: clamp(70px, 6vw, 120px);
  }

  .flavors-page .flavor-heading > div > p {
    margin-bottom: 42px;
    font-size: clamp(20px, 1.25vw, 25px);
  }

  .flavors-page .flavor-heading h1,
  .contact-page .contact-heading h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
  }

  .flavors-page .flavor-heading h1 {
    font-size: clamp(88px, 6.1vw, 122px);
    line-height: 0.98;
  }

  .flavors-page .flavor-heading > p {
    max-width: 620px;
    margin: 0 0 8px auto;
    font-size: clamp(18px, 1.1vw, 22px);
    line-height: 2.15;
  }

  .contact-page .contact {
    width: calc(100% - 100px);
    max-width: none;
    min-height: calc(100svh - 302px);
    padding: 180px 0 110px 350px;
    display: block;
  }

  .contact-page .contact-copy-stack {
    width: min(48%, 760px);
  }

  .contact-page .contact-heading > p {
    margin-bottom: 38px;
    font-size: clamp(19px, 1.2vw, 24px);
  }

  .contact-page .contact-heading h1 {
    font-size: clamp(82px, 5.5vw, 110px);
    line-height: 1.04;
  }

  .contact-page .contact-links {
    width: min(100%, 520px);
    margin-top: 52px;
  }

  .contact-page .contact-links a {
    padding: 16px 20px;
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .contact-page .contact-links span {
    font-size: 10px;
  }

  .contact-page .contact-links strong {
    font-size: clamp(20px, 1.6vw, 28px);
  }

  .contact-page .contact-character {
    right: 5%;
    bottom: 42px;
    width: min(43vw, 760px);
  }

  .contact-page .contact-apple {
    right: -150px;
    top: 65px;
    width: 430px;
  }

  .contact-page .contact-strawberry {
    left: -90px;
    bottom: 30px;
    width: 300px;
  }
}

@media (min-width: 851px) and (max-width: 1100px) {
  .contact-page .contact {
    display: block;
    padding-left: clamp(80px, 12vw, 132px);
  }

  .contact-page .contact-copy-stack {
    width: 55%;
  }

  .contact-page .contact-character {
    right: -4%;
    width: 51%;
  }
}

@media (max-width: 850px) {
  .contact-page .contact-copy-stack {
    width: 58%;
  }
}

@media (max-width: 560px) {
  .contact-page .contact-copy-stack {
    width: 100%;
  }

  .contact-page .contact-heading {
    margin-top: 0;
  }
}

/* Final desktop navigation, CTA, catalog-card and orchard-contact direction */
.button-primary {
  justify-content: center;
  white-space: nowrap;
}

.product-grid {
  border-top: 0;
  border-bottom: 0;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--cream);
}

.product-art {
  height: 540px;
  border-top: 0;
}

.product-number {
  display: none;
}

.watercolor-fruit {
  display: none;
}

.product-bottle {
  bottom: -34px;
  width: 145%;
  max-width: none;
  height: 590px;
  mix-blend-mode: multiply;
}

.product-copy {
  height: 100%;
  min-height: 154px;
  padding: 20px 26px 34px;
  color: #31522c;
  border-top: 0;
}

.product-copy > .product-title-row {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 4px;
  color: #31522c;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
  text-align: right;
}

.product-title-row h3,
.product-title-row strong {
  margin: 0;
  font-family: inherit;
  font-size: clamp(27px, 2vw, 39px);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.product-copy p {
  min-height: 3.1em;
  margin: 24px 0 0;
  color: #31522c;
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.product-accent-bar {
  display: block;
  width: 100%;
  height: 12px;
  background: var(--accent);
}

.contact-page .contact {
  background: url("brand/contact-orchard-path.webp") center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.contact-page .contact-copy-stack {
  width: min(90%, 720px);
  text-align: center;
  position: relative;
  z-index: 2;
  transform: translateY(-6%);
}

.contact-page .contact-mascot {
  position: absolute;
  z-index: 1;
  right: clamp(16px, 2.7vw, 56px);
  bottom: -18px;
  width: clamp(210px, 18vw, 350px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgb(38 39 26 / 0.18));
}

.contact-page .contact-links {
  width: min(100%, 520px);
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

@media (min-width: 851px) {
  .product-art {
    height: 620px;
  }

  .product-bottle {
    height: 690px;
  }
}

@media (min-width: 1101px) {
  .mikawa-journal .site-header nav {
    gap: 56px;
  }

  .mikawa-journal .site-header nav a,
  .mikawa-journal .header-link,
  .inner-page .site-header nav a,
  .inner-page .header-link {
    font-size: 24px;
    white-space: nowrap;
  }

  .story-page .button-primary {
    min-width: 232px;
  }

  .contact-page .contact {
    width: calc(100% - 100px);
    max-width: none;
    min-height: calc(100svh - var(--site-header-height));
    padding: 72px 0;
  }

  .contact-page .contact-copy-stack {
    width: min(50%, 760px);
    transform: translateY(-8%);
  }

  .contact-page .contact-heading > p {
    margin-bottom: 30px;
    font-size: 21px;
  }

  .contact-page .contact-heading h1 {
    font-size: clamp(82px, 5.25vw, 105px);
    line-height: 1.02;
  }

  .contact-page .contact-links {
    margin-top: 46px;
  }

  .contact-page .contact-links a {
    padding: 16px 20px;
    grid-template-columns: 60px minmax(0, 1fr);
  }
}

@media (min-width: 1181px) {
  .product-art {
    height: 720px;
  }

  .product-bottle {
    bottom: -42px;
    height: 800px;
  }

  .product-copy {
    min-height: 174px;
    padding: 22px 28px 38px;
  }
}

@media (max-width: 850px) {
  .contact-page .contact {
    min-height: 760px;
    padding: 64px 28px;
  }

  .contact-page .contact-copy-stack {
    width: min(100%, 600px);
  }

  .contact-page .contact-links {
    width: min(440px, calc(100% - 220px));
    margin-right: auto;
    margin-left: auto;
  }

  .contact-page .contact-links strong {
    font-size: 15px;
  }
}

@media (min-width: 561px) and (max-width: 1100px) {
  .contact-page .contact {
    padding-right: 0;
    padding-left: 0;
  }

  .contact-page .contact-copy-stack {
    width: min(100%, 600px);
  }

  .contact-page .contact-links {
    width: min(440px, calc(100% - 220px));
    margin-right: auto;
    margin-left: auto;
  }

  .contact-page .contact-links strong {
    font-size: 15px;
  }

  .contact-page .contact-mascot {
    bottom: -58px;
  }
}

@media (max-width: 560px) {
  .button-primary {
    text-align: center;
  }

  .product-art {
    height: 590px;
  }

  .product-bottle {
    width: 132%;
    height: 650px;
  }

  .product-copy {
    padding-right: 24px;
    padding-left: 24px;
  }

  .product-title-row h3,
  .product-title-row strong {
    font-size: 31px;
  }

  .contact-page .contact {
    min-height: 690px;
    padding: 54px 18px;
    background-position: center;
  }

  .contact-page .contact-heading h1 {
    font-size: 50px;
  }

  .contact-page .contact-links strong {
    font-size: 15px;
  }

  .contact-page .contact-links {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 6px 8px;
    border-radius: 22px;
  }
}

/* Sequential drink-menu gallery replacing the former ritual section */
.drink-menu-section {
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.drink-menu-heading {
  margin-bottom: 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.drink-menu-heading p {
  margin: 0 0 10px;
  color: var(--red);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.drink-menu-heading h2 {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.drink-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
}

.drink-menu-card {
  min-width: 0;
  margin: 0;
}

.drink-menu-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f8f8f5;
  transition: transform 300ms ease, filter 300ms ease;
}

.drink-menu-card:hover img {
  transform: translateY(-4px);
  filter: saturate(1.04);
}

.drink-menu-card figcaption {
  padding: 17px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  border-top: 1px solid transparent;
}

.drink-menu-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.1;
}

.drink-menu-card span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

@media (max-width: 1100px) {
  .drink-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .drink-menu-section {
    padding-top: 24px;
  }

  .drink-menu-heading {
    margin-bottom: 30px;
    display: block;
  }

  .drink-menu-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .drink-menu-card figcaption {
    padding-top: 14px;
  }

  .drink-menu-card strong {
    font-size: 27px;
  }
}

/* Kagome-inspired corporate homepage direction */
body::after {
  display: none;
  content: none;
}

.site-header {
  --header-solid-band: clamp(132px, 10vw, 184px);
  padding-top: 24px;
  background: transparent;
}

.site-header::before {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(23, 39, 95, 0.08);
}

.site-header::after {
  height: 78px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.5) 52%,
    rgba(255, 255, 255, 0) 100%
  );
}

.site-header nav {
  gap: clamp(42px, 5vw, 92px);
}

.site-header nav a {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: #111;
  font-family: "Chonburi", Tahoma, sans-serif;
  font-size: clamp(21px, 1.7vw, 31px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.site-header nav a[aria-current="page"] {
  color: var(--red);
}

.site-header nav a span {
  color: #555a61;
  font-family: "Chonburi", Tahoma, sans-serif;
  font-size: clamp(10px, 0.82vw, 14px);
  line-height: 1.2;
  letter-spacing: 0;
}

.language-switch {
  color: #5d6372;
  font-size: 16px;
}

.brand-mark {
  width: clamp(150px, 13vw, 220px);
}

.story-page {
  background-color: var(--cream);
  background-image:
    linear-gradient(90deg, rgba(242, 234, 217, 0.9) 0%, rgba(242, 234, 217, 0.66) 42%, rgba(242, 234, 217, 0.2) 72%),
    url("brand/mikawa-bay-orchard.webp");
  background-position: center;
  background-size: cover;
}

.story-page::before {
  background:
    radial-gradient(circle at 83% 26%, rgba(0, 152, 69, 0.18), transparent 24%),
    radial-gradient(circle at 74% 74%, rgba(255, 196, 0, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(242, 234, 217, 0.94) 0%, rgba(242, 234, 217, 0.76) 30%, rgba(242, 234, 217, 0.14) 70%);
}

.story-fullscreen {
  min-height: calc(100svh - var(--header-solid-band));
  border: 0;
}

.story-full-copy {
  min-height: calc(100svh - var(--header-solid-band));
  padding-top: clamp(78px, 9vh, 124px);
}

.story-full-copy h1 {
  color: #17275f;
  font-size: clamp(76px, 7vw, 132px);
  line-height: 1.05;
}

.story-full-lead {
  max-width: 860px;
  color: #243044;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 2.05;
}

.story-full-character {
  right: clamp(8px, 5vw, 88px);
  width: min(38vw, 600px);
  filter: drop-shadow(0 22px 18px rgba(23, 39, 95, 0.16));
}

.button-primary {
  border-radius: 999px;
  color: #fff;
  background: #17275f;
  box-shadow: 0 10px 0 rgba(23, 39, 95, 0.12);
}

.button-text {
  color: #17275f;
  border-bottom-width: 2px;
}

.notice-strip {
  position: relative;
  z-index: 8;
  width: min(calc(100% - 96px), 1180px);
  margin: -38px auto 0;
  padding: clamp(24px, 2.8vw, 38px) clamp(26px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) 1fr;
  gap: 14px 32px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(23, 39, 95, 0.13);
}

.notice-strip h2 {
  grid-row: 1 / 3;
  margin: 0;
  color: #17275f;
  font-size: clamp(20px, 1.8vw, 32px);
  line-height: 1.2;
}

.notice-strip a {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: baseline;
  color: #17275f;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.65;
}

.notice-strip time {
  color: #c6423b;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-weight: 700;
}

.kagome-inspired {
  position: relative;
  z-index: 7;
  width: min(calc(100% - 96px), 1180px);
  margin: clamp(70px, 8vw, 120px) auto clamp(70px, 8vw, 120px);
  padding: clamp(58px, 7vw, 100px) clamp(36px, 6vw, 92px);
  overflow: hidden;
  background: #fff;
  border-radius: 36px;
}

.kagome-inspired::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: min(46vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 152, 69, 0.2), rgba(0, 152, 69, 0.08) 45%, transparent 46%),
    radial-gradient(circle at 32% 30%, rgba(255, 196, 0, 0.24), transparent 27%);
  pointer-events: none;
}

.section-kicker {
  margin: 0 0 14px;
  color: #009845;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(16px, 1.4vw, 24px);
}

.mission-block h2 {
  max-width: 720px;
  margin: 0;
  color: #17275f;
  font-size: clamp(48px, 5.4vw, 92px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.mission-block > p:not(.section-kicker) {
  max-width: 720px;
  margin: 30px 0 0;
  color: #243044;
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 2;
}

.mission-links {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.mission-links a {
  padding: 15px 24px;
  color: #17275f;
  background: #fff7d9;
  border: 1px solid rgba(255, 196, 0, 0.72);
  border-radius: 999px;
  font-size: 14px;
}

@media (max-width: 850px) {
  body::after {
    height: 12px;
  }

  .site-header {
    --header-solid-band: 118px;
    padding-top: 20px;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .site-header nav {
    justify-content: center;
    gap: 18px;
  }

  .site-header nav a {
    font-size: 16px;
  }

  .site-header nav a span {
    display: none;
  }

  .brand-mark {
    width: 126px;
  }

  .story-full-copy {
    width: min(100%, 620px);
  }

  .story-full-character {
    opacity: 0.38;
    right: -20%;
    width: 78vw;
  }

  .notice-strip {
    width: calc(100% - 32px);
    margin-top: -18px;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .notice-strip h2 {
    grid-row: auto;
  }

  .notice-strip a {
    grid-template-columns: 92px 1fr;
  }

  .kagome-inspired {
    width: calc(100% - 32px);
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .site-header {
    --header-solid-band: 98px;
    height: 98px;
    padding-top: 18px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a {
    font-size: 13px;
  }

  .language-switch {
    font-size: 12px;
  }

  .story-fullscreen {
    min-height: calc(100svh - var(--header-solid-band));
  }

  .story-full-copy {
    min-height: calc(100svh - var(--header-solid-band));
    padding-top: 56px;
  }

  .story-full-copy h1 {
    font-size: clamp(54px, 15vw, 78px);
  }

  .notice-strip a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mission-links {
    flex-direction: column;
  }
}

/* Unified compact header across every page */
.mikawa-journal .site-header,
.inner-page .site-header {
  --header-solid-band: 30px !important;
  width: min(calc(100% - 96px), var(--max-width)) !important;
  height: 150px !important;
  padding-top: 8px !important;
  grid-template-columns: 220px minmax(420px, 1fr) 120px !important;
  gap: clamp(28px, 4vw, 72px) !important;
  align-items: start !important;
}

.mikawa-journal .site-header::before,
.inner-page .site-header::before {
  display: none !important;
  content: none !important;
  height: 0 !important;
}

.mikawa-journal .site-header::after,
.inner-page .site-header::after {
  top: 30px !important;
  height: 70px !important;
}

.mikawa-journal .site-header .brand-mark,
.inner-page .site-header .brand-mark {
  width: 150px !important;
  margin-top: 0 !important;
}

.mikawa-journal .site-header .brand-mark img,
.inner-page .site-header .brand-mark img {
  width: 150px !important;
  max-width: 150px !important;
}

.mikawa-journal .site-header nav,
.inner-page .site-header nav {
  display: grid !important;
  grid-template-columns: repeat(3, 150px) !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: clamp(54px, 5vw, 92px) !important;
  margin-top: 16px !important;
}

.mikawa-journal .site-header nav a,
.inner-page .site-header nav a {
  font-size: 30px !important;
  line-height: 1.05 !important;
  width: 150px !important;
  min-width: 150px !important;
  white-space: nowrap !important;
}

.mikawa-journal .site-header nav a span,
.inner-page .site-header nav a span {
  margin-top: 3px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.mikawa-journal .language-switch,
.inner-page .language-switch {
  margin-top: 34px !important;
  font-size: 16px !important;
}

.mikawa-journal .site-header {
  margin-top: 4px !important;
}

.mikawa-journal .site-header::before,
.inner-page .site-header::before {
  display: none !important;
  content: none !important;
  height: 0 !important;
  background: none !important;
}

.mikawa-journal .site-header::after,
.inner-page .site-header::after {
  top: 30px !important;
  height: 0 !important;
  background: none !important;
}

.story-page .story-fullscreen,
.flavors-page .flavors,
.contact-page .contact {
  margin-top: 0 !important;
}

.flavors-page .flavors,
.contact-page .contact {
  padding-top: 0 !important;
}

@media (max-width: 850px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    --header-solid-band: 30px !important;
    width: min(calc(100% - 40px), var(--max-width)) !important;
    height: 112px !important;
    padding-top: 8px !important;
    grid-template-columns: 110px 1fr auto !important;
    gap: 16px !important;
  }

  .mikawa-journal .site-header {
    margin-top: 4px !important;
  }

  .mikawa-journal .site-header::before,
  .inner-page .site-header::before {
    display: none !important;
    content: none !important;
    height: 0 !important;
  }

  .mikawa-journal .site-header .brand-mark,
  .inner-page .site-header .brand-mark {
    width: 104px !important;
  }

  .mikawa-journal .site-header .brand-mark img,
  .inner-page .site-header .brand-mark img {
    width: 104px !important;
    max-width: 104px !important;
  }

  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    grid-template-columns: repeat(3, 72px) !important;
    gap: 18px !important;
    margin-top: 18px !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    font-size: 16px !important;
    width: 72px !important;
    min-width: 72px !important;
  }

  .mikawa-journal .site-header nav a span,
  .inner-page .site-header nav a span {
    display: none;
  }
}

@media (max-width: 560px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    width: calc(100% - 32px) !important;
    height: 102px !important;
    padding-top: 8px !important;
    grid-template-columns: 86px 1fr auto !important;
    gap: 10px !important;
  }

  .mikawa-journal .site-header {
    margin-top: 4px !important;
  }

  .mikawa-journal .site-header .brand-mark,
  .inner-page .site-header .brand-mark {
    width: 80px !important;
  }

  .mikawa-journal .site-header .brand-mark img,
  .inner-page .site-header .brand-mark img {
    width: 80px !important;
    max-width: 80px !important;
  }

  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    grid-template-columns: repeat(3, 48px) !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    font-size: 13px !important;
    width: 48px !important;
    min-width: 48px !important;
  }

  .mikawa-journal .language-switch,
  .inner-page .language-switch {
    margin-top: 22px !important;
    font-size: 12px !important;
  }
}

/* One-screen pages: story and contact only. Product pages keep natural scrolling. */
.story-page,
.contact-page {
  height: calc(100svh - 14px) !important;
  min-height: calc(100svh - 14px) !important;
  overflow: hidden !important;
}

.story-page .story-fullscreen,
.contact-page .contact {
  height: calc(100svh - 164px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.story-page .story-full-copy {
  min-height: 0 !important;
  height: 100% !important;
  padding-top: clamp(34px, 5vh, 58px) !important;
  padding-bottom: 28px !important;
}

.story-page .story-full-copy h1 {
  font-size: clamp(56px, 5.8vw, 92px) !important;
  line-height: 1.04 !important;
}

.story-page .story-full-lead {
  margin-top: clamp(20px, 3vh, 34px) !important;
  font-size: clamp(15px, 1vw, 18px) !important;
  line-height: 1.82 !important;
}

.story-page .hero-actions {
  margin-top: clamp(22px, 3vh, 34px) !important;
}

.story-page .story-full-character {
  width: min(34vw, 500px) !important;
  max-height: 88% !important;
}

.contact-page .contact {
  padding-top: clamp(24px, 4vh, 44px) !important;
  padding-bottom: 24px !important;
}

.contact-page .contact-copy-stack {
  transform: none !important;
}

.contact-page .contact-heading h1 {
  font-size: clamp(48px, 4.6vw, 72px) !important;
  line-height: 1.04 !important;
}

.contact-page .contact-heading > p {
  margin-bottom: 20px !important;
  font-size: clamp(15px, 1.1vw, 20px) !important;
}

.contact-page .contact-links {
  margin-top: clamp(24px, 4vh, 42px) !important;
}

.contact-page .contact-mascot {
  max-height: 86% !important;
}

.contact-page .page-footer {
  display: none !important;
}

@media (max-width: 850px) {
  .story-page .story-fullscreen,
  .contact-page .contact {
    height: calc(100svh - 126px) !important;
  }
}

@media (max-width: 560px) {
  .story-page .story-fullscreen,
  .contact-page .contact {
    height: calc(100svh - 116px) !important;
  }

  .story-page .story-full-copy h1 {
    font-size: clamp(42px, 12vw, 60px) !important;
  }

  .story-page .story-full-lead {
    line-height: 1.65 !important;
  }
}

/* Liquid glass language switch */
.mikawa-journal .language-switch,
.inner-page .language-switch {
  position: relative !important;
  margin-top: 30px !important;
  padding: 5px !important;
  display: inline-grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 42px !important;
  gap: 4px !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(23, 39, 95, 0.72) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 999px !important;
  box-shadow:
    0 12px 32px rgba(23, 39, 95, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(23, 39, 95, 0.08) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.25) !important;
  backdrop-filter: blur(14px) saturate(1.25) !important;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
}

.mikawa-journal .language-switch a,
.mikawa-journal .language-switch [aria-current="true"],
.inner-page .language-switch a,
.inner-page .language-switch [aria-current="true"] {
  min-width: 42px !important;
  height: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

.mikawa-journal .language-switch a,
.inner-page .language-switch a {
  color: rgba(23, 39, 95, 0.62) !important;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease !important;
}

.mikawa-journal .language-switch a:hover,
.mikawa-journal .language-switch a:focus-visible,
.inner-page .language-switch a:hover,
.inner-page .language-switch a:focus-visible {
  color: var(--navy) !important;
  background: rgba(255, 255, 255, 0.48) !important;
}

.mikawa-journal .language-switch [aria-current="true"],
.inner-page .language-switch [aria-current="true"] {
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(52, 70, 135, 0.98), rgba(23, 39, 95, 0.96)) !important;
  box-shadow:
    0 8px 18px rgba(23, 39, 95, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.mikawa-journal .language-switch .language-divider,
.inner-page .language-switch .language-divider {
  display: none !important;
}

html[lang="th"] .language-switch a,
html[lang="th"] .language-switch [aria-current="true"],
html[lang="th"] .language-switch a[lang="en"],
html[lang="th"] .language-switch a[hreflang="en"],
html[lang="th"] .contact-page .contact-links,
html[lang="th"] .contact-page .contact-links a,
html[lang="th"] .contact-page .contact-links strong {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 800 !important;
}

html[lang="th"] .flavors-page .flavor-heading h1 {
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-size: clamp(64px, 5vw, 92px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

@media (min-width: 1101px) {
  html[lang="th"] .flavors-page .flavor-heading {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.8fr) !important;
    gap: clamp(56px, 5vw, 92px) !important;
  }
}

@media (max-width: 560px) {
  .mikawa-journal .language-switch,
  .inner-page .language-switch {
    margin-top: 18px !important;
    grid-auto-columns: 34px !important;
    padding: 4px !important;
    font-size: 11px !important;
  }

  .mikawa-journal .language-switch a,
  .mikawa-journal .language-switch [aria-current="true"],
  .inner-page .language-switch a,
  .inner-page .language-switch [aria-current="true"] {
    min-width: 34px !important;
    height: 27px !important;
  }
}

/* Product cards based on the approved flavour-card reference */
.flavors-page .product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: clamp(34px, 3.8vw, 58px) !important;
  border: 0 !important;
}

.flavors-page .product-card {
  min-height: clamp(620px, 72vw, 760px) !important;
  padding: clamp(36px, 4vw, 58px) clamp(28px, 3vw, 44px) clamp(28px, 3vw, 42px) !important;
  display: grid !important;
  grid-template-rows: minmax(420px, 1fr) auto !important;
  overflow: hidden !important;
  background: #efe7d5 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.flavors-page .product-art {
  height: auto !important;
  min-height: 420px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  border: 0 !important;
}

.flavors-page .product-bottle {
  position: static !important;
  width: auto !important;
  max-width: min(72%, 245px) !important;
  height: min(56vw, 465px) !important;
  max-height: 465px !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  transform: none !important;
}

.flavors-page .product-card:hover .product-bottle {
  transform: translateY(-4px) !important;
}

.flavors-page .product-copy {
  min-height: 0 !important;
  height: auto !important;
  padding: clamp(24px, 3vw, 36px) 0 0 !important;
  color: #31522c !important;
  border: 0 !important;
}

.flavors-page .product-copy > .product-title-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: baseline !important;
  gap: 18px !important;
  color: #31522c !important;
  font-family: "Playfair Display", Georgia, serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

.flavors-page .product-title-row h3,
.flavors-page .product-title-row strong {
  margin: 0 !important;
  color: #31522c !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.flavors-page .product-title-row h3 {
  font-size: clamp(48px, 4.3vw, 72px) !important;
}

.flavors-page .product-title-row strong {
  font-size: clamp(28px, 2.4vw, 40px) !important;
}

.flavors-page .product-copy p {
  min-height: 0 !important;
  margin: 14px 0 0 !important;
  color: #31522c !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(19px, 1.8vw, 28px) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.flavors-page .product-accent-bar {
  display: none !important;
}

.flavors-page .product-card-loading .product-art {
  align-items: flex-end !important;
}

.flavors-page .loading-bottle {
  position: relative;
  width: min(58%, 210px);
  height: min(52vw, 430px);
  max-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 54px 54px 26px 26px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.22), transparent 18% 82%, rgba(255,255,255,0.28)),
    linear-gradient(180deg, #cfcfcf 0%, #b8b8b8 42%, #a4a4a4 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.34),
    inset 18px 0 20px rgba(255, 255, 255, 0.16),
    inset -18px 0 22px rgba(0, 0, 0, 0.1),
    0 18px 18px rgba(49, 82, 44, 0.1);
}

.flavors-page .loading-bottle::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  width: 42%;
  height: 86px;
  transform: translateX(-50%);
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(90deg, #b8b8b8, #d8d8d8 48%, #9f9f9f);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.flavors-page .loading-bottle::after {
  content: "";
  position: absolute;
  top: -98px;
  left: 50%;
  width: 48%;
  height: 38px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, #5d5d5d 0 4px, #424242 4px 8px);
}

.flavors-page .loading-bottle span {
  padding: 12px 16px;
  color: #fff;
  background: rgba(70, 70, 70, 0.55);
  border-radius: 999px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1100px) {
  .flavors-page .product-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .flavors-page .product-grid {
    grid-template-columns: 1fr !important;
  }

  .flavors-page .product-card {
    min-height: 650px !important;
  }

  .flavors-page .product-title-row h3 {
    font-size: 48px !important;
  }
}

/* Final product-card proportion pass: match approved Flavour Card spacing */
.flavors-page .product-grid {
  max-width: 1320px !important;
  margin: clamp(56px, 7vw, 92px) auto 0 !important;
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
  gap: clamp(42px, 4.4vw, 72px) !important;
}

.flavors-page .product-card {
  aspect-ratio: 621 / 859 !important;
  min-height: 0 !important;
  padding: clamp(44px, 4.4vw, 70px) clamp(34px, 3.6vw, 54px) clamp(34px, 3.4vw, 48px) !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  background: #efe7d5 !important;
}

.flavors-page .product-art {
  position: relative !important;
  min-height: 0 !important;
  align-items: flex-end !important;
}

.flavors-page .product-bottle {
  max-width: min(70%, 255px) !important;
  height: auto !important;
  max-height: 66% !important;
  filter: none !important;
}

.flavors-page .product-card:hover .product-bottle {
  transform: none !important;
}

.flavors-page .product-copy {
  padding-top: clamp(26px, 3vw, 38px) !important;
}

.flavors-page .product-title-row h3,
.flavors-page .product-title-row strong,
.flavors-page .product-copy p {
  font-family: "Playfair Display", Georgia, serif !important;
}

html[lang="th"] .flavors-page .product-title-row h3,
html[lang="th"] .flavors-page .product-title-row strong,
html[lang="th"] .flavors-page .product-copy p {
  font-family: "Playfair Display", Georgia, serif !important;
}

.flavors-page .product-title-row h3 {
  font-size: clamp(52px, 4vw, 70px) !important;
  letter-spacing: -0.02em !important;
}

.flavors-page .product-title-row strong {
  font-size: clamp(30px, 2.35vw, 40px) !important;
  letter-spacing: -0.02em !important;
}

.flavors-page .product-copy p {
  margin-top: 12px !important;
  font-size: clamp(20px, 1.7vw, 28px) !important;
  line-height: 1.16 !important;
}

.flavors-page .product-card-loading .product-bottle-muted {
  opacity: 0.58 !important;
  filter: grayscale(1) saturate(0) contrast(0.84) brightness(1.08) !important;
}

.flavors-page .product-card-loading .product-art::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(32%, 112px);
  height: min(22%, 118px);
  transform: translate(-50%, -12%);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.flavors-page .loading-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -12%);
  padding: 9px 13px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(58, 58, 58, 0.84);
  box-shadow: 0 6px 18px rgba(35, 35, 35, 0.18);
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

@media (max-width: 1100px) {
  .flavors-page .product-grid {
    max-width: 860px !important;
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .flavors-page .product-grid {
    max-width: 420px !important;
    grid-template-columns: 1fr !important;
  }

  .flavors-page .product-card {
    aspect-ratio: auto !important;
    min-height: 690px !important;
  }

  .flavors-page .product-bottle {
    max-height: 460px !important;
  }
}

/* Product cards: desktop uses the reference-card scale instead of squeezing into 3 columns */
.flavors-page .product-grid {
  max-width: 1320px !important;
  grid-template-columns: repeat(2, minmax(420px, 621px)) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: clamp(50px, 5vw, 78px) clamp(54px, 5vw, 78px) !important;
}

.flavors-page .product-card {
  width: 100% !important;
  max-width: 621px !important;
  aspect-ratio: 621 / 859 !important;
}

.flavors-page .product-bottle {
  width: auto !important;
  max-width: 84% !important;
  height: clamp(480px, 42vw, 585px) !important;
  max-height: 100% !important;
}

@media (max-width: 980px) {
  .flavors-page .product-grid {
    max-width: 620px !important;
    grid-template-columns: minmax(320px, 621px) !important;
  }
}

@media (max-width: 620px) {
  .flavors-page .product-card {
    max-width: 420px !important;
    aspect-ratio: auto !important;
    min-height: 690px !important;
  }

  .flavors-page .product-bottle {
    height: clamp(390px, 98vw, 470px) !important;
  }
}

/* Thai body copy font + smaller transparent 3-column product cards */
html[lang="th"] body :where(p, span, a, strong, small, li, label, input, textarea, button):not(:is(h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, .product-title-row *, .language-switch *, .brand-mark *)) {
  font-family: "Trirong", Tahoma, sans-serif !important;
}

html[lang="th"] body :where(p, span, a, strong, small, li, label, input, textarea, button):not(:is(h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, .product-title-row *, .language-switch *, .brand-mark *)) {
  font-weight: 600;
}

.flavors-page .product-grid {
  max-width: 1320px !important;
  grid-template-columns: repeat(3, minmax(250px, 435px)) !important;
  justify-content: center !important;
  gap: clamp(30px, 3.4vw, 50px) clamp(28px, 3vw, 44px) !important;
}

.flavors-page .product-card {
  max-width: 435px !important;
  aspect-ratio: 621 / 859 !important;
  padding: clamp(30px, 3vw, 49px) clamp(24px, 2.5vw, 38px) clamp(24px, 2.4vw, 34px) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.flavors-page .product-bottle {
  height: clamp(320px, 29vw, 410px) !important;
  max-width: 84% !important;
}

.flavors-page .product-copy {
  padding-top: clamp(18px, 2vw, 27px) !important;
}

.flavors-page .product-title-row h3 {
  font-size: clamp(36px, 2.8vw, 49px) !important;
}

.flavors-page .product-title-row strong {
  font-size: clamp(21px, 1.65vw, 28px) !important;
}

.flavors-page .product-copy p {
  margin-top: 8px !important;
  font-size: clamp(14px, 1.2vw, 20px) !important;
  line-height: 1.22 !important;
}

html[lang="th"] .flavors-page .product-copy p {
  font-family: "Trirong", Tahoma, sans-serif !important;
  font-weight: 600 !important;
}

.flavors-page .loading-label {
  padding: 6px 10px 7px !important;
  font-size: clamp(12px, 0.9vw, 15px) !important;
}

@media (max-width: 1100px) {
  .flavors-page .product-grid {
    max-width: 900px !important;
    grid-template-columns: repeat(2, minmax(250px, 435px)) !important;
  }
}

@media (max-width: 620px) {
  .flavors-page .product-grid {
    max-width: 390px !important;
    grid-template-columns: 1fr !important;
  }

  .flavors-page .product-card {
    max-width: 390px !important;
    min-height: 0 !important;
  }

  .flavors-page .product-bottle {
    height: clamp(300px, 82vw, 380px) !important;
  }
}

/* Product names use Chonburi with the lightest available rendering */
.flavors-page .product-title-row h3 {
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

html[lang="th"] .flavors-page .product-card .product-copy .product-title-row > h3 {
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  font-synthesis: none !important;
}

/* Product card title and loading-card update */
.flavors-page .product-title-row h3,
html[lang="th"] .flavors-page .product-card .product-copy .product-title-row > h3 {
  font-size: clamp(29px, 2.24vw, 39px) !important;
}

.flavors-page .product-card-loading .product-art::after,
.flavors-page .product-card-loading .loading-label {
  display: none !important;
}

.flavors-page .product-card-loading .product-bottle-coming-soon {
  opacity: 1 !important;
  mix-blend-mode: multiply !important;
  filter: none !important;
}

/* Product ordering: strawberry and lychee first */
.flavors-page .product-card-strawberry {
  order: 1;
}

.flavors-page .product-card-lychee {
  order: 2;
}

.flavors-page .product-card-apple {
  order: 3;
}

.flavors-page .product-card-blue-hawaii {
  order: 4;
}

.flavors-page .product-card-coconut {
  order: 5;
}

.flavors-page .product-card-loading {
  order: 20;
}

/* Product links and recipe detail */
.flavors-page .product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.flavors-page .product-card-link .product-card {
  width: 100%;
}

.flavors-page .product-title-row h3,
.flavors-page .product-title-row strong,
.flavors-page .product-copy p {
  color: #17275f !important;
}

.flavors-page .product-card-link:focus-visible {
  outline: 3px solid var(--accent, #315c38);
  outline-offset: 6px;
  border-radius: 8px;
}

.recipe-page {
  --recipe-accent: #cf534d;
  min-height: 100vh;
}

.recipe-hero {
  width: min(1500px, calc(100% - 72px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.recipe-back {
  color: var(--forest);
  text-decoration: none;
  font-size: 15px;
}

.recipe-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 36px 0 26px;
  border-bottom: 1px solid rgba(48, 88, 54, 0.24);
  padding-bottom: 22px;
}

.recipe-heading > p,
.recipe-formula > p:first-child {
  color: var(--recipe-accent);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.recipe-heading h1 {
  margin: 0;
  color: var(--forest);
  font-family: "Chonburi", Tahoma, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(420px, 1.3fr);
  gap: clamp(20px, 2.5vw, 38px);
  align-items: stretch;
}

.recipe-bottle-panel,
.recipe-drink-panel {
  min-height: clamp(390px, 40vw, 540px);
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.recipe-bottle-panel {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--recipe-accent) 10%, #f4eddd);
}

.recipe-bottle-panel img {
  width: 72%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(45, 52, 36, 0.14));
}

.recipe-drink-panel {
  position: relative;
  background: #fff;
}

.recipe-drink-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-formula {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 1 / -1;
  padding: 18px 0 10px;
}

.recipe-formula h2 {
  margin: 10px 0 24px;
  color: var(--forest);
  font-family: "Chonburi", Tahoma, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.18;
}

.recipe-ingredients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(48, 88, 54, 0.28);
}

.recipe-ingredients > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(48, 88, 54, 0.28);
  border-right: 1px solid rgba(48, 88, 54, 0.28);
  color: var(--forest);
}

.recipe-ingredients > div:first-child { padding-left: 0; }
.recipe-ingredients > div:last-child { padding-right: 0; border-right: 0; }

.recipe-ingredients span { font-size: 18px; }
.recipe-ingredients strong { font-size: 24px; font-weight: 600; }
.recipe-note { margin-top: 28px; color: var(--forest); font-size: 15px; line-height: 1.7; }

html[lang="th"] .recipe-ingredients span,
html[lang="th"] .recipe-ingredients strong,
html[lang="th"] .recipe-note {
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-weight: 400 !important;
}

.recipe-page .site-header nav a b {
  font: inherit;
}

html[lang="en"] .recipe-heading h1,
html[lang="en"] .recipe-formula h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

@media (max-width: 980px) {
  .recipe-layout { grid-template-columns: 0.7fr 1.3fr; }
  .recipe-formula { padding-top: 6px; }
  .recipe-bottle-panel, .recipe-drink-panel { min-height: clamp(340px, 55vw, 460px); }
  .recipe-heading h1 { font-size: clamp(32px, 5.7vw, 50px); }
  .recipe-ingredients > div { padding: 15px; }
  .recipe-ingredients > div:first-child { padding-left: 0; }
  .recipe-ingredients > div:last-child { border-right: 0; }
}

@media (max-width: 620px) {
  .recipe-hero { width: min(100% - 32px, 460px); padding-top: 26px; }
  .recipe-heading { display: block; margin-top: 24px; }
  .recipe-heading h1 { margin-top: 10px; font-size: clamp(30px, 10vw, 40px); line-height: 1.15; }
  .recipe-layout { grid-template-columns: 1fr; gap: 18px; }
  .recipe-bottle-panel { min-height: 290px; }
  .recipe-drink-panel { min-height: clamp(330px, 108vw, 460px); }
  .recipe-bottle-panel img { width: 58%; height: 82%; }
  .recipe-formula { grid-column: auto; }
  .recipe-formula h2 { font-size: clamp(28px, 9vw, 38px); margin-bottom: 20px; }
  .recipe-ingredients { grid-template-columns: 1fr; }
  .recipe-ingredients > div { display: flex; justify-content: space-between; border-right: 0; padding-left: 0; padding-right: 0; }
}

/* Stable header navigation: prevent font swaps/layout shifts between pages */
.mikawa-journal .site-header nav,
.inner-page .site-header nav {
  grid-template-columns: repeat(3, 150px) !important;
  width: 634px !important;
  min-width: 634px !important;
  max-width: 634px !important;
  contain: layout style !important;
}

.mikawa-journal .site-header nav a,
.inner-page .site-header nav a {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  min-height: 55px !important;
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  font-synthesis: none !important;
  text-rendering: geometricPrecision;
}

.mikawa-journal .site-header nav a span,
.inner-page .site-header nav a span {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  min-height: 16px !important;
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  font-synthesis: none !important;
}

html[lang="en"] .mikawa-journal .site-header nav a,
html[lang="en"] .inner-page .site-header nav a,
html[lang="en"] .mikawa-journal .site-header nav a span,
html[lang="en"] .inner-page .site-header nav a span {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
}

.mikawa-journal .site-header nav a[aria-current="page"],
.inner-page .site-header nav a[aria-current="page"],
.mikawa-journal .site-header nav a[aria-current="page"] span,
.inner-page .site-header nav a[aria-current="page"] span {
  font-size: inherit;
  font-weight: inherit !important;
}

@media (max-width: 760px) {
  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    grid-template-columns: repeat(3, 72px) !important;
    width: 252px !important;
    min-width: 252px !important;
    max-width: 252px !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    min-height: 24px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 560px) {
  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    grid-template-columns: repeat(3, 48px) !important;
    width: 164px !important;
    min-width: 164px !important;
    max-width: 164px !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    font-size: 13px !important;
  }
}

/* Mobile mascot framing: keep Mikawa-kun and Peach fully visible */
@media (max-width: 760px) {
  .story-page .story-fullscreen,
  .contact-page .contact {
    overflow: hidden !important;
  }

  .story-page .story-full-copy {
    padding-top: 22px !important;
    padding-bottom: 198px !important;
  }

  .story-page .story-full-copy h1 {
    font-size: clamp(38px, 10.9vw, 49px) !important;
    line-height: 1.03 !important;
  }

  .story-page .story-full-lead {
    margin-top: 16px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .story-page .hero-actions {
    margin-top: 18px !important;
  }

  .story-page .story-full-character {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    left: calc(100vw - 206px) !important;
    bottom: 10px !important;
    width: min(46vw, 190px) !important;
    max-width: calc(100vw - 28px) !important;
    max-height: 198px !important;
    height: auto !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    opacity: 1 !important;
  }

  .contact-page .contact {
    padding-bottom: 180px !important;
  }

  .contact-page .contact-mascot {
    position: fixed !important;
    right: auto !important;
    left: calc(100vw - 202px) !important;
    bottom: 8px !important;
    width: min(45vw, 186px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: 176px !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
}

@media (max-width: 430px) {
  .story-page .story-full-character {
    right: auto !important;
    left: calc(100vw - 206px) !important;
    width: 178px !important;
    max-height: 188px !important;
  }

  .contact-page .contact-mascot {
    right: auto !important;
    left: calc(100vw - 202px) !important;
    width: 174px !important;
    max-height: 168px !important;
  }
}

/* Tablet mascot framing: keep the complete pair inside the story panel. */
@media (min-width: 761px) and (max-width: 851px) {
  .story-page .story-full-character {
    top: auto !important;
    right: clamp(12px, 3vw, 28px) !important;
    bottom: 16px !important;
    left: auto !important;
    width: min(34vw, 300px) !important;
    max-height: calc(100% - 24px) !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    opacity: 1 !important;
  }
}

/* iPad header: keep navigation and the language switch inside the viewport. */
@media (min-width: 761px) and (max-width: 1100px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    width: calc(100% - 40px) !important;
    height: 104px !important;
    grid-template-columns: 104px minmax(0, 1fr) 86px !important;
    gap: clamp(12px, 2vw, 20px) !important;
  }

  .flavors-page .site-header {
    height: 100px !important;
  }

  .mikawa-journal .site-header .brand-mark,
  .inner-page .site-header .brand-mark,
  .mikawa-journal .site-header .brand-mark img,
  .inner-page .site-header .brand-mark img {
    width: 104px !important;
    max-width: 104px !important;
  }

  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-template-columns: repeat(3, minmax(72px, 1fr)) !important;
    gap: clamp(8px, 1.6vw, 16px) !important;
    contain: none !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    align-items: center !important;
    font-size: clamp(16px, 2.4vw, 22px) !important;
    text-align: center !important;
  }

  .mikawa-journal .site-header nav a span,
  .inner-page .site-header nav a span {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    font-size: 11px !important;
    text-align: center !important;
  }

  .mikawa-journal .header-actions,
  .inner-page .header-actions {
    width: 86px !important;
    min-width: 0 !important;
  }

  .mikawa-journal .language-switch,
  .inner-page .language-switch {
    margin-top: 22px !important;
    padding: 4px !important;
    grid-auto-columns: 34px !important;
    font-size: 12px !important;
  }

  .mikawa-journal .language-switch a,
  .mikawa-journal .language-switch [aria-current="true"],
  .inner-page .language-switch a,
  .inner-page .language-switch [aria-current="true"] {
    min-width: 34px !important;
    height: 28px !important;
  }

  .flavors-page .product-grid {
    margin-top: 32px !important;
  }
}

/* Mobile product page: compact heading, centered navigation, minimal card lead-in. */
@media (max-width: 560px) {
  html[lang="th"] .flavors-page .flavor-heading h1 {
    font-size: 46px !important;
    line-height: 1.16 !important;
  }

  .mikawa-journal .site-header,
  .inner-page .site-header {
    position: relative !important;
  }

  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    position: absolute !important;
    top: 26px !important;
    left: 50% !important;
    width: clamp(150px, 40vw, 180px) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-top: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    transform: translateX(-50%) !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: clamp(11px, 3.2vw, 13px) !important;
    text-align: center !important;
  }

  .flavors-page .product-grid {
    margin-top: 8px !important;
  }

  .flavors-page .product-card {
    aspect-ratio: auto !important;
    padding-top: 4px !important;
    grid-template-rows: auto auto !important;
  }

  .flavors-page .product-art {
    align-items: flex-start !important;
  }
}

@media (max-width: 380px) {
  .mikawa-journal .site-header .brand-mark,
  .inner-page .site-header .brand-mark,
  .mikawa-journal .site-header .brand-mark img,
  .inner-page .site-header .brand-mark img {
    width: 60px !important;
    max-width: 60px !important;
  }

  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    width: 130px !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    font-size: 10.5px !important;
  }

  .mikawa-journal .language-switch,
  .inner-page .language-switch {
    padding: 3px !important;
    grid-auto-columns: 28px !important;
    font-size: 10px !important;
  }

  .mikawa-journal .language-switch a,
  .mikawa-journal .language-switch [aria-current="true"],
  .inner-page .language-switch a,
  .inner-page .language-switch [aria-current="true"] {
    min-width: 28px !important;
    height: 25px !important;
  }
}

@media (max-width: 340px) {
  .mikawa-journal .site-header .brand-mark,
  .inner-page .site-header .brand-mark,
  .mikawa-journal .site-header .brand-mark img,
  .inner-page .site-header .brand-mark img {
    width: 52px !important;
    max-width: 52px !important;
  }

  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    width: 118px !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    font-size: 9.5px !important;
  }

  .mikawa-journal .language-switch,
  .inner-page .language-switch {
    padding: 2px !important;
    grid-auto-columns: 26px !important;
    font-size: 9px !important;
  }

  .mikawa-journal .language-switch a,
  .mikawa-journal .language-switch [aria-current="true"],
  .inner-page .language-switch a,
  .inner-page .language-switch [aria-current="true"] {
    min-width: 26px !important;
    height: 23px !important;
  }
}

/* Compact recipe composition: keep the complete imagery and recipe visible. */
.recipe-page .recipe-hero {
  width: min(1160px, calc(100% - 48px));
  padding-top: 20px;
  padding-bottom: 48px;
}

.recipe-page .recipe-heading {
  margin: 16px 0 18px;
  padding-bottom: 14px;
}

.recipe-page .recipe-heading h1 {
  font-size: clamp(30px, 3vw, 42px);
  white-space: nowrap;
}

.recipe-page .recipe-layout {
  grid-template-columns: minmax(180px, 0.7fr) minmax(360px, 1.3fr);
  gap: clamp(16px, 2vw, 28px);
}

.recipe-page .recipe-bottle-panel,
.recipe-page .recipe-drink-panel {
  min-height: 0;
  height: clamp(320px, 38vh, 375px);
}

.recipe-page .recipe-bottle-panel img {
  width: 46%;
  height: 88%;
}

.recipe-page .recipe-drink-panel img {
  object-fit: contain;
}

.recipe-page .recipe-formula {
  padding-top: 8px;
}

.recipe-page .recipe-formula h2 {
  margin: 6px 0 16px;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.12;
  white-space: nowrap;
}

.recipe-page .recipe-ingredients > div {
  padding-top: 12px;
  padding-bottom: 11px;
}

.recipe-page .recipe-ingredients span,
.recipe-page .recipe-ingredients strong {
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
}
.recipe-page .recipe-note { margin-top: 16px; font-size: 13px; }

@media (min-width: 621px) and (max-width: 980px) {
  .recipe-page .recipe-hero { width: min(820px, calc(100% - 40px)); }
  .recipe-page .recipe-bottle-panel,
  .recipe-page .recipe-drink-panel { height: clamp(290px, 40vh, 330px); }
  .recipe-page .recipe-heading h1 { font-size: clamp(28px, 4.6vw, 38px); }
}

@media (max-width: 620px) {
  .recipe-page .recipe-hero { width: min(100% - 28px, 430px); padding-top: 16px; }
  .recipe-page .recipe-heading h1 { font-size: clamp(26px, 8.5vw, 34px); white-space: normal; }
  .recipe-page .recipe-layout { grid-template-columns: 1fr; gap: 12px; }
  .recipe-page .recipe-bottle-panel,
  .recipe-page .recipe-drink-panel { height: min(78vw, 300px); min-height: 0; }
  .recipe-page .recipe-bottle-panel img { width: 38%; height: 88%; }
  .recipe-page .recipe-formula h2 { font-size: clamp(21px, 6.8vw, 27px); }
}

/* Final recipe layout: one square menu image, then three ingredients and method. */
.recipe-page .recipe-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.recipe-page .recipe-drink-panel {
  width: min(100%, 520px);
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  justify-self: center;
  background: transparent;
}

.recipe-page .recipe-drink-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.recipe-page .recipe-drink-panel img.recipe-drink-fallback {
  mix-blend-mode: multiply;
}

.recipe-page .recipe-formula {
  width: min(100%, 900px);
  grid-column: 1;
  margin-inline: auto;
}

.recipe-page .recipe-ingredients {
  grid-template-columns: 1fr;
  width: 100%;
}

.recipe-page .recipe-ingredients > div,
.recipe-page .recipe-ingredients > div:first-child,
.recipe-page .recipe-ingredients > div:last-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0 12px;
  border-right: 0;
}

.recipe-page .recipe-note {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
}

@media (max-width: 620px) {
  .recipe-page .recipe-drink-panel {
    width: min(100%, 360px);
    height: auto;
  }

  .recipe-page .recipe-ingredients {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .recipe-page .recipe-ingredients > div {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 11px 0;
    border-right: 0;
  }

  .recipe-page .recipe-ingredients > div:first-child { padding-left: 0; }
  .recipe-page .recipe-ingredients > div:last-child { padding-right: 0; border-right: 0; }
  .recipe-page .recipe-ingredients span,
  .recipe-page .recipe-ingredients strong { font-size: 14px; }
  .recipe-page .recipe-note { font-size: 14px; line-height: 1.7; }
}

@media (max-width: 620px) {
  html[lang="en"] .recipe-page .recipe-formula h2 {
    font-size: clamp(16px, 4.8vw, 20px);
  }
}

/* Narrow story page: readable Thai type and a half-screen mascot pair. */
@media (max-width: 560px) {
  html[lang="th"] .story-page .story-full-copy h1 {
    font-size: clamp(38px, 10vw, 46px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
  }

  .story-page .story-full-copy {
    padding-top: 12px !important;
  }

  .story-page .story-full-lead {
    margin-top: 10px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .story-page .hero-actions {
    width: calc(100vw - clamp(178px, 50vw, 320px) - 44px) !important;
    max-width: 190px !important;
    margin-top: 14px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .story-page .button-primary {
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px 8px !important;
    font-size: 12px !important;
  }

  .story-page .button-text {
    align-self: flex-start !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .story-page .story-full-character {
    right: 12px !important;
    left: auto !important;
    width: clamp(178px, 50vw, 320px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
}

/* iPad portrait: let the mascot pair rise to the middle of the screen. */
@media (min-width: 561px) and (max-width: 850px) and (orientation: portrait) {
  html[lang="th"] .story-page .story-full-copy h1 {
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
  }

  .story-page .story-full-character {
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    bottom: 16px !important;
    left: auto !important;
    width: min(50vw, 420px) !important;
    max-width: calc(100% - 12px) !important;
    max-height: none !important;
    height: auto !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    opacity: 1 !important;
  }

  .contact-page .contact-mascot {
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    bottom: 16px !important;
    left: auto !important;
    width: min(55vw, 430px) !important;
    max-width: calc(100% - 12px) !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
}

/* iPhone portrait: keep both calls to action in one left-to-right row. */
@media (max-width: 560px) and (max-aspect-ratio: 2 / 3) {
  .story-page .hero-actions {
    width: 100% !important;
    max-width: none !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .story-page .button-primary {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 1 48% !important;
    padding: 12px 6px !important;
  }

  .story-page .button-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-self: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}

/* iPhone landscape: compact the complete story into one viewport. */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
  html,
  body {
    overflow: hidden !important;
  }

  .story-page {
    height: calc(100svh - 8px) !important;
    min-height: calc(100svh - 8px) !important;
    overflow: hidden !important;
  }

  .mikawa-journal .site-header,
  .inner-page .site-header {
    width: calc(100% - 24px) !important;
    height: 64px !important;
    margin-top: 0 !important;
    padding-top: 4px !important;
    grid-template-columns: 72px minmax(0, 1fr) 70px !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .mikawa-journal .site-header .brand-mark,
  .inner-page .site-header .brand-mark,
  .mikawa-journal .site-header .brand-mark img,
  .inner-page .site-header .brand-mark img {
    width: 64px !important;
    max-width: 64px !important;
  }

  .mikawa-journal .site-header nav,
  .inner-page .site-header nav {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-top: 12px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    transform: none !important;
    contain: none !important;
  }

  .mikawa-journal .site-header nav a,
  .inner-page .site-header nav a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .mikawa-journal .site-header nav a span,
  .inner-page .site-header nav a span {
    display: none !important;
  }

  .mikawa-journal .header-actions,
  .inner-page .header-actions {
    width: 70px !important;
  }

  .mikawa-journal .language-switch,
  .inner-page .language-switch {
    margin-top: 10px !important;
    padding: 3px !important;
    grid-auto-columns: 28px !important;
    font-size: 10px !important;
  }

  .mikawa-journal .language-switch a,
  .mikawa-journal .language-switch [aria-current="true"],
  .inner-page .language-switch a,
  .inner-page .language-switch [aria-current="true"] {
    min-width: 28px !important;
    height: 24px !important;
  }

  .story-page .story-fullscreen {
    width: calc(100% - 24px) !important;
    height: calc(100svh - 72px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .story-page .story-full-copy {
    width: 68% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 6px 0 4px !important;
  }

  html[lang="th"] .story-page .story-full-copy h1,
  .story-page .story-full-copy h1 {
    font-size: clamp(28px, 5vw, 36px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
  }

  .story-page .story-full-lead {
    max-width: 100% !important;
    margin-top: 4px !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
  }

  .story-page .hero-actions {
    width: 100% !important;
    max-width: 330px !important;
    margin-top: 6px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .story-page .button-primary {
    width: auto !important;
    min-width: 100px !important;
    padding: 7px 10px !important;
    font-size: 10px !important;
  }

  .story-page .button-text {
    align-self: center !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .story-page .story-full-character {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 6px !important;
    left: auto !important;
    width: min(27vw, 180px) !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    transform: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
  }
}

/* Keep the shared navigation in exactly the same geometry between pages.
   A stable header prevents the logo and menu from jumping during navigation. */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    height: 104px !important;
    min-height: 104px !important;
    overflow: visible !important;
  }

  .mikawa-journal .site-header > .brand-mark,
  .inner-page .site-header > .brand-mark,
  .mikawa-journal .site-header > .brand-mark img,
  .inner-page .site-header > .brand-mark img {
    width: 142px !important;
    height: auto !important;
    max-height: none !important;
  }

  .site-header nav a,
  .site-header nav a span,
  .site-header .nav-dropdown-toggle,
  .site-header .language-dropdown-toggle {
    transition: none !important;
  }
}

/* Contact navigation fade: keep the orchard visible while softening the
   detailed leaves behind the header text, matching the Story page mood. */
.contact-page .site-header::after {
  display: block !important;
  content: "" !important;
  top: -8px !important;
  height: clamp(150px, 13vw, 205px) !important;
  background: linear-gradient(
    to bottom,
    rgba(249, 243, 226, 0.9) 0%,
    rgba(249, 243, 226, 0.72) 42%,
    rgba(249, 243, 226, 0.32) 72%,
    rgba(249, 243, 226, 0) 100%
  ) !important;
}

/* Subtle cream-and-gold afterglow sampled from the orchard light. It lifts
   the navy headline from the foliage without creating a heavy outline. */
.contact-page .contact-heading > h1 {
  text-shadow:
    0 0 2px rgba(255, 250, 224, 0.92),
    0 0 8px rgba(246, 222, 164, 0.58),
    0 2px 12px rgba(214, 177, 98, 0.22) !important;
}

/* Thai product heading only: give tall marks enough leading at every
   responsive size without changing surrounding content or other languages. */
html[lang="th"] body .flavors-page .flavor-heading h1 {
  line-height: 1.4 !important;
}

/* Partner-with-us page */
body:has(> .collaborate-page) {
  margin-top: 0 !important;
  overflow-x: hidden;
}

body > .collaborate-page {
  border-top: 8px solid var(--navy) !important;
}

.collaborate-page {
  min-height: 100vh;
  overflow: visible !important;
  background:
    radial-gradient(circle at 14% 32%, rgba(255, 255, 255, 0.5), transparent 28%),
    var(--cream);
}

.collaborate-page .site-header::after {
  display: block !important;
  content: "" !important;
  top: -8px !important;
  height: clamp(145px, 13vw, 200px) !important;
  background: linear-gradient(to bottom, rgba(249, 243, 226, 0.96), rgba(249, 243, 226, 0.68) 55%, transparent) !important;
}

.collaborate-hero {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: clamp(460px, 55svh, 540px);
  aspect-ratio: auto;
  margin: 0 auto;
  padding: clamp(36px, 4.5vw, 62px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 39, 95, 0.12);
  border-radius: clamp(34px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(250, 245, 232, 0.98) 0%, rgba(250, 245, 232, 0.88) 44%, rgba(250, 245, 232, 0.22) 76%),
    url("brand/contact-orchard-path.webp") center / cover no-repeat;
  box-shadow: 0 26px 70px rgba(23, 39, 95, 0.08);
}

.collaborate-hero-copy {
  position: relative;
  z-index: 2;
  width: min(66%, 820px);
}

.collaborate-eyebrow,
.collaborate-section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.collaborate-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Trirong", Georgia, serif;
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

html[lang="th"] .collaborate-hero h1 {
  line-height: 1.36;
  letter-spacing: 0;
}

.collaborate-lead {
  max-width: 680px;
  margin: 18px 0 20px;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.75;
}

.collaborate-career-contact {
  width: max-content;
  max-width: 100%;
  margin-top: 28px;
  display: grid;
  gap: 7px;
}

.collaborate-career-contact > p {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.5;
}

.collaborate-career-contact > a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.35;
  text-decoration: none;
}

.collaborate-career-contact > a:hover,
.collaborate-career-contact > a:focus-visible {
  color: var(--red);
}

.collaborate-career-contact strong {
  overflow-wrap: anywhere;
}

.collaborate-career-contact-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1.5px solid #e8882f;
  border-radius: 3px;
  color: #e8882f;
}

.collaborate-career-contact-icon .ph-light {
  width: 17px;
  height: 17px;
}

.collaborate-hero-mascot {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 3vw, 52px);
  bottom: 0;
  width: clamp(250px, 26vw, 380px);
  max-height: 68%;
  object-fit: contain;
  object-position: right bottom;
}

.collaborate-button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 39, 95, 0.18);
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.collaborate-button:hover,
.collaborate-button:focus-visible {
  color: #fff;
  background: var(--red);
  transform: translateY(-2px);
}

.collaborate-section {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: clamp(78px, 9vw, 132px) 0 0;
}

.collaborate-section-header {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 60px);
  text-align: center;
}

.collaborate-section h2,
.collaborate-cta h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Trirong", Georgia, serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

.collaborate-section-header > p:last-child,
.collaborate-cta > p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.75;
}

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

.collaborate-card,
.collaborate-step {
  border: 1px solid rgba(23, 39, 95, 0.13);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 18px 46px rgba(23, 39, 95, 0.06);
}

.collaborate-card {
  min-height: 235px;
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: 30px;
}

.collaborate-card-number,
.collaborate-step-number {
  color: var(--red);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.collaborate-card h3,
.collaborate-step h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: clamp(21px, 1.75vw, 27px);
  line-height: 1.35;
}

.collaborate-card p,
.collaborate-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.collaborate-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.collaborate-step {
  padding: clamp(26px, 3vw, 42px);
  border-radius: 34px;
  text-align: center;
}

.collaborate-step-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(185, 76, 69, 0.1);
}

.collaborate-cta {
  width: min(calc(100% - 40px), 1100px);
  margin: clamp(80px, 10vw, 140px) auto 80px;
  padding: clamp(50px, 7vw, 88px);
  border: 1px solid rgba(23, 39, 95, 0.13);
  border-radius: clamp(34px, 5vw, 64px);
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.94), rgba(238, 222, 185, 0.68));
  text-align: center;
}

.collaborate-cta .collaborate-button {
  margin-top: 28px;
}

.collaborate-cta-heading-line {
  display: block;
}

@media (min-width: 701px) {
  html[lang="th"] .collaborate-cta-heading-line:last-child {
    white-space: nowrap;
  }
}

@media (min-width: 981px) and (max-width: 1440px) {
  .collaborate-hero {
    width: calc(100% - 32px);
    min-height: clamp(440px, 54svh, 520px);
    padding: clamp(32px, 4vw, 52px);
  }

  .collaborate-hero-copy { width: min(68%, 700px); min-width: 0; }
  .collaborate-hero h1 { font-size: clamp(44px, 4.5vw, 58px); }
  .collaborate-lead { margin: 16px 0 18px; font-size: clamp(15px, 1.5vw, 18px); }
  .collaborate-career-contact { max-width: 100%; min-width: 0; margin-top: 20px; }
  .collaborate-career-contact > a { max-width: 100%; min-width: 0; }
  .collaborate-career-contact strong { min-width: 0; overflow-wrap: anywhere; }
  .collaborate-hero-mascot { right: 14px; width: min(27vw, 330px); max-height: 64%; }
}

@media (max-width: 980px) {
  .collaborate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collaborate-hero { width: calc(100% - 32px); min-height: clamp(500px, 62svh, 600px); padding: clamp(32px, 5vw, 48px); }
  .collaborate-hero-copy { width: min(70%, 600px); min-width: 0; }
  .collaborate-hero h1 { font-size: clamp(38px, 5.5vw, 54px); }
  .collaborate-lead { max-width: 100%; font-size: clamp(15px, 2vw, 18px); overflow-wrap: anywhere; }
  .collaborate-career-contact { max-width: 100%; min-width: 0; }
  .collaborate-career-contact > a { max-width: 100%; min-width: 0; }
  .collaborate-career-contact strong { min-width: 0; overflow-wrap: anywhere; }
  .collaborate-hero-mascot { right: 12px; width: min(32vw, 300px); max-height: 58%; opacity: 1; }
}

@media (max-width: 700px) {
  .collaborate-hero {
    width: calc(100% - 24px);
    aspect-ratio: auto;
    min-height: 620px;
    margin-top: 4px;
    padding: 38px 24px 250px;
    align-items: flex-start;
    border-radius: 34px;
    background:
      linear-gradient(180deg, rgba(250, 245, 232, 0.98) 0%, rgba(250, 245, 232, 0.82) 55%, rgba(250, 245, 232, 0.24) 100%),
      url("brand/contact-orchard-path.webp") center / cover no-repeat;
  }

  .collaborate-hero-copy { width: 100%; }
  .collaborate-hero h1 { font-size: clamp(32px, 9vw, 46px); }
  .collaborate-career-contact { width: 100%; min-width: 0; margin-top: 22px; }
  .collaborate-career-contact > p { max-width: 290px; }
  .collaborate-career-contact > a { width: 100%; min-width: 0; font-size: clamp(14px, 4.4vw, 17px); }
  .collaborate-career-contact strong { min-width: 0; overflow-wrap: anywhere; }
  .collaborate-hero-mascot {
    right: 8px;
    bottom: 32px;
    width: min(68vw, 290px);
    max-width: 290px;
    max-height: min(35svh, 276px);
    opacity: 1;
  }
  .collaborate-grid,
  .collaborate-steps { grid-template-columns: 1fr; }
  .collaborate-card { min-height: 0; }
  .collaborate-section,
  .collaborate-cta { width: calc(100% - 24px); }
  .collaborate-cta { padding: 44px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .collaborate-button { transition: none; }
}


/* Mobile language dropdown: anchor the panel directly beneath the right-aligned button. */
@media (max-width: 760px) {
  .mikawa-journal .site-header .header-actions,
  .inner-page .site-header .header-actions {
    position: relative !important;
    width: var(--language-dropdown-width) !important;
    min-width: var(--language-dropdown-width) !important;
    max-width: var(--language-dropdown-width) !important;
    justify-self: end !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .site-header .language-dropdown-toggle {
    width: var(--language-dropdown-width) !important;
    max-width: var(--language-dropdown-width) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .site-header .language-switch.language-dropdown-panel,
  .site-header.language-dropdown-open .language-switch.language-dropdown-panel {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    transform: none !important;
    transform-origin: top left !important;
  }
}

/* Japanese localization: preserve the established scale with Japanese type. */
html[lang="ja"] body {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Yu Gothic", Meiryo, serif;
}

html[lang="ja"] body :where(p, span, a, strong, small, li, label, input, textarea, button) {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Yu Gothic", Meiryo, serif;
}

html[lang="ja"] .mikawa-journal .site-header nav a,
html[lang="ja"] .inner-page .site-header nav a,
html[lang="ja"] .mikawa-journal .site-header nav a span,
html[lang="ja"] .inner-page .site-header nav a span {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Yu Gothic", Meiryo, serif !important;
  font-weight: 700 !important;
}

html[lang="ja"] .mikawa-journal .site-header nav a,
html[lang="ja"] .inner-page .site-header nav a {
  font-size: 22px !important;
}

html[lang="ja"] .mikawa-journal .site-header nav a span,
html[lang="ja"] .inner-page .site-header nav a span {
  font-size: 11px !important;
}

html[lang="ja"] :is(.story-full-copy h1, .flavor-heading h1, .contact-heading h1, .product-title-row h3, .recipe-heading h1, .recipe-formula h2) {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Yu Gothic", Meiryo, serif !important;
  font-weight: 700 !important;
}

html[lang="ja"] .story-full-copy h1 {
  font-size: clamp(42px, 5vw, 70px) !important;
  line-height: 1.18 !important;
}

html[lang="ja"] .story-full-lead {
  font-size: clamp(14px, 1.2vw, 18px) !important;
  line-height: 1.85 !important;
}

html[lang="ja"] .flavors-page .flavor-heading h1 {
  font-size: clamp(48px, 5.3vw, 76px) !important;
  line-height: 1.2 !important;
}

html[lang="ja"] .flavors-page .product-title-row h3 {
  font-size: clamp(27px, 2.05vw, 36px) !important;
}

html[lang="ja"] .flavors-page .product-copy p {
  font-size: clamp(14px, 1.05vw, 18px) !important;
  white-space: nowrap;
}

html[lang="ja"] .contact-heading h1 {
  font-size: clamp(42px, 4.3vw, 62px) !important;
  line-height: 1.22 !important;
  white-space: nowrap !important;
}

html[lang="ja"] .recipe-page .recipe-heading h1 {
  font-size: clamp(28px, 3vw, 42px) !important;
}

/* Center product-card artwork and copy; keep flavour and volume together. */
.flavors-page .product-art {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.flavors-page .product-bottle {
  margin-inline: auto !important;
  object-position: center !important;
}

.flavors-page .product-copy {
  text-align: center !important;
}

.flavors-page .product-copy > .product-title-row {
  grid-template-columns: auto auto !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: baseline !important;
  column-gap: clamp(12px, 1.5vw, 22px) !important;
  text-align: center !important;
}

.flavors-page .product-title-row h3,
.flavors-page .product-title-row strong {
  width: auto !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.flavors-page .product-copy p {
  text-align: center !important;
}

/* Keep product cards visually stable while tapping through to a recipe. */
.flavors-page .product-card-link,
.flavors-page .product-card-link:active,
.flavors-page .product-card-link:focus {
  background: transparent !important;
  -webkit-tap-highlight-color: transparent;
}

.flavors-page .product-card-link:not(:focus-visible) {
  outline: none !important;
}

.flavors-page .product-card-link .product-card,
.flavors-page .product-card-link .product-art,
.flavors-page .product-card-link .product-bottle {
  animation: none !important;
  transition: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flavors-page .product-card-link:active .product-card,
.flavors-page .product-card-link:active .product-bottle {
  opacity: 1 !important;
  background-color: transparent !important;
  transform: none !important;
}

/* Never paint the recipe placeholder before the requested flavour is ready. */
#recipe-drink {
  opacity: 0 !important;
  transition: none !important;
}

#recipe-drink[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

#recipe-drink.is-ready {
  opacity: 1 !important;
  filter: saturate(0.78) contrast(0.94) brightness(1.03) !important;
}

/* Keep contact details typographically identical in every language. */
.contact-page .contact-links strong,
html[lang="th"] .contact-page .contact-links strong,
html[lang="en"] .contact-page .contact-links strong,
html[lang="ja"] .contact-page .contact-links strong {
  font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  font-synthesis: none !important;
}

/* Compact dropdown navigation shared by every language and page. */
.site-header {
  --main-dropdown-width: 240px;
  --main-dropdown-title-size: 26px;
  --main-dropdown-button-height: 50px;
  --main-dropdown-button-top: 27px;
  --language-dropdown-width: 74px;
  --language-dropdown-button-height: 42px;
  --language-dropdown-button-top: 27px;
}

.site-header .nav-dropdown-toggle {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  align-self: start !important;
  margin-top: var(--main-dropdown-button-top) !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  height: var(--main-dropdown-button-height) !important;
  padding: 0 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  color: var(--red) !important;
  background: rgba(250, 245, 232, 0.96) !important;
  border: 0 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 22px rgba(23, 39, 95, 0.08) !important;
  font: 400 var(--main-dropdown-title-size)/1 "Chonburi", Tahoma, sans-serif !important;
  white-space: nowrap !important;
  width: min(var(--main-dropdown-width), calc(100vw - 32px)) !important;
  inline-size: min(var(--main-dropdown-width), calc(100vw - 32px)) !important;
  min-width: 0 !important;
  transform: translateX(-50%) !important;
  cursor: pointer !important;
  transition: opacity 120ms ease !important;
}

.site-header .nav-dropdown-toggle span,
html[lang="th"] .site-header .nav-dropdown-toggle span {
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  font-synthesis: none !important;
}

.site-header .nav-dropdown-toggle i {
  display: none !important;
}

.site-header.nav-dropdown-open .nav-dropdown-toggle {
  border-radius: 20px 20px 0 0 !important;
  box-shadow: none !important;
}

.site-header .header-actions {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.site-header .language-dropdown-toggle {
  margin-top: var(--language-dropdown-button-top) !important;
  width: var(--language-dropdown-width) !important;
  min-width: 0 !important;
  height: var(--language-dropdown-button-height) !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  color: #17275f !important;
  background: rgba(250, 245, 232, 0.9) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(23, 39, 95, 0.1) !important;
  font: 800 14px/1 "Playfair Display", Georgia, serif !important;
  cursor: pointer !important;
}

.site-header.language-dropdown-open .language-dropdown-toggle {
  border-radius: 16px 16px 0 0 !important;
  box-shadow: none !important;
}

html[lang="ja"] .site-header .language-dropdown-toggle,
html[lang="ja"] .site-header .language-dropdown-toggle span {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  font-synthesis: none !important;
}

.site-header .language-dropdown-toggle,
.site-header .language-dropdown-toggle span,
.site-header .language-switch.language-dropdown-panel > a,
.site-header .language-switch.language-dropdown-panel > span:not(.language-divider),
html[lang="ja"] .site-header .language-switch.language-dropdown-panel > a,
html[lang="ja"] .site-header .language-switch.language-dropdown-panel > span:not(.language-divider) {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  font-synthesis: none !important;
}

.site-header .language-dropdown-toggle i {
  display: none !important;
}

.site-header.language-dropdown-open .language-dropdown-toggle i {
  display: none !important;
}

.mikawa-journal .site-header .language-switch.language-dropdown-panel,
.inner-page .site-header .language-switch.language-dropdown-panel {
  position: absolute !important;
  z-index: 90 !important;
  top: calc(var(--language-dropdown-button-top) + var(--language-dropdown-button-height) - 1px) !important;
  right: 50% !important;
  width: var(--language-dropdown-width) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  padding: 6px !important;
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-columns: 1fr !important;
  gap: 3px !important;
  background: rgba(250, 245, 232, 0.98) !important;
  border: 0 !important;
  border-radius: 0 0 15px 15px !important;
  box-shadow: 0 18px 40px rgba(23, 39, 95, 0.18) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  clip-path: inset(0 0 100% 0 round 0 0 15px 15px) !important;
  transform: translate(50%, 0) !important;
  transform-origin: top center !important;
  transition: opacity 180ms ease, clip-path 220ms ease, visibility 220ms ease !important;
}

.mikawa-journal .site-header.language-dropdown-open .language-switch.language-dropdown-panel,
.inner-page .site-header.language-dropdown-open .language-switch.language-dropdown-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  clip-path: inset(0 0 0 0 round 0 0 15px 15px) !important;
  transform: translate(50%, 0) !important;
}

.site-header .language-switch.language-dropdown-panel > [aria-current="true"] {
  display: none !important;
}

.site-header .language-switch.language-dropdown-panel > .language-current-option,
.site-header .language-switch.language-dropdown-panel > [hidden] {
  display: none !important;
}

.site-header .language-switch.language-dropdown-panel > a,
.site-header .language-switch.language-dropdown-panel > span:not(.language-divider) {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  color: #17275f !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #17275f !important;
}

.site-header .language-switch.language-dropdown-panel > a:hover,
.site-header .language-switch.language-dropdown-panel > a:focus-visible {
  color: #17275f !important;
  background: rgba(255, 255, 255, 0.72) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #17275f !important;
}

.site-header .language-switch.language-dropdown-panel > [aria-current="true"],
.site-header .language-switch.language-dropdown-panel > .language-current-option,
.site-header .language-switch.language-dropdown-panel > [hidden] {
  display: none !important;
}

.site-header .language-switch.language-dropdown-panel .language-divider {
  display: none !important;
}

.mikawa-journal .site-header > nav,
.inner-page .site-header > nav {
  position: absolute !important;
  z-index: 80 !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  top: calc(var(--main-dropdown-button-top) + var(--main-dropdown-button-height) - 1px) !important;
  left: 50% !important;
  right: auto !important;
  width: min(var(--main-dropdown-width), calc(100vw - 32px)) !important;
  inline-size: min(var(--main-dropdown-width), calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  justify-self: stretch !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  background: rgba(250, 245, 232, 0.97) !important;
  border: 0 !important;
  border-radius: 0 0 18px 18px !important;
  box-shadow: 0 18px 44px rgba(23, 39, 95, 0.18) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  clip-path: inset(0 0 100% 0 round 0 0 18px 18px) !important;
  transform: translate(-50%, 0) !important;
  transform-origin: top center !important;
  transition: opacity 180ms ease, clip-path 220ms ease, visibility 220ms ease !important;
}

.mikawa-journal .site-header.nav-dropdown-open > nav,
.inner-page .site-header.nav-dropdown-open > nav {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  clip-path: inset(0 0 0 0 round 0 0 18px 18px) !important;
  transform: translate(-50%, 0) !important;
}

.mikawa-journal .site-header > nav a[aria-current="page"],
.inner-page .site-header > nav a[aria-current="page"] {
  display: none !important;
}

.mikawa-journal .site-header > nav a,
.inner-page .site-header > nav a {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  min-height: 52px !important;
  padding: 10px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  border-radius: 12px !important;
  text-align: center !important;
  white-space: nowrap !important;
  justify-self: stretch !important;
}

.mikawa-journal .site-header > nav a,
.mikawa-journal .site-header > nav a b,
.inner-page .site-header > nav a,
.inner-page .site-header > nav a b {
  font-family: "Chonburi", Tahoma, sans-serif !important;
  font-size: var(--main-dropdown-title-size) !important;
  font-weight: 400 !important;
}

.mikawa-journal .site-header > nav a span,
.inner-page .site-header > nav a span {
  width: auto !important;
  text-align: center !important;
  font-family: "Trirong", Tahoma, sans-serif !important;
  font-size: 12px !important;
}

html[lang="ja"] .site-header .nav-dropdown-toggle,
html[lang="ja"] .site-header .nav-dropdown-toggle span,
html[lang="ja"] .mikawa-journal .site-header > nav a,
html[lang="ja"] .mikawa-journal .site-header > nav a b,
html[lang="ja"] .inner-page .site-header > nav a,
html[lang="ja"] .inner-page .site-header > nav a b {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-synthesis: none !important;
}

.mikawa-journal .site-header > nav a:hover,
.inner-page .site-header > nav a:hover,
.mikawa-journal .site-header > nav a:focus-visible,
.inner-page .site-header > nav a:focus-visible {
  background: rgba(23, 39, 95, 0.08) !important;
}

@media (max-width: 850px) {
  .site-header {
    --main-dropdown-width: 210px;
    --main-dropdown-title-size: 22px;
    --main-dropdown-button-height: 44px;
    --main-dropdown-button-top: 18px;
    --language-dropdown-width: 64px;
    --language-dropdown-button-height: 36px;
    --language-dropdown-button-top: 18px;
  }

  .site-header .nav-dropdown-toggle {
    margin-top: var(--main-dropdown-button-top) !important;
    max-width: min(100%, 290px) !important;
    padding: 10px 18px !important;
    font-size: var(--main-dropdown-title-size) !important;
  }

  .site-header .language-dropdown-toggle {
    margin-top: var(--language-dropdown-button-top) !important;
    min-width: 0 !important;
    height: var(--language-dropdown-button-height) !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  .mikawa-journal .site-header .language-switch.language-dropdown-panel,
  .inner-page .site-header .language-switch.language-dropdown-panel {
    top: calc(var(--language-dropdown-button-top) + var(--language-dropdown-button-height) - 1px) !important;
    min-width: 0 !important;
  }

}

html[lang="ja"] .recipe-page .recipe-formula h2 {
  font-size: clamp(23px, 2.2vw, 31px) !important;
}

html[lang="ja"] .recipe-page .recipe-ingredients span,
html[lang="ja"] .recipe-page .recipe-ingredients strong,
html[lang="ja"] .recipe-page .recipe-note {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Yu Gothic", Meiryo, serif !important;
  font-weight: 400 !important;
}

@media (max-width: 760px) {
  html[lang="ja"] .mikawa-journal .site-header nav a,
  html[lang="ja"] .inner-page .site-header nav a {
    font-size: 13px !important;
  }

  html[lang="ja"] .story-full-copy h1 {
    font-size: clamp(32px, 9vw, 42px) !important;
  }

  html[lang="ja"] .flavors-page .flavor-heading h1 {
    font-size: clamp(38px, 11vw, 50px) !important;
  }

  html[lang="ja"] .flavors-page .product-copy p {
    white-space: normal;
  }

  html[lang="ja"] .contact-heading h1 {
    font-size: clamp(27px, 7.4vw, 35px) !important;
    white-space: nowrap !important;
  }

  html[lang="ja"] .recipe-page .recipe-formula h2 {
    font-size: clamp(18px, 5.4vw, 24px) !important;
  }
}

/* Compact header controls for narrow mobile screens. */
@media (max-width: 560px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    width: calc(100% - 24px) !important;
    height: 92px !important;
    grid-template-columns: 86px minmax(0, 1fr) 52px !important;
    gap: 6px !important;
  }

  .mikawa-journal .site-header .brand-mark,
  .inner-page .site-header .brand-mark,
  .mikawa-journal .site-header .brand-mark img,
  .inner-page .site-header .brand-mark img {
    width: 86px !important;
    max-width: 86px !important;
  }

  .site-header {
    --main-dropdown-width: 150px;
    --main-dropdown-title-size: 18px;
    --main-dropdown-button-height: 40px;
    --main-dropdown-button-top: 14px;
    --language-dropdown-width: 52px;
    --language-dropdown-button-height: 34px;
    --language-dropdown-button-top: 17px;
  }

  .site-header .nav-dropdown-toggle {
    padding: 0 12px !important;
  }

  .site-header .language-dropdown-toggle {
    padding: 0 8px !important;
    font-size: 11px !important;
  }

  .mikawa-journal .site-header > nav a,
  .inner-page .site-header > nav a {
    min-height: 44px !important;
    padding: 7px 10px !important;
  }

  .mikawa-journal .site-header > nav a span,
  .inner-page .site-header > nav a span {
    font-size: 10px !important;
  }

  .site-header .language-switch.language-dropdown-panel > a,
  .site-header .language-switch.language-dropdown-panel > span:not(.language-divider) {
    height: 34px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
  }
}

/* Align the language button's bottom edge with the main menu button at every breakpoint. */
.site-header .language-dropdown-toggle {
  margin-top: calc(
    var(--main-dropdown-button-top) +
    var(--main-dropdown-button-height) -
    var(--language-dropdown-button-height)
  ) !important;
}

/* Story copy: move the headline block upward and scale it to 80%. */
.story-page .story-full-copy {
  padding-top: clamp(24px, 4vh, 60px) !important;
}

.story-page .story-full-copy h1 {
  font-size: clamp(58px, 4.48vw, 90px) !important;
}

.story-page .story-full-lead {
  font-size: clamp(14px, 0.88vw, 18px) !important;
}

@media (max-width: 850px) {
  .story-page .story-full-copy {
    padding-top: 20px !important;
  }

  .story-page .story-full-copy h1 {
    font-size: clamp(42px, 6.4vw, 56px) !important;
  }

  .story-page .story-full-lead {
    font-size: clamp(13px, 1.8vw, 17px) !important;
  }
}

@media (max-width: 560px) {
  .story-page .story-full-copy {
    padding-top: 4px !important;
  }

  .story-page .story-full-copy h1 {
    font-size: clamp(30px, 8vw, 37px) !important;
  }

  .story-page .story-full-lead {
    font-size: 10.5px !important;
  }
}

/* Language-aware wrapping for the Story paragraph. */
.story-page .story-full-lead {
  word-break: normal !important;
  overflow-wrap: normal !important;
  line-break: strict !important;
  text-wrap: pretty !important;
  hyphens: none !important;
}

html[lang="ja"] .story-page .story-full-lead {
  word-break: auto-phrase !important;
  line-break: strict !important;
}

/* Keep the Japanese product caption to the two intended lines on larger screens. */
@media (min-width: 851px) {
html[lang="ja"] .flavors-page .flavor-heading > p {
    width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
  }
}

/* Allow vertical swipe scrolling in phone landscape orientation. */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
  html,
  body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
  }

  .story-page {
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
  }

  .story-page .story-fullscreen {
    height: auto !important;
    min-height: calc(100svh - 72px) !important;
    overflow: visible !important;
  }

  .story-page .story-full-copy {
    height: auto !important;
    min-height: calc(100svh - 72px) !important;
  }
}

/* Mobile language control: flush right inside the safe header gutter. */
@media (max-width: 760px) {
  .mikawa-journal .site-header .header-actions,
  .inner-page .site-header .header-actions {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    justify-self: end !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .site-header .language-dropdown-toggle {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .site-header .language-switch.language-dropdown-panel {
    right: 0 !important;
    left: auto !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* Final language-control alignment: keep it on the right edge at every viewport size. */
.site-header .header-actions {
  min-width: 0 !important;
  max-width: 100% !important;
  justify-self: end !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;
}

.site-header .language-dropdown-toggle {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.site-header .language-switch.language-dropdown-panel {
  left: auto !important;
  right: 0 !important;
  max-width: calc(100vw - 24px) !important;
  transform: none !important;
  transform-origin: top right !important;
}

@media (min-width: 1101px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    width: calc(100% - 100px) !important;
    max-width: none !important;
  }

  .site-header .header-actions {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: auto !important;
  }
}

/* Final mobile dropdown alignment: keep it directly under the right-edge language button. */
@media (max-width: 760px) {
  .mikawa-journal .site-header .header-actions,
  .inner-page .site-header .header-actions {
    position: relative !important;
    width: var(--language-dropdown-width) !important;
    min-width: var(--language-dropdown-width) !important;
    max-width: var(--language-dropdown-width) !important;
    justify-self: end !important;
    justify-content: flex-end !important;
  }

  .site-header .language-dropdown-toggle {
    width: var(--language-dropdown-width) !important;
    max-width: var(--language-dropdown-width) !important;
  }

  .site-header .language-switch.language-dropdown-panel,
  .site-header.language-dropdown-open .language-switch.language-dropdown-panel {
    left: auto !important;
    right: 0 !important;
    width: var(--language-dropdown-width) !important;
    min-width: var(--language-dropdown-width) !important;
    max-width: calc(100vw - 24px) !important;
    transform: none !important;
    transform-origin: top right !important;
  }
}

/* Story page final overrides: display all three navigation links responsively. */
.site-header .nav-dropdown-toggle { display: none !important; }

.mikawa-journal .site-header > nav,
.inner-page .site-header > nav {
  position: static !important;
  z-index: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  inline-size: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: clamp(18px, 3vw, 56px) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  clip-path: none !important;
  transform: none !important;
}

.mikawa-journal .site-header > nav a[aria-current="page"],
.inner-page .site-header > nav a[aria-current="page"] { display: flex !important; }

.mikawa-journal .site-header > nav a,
.inner-page .site-header > nav a {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  border-radius: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html[lang="th"] .story-page .story-full-copy h1 {
  font-family: "Trirong", Tahoma, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
}

.story-page,
.story-page .story-fullscreen,
.story-page .story-full-copy { height: auto !important; overflow: visible !important; }

.story-page .story-full-copy { padding-bottom: 72px !important; }
.story-page .story-full-lead p { margin: 0 0 1em; }
.story-page .story-full-lead .story-full-quote { margin-top: 1.45em; }

@media (max-width: 850px) {
  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav { margin-top: 20px !important; gap: clamp(10px, 2.4vw, 20px) !important; }
  .mikawa-journal .site-header > nav a,
  .inner-page .site-header > nav a { font-size: clamp(12px, 2.1vw, 16px) !important; }
  .mikawa-journal .site-header > nav a span,
  .inner-page .site-header > nav a span { display: none !important; }
}

@media (max-width: 560px) {
  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav { margin-top: 18px !important; gap: clamp(7px, 2vw, 12px) !important; }
  .mikawa-journal .site-header > nav a,
  .inner-page .site-header > nav a { font-size: clamp(10px, 3vw, 13px) !important; }
  .story-page .story-full-lead { font-size: 13px !important; line-height: 1.8 !important; }
}

/* Final typography and navigation hover overrides. */
html[lang="th"] body,
html[lang="th"] body :where(*):not(img, svg, path, use) {
  font-family: "Trirong", Tahoma, sans-serif !important;
}

.mikawa-journal .site-header > nav a:hover,
.mikawa-journal .site-header > nav a:focus-visible,
.inner-page .site-header > nav a:hover,
.inner-page .site-header > nav a:focus-visible,
.mikawa-journal .site-header > nav a:hover span,
.mikawa-journal .site-header > nav a:focus-visible span,
.inner-page .site-header > nav a:hover span,
.inner-page .site-header > nav a:focus-visible span {
  color: #e8882f !important;
  background: transparent !important;
}

/* Thai headings use the same Trirong typeface as the body copy. */
html[lang="th"] :is(h1, h2, h3, h4, h5, h6),
html[lang="th"] .mikawa-journal .site-header > nav a,
html[lang="th"] .inner-page .site-header > nav a,
html[lang="th"] .mikawa-journal .site-header > nav a span,
html[lang="th"] .inner-page .site-header > nav a span {
  font-family: "Trirong", Tahoma, sans-serif !important;
}

/* Product-page headings have more specific legacy font rules, so override them directly. */
html[lang="th"] body .flavors-page .flavor-heading h1,
html[lang="th"] body .flavors-page .product-card .product-copy .product-title-row > h3,
html[lang="th"] body .flavors-page .recipe-heading h1,
html[lang="th"] body .flavors-page .recipe-formula h2 {
  font-family: "Trirong", Tahoma, sans-serif !important;
}

/* Give the two-line Thai contact headline room to breathe. */
html[lang="th"] body .contact-page .contact-heading h1 {
  line-height: 1.32 !important;
}

/* Tighten the three-line Thai story headline by roughly half of its leading. */
html[lang="th"] body .story-page .story-full-copy h1 {
  line-height: 1.06 !important;
}

/* Use embedded Sarabun for every Thai interface and content element. */
html[lang="th"] body .mikawa-journal.mikawa-journal.mikawa-journal :where(*) {
  font-family: "Sarabun", Tahoma, sans-serif !important;
}

/* Keep the Japanese story headline to two lines while letting it scale down gracefully. */
html[lang="ja"] body .story-page .story-full-copy h1 {
  font-size: clamp(34px, 5vw, 84px) !important;
  line-height: 1.08 !important;
  max-width: min(100%, 9.8em) !important;
}

/* Keep Thai product names and descriptions on the flavors page in Sarabun. */
html[lang="th"] body .flavors-page .product-title-row h3,
html[lang="th"] body .flavors-page .product-title-row strong,
html[lang="th"] body .flavors-page .product-copy p {
  font-family: "Sarabun", Tahoma, sans-serif !important;
}

/* Final override: every Thai product name in the Flavors grid uses embedded Sarabun. */
html[lang="th"] body .flavors-page .product-grid .product-card .product-copy .product-title-row > h3 {
  font-family: "Sarabun", Tahoma, sans-serif !important;
}

/* Thai navigation: embedded Sarabun in a clear bold weight. */
html[lang="th"] body .site-header > nav > a,
html[lang="th"] body .site-header > nav > a > span {
  font-family: "Sarabun", Tahoma, sans-serif !important;
  font-weight: 700 !important;
}

/* Preserve the requested two-line headline without overlapping Thai marks. */
html[lang="th"] body .story-page .story-full-copy > h1 {
  font-family: "Sarabun", Tahoma, sans-serif !important;
  line-height: 1.28 !important;
}

/* Thai highlighted navigation keeps the same bold Sarabun treatment. */
html[lang="th"] body .site-header > nav > a[aria-current="page"],
html[lang="th"] body .site-header > nav > a[aria-current="page"] > span,
html[lang="th"] body .site-header > nav > a:hover,
html[lang="th"] body .site-header > nav > a:hover > span,
html[lang="th"] body .site-header > nav > a:focus-visible,
html[lang="th"] body .site-header > nav > a:focus-visible > span {
  font-family: "Sarabun", Tahoma, sans-serif !important;
  font-weight: 700 !important;
}

/* Let the contact artwork begin directly below the navy top bar. */
body .contact-page {
  background-color: var(--cream) !important;
  background-image: url("brand/contact-orchard-path.webp") !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body .contact-page .contact {
  background: transparent !important;
}

/* Remove the body's top gap on contact pages; use the page border as the navy bar. */
body:has(> .contact-page) {
  margin-top: 0 !important;
}

body > .contact-page {
  border-top: 8px solid var(--navy) !important;
}

/* Story pages use their own navy border so the orchard background meets it directly. */
body:has(> .story-page) {
  margin-top: 0 !important;
}

body > .story-page {
  border-top: 8px solid var(--navy) !important;
}

/* Thai pages use Playfair Display for every language-switch label. */
html[lang="th"] body .site-header .language-dropdown-toggle,
html[lang="th"] body .site-header .language-dropdown-toggle > span,
html[lang="th"] body .site-header .language-switch,
html[lang="th"] body .site-header .language-switch > a,
html[lang="th"] body .site-header .language-switch > span:not(.language-divider) {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
}

/* Language-aware story wrapping; marked terms never split across lines. */
.story-page .story-full-lead p {
  overflow-wrap: normal !important;
  text-wrap: pretty;
}

.story-page .story-full-lead .keep-together {
  white-space: nowrap !important;
}

html[lang="th"] .story-page .story-full-lead p,
html[lang="ja"] .story-page .story-full-lead p {
  word-break: auto-phrase;
}

html[lang="ja"] .story-page .story-full-lead p {
  line-break: strict;
}

html[lang="en"] .story-page .story-full-lead p {
  hyphens: none;
  word-break: normal;
}

/* Final Thai language-switch override: win over the global Sarabun rule. */
html[lang="th"] body .mikawa-journal.mikawa-journal.mikawa-journal .site-header .language-dropdown-toggle,
html[lang="th"] body .mikawa-journal.mikawa-journal.mikawa-journal .site-header .language-dropdown-toggle > span,
html[lang="th"] body .mikawa-journal.mikawa-journal.mikawa-journal .site-header .language-switch.language-dropdown-panel > a,
html[lang="th"] body .mikawa-journal.mikawa-journal.mikawa-journal .site-header .language-switch.language-dropdown-panel > span:not(.language-divider),
html[lang="th"] body .mikawa-journal.mikawa-journal.mikawa-journal .site-header .language-switch > a,
html[lang="th"] body .mikawa-journal.mikawa-journal.mikawa-journal .site-header .language-switch > span:not(.language-divider) {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-synthesis: none !important;
}

/* Four centered navigation items scale down together on narrower screens. */
.mikawa-journal .site-header > nav,
.inner-page .site-header > nav {
  gap: clamp(10px, 2vw, 40px) !important;
}

/* Product submenu: rounded acrylic dropdown shared by all languages. */
.site-header .nav-product-group {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.site-header .nav-product-group > a {
  padding-inline: 18px !important;
  font-weight: 700 !important;
}

.site-header .nav-product-group > a > .product-menu-title {
  display: block;
  font-weight: 700 !important;
}

html[lang="th"] body .site-header .nav-product-group > a > .product-menu-title {
  font-family: "Sarabun", Tahoma, sans-serif !important;
  font-weight: 700 !important;
}

/* Keep the contact glyphs on their icon font after the global Thai font override. */
html[lang="th"] body .contact-page .contact-links .ph-light.contact-type-icon,
html[lang="th"] body .contact-page .contact-links .ph-light.contact-type-icon::before {
  font-family: "Phosphor-Light" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-synthesis: none !important;
}

.site-header .nav-product-group > a.has-current-submenu {
  color: #d66a16 !important;
}

.site-header .product-submenu-toggle {
  position: absolute;
  top: 12px;
  right: -7px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.site-header .product-submenu-toggle i {
  position: absolute;
  top: 8px;
  left: 9px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease, top 180ms ease;
}

.site-header .nav-product-group.submenu-open .product-submenu-toggle i {
  top: 11px;
  transform: rotate(225deg);
}

.site-header .product-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 80;
  width: max-content;
  min-width: 0;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f7efdc);
  box-shadow: 0 20px 48px rgba(23, 39, 95, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -7px) scale(0.98);
  transform-origin: top center;
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.site-header .nav-product-group:hover > .product-submenu,
.site-header .nav-product-group:focus-within > .product-submenu,
.site-header .nav-product-group.submenu-open > .product-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.mikawa-journal .site-header > nav .product-submenu > a,
.inner-page .site-header > nav .product-submenu > a {
  width: 100% !important;
  min-width: 0 !important;
  padding: 10px 8px !important;
  display: block !important;
  border-radius: 16px !important;
  color: var(--navy) !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.mikawa-journal .site-header > nav .product-submenu > a:hover,
.mikawa-journal .site-header > nav .product-submenu > a:focus-visible,
.inner-page .site-header > nav .product-submenu > a:hover,
.inner-page .site-header > nav .product-submenu > a:focus-visible,
.site-header .product-submenu > a[aria-current="page"] {
  color: #d66a16 !important;
  background: rgba(255, 255, 255, 0.58) !important;
}

@media (max-width: 760px) {
  .site-header .nav-product-group > a { padding-inline: 10px !important; }
  .site-header .product-submenu-toggle {
    top: -5px;
    right: -8px;
    width: 22px;
    height: 22px;
  }
  .site-header .product-submenu-toggle i { top: 6px; left: 7px; }
  .site-header .nav-product-group.submenu-open .product-submenu-toggle i { top: 9px; }
  .site-header .product-submenu {
    top: calc(100% + 10px);
    min-width: 0;
    border-radius: 20px;
  }
  .mikawa-journal .site-header > nav .product-submenu > a,
  .inner-page .site-header > nav .product-submenu > a {
    padding: 10px 7px !important;
    font-size: 14px !important;
  }
}

/* Final desktop/tablet header: evenly use the space between brand and language controls. */
@media (min-width: 761px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    grid-template-columns: max-content minmax(0, 1fr) var(--language-dropdown-width) !important;
    column-gap: clamp(16px, 2.5vw, 36px) !important;
  }

  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav {
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    justify-content: space-evenly !important;
    gap: 0 !important;
  }

  .site-header .nav-product-group {
    padding-right: 0 !important;
  }

  .site-header .nav-product-group > a {
    padding-inline: 0 !important;
  }

}

.site-header .nav-product-group {
  flex-direction: column;
  align-items: center;
}

.site-header .product-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mikawa-journal .site-header > nav .product-heading-row > a,
.inner-page .site-header > nav .product-heading-row > a {
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.site-header .product-submenu-toggle {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  flex: 0 0 auto;
}

.site-header .product-menu-subtitle {
  margin-top: 4px;
  display: block;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.site-header .nav-product-group:has(.product-heading-row > a[aria-current="page"]) > .product-menu-subtitle {
  color: var(--red);
}

.site-header .nav-product-group:hover > .product-menu-subtitle,
.site-header .nav-product-group:focus-within > .product-menu-subtitle {
  color: #e8882f;
}

@media (max-width: 850px) {
  .site-header .product-menu-subtitle {
    display: none !important;
  }
}

/* Hover bridge keeps the submenu reachable while the pointer moves downward. */
.site-header .nav-product-group::after {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  content: "";
}

.site-header .product-submenu {
  transform: translate(-50%, -12px) scale(0.98);
}

.site-header .nav-product-group:hover > .product-submenu,
.site-header .nav-product-group:focus-within > .product-submenu,
.site-header .nav-product-group.submenu-open > .product-submenu {
  transform: translate(-50%, 0) scale(1);
}

/* Compact header: distribute every menu item across the space between the
   logo and language control, while keeping Product and its trigger together. */
@media (max-width: 1024px) {
  .mikawa-journal .site-header,
  .inner-page .site-header {
    grid-template-columns: max-content minmax(0, 1fr) var(--language-dropdown-width) !important;
    column-gap: clamp(8px, 2vw, 20px) !important;
  }

  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav {
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .mikawa-journal .site-header > nav > a,
  .inner-page .site-header > nav > a,
  .site-header .nav-product-group {
    flex: 0 0 auto !important;
  }

  .site-header .product-heading-row {
    min-width: 0;
    flex-wrap: nowrap;
    gap: clamp(5px, 1vw, 8px);
  }

  .site-header .product-menu-title {
    white-space: nowrap;
  }

  .site-header .product-submenu {
    top: calc(100% + 12px);
  }
}

@media (max-width: 760px) {
  .mikawa-journal .site-header > nav,
  .inner-page .site-header > nav {
    justify-content: space-between !important;
  }

  .site-header .product-heading-row {
    gap: 4px;
  }

  .site-header .product-submenu-toggle {
    width: 20px;
    height: 20px;
  }

  .site-header .product-submenu-toggle i {
    top: 5px;
    left: 6px;
  }

  .site-header .nav-product-group.submenu-open .product-submenu-toggle i {
    top: 8px;
  }

  .site-header .product-submenu {
    top: calc(100% + 14px);
  }
}

/* Story viewport layout: fixed headline and CTA with independently scrolling copy. */
body:has(> .story-page) {
  height: 100svh !important;
  overflow: hidden !important;
}

.story-page {
  --story-header-height: 100px;
  height: calc(100svh - 8px) !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden !important;
}

.story-page .story-fullscreen {
  width: min(calc(100% - 40px), var(--max-width)) !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.story-page .story-full-copy {
  box-sizing: border-box;
  width: 100% !important;
  height: min(100%, clamp(440px, 52svh, 640px)) !important;
  min-height: 0 !important;
  padding: clamp(12px, 2.4vh, 30px) clamp(18px, 4vw, 64px) clamp(14px, 2.2vh, 28px) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: stretch !important;
}

.story-page .story-full-copy > h1 {
  position: relative;
  z-index: 6;
  width: min(72%, 920px) !important;
  margin: 0 !important;
  font-size: clamp(42px, 5vw, 78px) !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

.story-page .story-full-lead {
  --story-fade-size: clamp(28px, 5vh, 62px);
  position: relative;
  z-index: 5;
  box-sizing: border-box;
  width: min(88%, 1080px) !important;
  max-width: 1080px !important;
  min-height: 0 !important;
  margin: clamp(10px, 2vh, 24px) auto clamp(8px, 1.4vh, 18px) !important;
  padding: clamp(8px, 1.5vh, 18px) clamp(6px, 2vw, 24px) clamp(18px, 4vh, 48px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-gutter: stable;
  color: #17275f !important;
  font-size: clamp(14px, 1.15vw, 18px) !important;
  font-weight: 600;
  line-height: 1.55 !important;
  text-align: center;
  text-wrap: pretty;
  -webkit-overflow-scrolling: touch;
  mask-image: none;
  -webkit-mask-image: none;
}

.story-page .story-full-lead.is-scrollable {
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--story-fade-size)), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--story-fade-size)), transparent 100%);
}

.story-page .story-full-lead.is-scrollable.is-scrolled:not(.is-at-end) {
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--story-fade-size), #000 calc(100% - var(--story-fade-size)), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--story-fade-size), #000 calc(100% - var(--story-fade-size)), transparent 100%);
}

.story-page .story-full-lead.is-scrollable.is-scrolled.is-at-end {
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--story-fade-size), #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--story-fade-size), #000 100%);
}

.story-page .story-full-lead p {
  max-width: 100%;
  margin: 0 0 clamp(12px, 2vh, 22px) !important;
  overflow-wrap: normal !important;
}

.story-page .story-full-lead p:last-child {
  margin-bottom: 0 !important;
}

.story-page .story-full-lead::-webkit-scrollbar {
  width: 5px;
}

.story-page .story-full-lead::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(23, 39, 95, 0.22);
}

.story-page .hero-actions {
  position: relative;
  z-index: 7;
  width: min(52%, 620px) !important;
  margin: 0 0 0 clamp(0px, 10vw, 140px) !important;
  padding-top: clamp(6px, 1vh, 12px);
  justify-self: start;
  justify-content: center;
}

.story-page .story-full-character {
  z-index: 4;
  top: auto !important;
  right: clamp(0px, 2vw, 28px) !important;
  bottom: clamp(12px, 2vh, 24px) !important;
  width: min(48vw, 650px) !important;
  max-height: 72% !important;
  object-position: right bottom;
  transform: none !important;
  pointer-events: none;
}

html[lang="th"] .story-page .story-full-lead,
html[lang="ja"] .story-page .story-full-lead {
  word-break: auto-phrase !important;
  line-break: strict !important;
}

html[lang="en"] .story-page .story-full-lead {
  hyphens: none !important;
  word-break: normal !important;
}

@media (max-width: 850px) {
  .story-page .story-fullscreen {
    width: calc(100% - 24px) !important;
  }

  .story-page .story-full-copy {
    padding: 8px clamp(10px, 2.5vw, 20px) 12px !important;
  }

  .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: min(82%, 660px) !important;
    max-width: none !important;
    font-size: clamp(32px, 6.3vw, 52px) !important;
    line-height: 1.14 !important;
  }

  .story-page .story-full-lead {
    width: min(94%, 720px) !important;
    margin-block: 8px !important;
    padding: 8px 8px 30px !important;
    font-size: clamp(13px, 1.8vw, 16px) !important;
    line-height: 1.5 !important;
  }

  .story-page .hero-actions {
    width: min(52%, 440px) !important;
    margin-left: clamp(0px, 4vw, 32px) !important;
  }

  .story-page .story-full-character {
    width: min(56vw, 500px) !important;
    max-height: 64% !important;
  }
}

@media (max-width: 560px) {
  .story-page {
    --story-header-height: 92px;
  }

  .story-page .story-full-copy {
    padding: 4px 6px 10px !important;
  }

  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 100% !important;
    font-size: clamp(27px, 8.5vw, 36px) !important;
    line-height: 1.14 !important;
  }

  .story-page .story-full-lead {
    --story-fade-size: 28px;
    width: 100% !important;
    margin-block: 6px !important;
    padding: 6px 4px 24px !important;
    font-size: clamp(11px, 3.15vw, 13px) !important;
    line-height: 1.48 !important;
  }

  .story-page .story-full-lead p {
    margin-bottom: 12px !important;
  }

  .story-page .hero-actions {
    width: min(60%, 230px) !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: 4px;
    justify-self: start;
    justify-content: flex-start;
    flex-direction: row !important;
    gap: 7px !important;
  }

  .story-page .button-primary,
  .story-page .button-text {
    font-size: 10px !important;
  }

  .story-page .button-primary {
    min-width: 0 !important;
    padding: 9px 8px !important;
  }

  .story-page .story-full-character {
    position: absolute !important;
    right: 0 !important;
    bottom: 20px !important;
    left: auto !important;
    width: min(70vw, 280px) !important;
    max-height: 48% !important;
  }
}

/* Final story orientation rules. Keep this block last so legacy responsive
   declarations cannot restore the wide copy or native scrollbar. */
.story-page .story-landscape-break {
  display: none;
}

.story-page .story-full-copy {
  height: 100% !important;
  grid-template-rows: auto minmax(160px, 320px) minmax(0, 1fr) !important;
}

.story-page .story-full-lead {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.story-page .story-full-lead::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.story-page .hero-actions {
  align-self: start !important;
  margin-top: clamp(8px, 1vh, 14px) !important;
  margin-bottom: 0 !important;
}

@media (orientation: portrait) {
  .story-page .story-full-character {
    width: min(48vw, 400px) !important;
    max-height: 40% !important;
  }
}

@media (orientation: landscape) {
  .story-page .story-landscape-break {
    display: none !important;
  }

  .story-page .story-full-copy {
    grid-template-rows: auto minmax(120px, 300px) minmax(0, 1fr) !important;
  }

  .story-page .story-full-lead {
    width: calc(75% - clamp(18px, 4vw, 52px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    overflow-wrap: normal !important;
  }

  .story-page .hero-actions {
    width: calc(75% - clamp(18px, 4vw, 52px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }

  .story-page .story-full-character {
    right: 0 !important;
    width: 25% !important;
    max-width: none !important;
    max-height: 74% !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
}

@media (orientation: landscape) and (max-height: 700px) {
  .story-page .story-full-copy {
    padding-top: 3px !important;
    padding-bottom: 5px !important;
    grid-template-rows: auto minmax(80px, 180px) minmax(0, 1fr) !important;
  }

  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 75% !important;
    max-width: none !important;
    font-size: clamp(18px, 3vw, 34px) !important;
    line-height: 1.08 !important;
  }

  .story-page .story-full-lead {
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    padding-block: 4px 20px !important;
    font-size: clamp(10px, 1.45vw, 13px) !important;
    line-height: 1.38 !important;
  }

  .story-page .hero-actions {
    margin-bottom: 2px !important;
    padding-top: 2px;
  }

  .story-page .button-primary {
    padding-block: 8px !important;
  }

  html[lang="en"] body .story-page .story-full-copy > h1 {
    font-size: clamp(16px, 2.3vw, 30px) !important;
  }

  html[lang="ja"] body .story-page .story-full-copy > h1 {
    font-size: clamp(13px, 1.75vw, 23px) !important;
  }
}

@media (orientation: landscape) and (min-height: 701px) {
  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 75% !important;
    max-width: none !important;
  }

  html[lang="en"] body .story-page .story-full-copy > h1 {
    font-size: clamp(16px, 2.3vw, 30px) !important;
  }

  html[lang="ja"] body .story-page .story-full-copy > h1 {
    font-size: clamp(13px, 1.75vw, 23px) !important;
  }
}

@media (max-width: 560px) {
  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1 {
    font-size: clamp(14px, 4.2vw, 19px) !important;
  }

  html[lang="ja"] body .story-page .story-full-copy > h1 {
    font-size: clamp(11px, 3.25vw, 15px) !important;
  }
}

/* Authoritative story heading sizing. Keep this rule at the end. */
.story-page .story-full-copy > h1,
html[lang="th"] body .story-page .story-full-copy > h1,
html[lang="en"] body .story-page .story-full-copy > h1,
html[lang="ja"] body .story-page .story-full-copy > h1 {
  width: min(75vw, 100%) !important;
  max-width: none !important;
  justify-self: start !important;
  text-align: center !important;
  font-size: var(--story-heading-size, clamp(18px, 4vw, 64px)) !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

/* Authoritative mobile story layouts. Keep these rules after every legacy
   story breakpoint so phones receive the intended composition. */
@media (orientation: portrait) and (max-width: 560px) {
  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="en"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
    text-align: center !important;
    white-space: normal !important;
    text-wrap: balance !important;
    line-height: 1.16 !important;
  }

  html[lang="th"] body .story-page .story-full-copy > h1 {
    font-size: clamp(32px, 10vw, 44px) !important;
  }

  html[lang="en"] body .story-page .story-full-copy > h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  html[lang="ja"] body .story-page .story-full-copy > h1 {
    font-size: clamp(27px, 8vw, 38px) !important;
  }

  .story-page .story-full-lead {
    width: 100% !important;
    padding-inline: clamp(8px, 3vw, 14px) !important;
    font-size: clamp(12px, 3.45vw, 14px) !important;
    line-height: 1.62 !important;
    text-align: center !important;
    text-wrap: pretty !important;
  }

  html[lang="th"] .story-page .story-full-lead,
  html[lang="ja"] .story-page .story-full-lead {
    word-break: auto-phrase !important;
    line-break: strict !important;
    overflow-wrap: normal !important;
  }

  html[lang="en"] .story-page .story-full-lead {
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  html,
  body,
  .story-page {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .story-page {
    display: block !important;
  }

  .story-page .story-fullscreen {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 980px !important;
    overflow: visible !important;
  }

  .story-page .story-full-copy {
    height: auto !important;
    min-height: 980px !important;
    padding: 16px 12px 340px !important;
    grid-template-rows: auto auto auto !important;
    align-content: start !important;
  }

  .story-page .story-full-copy > h1,
  html[lang="th"] body .story-page .story-full-copy > h1,
  html[lang="en"] body .story-page .story-full-copy > h1,
  html[lang="ja"] body .story-page .story-full-copy > h1 {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
    text-align: center !important;
    white-space: normal !important;
    text-wrap: balance !important;
    font-size: clamp(30px, 6vw, 46px) !important;
    line-height: 1.16 !important;
  }

  .story-page .story-full-lead {
    width: 100% !important;
    max-width: 760px !important;
    height: auto !important;
    max-height: none !important;
    margin: 18px auto 12px !important;
    padding: 10px clamp(12px, 4vw, 32px) !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    font-size: clamp(13px, 2.2vw, 16px) !important;
    line-height: 1.62 !important;
    text-align: center !important;
    text-wrap: pretty !important;
  }

  html[lang="th"] .story-page .story-full-lead,
  html[lang="ja"] .story-page .story-full-lead {
    word-break: auto-phrase !important;
    line-break: strict !important;
    overflow-wrap: normal !important;
  }

  html[lang="en"] .story-page .story-full-lead {
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .story-page .hero-actions {
    width: min(100%, 430px) !important;
    margin: 12px auto 0 !important;
    justify-self: center !important;
    justify-content: center !important;
  }

  .story-page .story-full-character {
    right: 50% !important;
    bottom: 18px !important;
    width: min(62vw, 430px) !important;
    max-height: 330px !important;
    transform: translateX(50%) !important;
    object-position: center bottom !important;
  }
}

/* Final compact product-heading typography. Thai and Japanese glyphs need
   extra leading so their upper/lower marks never collide on narrow screens. */
@media (max-width: 760px) {
  .flavors-page .flavor-heading h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  html[lang="th"] body .flavors-page .flavor-heading h1 {
    font-size: clamp(38px, 10.8vw, 58px) !important;
    line-height: 1.4 !important;
    word-break: auto-phrase !important;
  }

  html[lang="en"] body .flavors-page .flavor-heading h1 {
    font-size: clamp(38px, 9.5vw, 56px) !important;
    line-height: 1.2 !important;
    word-break: normal !important;
  }

  html[lang="ja"] body .flavors-page .flavor-heading h1 {
    font-size: clamp(32px, 8.5vw, 48px) !important;
    line-height: 1.38 !important;
    word-break: keep-all !important;
    line-break: strict !important;
  }
}

/* Contact headline: always exactly two intact lines; JavaScript reduces the
   custom size only when a fixed line would exceed the available width. */
.contact-page .contact-heading > h1 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: var(--contact-heading-size, clamp(36px, 7vw, 72px)) !important;
  overflow: visible !important;
}

html[lang="th"] body .contact-page .contact-heading > h1,
html[lang="en"] body .contact-page .contact-heading > h1,
html[lang="ja"] body .contact-page .contact-heading > h1 {
  font-size: var(--contact-heading-size, clamp(36px, 7vw, 72px)) !important;
}

.contact-page .contact-heading-line {
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

html[lang="th"] .contact-page .contact-heading > h1,
html[lang="ja"] .contact-page .contact-heading > h1 {
  line-height: 1.3 !important;
}

html[lang="en"] .contact-page .contact-heading > h1 {
  line-height: 1.12 !important;
}

.contact-page .contact-heading > h1 {
  text-align: center !important;
}

.contact-page .contact-heading-line {
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Contact portrait: keep the red introduction on one centered line and give
   the mascot the open area below the contact card without covering it. */
@media (orientation: portrait) and (max-width: 1100px) {
  .contact-page .contact-heading > p {
    display: block !important;
    width: calc(100vw - 32px) !important;
    max-width: none !important;
    margin-right: calc(50% - 50vw + 16px) !important;
    margin-left: calc(50% - 50vw + 16px) !important;
    font-size: clamp(13px, 2.55vw, 24px) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .contact-page .contact-mascot {
    position: absolute !important;
    top: auto !important;
    right: max(10px, 3vw) !important;
    bottom: 8px !important;
    left: auto !important;
    width: clamp(200px, 40vw, 320px) !important;
    max-width: 52vw !important;
    max-height: 34svh !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
}

/* iPad portrait product heading: leave enough vertical room for Thai and
   Japanese marks, and keep every language clear of the eyebrow above it. */
@media (orientation: portrait) and (min-width: 561px) and (max-width: 1100px) {
  .flavors-page .flavor-heading h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: clamp(10px, 1.4vw, 16px) !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  html[lang="th"] body .flavors-page .flavor-heading h1 {
    font-size: clamp(50px, 6.5vw, 68px) !important;
    line-height: 1.45 !important;
    word-break: auto-phrase !important;
  }

  html[lang="en"] body .flavors-page .flavor-heading h1 {
    font-size: clamp(48px, 6.2vw, 64px) !important;
    line-height: 1.22 !important;
    word-break: normal !important;
  }

  html[lang="ja"] body .flavors-page .flavor-heading h1 {
    font-size: clamp(42px, 5.7vw, 58px) !important;
    line-height: 1.4 !important;
    word-break: keep-all !important;
    line-break: strict !important;
  }
}

/* Keep the product eyebrow clear of the visually taller MIKAWA logo across
   iPad portrait and landscape breakpoints. */
@media (min-width: 561px) and (max-width: 1100px) {
  .flavors-page .flavors {
    padding-top: clamp(30px, 4vw, 42px) !important;
  }
}

/* Keep the effective language-control radius identical in both states. */
.site-header {
  --header-dropdown-radius: 24px;
  --language-control-radius: min(var(--header-dropdown-radius), calc(var(--language-dropdown-button-height) / 2));
}

.site-header .language-dropdown-toggle {
  border-radius: var(--language-control-radius) !important;
}

.site-header.language-dropdown-open .language-dropdown-toggle {
  border-radius: var(--language-control-radius) var(--language-control-radius) 0 0 !important;
}

.site-header .product-submenu {
  border-radius: var(--header-dropdown-radius) !important;
}

.mikawa-journal .site-header .language-switch.language-dropdown-panel,
.inner-page .site-header .language-switch.language-dropdown-panel {
  border-radius: 0 0 var(--language-control-radius) var(--language-control-radius) !important;
  clip-path: inset(0 0 100% 0 round 0 0 var(--language-control-radius) var(--language-control-radius)) !important;
}

.mikawa-journal .site-header.language-dropdown-open .language-switch.language-dropdown-panel,
.inner-page .site-header.language-dropdown-open .language-switch.language-dropdown-panel {
  clip-path: inset(0 0 0 0 round 0 0 var(--language-control-radius) var(--language-control-radius)) !important;
}

/* Narrow phone landscape: the contact composition is taller than the visual
   viewport, so use a natural-height document and reserve a clear lower area
   for the mascot. This keeps every contact row reachable by vertical swipe. */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
  html,
  body:has(> .contact-page) {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
  }

  body > .contact-page {
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
  }

  .contact-page .contact {
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 720px !important;
    padding: clamp(20px, 5vh, 34px) 20px 270px !important;
    align-items: flex-start !important;
    overflow: visible !important;
  }

  .contact-page .contact-copy-stack {
    width: min(92%, 720px) !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .contact-page .contact-heading > p {
    margin-bottom: 12px !important;
  }

  .contact-page .contact-links {
    width: min(100%, 620px) !important;
    margin-top: 20px !important;
  }

  .contact-page .contact-mascot {
    position: absolute !important;
    top: auto !important;
    right: 12px !important;
    bottom: 8px !important;
    left: auto !important;
    width: min(42vw, 300px) !important;
    max-width: calc(100% - 24px) !important;
    max-height: 250px !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
}

/* Allow the longer chili-salt flavor name to wrap within its card. */
.flavors-page .product-card-pineapple-chili-salt .product-copy > .product-title-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
}
.flavors-page .product-card-pineapple-chili-salt .product-title-row h3 {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

/* Keep the English chili-salt name on one line at every card width. */
html[lang="en"] .flavors-page .product-card-pineapple-chili-salt .product-copy {
  container-type: inline-size;
}
html[lang="en"] .flavors-page .product-card-pineapple-chili-salt .product-copy > .product-title-row {
  grid-template-columns: auto auto !important;
  column-gap: 3cqw !important;
}
html[lang="en"] .flavors-page .product-card-pineapple-chili-salt .product-title-row h3 {
  font-size: min(32px, 6.2cqw) !important;
  white-space: nowrap !important;
  overflow-wrap: normal;
}
html[lang="en"] .flavors-page .product-card-pineapple-chili-salt .product-title-row strong {
  font-size: min(26px, 5.2cqw) !important;
}
/* Matching translucent acrylic surfaces for the entire language control. */
.site-header .language-dropdown-toggle,
.mikawa-journal .site-header .language-switch.language-dropdown-panel,
.inner-page .site-header .language-switch.language-dropdown-panel {
  background: rgba(250, 245, 232, 0.95) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
}

.mikawa-journal .site-header .language-switch.language-dropdown-panel,
.inner-page .site-header .language-switch.language-dropdown-panel {
  top: calc(var(--language-dropdown-button-top) + var(--language-dropdown-button-height)) !important;
}

.site-header .language-switch.language-dropdown-panel > a,
.site-header .language-switch.language-dropdown-panel > span:not(.language-divider) {
  background: transparent !important;
}

.site-header .language-switch.language-dropdown-panel > a:hover,
.site-header .language-switch.language-dropdown-panel > a:focus-visible {
  background: rgba(255, 255, 255, 0.22) !important;
}