:root {
  --paper: #f6efe4;
  --paper-soft: #fffaf1;
  --ink: #4a3625;
  --muted: #80684e;
  --gold: #b67816;
  --deep-gold: #8c591c;
  --line: rgba(166, 111, 35, 0.35);
  --brown: #5b3a1f;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.9), transparent 30rem),
    radial-gradient(circle at 82% 6%, rgba(214, 168, 82, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(122, 85, 43, 0.06) 0 1px, transparent 1px 18px),
    var(--paper);
  font-family: "Noto Serif TC", "PMingLiU", "Songti TC", Georgia, serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--brown);
  background: linear-gradient(to bottom, rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.52), transparent);
  backdrop-filter: blur(8px);
}

.brand-mark,
.site-header nav,
.contact-strip,
.warning {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-emblem {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Noto Serif TC", serif;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.site-header nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover {
  border-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 88px clamp(24px, 6vw, 92px) 40px;
  background:
    linear-gradient(90deg, rgba(246, 239, 228, 0.88) 0%, rgba(246, 239, 228, 0.66) 35%, rgba(246, 239, 228, 0.04) 70%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.28) 0%, rgba(255, 250, 241, 0.04) 58%, rgba(246, 239, 228, 0.18) 100%),
    url("assets/hero-golden-millet-desktop-labeled.png") center bottom / contain no-repeat,
    var(--paper);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%);
}

.hero::after {
  inset: auto auto -68px -42px;
  width: 360px;
  height: 220px;
  border: 1px solid rgba(177, 124, 49, 0.18);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(54vw, 680px);
  margin-top: clamp(22px, 4vw, 54px);
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--deep-gold);
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: clamp(72px, 8.6vw, 120px);
  font-weight: 600;
  line-height: 0.96;
  text-shadow: 0 12px 28px rgba(146, 90, 24, 0.12);
}

h1 span {
  display: block;
}

.lead {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(21px, 2.5vw, 31px);
  letter-spacing: 0.2em;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 8px 26px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.58);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 0.16em;
}

.side-note {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.side-note-left {
  top: 22%;
  left: clamp(18px, 4vw, 72px);
}

.side-note-right {
  top: 24%;
  right: clamp(18px, 4vw, 74px);
}

.price-seal {
  position: relative;
  z-index: 4;
  display: grid;
  width: clamp(128px, 10vw, 156px);
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  margin-top: 18px;
  margin-left: clamp(0px, 2vw, 36px);
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.78);
  color: var(--deep-gold);
  box-shadow: 0 16px 34px rgba(89, 58, 28, 0.08);
}

.price-seal span {
  font-size: clamp(14px, 1.4vw, 20px);
}

.price-seal strong {
  display: block;
  color: var(--brown);
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.taste-section,
.story-section {
  padding: clamp(72px, 9vw, 128px) clamp(24px, 7vw, 108px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p {
  margin-bottom: 10px;
  color: var(--deep-gold);
  font-style: italic;
  letter-spacing: 0.16em;
}

h2 {
  color: var(--deep-gold);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.18;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-grid article {
  min-height: 258px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: 0 22px 54px rgba(98, 68, 34, 0.08);
}

.feature-icon {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 24px;
}

h3 {
  color: var(--deep-gold);
  font-size: 27px;
  font-weight: 500;
}

.feature-grid p,
.story-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.45), rgba(255, 255, 255, 0.34)),
    rgba(255, 252, 246, 0.36);
}

.story-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(176, 121, 39, 0.22);
  box-shadow: 0 28px 60px rgba(82, 55, 30, 0.16);
}

.story-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 62%;
}

.story-copy {
  max-width: 680px;
}

.taste-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.taste-notes span {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--deep-gold);
  background: rgba(255, 253, 248, 0.66);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.contact-strip a,
.contact-strip address {
  display: grid;
  gap: 8px;
  min-height: 122px;
  justify-content: center;
  align-content: center;
  padding: 22px;
  background: rgba(255, 250, 241, 0.86);
  font-style: normal;
}

.contact-strip span {
  color: var(--deep-gold);
  font-size: 14px;
  letter-spacing: 0.16em;
}

.contact-strip strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
}

.warning {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  min-height: 84px;
  padding: 22px clamp(18px, 5vw, 56px);
  color: #fff8e8;
  background: linear-gradient(90deg, #6b421d, #a16a22 48%, #6b421d);
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.18em;
}

.warning span + span::before {
  content: "|";
  margin-right: 28px;
  opacity: 0.75;
}

@media (max-width: 1050px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(246, 239, 228, 0.92) 0%, rgba(246, 239, 228, 0.7) 34%, rgba(246, 239, 228, 0.14) 75%),
      url("assets/hero-golden-millet-mobile-labeled.png?v=20260614-2") center bottom / cover no-repeat;
    padding-top: 104px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .price-seal {
    margin-left: 0;
  }

  .side-note {
    display: none;
  }
}

@media (min-width: 1051px) and (max-height: 760px) {
  .hero {
    padding-top: 70px;
    padding-bottom: 24px;
  }

  .hero-copy {
    margin-top: 18px;
    max-width: min(52vw, 620px);
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 17px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(62px, 7.4vw, 104px);
  }

  .lead {
    margin-bottom: 12px;
    font-size: clamp(19px, 2.1vw, 27px);
  }

  .pill {
    min-height: 36px;
    padding: 6px 20px;
    font-size: 14px;
  }

  .price-seal {
    width: 112px;
    margin-top: 14px;
  }

  .price-seal strong {
    font-size: 38px;
  }

  .price-seal span {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 250, 241, 0.92);
  }

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

  .hero {
    min-height: auto;
    padding: 92px 20px 430px;
    background-position: center bottom;
  }

  h1 {
    font-size: clamp(58px, 18vw, 96px);
  }

  .lead {
    letter-spacing: 0.1em;
  }

  .price-seal {
    justify-self: center;
    margin-top: 24px;
  }

  .feature-grid,
  .story-section,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .story-image img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .warning span + span::before {
    content: none;
    margin: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 16px;
  }

  .brand-emblem {
    display: none;
  }

  .brand-mark span:last-child {
    display: inline;
    font-size: 15px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .site-header nav {
    letter-spacing: 0.06em;
  }

  .hero-copy {
    text-align: left;
  }

  h1 {
    font-size: clamp(50px, 17vw, 76px);
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 14px;
  }

  .lead {
    font-size: 19px;
    line-height: 1.65;
  }

  .pill {
    width: 100%;
    padding-inline: 12px;
    letter-spacing: 0.08em;
  }

  .taste-section,
  .story-section {
    padding-inline: 20px;
  }

  .contact-strip a,
  .contact-strip address {
    min-height: 98px;
    justify-content: start;
  }

  .warning {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    font-size: 18px;
    letter-spacing: 0.12em;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .site-header nav {
    gap: 10px;
    font-size: 12px;
  }

  .hero {
    padding-inline: 16px;
    padding-bottom: 390px;
  }

  .pill {
    min-height: 0;
    line-height: 1.6;
  }

  .feature-grid article {
    padding: 28px 22px;
  }

  .story-image img {
    height: auto;
  }
}
