:root {
  --ink: #2f261f;
  --muted: #6f6256;
  --paper: #f5efe3;
  --rice: #fffaf0;
  --linen: #e9ddc8;
  --red: #8b2638;
  --red-dark: #561722;
  --gold: #bd9a52;
  --wood: #543728;
  --max: 1180px;
  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PingFang TC", "Microsoft JhengHei", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --motion-fast: 160ms;
  --motion-base: 280ms;
  --motion-slow: 520ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

p {
  line-height: 1.8;
}

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

h2 {
  margin-bottom: 24px;
  color: var(--wood);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h3 {
  color: var(--wood);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.3;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--rice);
  background: var(--red-dark);
  transform: translateY(-180%);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(255, 250, 240, 0.95);
  border-bottom: 1px solid rgba(47, 38, 31, 0.12);
  backdrop-filter: blur(16px);
  transition:
    min-height var(--motion-base) var(--ease),
    box-shadow var(--motion-base) var(--ease);
}

.site-header.is-compact {
  min-height: 66px;
  box-shadow: 0 8px 28px rgba(47, 38, 31, 0.08);
}

.brand-mark {
  width: auto;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}

.brand-mark::after {
  content: "芙稻菓室\A米舒芙蕾甜點專門店";
  white-space: pre;
  color: var(--red);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.1em;
}

.brand-mark[aria-label*="home"]::after {
  content: "FU DAU\ARICE SOUFFLÉ SPECIALTY";
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.desktop-nav,
.site-header > nav:not(.mobile-menu),
.mobile-nav-tools {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav > a:not(.nav-cta),
.site-header > nav:not(.mobile-menu) > a:not(.nav-cta),
.mobile-nav-tools > a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.desktop-nav > a:not(.nav-cta):hover,
.site-header > nav:not(.mobile-menu) > a:not(.nav-cta):hover,
.mobile-nav-tools > a:hover {
  border-color: currentColor;
}

.nav-cta {
  padding: 12px 18px;
  color: var(--rice);
  border-radius: 999px;
  background: var(--red);
}

.mobile-nav-tools,
.mobile-menu {
  display: none;
}

.menu-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) clamp(88px, 10vh, 126px);
  color: var(--rice);
  background: var(--ink);
}

.hero-slides,
.hero-slide,
.hero-slide img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition:
    opacity 760ms var(--ease),
    visibility 760ms var(--ease),
    transform 1200ms var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-slide:nth-child(2) img {
  object-position: 50% 42%;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(38, 28, 22, 0.82) 0%, rgba(38, 28, 22, 0.38) 52%, rgba(38, 28, 22, 0.1) 80%),
    linear-gradient(0deg, rgba(38, 28, 22, 0.48), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ead199;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.93);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.65;
}

.nowrap {
  white-space: nowrap;
}

.action-row,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 900;
  transition:
    transform var(--motion-fast) var(--ease),
    background var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  color: var(--rice);
  background: var(--red);
  border-color: var(--red);
}

.button.cream {
  color: var(--ink);
  background: var(--rice);
  border-color: var(--rice);
}

.button.secondary {
  color: var(--ink);
  background: var(--rice);
  border-color: var(--rice);
}

.button.ghost {
  color: var(--rice);
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.52);
}

.button.outline {
  color: var(--red);
  background: transparent;
  border-color: var(--red);
}

.carousel-controls {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow,
.carousel-dot {
  border: 0;
  cursor: pointer;
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  color: var(--rice);
  border: 1px solid rgba(255, 250, 240, 0.48);
  border-radius: 50%;
  background: rgba(47, 38, 31, 0.22);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.44);
}

.carousel-dot.is-active {
  background: var(--rice);
  transform: scale(1.2);
}

.action-gateway {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--red-dark);
}

.action-gateway > a {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 3vw, 42px);
  color: var(--rice);
  border-right: 1px solid rgba(255, 250, 240, 0.2);
  transition: background var(--motion-base) var(--ease);
}

.action-gateway > a:last-child {
  border-right: 0;
}

.action-gateway > a:hover {
  background: var(--red);
}

.action-gateway strong,
.action-gateway small {
  display: block;
}

.action-gateway strong {
  font-size: 22px;
}

.action-gateway small {
  margin-top: 4px;
  color: rgba(255, 250, 240, 0.72);
  font-family: var(--sans);
}

.action-number {
  color: #dbba78;
  font-family: var(--sans);
  font-size: 12px;
}

.product-section,
.faq-section {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 5vw, 72px);
}

.section-intro {
  width: min(var(--max), 100%);
  margin: 0 auto 44px;
}

.section-intro > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
}

.product-card-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(47, 38, 31, 0.14);
  border-radius: 10px;
  background: var(--rice);
  transition:
    transform var(--motion-base) var(--ease),
    box-shadow var(--motion-base) var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(47, 38, 31, 0.1);
}

.product-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--linen);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-card:nth-child(2) img,
.product-card:nth-child(3) img {
  object-position: center;
}

.product-card figure > span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  color: var(--rice);
  border-radius: 999px;
  background: rgba(86, 23, 34, 0.88);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}

.product-card > div {
  padding: 25px;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  color: var(--muted);
}

.product-card strong {
  color: var(--red);
  font-family: var(--sans);
  font-size: 14px;
}

.product-index {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-actions {
  width: min(var(--max), 100%);
  margin: 32px auto 0;
}

.story-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(76px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}

.story-section figure {
  margin: 0;
}

.story-section img {
  width: 100%;
  min-height: 520px;
  border-radius: 10px;
  object-fit: cover;
}

.story-section > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  padding-bottom: 4px;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  font-family: var(--sans);
  font-weight: 900;
}

.text-link.light {
  color: var(--rice);
}

.cta-support-link {
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom-width: 1px;
  font-size: 16px;
  line-height: 1.4;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 610px;
  color: var(--rice);
  background: var(--red-dark);
}

.visit-copy,
.visit-map {
  padding: clamp(60px, 8vw, 112px) clamp(24px, 7vw, 92px);
}

.visit-copy h2 {
  color: var(--rice);
}

.visit-copy > p:not(.eyebrow) {
  font-size: 18px;
}

.visit-note {
  max-width: 620px;
  color: rgba(255, 250, 240, 0.7);
  font-family: var(--sans);
  font-size: 14px !important;
}

.visit-map {
  position: relative;
  display: grid;
  align-content: center;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(84, 55, 40, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 55, 40, 0.08) 1px, transparent 1px),
    var(--linen);
  background-size: 42px 42px;
}

.visit-map-copy {
  position: relative;
  z-index: 2;
  padding: 28px;
  border-radius: 10px;
  background: rgba(245, 239, 227, 0.9);
  backdrop-filter: blur(8px);
}

.visit-map > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.visit-map::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  border: 1px solid rgba(139, 38, 56, 0.28);
  border-radius: 50%;
}

.visit-map span,
.visit-map small {
  font-family: var(--sans);
  letter-spacing: 0.12em;
}

.visit-map strong {
  margin: 8px 0;
  color: var(--red);
  font-size: clamp(52px, 7vw, 94px);
  line-height: 1;
}

.map-line {
  width: 100%;
  height: 2px;
  margin: 25px 0;
  background: var(--red);
}

.visit-map p {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}

.faq-section {
  background: var(--linen);
}

.faq-list {
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(47, 38, 31, 0.2);
}

.faq-list details {
  border-bottom: 1px solid rgba(47, 38, 31, 0.2);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 2px;
  cursor: pointer;
  list-style: none;
  color: var(--wood);
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 700;
}

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

.faq-list summary span {
  color: var(--red);
  font-family: var(--sans);
  transition: transform var(--motion-base) var(--ease);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 780px;
  margin: -4px 0 26px;
  color: var(--muted);
  font-size: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, 0.65fr));
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(52px, 7vw, 88px) clamp(18px, 5vw, 72px) 34px;
  color: var(--rice);
  background: var(--wood);
  font-family: var(--sans);
}

footer:not(.site-footer) {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--rice);
  background: var(--wood);
  font-family: var(--sans);
}

footer:not(.site-footer) div {
  display: grid;
  gap: 6px;
}

footer:not(.site-footer) span {
  color: rgba(255, 250, 240, 0.7);
}

.footer-brand img {
  width: 138px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 380px;
  color: rgba(255, 250, 240, 0.78);
}

.site-footer > div:not(.footer-brand):not(.footer-meta) {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer strong {
  margin-bottom: 6px;
  color: #ead199;
}

.site-footer a {
  color: rgba(255, 250, 240, 0.82);
}

.site-footer a:hover {
  color: var(--rice);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  color: rgba(255, 250, 240, 0.52);
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  font-size: 12px;
}

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: #827b75;
  background: #f7f7f5;
  border-top: 1px solid rgba(47, 38, 31, 0.1);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.legal-strip span:not(:last-child)::after {
  content: "｜";
  margin-left: 18px;
  color: #b0aaa4;
}

.legal-strip a {
  color: inherit;
  text-underline-offset: 0.22em;
}

.privacy-disclosure {
  width: min(100%, 720px);
  color: #827b75;
}

.privacy-disclosure summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.privacy-disclosure p {
  margin: 8px auto 0;
  max-width: 720px;
  color: #827b75;
}

.article-section {
  padding: clamp(76px, 9vw, 124px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.article-section .section-intro {
  text-align: center;
}

.article-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.article-card {
  display: block;
}

.article-card figure {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: var(--linen);
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.article-card:hover img {
  transform: scale(1.025);
}

.article-card small {
  color: var(--red);
  font-family: var(--sans);
  font-weight: 800;
}

.article-card h3 {
  margin: 8px 0;
  font-size: clamp(21px, 2vw, 28px);
}

.article-card p {
  color: var(--muted);
  font-size: 15px;
}

.mobile-action-bar {
  display: none;
}

.product-card-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card-grid-four .product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
}

.product-card-grid-four .product-card > div {
  align-self: center;
}

.compact-footer {
  margin-top: 0;
}

/* Shared content pages */
.content-page {
  padding-top: 78px;
}

.page-hero {
  position: relative;
  min-height: 70svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--rice);
  background: var(--ink);
}

.page-hero img,
.page-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero img {
  object-fit: cover;
}

.page-hero::after {
  content: "";
  background: linear-gradient(90deg, rgba(44, 39, 33, 0.84), rgba(44, 39, 33, 0.16) 78%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) clamp(18px, 5vw, 72px) clamp(50px, 7vw, 88px);
}

.page-hero h1 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.06;
}

.page-hero .answer-lead {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.9);
  font-size: clamp(18px, 2.4vw, 26px);
}

.overview-hero,
.product-detail-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  padding: clamp(72px, 9vw, 120px) 0;
}

.overview-hero h1,
.product-detail-hero h1,
.about-hero h1 {
  margin-bottom: 20px;
  color: var(--wood);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.overview-hero .answer-lead,
.product-detail-hero .answer-lead {
  color: var(--muted);
  font-size: 20px;
}

.overview-hero > img,
.product-detail-hero > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
}

.product-detail-hero > img {
  min-height: 520px;
}

.about-hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--rice);
  background: var(--ink);
}

.about-hero > img,
.about-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-hero > img {
  object-fit: cover;
}

.about-hero::after {
  content: "";
  background: linear-gradient(90deg, rgba(44, 39, 33, 0.86), rgba(44, 39, 33, 0.12) 80%);
}

.about-hero > div {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(86px, 11vw, 150px) clamp(18px, 5vw, 72px) clamp(58px, 8vw, 96px);
}

.about-hero h1 {
  max-width: 800px;
  color: var(--rice);
}

.about-hero .answer-lead {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.88);
  font-size: 20px;
}

.about-split,
.flavor-section,
.making-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.about-split img,
.flavor-image img,
.making-section > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
}

.about-split.rice-origin img {
  object-position: center 58%;
}

.about-split p:not(.eyebrow),
.flavor-section p,
.making-section p {
  color: var(--muted);
  font-size: 18px;
}

.experience-values,
.product-features,
.info-section,
.related-products {
  background: var(--linen);
}

.experience-values .section-intro,
.product-features .section-heading,
.info-section .section-heading,
.related-products .section-heading {
  width: min(var(--max), 100%);
}

.value-grid {
  width: min(var(--max), 100%);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-grid article {
  padding: 30px;
  border-top: 2px solid var(--red);
  background: rgba(255, 250, 240, 0.72);
}

.value-grid span {
  color: var(--red);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 900;
}

.value-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-detail section:not(.product-detail-hero, .product-close, .product-gallery) {
  padding-top: clamp(78px, 9vw, 120px);
  padding-bottom: clamp(78px, 9vw, 120px);
}

.flavor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0;
}

.flavor-tabs button {
  padding: 8px 0;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 800;
}

.flavor-tabs button.is-active {
  color: var(--red);
  border-color: var(--red);
}

.flavor-copy {
  min-height: 126px;
}

.flavor-copy h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(47, 38, 31, 0.14);
  font-size: 17px;
  line-height: 1.65;
}

.process-list span {
  color: var(--red);
  font-family: var(--sans);
  font-weight: 900;
}

.info-list {
  width: min(var(--max), 100%);
  margin: 30px auto 0;
  border-top: 1px solid rgba(47, 38, 31, 0.18);
}

.info-list details {
  border-bottom: 1px solid rgba(47, 38, 31, 0.18);
}

.info-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  color: var(--wood);
  font-size: 21px;
  font-weight: 700;
  list-style: none;
}

.info-list summary::-webkit-details-marker {
  display: none;
}

.info-list summary span {
  color: var(--red);
}

.info-list details[open] summary span {
  transform: rotate(45deg);
}

.info-list details p {
  max-width: 760px;
  margin: -4px 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.product-gallery {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 250px));
  gap: 18px;
  padding: clamp(78px, 9vw, 120px) 0;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.product-gallery .gallery-main {
  grid-row: 1 / 3;
}

.product-close {
  padding: clamp(86px, 10vw, 132px) clamp(18px, 5vw, 72px);
  color: var(--rice);
  background: var(--wood);
}

.product-close > div {
  width: min(820px, 100%);
  margin: 0 auto;
}

.product-close h2 {
  color: var(--rice);
}

.product-close p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.78);
  font-size: 18px;
}

.related-grid {
  width: min(var(--max), 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-grid a {
  padding: 24px;
  color: var(--red);
  border: 1px solid rgba(47, 38, 31, 0.14);
  border-radius: 10px;
  background: var(--rice);
  font-family: var(--sans);
  font-weight: 900;
}

.breadcrumbs {
  margin-bottom: 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  border-bottom: 1px solid currentColor;
}

section:not(.hero, .action-gateway, .product-section, .story-section, .visit-section, .faq-section, .page-hero) {
  padding: clamp(66px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.content-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.content-section.narrow {
  width: min(820px, 100%);
}

.content-section > p,
.content-grid p,
.fact-card p,
.content-section li {
  color: var(--muted);
  font-size: 17px;
}

.content-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.content-grid img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.fact-card,
.product-groups article,
.faq-grid article {
  padding: 25px;
  border: 1px solid rgba(47, 38, 31, 0.14);
  border-radius: 10px;
  background: var(--rice);
}

.quote-block {
  margin: 0;
  padding: clamp(30px, 5vw, 58px);
  color: var(--rice);
  border-radius: 10px;
  background: var(--red);
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.45;
}

.source-note {
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid rgba(47, 38, 31, 0.16);
  font-family: var(--sans);
  font-size: 13px;
}

.page-cta {
  scroll-margin-top: 104px;
  color: var(--rice);
  background: var(--wood);
}

.page-cta h2 {
  color: var(--rice);
}

.page-cta .content-section > p {
  color: rgba(255, 250, 240, 0.78);
}

.product-groups,
.faq-grid {
  width: min(var(--max), 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.product-showcase {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-product {
  overflow: hidden;
  border: 1px solid rgba(47, 38, 31, 0.14);
  border-radius: 10px;
  background: var(--rice);
}

.feature-product.large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  grid-column: 1 / -1;
}

.feature-product.red {
  color: var(--rice);
  background: var(--red);
}

.feature-product img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-product > div {
  align-self: end;
  padding: 28px;
}

.feature-product p,
.product-groups p,
.faq-grid p {
  color: var(--muted);
}

.feature-product.red h3,
.feature-product.red p {
  color: var(--rice);
}

.feature-product ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-product li {
  padding: 7px 10px;
  color: var(--wood);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
}

.store-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.store-section img {
  width: 100%;
  border-radius: 10px;
}

.store-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(47, 38, 31, 0.14);
  border-radius: 10px;
  background: var(--rice);
}

dl {
  display: grid;
  gap: 14px;
}

dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(47, 38, 31, 0.12);
}

dt {
  color: var(--red);
  font-family: var(--sans);
  font-weight: 900;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 920px) {
  .product-card-grid,
  .story-section,
  .visit-section,
  .content-grid,
  .fact-grid,
  .product-showcase,
  .feature-product.large,
  .product-groups,
  .faq-grid,
  .store-section {
    grid-template-columns: 1fr;
  }

  .product-card-grid {
    gap: 24px;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.95fr);
  }

  .product-card figure {
    aspect-ratio: 4 / 3;
  }

  .story-section img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .visit-map {
    min-height: 430px;
  }

  .product-card-grid-four .product-card {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
  }

  .overview-hero,
  .product-detail-hero,
  .about-split,
  .flavor-section,
  .making-section {
    grid-template-columns: 1fr;
  }

  .product-detail-hero > img {
    grid-row: 1;
    min-height: 0;
  }

  .about-split.reverse > img {
    grid-row: 2;
  }

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

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

  body {
    padding-bottom: 68px;
  }

  .site-header,
  .site-header.is-compact {
    min-height: 70px;
    padding: 8px 18px;
  }

  .brand-mark {
    width: auto;
    height: 46px;
    gap: 8px;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-mark::after {
    content: "芙稻菓室";
    font-size: 14px;
  }

  .brand-mark[aria-label*="home"]::after {
    content: "FU DAU";
    font-size: 12px;
  }

  .desktop-nav,
  .site-header > nav:not(.mobile-menu) {
    display: none;
  }

  .mobile-nav-tools {
    display: flex;
    gap: 18px;
  }

  .mobile-menu {
    position: fixed;
    z-index: 49;
    top: 70px;
    right: 0;
    left: 0;
    height: calc(100svh - 70px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 20px 18px 100px;
    background: var(--rice);
  }

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

  .mobile-menu a {
    padding: 18px 4px;
    color: var(--wood);
    border-bottom: 1px solid rgba(47, 38, 31, 0.14);
    font-size: 22px;
  }

  .hero {
    min-height: 88svh;
    padding: 126px 18px 96px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(38, 28, 22, 0.74), rgba(38, 28, 22, 0.26)),
      linear-gradient(0deg, rgba(38, 28, 22, 0.6), transparent 60%);
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 44px);
  }

  .hero-lead {
    max-width: 95%;
    font-size: 18px;
  }

  .carousel-controls {
    right: 18px;
    bottom: 25px;
  }

  .action-gateway {
    grid-template-columns: 1fr;
  }

  .action-gateway > a {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.2);
  }

  .product-section,
  .faq-section {
    padding: 72px 18px;
  }

  .product-card {
    display: block;
  }

  .product-card figure {
    aspect-ratio: 4 / 3;
  }

  .product-card-grid-four .product-card {
    display: block;
  }

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

  .story-section {
    width: calc(100% - 36px);
    margin-bottom: 72px;
  }

  .story-section h2 br,
  .section-intro h2 br {
    display: none;
  }

  .visit-copy,
  .visit-map {
    padding: 62px 18px;
  }

  .visit-map {
    min-height: 360px;
  }

  .visit-map-copy {
    padding: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 86px;
  }

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

  .legal-strip {
    display: grid;
    gap: 2px;
    padding-bottom: 84px;
    text-align: left;
  }

  .legal-strip span:not(:last-child)::after {
    content: "";
    margin: 0;
  }

  footer:not(.site-footer) {
    display: grid;
    padding-bottom: 88px;
  }

  .footer-meta {
    display: grid;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 48;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: var(--rice);
    background: var(--red-dark);
    box-shadow: 0 -8px 28px rgba(47, 38, 31, 0.14);
  }

  .mobile-action-bar a {
    min-height: 68px;
    display: grid;
    place-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 250, 240, 0.18);
    font-family: var(--sans);
    font-weight: 800;
  }

  .mobile-action-bar a:last-child {
    border-right: 0;
  }

  .mobile-action-bar span,
  .mobile-action-bar small {
    display: block;
  }

  .mobile-action-bar small {
    margin-top: 2px;
    color: rgba(255, 250, 240, 0.64);
    font-size: 10px;
  }

  .content-page {
    padding-top: 70px;
  }

  .page-hero {
    min-height: 64svh;
  }

  .overview-hero,
  .product-detail-hero {
    width: calc(100% - 36px);
    padding: 72px 0;
  }

  .overview-hero > img {
    grid-row: 1;
  }

  .overview-hero h1,
  .product-detail-hero h1,
  .about-hero h1 {
    font-size: clamp(38px, 10vw, 44px);
  }

  .overview-hero .answer-lead,
  .product-detail-hero .answer-lead,
  .about-hero .answer-lead {
    font-size: 17px;
  }

  .about-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--paper);
  }

  .about-hero > img {
    order: 2;
    position: relative;
    height: clamp(280px, 42svh, 420px);
    aspect-ratio: auto;
    object-position: center center;
  }

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

  .about-hero > div {
    order: 1;
    padding: 40px 18px 34px;
  }

  .about-hero h1 {
    color: var(--wood);
  }

  .about-hero .answer-lead {
    color: var(--muted);
  }

  .about-hero .eyebrow.light {
    color: var(--red);
  }

  .about-split,
  .flavor-section,
  .making-section {
    gap: 28px;
  }

  .about-split > div,
  .flavor-section > div:not(.flavor-image),
  .making-section > div {
    grid-row: 1;
  }

  .about-split > img,
  .flavor-image,
  .making-section > img {
    grid-row: 2;
  }

  .about-split.rice-origin img {
    max-height: 46svh;
    object-position: center 54%;
  }

  .about-split h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .page-cta {
    scroll-margin-top: 92px;
  }

  .value-grid article {
    padding: 24px;
  }

  .product-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .product-gallery .gallery-main {
    grid-column: 1 / 3;
    grid-row: 1;
    aspect-ratio: 4 / 3;
  }

  .product-gallery img:not(.gallery-main) {
    aspect-ratio: 1;
  }

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

  .feature-product img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .hero .action-row,
  .hero .button,
  .visit-copy .action-row,
  .visit-copy .button {
    width: 100%;
  }

  .carousel-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
