@font-face {
  font-family: "Swei Spring Sugar";
  src: url("./assets/fonts/SweiSpringSugarCJKtc-Black-subset.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f3efe6;
  --ivory: #fbf8f1;
  --warm-white: #fffdf8;
  --stone: #d9d2c5;
  --taupe: #a79e90;
  --coffee: #4b3d33;
  --ink: #171512;
  --charcoal: #23201c;
  --line: rgba(23, 21, 18, 0.16);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1280px;
  --side: clamp(20px, 4vw, 56px);
  --section: clamp(84px, 10vw, 150px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

figure,
p,
h1,
h2,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

.shell {
  width: min(calc(100% - (var(--side) * 2)), var(--max-width));
  margin-inline: auto;
}

.narrow-shell {
  max-width: 900px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  background: var(--ink);
  color: rgba(255,255,255,.88);
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px var(--side);
  text-align: center;
}

.announcement p {
  font-size: 10px;
  letter-spacing: .19em;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, backdrop-filter .3s ease, background .3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--ivory) 86%, transparent);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  letter-spacing: .08em;
  white-space: nowrap;
}

.brand-primary {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
}

.brand-divider {
  color: var(--taupe);
}

.brand-secondary {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px 0 10px 14px;
}

.menu-toggle-line {
  display: block;
  width: 25px;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .25s ease;
}

.eyebrow,
.micro-heading,
.boundary-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.4;
}

.eyebrow span {
  padding-inline: .35em;
  color: var(--taupe);
}

.eyebrow-light {
  color: rgba(255,255,255,.72);
}

.centered {
  text-align: center;
}

.hero {
  padding: clamp(24px, 4vw, 54px) 0 clamp(82px, 9vw, 132px);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: end;
  gap: clamp(34px, 5vw, 80px);
}

.hero-copy {
  padding-bottom: clamp(10px, 3vw, 42px);
}

.hero h1,
.editorial-copy h2,
.section-heading h2,
.process h2,
.corporate h2,
.boundary-heading h2,
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}

.hero h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(54px, 7.2vw, 108px);
}

.hero-text {
  max-width: 600px;
  margin-top: 32px;
  color: #5f574f;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

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

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--coffee);
  border-color: var(--coffee);
}

.button-ghost {
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--cream);
}

.button-light {
  border-color: rgba(255,255,255,.75);
  color: white;
}

.button-light:hover,
.button-light:focus-visible {
  background: white;
  color: var(--ink);
}

.hero-image-wrap {
  height: min(70vw, 760px);
  min-height: 560px;
  max-height: 760px;
}

.hero-image-wrap img {
  object-position: center center;
}

.hero-image-wrap figcaption,
.editorial-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: #6d655d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
}

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

.section-pad {
  padding: var(--section) 0;
}

.brand-statement {
  padding: clamp(76px, 9vw, 125px) 0;
}

.statement {
  margin-top: 28px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.editorial-image {
  height: min(65vw, 780px);
  min-height: 560px;
}

.editorial-copy {
  max-width: 560px;
}

.editorial-copy h2 {
  margin-top: 24px;
  font-size: clamp(50px, 5.4vw, 82px);
}

.lede {
  margin-top: 26px;
  max-width: 520px;
  color: #625a52;
  font-size: 18px;
}

.boundary-columns {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.micro-heading {
  color: #776d63;
  margin-bottom: 14px;
}

.quiet-list {
  list-style: none;
  color: #433d37;
}

.quiet-list li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(23,21,18,.08);
  font-size: 14px;
}

.section-warm {
  background: var(--cream);
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(44px, 7vw, 88px);
}

.section-heading h2,
.corporate h2,
.boundary-heading h2 {
  margin-top: 20px;
  font-size: clamp(44px, 5.2vw, 76px);
}

.curated-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.editorial-card-large {
  height: min(62vw, 720px);
}

.editorial-card-offset {
  height: min(48vw, 560px);
  margin-top: clamp(60px, 10vw, 140px);
}

.editorial-card figcaption {
  color: #5f574f;
}

.food-grid {
  display: grid;
  grid-template-columns: 1.24fr .34fr .82fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: end;
}

.food-shot-wide {
  height: min(54vw, 650px);
}

.food-shot-tall {
  height: min(64vw, 760px);
}

.food-note {
  padding-bottom: 28px;
}

.food-note p:last-child {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
}

.section-dark {
  background: var(--charcoal);
  color: white;
}

.process-intro {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 30px;
  align-items: start;
  margin-bottom: clamp(52px, 7vw, 90px);
}

.process h2 {
  font-size: clamp(52px, 6.6vw, 96px);
}

.process-list {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.2);
}

.process-list li {
  display: grid;
  grid-template-columns: 90px .7fr 1.3fr;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.process-no,
.process-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.process-no {
  color: rgba(255,255,255,.42);
}

.process-desc {
  color: rgba(255,255,255,.67);
  max-width: 560px;
}

.corporate-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.corporate-copy p:last-child {
  margin-top: 28px;
  max-width: 450px;
  color: #665d55;
  font-size: 18px;
}

.corporate-image {
  height: min(60vw, 720px);
}

.boundary-heading {
  max-width: 900px;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.boundary-panel {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.boundary-side {
  padding: clamp(34px, 5vw, 68px);
}

.boundary-divider {
  background: var(--line);
}

.boundary-kicker {
  margin-bottom: 26px;
  color: #6b6259;
}

.boundary-side ul {
  list-style: none;
}

.boundary-side li {
  padding: 11px 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 38px);
  letter-spacing: -.02em;
  border-bottom: 1px solid rgba(23,21,18,.08);
}

.final-cta {
  background: #302921;
  color: white;
  text-align: center;
  padding: clamp(96px, 12vw, 176px) 0;
}

.final-cta-inner {
  max-width: 980px;
}

.final-cta h2 {
  margin-top: 26px;
  font-size: clamp(50px, 6.3vw, 92px);
}

.final-cta .button {
  margin-top: 38px;
}

.integration-note {
  margin-top: 18px;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  letter-spacing: .04em;
}

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.68);
  padding: 38px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  font-size: 12px;
}

.footer-brand {
  margin-bottom: 4px;
  color: white;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .03em;
}

.footer-note {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.image-reveal {
  overflow: hidden;
}

.image-reveal img {
  transform: scale(1.035);
  transition: transform 1.2s var(--ease);
}

.image-reveal.visible img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .image-reveal img {
    transform: none;
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
    z-index: 3;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: calc(34px + 72px) 0 0 0;
    z-index: 2;
    padding: 42px var(--side);
    background: var(--ivory);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
  }

  .site-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -.02em;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-shell,
  .editorial-grid,
  .corporate-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-image-wrap {
    height: 72vh;
    min-height: 580px;
  }

  .editorial-image {
    min-height: 620px;
  }

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

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

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

  .food-shot-wide {
    grid-column: 1 / -1;
  }

  .food-note {
    align-self: start;
    padding-top: 22px;
  }

  .process-intro {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 60px .8fr 1.2fr;
  }

  .corporate-copy {
    max-width: 760px;
  }

  .corporate-image {
    min-height: 600px;
  }
}

@media (max-width: 640px) {
  :root {
    --side: 18px;
    --section: 84px;
  }

  .announcement {
    min-height: 32px;
    padding: 7px 14px;
  }

  .announcement p {
    font-size: 8px;
    letter-spacing: .13em;
  }

  .brand-secondary {
    display: none;
  }

  .brand-divider {
    display: none;
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 84px;
  }

  .hero-shell {
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 68px);
  }

  .hero-text {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .hero-image-wrap {
    height: 125vw;
    min-height: 0;
    max-height: none;
  }

  .hero-image-wrap figcaption {
    align-items: flex-start;
  }

  .brand-statement {
    padding: 78px 0;
  }

  .statement {
    margin-top: 22px;
    font-size: 34px;
  }

  .editorial-grid {
    gap: 42px;
  }

  .editorial-image {
    height: 122vw;
    min-height: 0;
  }

  .editorial-copy h2,
  .section-heading h2,
  .corporate h2,
  .boundary-heading h2 {
    font-size: 48px;
  }

  .lede {
    font-size: 16px;
  }

  .boundary-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .curated-grid {
    display: block;
  }

  .editorial-card-large,
  .editorial-card-offset {
    height: 118vw;
    margin-top: 0;
  }

  .editorial-card + .editorial-card {
    margin-top: 48px;
  }

  .food-grid {
    display: block;
  }

  .food-shot-wide {
    height: 108vw;
  }

  .food-note {
    padding: 28px 0 42px;
    width: 75%;
  }

  .food-shot-tall {
    height: 128vw;
    width: 78%;
    margin-left: auto;
  }

  .process h2 {
    font-size: 56px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 8px 14px;
    align-items: start;
    padding: 24px 0;
  }

  .process-title {
    padding-top: 1px;
  }

  .process-desc {
    grid-column: 2;
    padding-top: 8px;
    font-size: 14px;
  }

  .corporate-grid {
    gap: 40px;
  }

  .corporate-copy p:last-child {
    font-size: 16px;
  }

  .corporate-image {
    height: 112vw;
    min-height: 0;
  }

  .boundary-panel {
    display: block;
  }

  .boundary-side {
    padding: 34px 0;
  }

  .boundary-divider {
    height: 1px;
  }

  .boundary-side li {
    font-size: 29px;
  }

  .final-cta h2 {
    font-size: 52px;
  }

  .footer-inner {
    display: block;
  }

  .footer-note {
    margin-top: 22px;
    text-align: left;
  }
}

/* Swei Spring Sugar — 只用於中文 Hero 大標與中文 section heading；body/nav/button/英文 heading/Chatbase 維持原字體 */
.hero h1:lang(zh),
.section-heading h2:lang(zh),
.editorial-copy h2:lang(zh),
.corporate-copy h2:lang(zh),
.boundary-heading h2:lang(zh),
.process h2:lang(zh),
.final-cta h2:lang(zh),
h1.zh,
h2.zh {
  font-family: "Swei Spring Sugar", var(--serif), serif;
  font-weight: 900;
}
