:root {
  --ink: #062f5f;
  --muted: #45647b;
  --soft: #f7fbfc;
  --line: rgba(6, 47, 95, .14);
  --shadow: 0 20px 46px rgba(28, 63, 90, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); line-height: 1.85; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  display: grid;
  grid-template-columns: 240px 1fr 160px;
  align-items: center;
  padding: 0 clamp(22px, 7vw, 120px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(6, 47, 95, .08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 190px;
  mix-blend-mode: multiply;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
}

.header-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  font-size: 28px;
  line-height: 1;
}

.cart {
  position: relative;
}

.cart span {
  position: absolute;
  top: -10px;
  right: -13px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.hero-section {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 68px clamp(24px, 9vw, 132px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.76) 38%, rgba(255,255,255,.15) 67%),
    url("assets/story.png") center / cover no-repeat;
}

.hero-content {
  max-width: 610px;
}

.kicker,
.label {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero-content h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  line-height: 1.16;
  letter-spacing: .03em;
}

.lead {
  margin-bottom: 26px;
  color: #0e3c6d;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .06em;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .06em;
}

.primary-button {
  color: #fff;
  background: #06315e;
  box-shadow: 0 14px 28px rgba(6, 49, 94, .2);
}

.ghost-button {
  color: var(--ink);
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, .64);
}

.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: .16em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.flavors {
  padding: 34px clamp(22px, 6vw, 72px) 28px;
  background: #fff;
}

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

.flavor-card {
  min-height: 138px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--flavor-image) center / cover no-repeat;
  box-shadow: 0 10px 24px rgba(22, 60, 88, .1);
}

.flavor-card div {
  position: relative;
  z-index: 1;
}

.flavor-card h3 {
  margin-bottom: 3px;
  font-size: 3rem;
  line-height: .95;
  letter-spacing: .04em;
}

.flavor-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
  letter-spacing: .18em;
}

.flavor-card p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.45;
}

.flavor-card p span {
  display: block;
  max-width: 13.5em;
  margin-top: 2px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.55;
}

.products-section {
  padding: 28px clamp(22px, 6vw, 72px) 52px;
  background: #fff;
}

.product-card {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.product-photo {
  position: relative;
  aspect-ratio: 1.22 / .92;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 6px;
  background: #edf4f6;
  box-shadow: var(--shadow);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  letter-spacing: .08em;
}

.product-card p {
  margin: 0 0 14px;
  color: #315d7d;
  font-size: .98rem;
  line-height: 1.55;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.price-row a {
  font-size: 28px;
  line-height: 1;
}

.story-band {
  min-height: 410px;
  display: grid;
  align-items: center;
  padding: 54px clamp(24px, 9vw, 118px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 44%, rgba(255,255,255,.1) 68%),
    url("assets/hero.png") center / cover no-repeat;
}

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

.story-copy h2,
.craft-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.25;
  letter-spacing: .08em;
}

.story-copy p:not(.label) {
  max-width: 470px;
  margin-bottom: 24px;
  color: #234f70;
  font-size: 1.04rem;
  font-weight: 600;
}

.craft-section {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  min-height: 370px;
  background: linear-gradient(180deg, #fbfdfe, #fff);
}

.craft-photo {
  min-height: 370px;
  background: url("assets/products.png") center / cover no-repeat;
}

.craft-copy {
  display: grid;
  align-content: center;
  padding: 48px clamp(24px, 7vw, 92px);
}

.craft-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.craft-icons article {
  min-height: 108px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 14px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.craft-icons article:first-child { border-left: 0; }
.craft-icons span { font-size: 30px; }
.craft-icons p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.55;
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 82px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .08em;
}

.promise-strip article:first-child { border-left: 0; }
.promise-strip span { font-size: 28px; }
.promise-strip p { margin: 0; color: var(--ink); }

.site-footer {
  min-height: 96px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(22px, 6vw, 72px);
}

.site-footer img {
  width: 172px;
  mix-blend-mode: multiply;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: #254f6b;
  font-size: 14px;
  font-weight: 700;
}

.site-footer small {
  color: #7890a0;
}

.brand-hero {
  min-height: 500px;
  display: grid;
  align-items: center;
  padding: 72px clamp(24px, 9vw, 132px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 45%, rgba(255,255,255,.28) 74%),
    url("assets/story.png") center / cover no-repeat;
}

.brand-hero > div {
  max-width: 720px;
}

.brand-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.15;
  letter-spacing: .08em;
}

.brand-hero p:not(.kicker):not(.lead) {
  max-width: 620px;
  margin-bottom: 26px;
  color: #234f70;
  font-size: 1.08rem;
  font-weight: 600;
}

.brand-article {
  padding: 56px clamp(22px, 10vw, 150px) 72px;
  background: #fff;
}

.brand-article article {
  max-width: 880px;
  margin: 0 auto;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.brand-article article:first-child {
  border-top: 0;
  padding-top: 0;
}

.brand-article h2 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.32;
  letter-spacing: .06em;
}

.brand-article p {
  max-width: 760px;
  color: #365f7b;
  font-size: 1.04rem;
  font-weight: 500;
}

.brand-flavor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.brand-flavor-list p {
  min-height: 116px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdfe;
}

.brand-flavor-list strong,
.brand-flavor-list span {
  display: block;
}

.brand-flavor-list strong {
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: .06em;
}

.brand-flavor-list span {
  color: #45647b;
  line-height: 1.7;
}

.brand-closing {
  text-align: center;
}

.brand-closing h2,
.brand-closing p {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 180px 1fr;
    height: 70px;
  }

  .brand img { width: 162px; }
  .site-header nav { display: none; }
  .header-tools { gap: 16px; font-size: 24px; }
  .hero-section { min-height: 560px; background-position: 62% center; }
  .flavor-grid,
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-section { grid-template-columns: 1fr; }
  .craft-photo { min-height: 290px; }
  .brand-flavor-list { grid-template-columns: 1fr; }
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 16px; }
  .header-tools a:not(.cart) { display: none; }
  .hero-section {
    min-height: 620px;
    align-items: start;
    padding: 44px 20px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.52) 48%, rgba(255,255,255,.06) 100%),
      url("assets/story.png") 66% center / cover no-repeat;
  }
  .kicker { font-size: 15px; }
  .hero-content h1 { font-size: 3rem; }
  .lead { font-size: 1.1rem; }
  .brand-hero {
    min-height: 560px;
    align-items: start;
    padding: 42px 20px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.74) 58%, rgba(255,255,255,.12) 100%),
      url("assets/story.png") 64% center / cover no-repeat;
  }
  .brand-hero h1 { font-size: 3rem; }
  .brand-article {
    padding: 38px 20px 54px;
  }
  .brand-article article {
    padding: 34px 0;
  }
  .flavor-grid,
  .product-grid,
  .promise-strip { grid-template-columns: 1fr; }
  .flavor-card { min-height: 150px; }
  .products-section,
  .flavors { padding-inline: 18px; }
  .story-band {
    align-items: start;
    min-height: 560px;
    padding: 40px 20px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 48%, rgba(255,255,255,.08) 100%),
      url("assets/hero.png") 58% center / cover no-repeat;
  }
  .craft-icons { grid-template-columns: 1fr; }
  .craft-icons article { border-left: 0; border-top: 1px solid var(--line); }
  .craft-icons article:first-child { border-top: 0; }
  .promise-strip article { border-left: 0; border-top: 1px solid var(--line); }
  .promise-strip article:first-child { border-top: 0; }
  .site-footer nav { flex-wrap: wrap; gap: 16px 24px; }
}
