: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: 92px;
  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: auto;
  height: 68px;
  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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-tools > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.header-icon {
  display: block;
  width: 26px;
  height: 26px;
}

.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: 238px;
  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;
}

.flavor-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid #315d7d;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #315d7d;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}

.flavor-buy-button:hover,
.flavor-buy-button:focus-visible {
  background: #315d7d;
  color: #fff;
}

.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 .buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #315d7d;
  border-radius: 999px;
  color: #315d7d;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.price-row .buy-button:hover,
.price-row .buy-button:focus-visible {
  background: #315d7d;
  color: #fff;
}

.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 .curve-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 34px;
}
.curve-mark svg {
  width: 58px;
  height: 30px;
  overflow: visible;
}
.curve-mark path {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 2.6;
}
.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;
}

/* Brand introduction: editorial content page */
.site-header nav a.is-active { color: var(--ink); position: relative; }
.site-header nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 30px; height: 2px; background: #b7874e; transform: translateX(-50%); }
.brand-page { background: #fff; }
.brand-page main p { color: #547286; }
.intro-hero { height: 595px; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); overflow: hidden; background: #f1f7f7; border-left: 15px solid var(--ink); }
.intro-hero-copy { display: grid; align-content: start; padding: 48px clamp(42px, 7vw, 108px); }
.intro-hero .eyebrow { margin-bottom: 28px; color: #b7874e; font-size: .78rem; letter-spacing: .08em; }
.intro-hero h1 { margin: 0 0 25px; font-size: clamp(2.65rem, 4.5vw, 4.6rem); line-height: 1.23; letter-spacing: .035em; }
.intro-hero-copy > p:not(.eyebrow) { max-width: 420px; margin-bottom: 38px; font-size: 1.12rem; font-weight: 600; }
.intro-hero-copy span { width: min(100%, 370px); padding-top: 25px; border-top: 2px solid #b7874e; color: var(--ink); font-weight: 700; letter-spacing: .08em; }
.intro-hero figure { height: 595px; min-height: 0; margin: 0; overflow: hidden; }
.intro-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.intro-question { display: grid; grid-template-columns: 1.32fr .74fr; gap: 70px; align-items: center; padding: 54px clamp(42px, 8vw, 128px); }
.intro-question h2 { margin-bottom: 15px; font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.3; }
.intro-question p { margin: 0; font-size: 1.1rem; font-weight: 600; }
.intro-question aside { padding: 30px 32px; color: #fff; background: var(--ink); font-size: 1.28rem; font-weight: 700; line-height: 1.45; }
.intro-question aside small { display: block; margin-top: 14px; color: #d5e5ea; font-size: .91rem; font-weight: 500; line-height: 1.7; }
.brand-chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: clamp(42px, 9vw, 132px); align-items: center; padding: 68px clamp(42px, 8vw, 128px); }
.chapter-select { background: #eff7f8; }
.chapter-copy { max-width: 590px; }
.chapter-number { margin: 0 0 13px; color: #b7874e !important; font-size: .83rem; font-weight: 700; }
.chapter-label { margin-bottom: 28px; color: #547286 !important; font-size: .9rem; font-weight: 700; letter-spacing: .1em; }
.chapter-copy h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.6vw, 3.55rem); line-height: 1.28; letter-spacing: .035em; }
.chapter-copy > p:not(.chapter-number):not(.chapter-label) { max-width: 550px; margin-bottom: 34px; font-size: 1.04rem; font-weight: 500; }
.chapter-copy strong { display: block; max-width: 490px; padding-top: 21px; border-top: 1px solid #cddfe5; color: var(--ink); letter-spacing: .04em; }
.brand-chapter figure { margin: 0; }
.brand-chapter figure img { width: 100%; aspect-ratio: .98 / 1; object-fit: cover; border: 8px solid #fff; box-shadow: 0 10px 0 rgba(6, 47, 95, .04); }
.brand-chapter figcaption { margin-top: 15px; color: #315d7d; font-size: .9rem; font-weight: 700; text-align: center; }
.chapter-roast { grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); }
.chapter-roast figure img { border-color: #eff7f8; }
.flavor-direction { padding: 68px clamp(42px, 8vw, 128px) 58px; background: var(--ink); color: #fff; }
.flavor-direction .chapter-number { color: #d7a35e !important; }
.flavor-direction .chapter-label { margin-bottom: 29px; color: #b9d0db !important; }
.flavor-direction h2 { margin-bottom: 20px; color: #fff; font-size: clamp(2.15rem, 4vw, 3.7rem); letter-spacing: .1em; }
.flavor-intro { max-width: 700px; margin-bottom: 40px; color: #d5e5ea !important; font-size: 1rem; }
.flavor-directions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.flavor-directions article { padding-top: 18px; border-top: 1px solid #537895; }
.flavor-directions b, .flavor-directions small, .flavor-directions span { display: block; }
.flavor-directions b { color: #d7a35e; font-size: 2.5rem; line-height: 1.1; }
.flavor-directions small { margin: 5px 0; color: #fff; font-weight: 700; letter-spacing: .07em; }
.flavor-directions span { color: #d5e5ea; font-size: .96rem; }
.brand-conclusion { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(48px, 10vw, 150px); padding: 66px clamp(42px, 8vw, 128px) 90px; background: #f4f9fa; }
.brand-conclusion h2 { margin-bottom: 23px; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.3; }
.brand-conclusion > div:first-child p { color: var(--ink); font-size: 1.25rem; font-weight: 700; line-height: 1.8; }
.brand-conclusion > div:last-child { align-self: end; max-width: 600px; }
.brand-conclusion > div:last-child p { font-size: 1rem; }

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

  .brand img { width: auto; height: 52px; }
  .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; }
  .intro-hero, .brand-chapter, .chapter-roast { grid-template-columns: 1fr; }
  .intro-hero { height: auto; border-left: 0; overflow: visible; }
  .intro-hero figure { height: 410px; min-height: 410px; order: -1; }
  .intro-hero-copy { padding-block: 56px; }
  .intro-question { grid-template-columns: 1fr; gap: 30px; }
  .brand-chapter { gap: 42px; }
  .brand-chapter figure { max-width: 620px; justify-self: center; }
  .flavor-directions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-conclusion { grid-template-columns: 1fr; gap: 28px; }
  .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;
  }
  .intro-hero-copy { padding: 44px 24px 50px; }
  .intro-hero figure { height: 330px; min-height: 330px; }
  .intro-hero h1 { font-size: 2.42rem; }
  .intro-question, .brand-chapter, .flavor-direction, .brand-conclusion { padding-left: 24px; padding-right: 24px; }
  .intro-question { padding-top: 42px; padding-bottom: 42px; }
  .intro-question p br, .flavor-intro br { display: none; }
  .intro-question aside { padding: 24px; }
  .brand-chapter { padding-top: 52px; padding-bottom: 52px; }
  .chapter-copy h2 { font-size: 2.15rem; }
  .flavor-direction { padding-top: 52px; }
  .flavor-directions { gap: 22px; }
  .brand-conclusion { padding-top: 52px; padding-bottom: 62px; }
  .flavor-grid,
  .product-grid,
  .promise-strip { grid-template-columns: 1fr; }
  .flavor-card { min-height: 220px; }
  .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; }
}

/* Approved luxury editorial direction — Logo6 */
:root {
  --ink: #1d1916;
  --muted: #6f625b;
  --soft: #fcf8f1;
  --paper: #fffdf9;
  --accent: #e85b3d;
  --accent-deep: #cf315f;
  --gold: #c58a39;
  --line: rgba(63, 43, 32, .14);
  --shadow: 0 16px 38px rgba(61, 41, 28, .09);
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

p { color: var(--muted); }

h1,
h2,
.flavor-card h3,
.flavor-directions b {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif;
  font-weight: 600;
}

.site-header {
  height: 82px;
  grid-template-columns: 210px 1fr 150px;
  padding-inline: clamp(24px, 6vw, 96px);
  background: rgba(255, 253, 249, .94);
  border-bottom-color: rgba(63, 43, 32, .1);
  backdrop-filter: blur(20px);
}

.brand {
  width: 154px;
  height: 70px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.brand img {
  width: 154px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.site-header nav {
  gap: clamp(28px, 4vw, 60px);
  color: #332923;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
}

.site-header nav a {
  position: relative;
  padding: 30px 0 26px;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 17px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: translateX(-50%);
  transition: width .2s ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a.is-active::after { width: 28px; }

.site-header nav a.is-active { color: var(--ink); }

.header-tools { color: #2d2723; font-size: 25px; }
.cart span { background: var(--accent); }

.hero-section {
  min-height: 570px;
  padding: 82px clamp(28px, 8vw, 118px);
  background:
    linear-gradient(90deg, rgba(255,253,249,.96) 0%, rgba(255,248,238,.76) 40%, rgba(255,242,225,.14) 70%),
    url("assets/story.png") center / cover no-repeat;
}

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

.kicker,
.label {
  color: var(--accent);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.hero-content h1 {
  max-width: 660px;
  margin-bottom: 24px;
  color: #181310;
  font-size: clamp(3rem, 5.4vw, 5.1rem);
  line-height: 1.18;
  letter-spacing: .045em;
}

.lead {
  color: #45352d;
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  font-weight: 500;
  letter-spacing: .08em;
}

.primary-button {
  min-height: 46px;
  padding-inline: 26px;
  background: linear-gradient(100deg, #dc6b34, #df356c);
  box-shadow: 0 12px 26px rgba(218, 68, 76, .2);
  font-size: .9rem;
}

.ghost-button {
  color: #3b2b23;
  border-color: rgba(68, 43, 30, .55);
  background: rgba(255, 253, 249, .76);
}

.flavors,
.products-section { background: var(--paper); }

.flavors { padding-top: 52px; padding-bottom: 42px; }
.products-section { padding-top: 42px; padding-bottom: 72px; }

.section-heading { margin-bottom: 34px; }
.section-heading::before {
  content: "DISCOVER YOUR FLAVOR";
  display: block;
  margin-bottom: 10px;
  color: #9a8d85;
  font-size: .68rem;
  letter-spacing: .34em;
}

.products-section .section-heading::before { content: "SELECTED COFFEE"; }

.section-heading h2 {
  color: #211915;
  font-size: clamp(2.3rem, 3.7vw, 3.45rem);
  letter-spacing: .18em;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 15px auto 0;
  background: var(--accent);
}

.section-heading p {
  color: #76655b;
  font-size: .96rem;
  font-weight: 500;
}

.flavor-grid,
.product-grid { gap: 20px; }

.flavor-card {
  min-height: 260px;
  border: 1px solid rgba(93, 61, 44, .08);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.flavor-card h3 { color: #241915; }
.flavor-card strong { color: #47362e; font-size: .83rem; font-weight: 600; }
.flavor-card p { color: #4f4038; font-weight: 600; }

.flavor-buy-button,
.price-row .buy-button {
  border-color: rgba(207, 63, 64, .58);
  border-radius: 999px;
  color: #c84e3d;
  background: rgba(255,253,249,.86);
}

.flavor-buy-button:hover,
.flavor-buy-button:focus-visible,
.price-row .buy-button:hover,
.price-row .buy-button:focus-visible {
  color: #fff;
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
}

.product-card { border-bottom-color: rgba(78, 51, 38, .17); }
.product-photo {
  border-radius: 2px;
  background: #f7f0e8;
  box-shadow: 0 10px 28px rgba(67, 46, 34, .09);
}
.product-card h3 { color: #2c211b; font-weight: 600; }
.product-card p { color: #77665d; font-weight: 400; }

.story-band {
  min-height: 470px;
  padding-block: 72px;
  background:
    linear-gradient(90deg, rgba(255,250,243,.99) 0%, rgba(255,247,237,.9) 43%, rgba(255,246,235,.06) 70%),
    url("assets/hero.png") center / cover no-repeat;
}

.story-copy h2,
.craft-copy h2 {
  color: #201713;
  letter-spacing: .06em;
}

.story-copy p:not(.label),
.craft-copy > p { color: #68554b; font-weight: 500; }

.craft-section { background: linear-gradient(180deg, #fffdf9, #fbf5ed); }
.craft-icons { border-color: var(--line); }
.craft-icons article { border-color: var(--line); }
.craft-icons p { color: #352820; font-weight: 600; }
.curve-mark path { stroke: var(--accent); }

.promise-strip {
  background: #fffdfa;
  border-color: var(--line);
}
.promise-strip article { color: #33261f; border-color: var(--line); }
.promise-strip span { color: var(--accent); }
.promise-strip p { color: #33261f; }

.site-footer {
  min-height: 112px;
  grid-template-columns: 190px 1fr auto;
  background: #fffdf9;
  border-top: 1px solid rgba(70, 44, 31, .08);
}

.site-footer img {
  width: 136px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.site-footer nav { color: #4b3b33; font-weight: 600; }
.site-footer small { color: #9a8b82; }

/* Brand page color alignment */
.brand-page,
.brand-page main { background: var(--paper); }
.brand-page main p { color: #716158; }
.intro-hero {
  background: #fbf4eb;
  border-left-color: var(--accent);
}
.intro-hero .eyebrow,
.chapter-number { color: var(--accent) !important; }
.intro-hero-copy span { border-top-color: var(--accent); color: var(--ink); }
.intro-question aside { background: #2b211c; }
.intro-question aside small { color: #e6d9cf; }
.chapter-select { background: #fbf3e9; }
.chapter-label { color: #8a7569 !important; }
.chapter-copy strong { border-top-color: #dfcfc3; }
.brand-chapter figure img { box-shadow: 0 12px 34px rgba(73, 47, 33, .1); }
.brand-chapter figcaption { color: #8c6351; }
.flavor-direction { background: #241b17; }
.flavor-direction .chapter-number,
.flavor-directions b { color: #f08a52 !important; }
.flavor-direction .chapter-label,
.flavor-intro,
.flavor-directions span { color: #d9c7bd !important; }
.flavor-directions article { border-top-color: #665046; }
.brand-conclusion { background: #fbf5ed; }

@media (max-width: 980px) {
  .site-header {
    height: 72px;
    grid-template-columns: 175px 1fr;
  }
  .brand { width: 132px; height: 64px; }
  .brand img { width: 132px; max-height: 64px; }
  .hero-section { min-height: 570px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer img { width: 128px; }
}

@media (max-width: 620px) {
  .site-header { height: 68px; }
  .brand { width: 116px; height: 58px; }
  .brand img { width: 116px; max-height: 58px; }
  .hero-section {
    min-height: 620px;
    padding-top: 54px;
    background:
      linear-gradient(180deg, rgba(255,253,249,.96) 0%, rgba(255,248,239,.62) 50%, rgba(255,245,232,.08) 100%),
      url("assets/story.png") 66% center / cover no-repeat;
  }
  .hero-content h1 { font-size: 2.9rem; }
  .flavors { padding-top: 42px; }
  .flavor-card { min-height: 230px; }
  .story-band {
    background:
      linear-gradient(180deg, rgba(255,253,249,.98) 0%, rgba(255,249,241,.84) 50%, rgba(255,246,235,.08) 100%),
      url("assets/hero.png") 58% center / cover no-repeat;
  }
  .site-footer img { width: 118px; }
}

/* Demo-accurate flavor and selected-coffee sections */
.flavors {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.flavors::before,
.flavors::after {
  content: none;
}

.flavors::before { top: 34px; left: -170px; }
.flavors::after { top: 44px; right: -185px; }

.flavor-grid {
  position: relative;
  z-index: 1;
  gap: 16px;
  max-width: 1320px;
  margin-inline: auto;
}

.flavor-card {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(88, 55, 39, .1);
  background: #fff;
  box-shadow: 0 13px 30px rgba(64, 42, 29, .1);
}

.flavor-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.flavor-card-copy {
  min-height: 198px;
  padding: 20px 20px 22px;
  background: rgba(255, 253, 249, .98);
}

.flavor-card h3 {
  display: inline-block;
  margin: 0 8px 7px 0;
  color: var(--flavor-accent, var(--accent));
  font-family: "PingFang TC", "Noto Sans TC", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.flavor-card h3::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--flavor-accent, var(--accent));
  vertical-align: -1px;
}

.flavor-card strong {
  display: inline-block;
  margin: 0 0 7px;
  color: #514239;
  font-size: .7rem;
  letter-spacing: .2em;
}

.flavor-card p {
  min-height: 68px;
  margin-bottom: 0;
  color: #493a32;
  font-size: .92rem;
  line-height: 1.6;
}

.flavor-card p span {
  color: #807067;
  font-weight: 400;
}

.flavor-card .flavor-buy-button {
  min-height: auto;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--flavor-accent, var(--accent));
  background: transparent;
  font-size: .8rem;
  letter-spacing: .08em;
}

.flavor-card .flavor-buy-button::after { content: " →"; }
.flavor-card .flavor-buy-button:hover,
.flavor-card .flavor-buy-button:focus-visible {
  color: #8f2d28;
  background: transparent;
}

.flavor-floral { --flavor-accent: #e46985; }
.flavor-fruity { --flavor-accent: #ed6a2c; }
.flavor-sweet { --flavor-accent: #bf8422; }
.flavor-rich { --flavor-accent: #795238; }

.products-section {
  padding-top: 54px;
  padding-bottom: 78px;
  background:
    linear-gradient(180deg, #fffdf9 0 19%, rgba(244, 232, 219, .72) 19% 68%, #fffdf9 68% 100%);
}

.product-grid {
  max-width: 1320px;
  margin-inline: auto;
  gap: 10px;
}

.product-card {
  padding-bottom: 20px;
  border-bottom: 0;
  background: rgba(255, 253, 249, .92);
}

.product-photo {
  aspect-ratio: .88 / 1;
  margin-bottom: 18px;
  border-radius: 0;
  background-image: url("assets/products.png");
  background-position: var(--product-position);
  background-size: 400% auto;
  background-repeat: no-repeat;
  box-shadow: none;
}

.product-card h3,
.product-card > p,
.product-card .price-row {
  margin-left: 16px;
  margin-right: 16px;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  letter-spacing: .02em;
}

.product-card > p {
  min-height: 48px;
  margin-bottom: 16px;
  font-size: .86rem;
  line-height: 1.55;
}

.price-row {
  font-size: .88rem;
  letter-spacing: .08em;
}

.price-row .buy-button {
  min-height: 34px;
  padding-inline: 15px;
  font-size: .74rem;
}

@media (max-width: 980px) {
  .flavor-card-copy { min-height: 186px; }
  .product-photo { aspect-ratio: 1.05 / 1; }
}

@media (max-width: 620px) {
  .flavors { padding-top: 48px; }
  .flavor-card-image { aspect-ratio: 16 / 10; }
  .flavor-card-copy { min-height: 0; }
  .flavor-card p { min-height: 0; }
  .products-section {
    padding-top: 46px;
    background: linear-gradient(180deg, #fffdf9, #f7eee4 50%, #fffdf9);
  }
  .product-card { max-width: 430px; margin-inline: auto; }
  .product-photo { aspect-ratio: 1 / 1; }
}

/* Approved demo composition: illustrated flavor backdrop and split story panel */
.flavors {
  isolation: isolate;
  padding-top: 72px;
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 1% 38%, rgba(244, 153, 137, .18) 0, rgba(244, 153, 137, .08) 22%, transparent 43%),
    radial-gradient(circle at 99% 18%, rgba(238, 123, 99, .15) 0, rgba(238, 123, 99, .06) 23%, transparent 45%),
    linear-gradient(180deg, #fffdf9 0%, #fffaf5 48%, #fffdf9 100%);
}

.flavors::before,
.flavors::after {
  z-index: -1;
  width: 430px;
  height: 430px;
  border: 0;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .085;
  filter: saturate(.72) contrast(.9);
  -webkit-mask-image: radial-gradient(circle, #000 0 34%, rgba(0,0,0,.74) 55%, transparent 78%);
  mask-image: radial-gradient(circle, #000 0 34%, rgba(0,0,0,.74) 55%, transparent 78%);
}

.flavors::before { top: 96px; left: -170px; background-image: url("assets/flavor-floral-v2.png"); }
.flavors::after { top: 26px; right: -150px; background-image: url("assets/flavor-fruity-v2.png"); }

.flavors .section-heading,
.flavors .flavor-grid { position: relative; z-index: 1; }

.story-band {
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  padding: 0;
  background: #fbf2e8;
}

.story-band::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  min-height: 530px;
  background: url("assets/hero.png") 71% center / cover no-repeat;
}

.story-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 76px clamp(42px, 7vw, 110px);
  background:
    radial-gradient(circle at 4% 96%, rgba(236, 110, 82, .15), transparent 35%),
    radial-gradient(circle at 96% 8%, rgba(240, 145, 90, .12), transparent 31%),
    #fbf2e8;
}

.story-eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
}

.story-copy h2 {
  margin-bottom: 24px;
  color: #251d19;
  font-size: clamp(2rem, 3.45vw, 3.65rem);
  line-height: 1.2;
}

.story-copy p:not(.story-eyebrow) {
  max-width: 560px;
  margin-bottom: 30px;
  color: #66554a;
  font-size: 1rem;
  line-height: 1.95;
}

.story-copy .ghost-button {
  border-color: rgba(63, 45, 34, .52);
  color: #392b23;
  background: rgba(255, 253, 249, .35);
}

@media (max-width: 980px) {
  .story-band { grid-template-columns: 1fr 1fr; }
  .story-copy { padding: 58px 40px; }
}

@media (max-width: 720px) {
  .flavors { padding-top: 52px; padding-bottom: 56px; }
  .flavors::before, .flavors::after { width: 290px; height: 290px; opacity: .07; }
  .story-band { grid-template-columns: 1fr; }
  .story-band::after {
    grid-column: 1;
    grid-row: 1;
    min-height: 330px;
    background-position: 68% center;
  }
  .story-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 52px 26px 58px;
  }
  .story-copy h2 { font-size: clamp(2rem, 10vw, 3rem); }
}

/* Marked demo details: corner botanicals and story watercolor */
.flavors {
  isolation: isolate;
  background: #fffdf9;
}

.flavors::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    url("assets/demo-flavor-left.png") left top / 24% auto no-repeat,
    url("assets/demo-flavor-right.png") right top / 26% auto no-repeat;
  opacity: 1;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}

.flavors::after { content: none; }
.flavors .section-heading,
.flavors .flavor-grid { position: relative; z-index: 1; }

.story-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fbf2e8;
}

.story-copy {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(90deg, #fffaf4 0%, #fffaf4 84%, rgba(255,250,244,0) 100%);
}

.story-band::before { content: none; }

@media (max-width: 720px) {
  .flavors::before {
    width: auto;
    height: auto;
    background-position: left top, right top;
    background-size: 38% auto, 40% auto;
    opacity: 1;
  }

}

/* Match the approved demo's proportions rather than a split photo panel. */
@media (min-width: 721px) {
  .flavors {
    padding: clamp(36px, 3.5vw, 56px) 5% clamp(32px, 3vw, 48px);
  }
  .flavor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flavor-card-image { aspect-ratio: 1.65; }
  .flavor-card-copy { min-height: 0; padding: 20px 16px; }
  .flavor-card p { min-height: 68px; }
  .story-band {
    display: block;
    min-height: 420px;
    padding: 0;
    background: url("assets/hero.png") center / cover no-repeat;
  }
  .story-band::after { content: none; }
  .story-copy {
    width: 53%;
    min-height: 420px;
    padding: 46px 8% 46px 8%;
  }
  .story-copy h2 { font-size: clamp(1.8rem, 3.4vw, 3.4rem); }
  .story-copy p:not(.story-eyebrow) { font-size: .95rem; line-height: 1.8; }
}

/* Feather the actual cropped artwork into the ivory section, not a rectangle. */
.flavors::before,
.flavors::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: auto;
  z-index: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  opacity: 1;
  filter: none;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.flavors::before {
  left: 0;
  right: auto;
  width: 24%;
  aspect-ratio: 198 / 143;
  background-image: url("assets/demo-flavor-left.png");
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%), linear-gradient(to right, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%), linear-gradient(to right, #000 0%, #000 65%, transparent 100%);
}

.flavors::after {
  left: auto;
  right: 0;
  width: 26%;
  aspect-ratio: 217 / 143;
  background-image: url("assets/demo-flavor-right.png");
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%), linear-gradient(to left, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%), linear-gradient(to left, #000 0%, #000 65%, transparent 100%);
}

@media (max-width: 720px) {
  .flavors::before { width: 38%; }
  .flavors::after { width: 40%; }
}
