:root {
  color-scheme: light;
  --page: #f1f2ed;
  --paper: #f8f8f4;
  --ink: #12251c;
  --muted: #5d675f;
  --line: rgba(18, 37, 28, 0.18);
  --green: #173d2d;
  --green-deep: #0d2d21;
  --gold: #a87d35;
  --focus: #176b4c;
  --header-height: 76px;
  --content: min(1280px, calc(100vw - 96px));
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: var(--paper);
  background: var(--green);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-deep);
  transform: translateY(-150%);
}

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

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

.section-shell {
  width: var(--content);
  margin-inline: auto;
}

.taste-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 8px 48px;
  background: rgba(241, 242, 237, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background-color 240ms ease;
}

.taste-header.is-away {
  border-color: var(--line);
  background: rgba(241, 242, 237, 0.99);
}

.taste-brand {
  display: inline-flex;
  align-items: center;
  width: 152px;
  min-height: 0;
}

.taste-brand img {
  width: 100%;
  height: auto;
}

.taste-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
}

.taste-desktop-nav a {
  position: relative;
  padding-block: 10px;
  font-size: 14px;
  text-decoration: none;
}

.taste-desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 240ms ease;
}

.taste-desktop-nav a:hover::after,
.taste-desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.taste-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.taste-menu-button > span:not(.visually-hidden) {
  display: block;
  width: 26px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

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

.taste-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  background: var(--paper);
}

.taste-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 8px 24px;
  border-bottom: 1px solid var(--line);
}

.taste-menu-head > a {
  width: 162px;
}

.taste-menu-head img,
.taste-footer img {
  width: 100%;
  height: auto;
}

.taste-menu-head button {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.taste-menu-head button span {
  position: absolute;
  top: 21px;
  left: 9px;
  width: 26px;
  height: 1px;
  background: currentColor;
}

.taste-menu-head button span:first-child {
  transform: rotate(45deg);
}

.taste-menu-head button span:last-child {
  transform: rotate(-45deg);
}

.taste-menu nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(820px, calc(100vw - 48px));
  margin-inline: auto;
  padding-block: 32px;
}

.taste-menu nav a {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) 1.2fr;
  align-items: baseline;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.taste-menu nav span {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
}

.taste-menu nav small {
  color: var(--muted);
  font-size: 14px;
}

.taste-hero {
  position: relative;
  min-height: 78dvh;
  max-height: 900px;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
}

.taste-hero > img {
  width: 100%;
  height: 100%;
  min-height: 78dvh;
  max-height: 900px;
  object-fit: cover;
  object-position: center 55%;
  animation: hero-settle 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.taste-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 28, 20, 0.02) 18%, rgba(9, 28, 20, 0.68) 100%);
}

.taste-hero-copy {
  position: absolute;
  right: 48px;
  bottom: clamp(76px, 9vh, 104px);
  left: 48px;
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: 48px;
}

.taste-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.taste-hero-copy > p {
  max-width: 26em;
  margin: 0 0 54px;
  font-size: 18px;
  line-height: 1.7;
}

.taste-hero-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 28px;
}

.taste-hero-actions a,
.taste-products-heading > a,
.taste-treehouse-copy > a,
.taste-contact-links a,
.taste-contact-links button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0 3px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}

.taste-hero-actions a {
  color: #fff;
}

.taste-paths {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  padding-block: 132px 144px;
}

.taste-section-intro h2,
.taste-belief h2,
.taste-treehouse h2,
.taste-contact h2 {
  max-width: 12em;
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}

.taste-section-intro p,
.taste-belief p,
.taste-treehouse p,
.taste-contact p {
  max-width: 40em;
  margin: 28px 0 0;
  color: var(--muted);
}

.taste-path-list {
  border-top: 1px solid var(--ink);
}

.taste-path-list a {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) 1.25fr;
  align-items: baseline;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.taste-path-list strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

.taste-path-list span {
  color: var(--muted);
}

.taste-path-list a:hover strong,
.taste-path-list a:focus-visible strong {
  color: var(--gold);
}

.taste-products {
  padding-block: 0 156px;
}

.taste-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.taste-products-heading > a {
  flex: 0 0 auto;
}

.taste-product-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 72px 32px;
  padding-top: 56px;
}

.taste-product {
  grid-column: span 5;
  align-self: start;
  color: inherit;
  text-decoration: none;
}

.taste-product-lead {
  grid-column: 1 / span 7;
}

.taste-product-gallery > .taste-product:nth-child(2) {
  grid-column: 9 / span 4;
  padding-top: 176px;
}

.taste-product-gallery > .taste-product:nth-child(3) {
  grid-column: 2 / span 4;
}

.taste-product-wide {
  grid-column: 7 / span 6;
  padding-top: 92px;
}

.taste-product figure {
  margin: 0;
  overflow: hidden;
  background: #d8d6cf;
}

.taste-product img {
  width: 100%;
  height: auto;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.taste-product:hover img,
.taste-product:focus-visible img {
  transform: scale(1.018);
}

.taste-product > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 0;
}

.taste-product strong {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
}

.taste-product span {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.taste-belief {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 96px;
  padding-block: 124px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.taste-belief dl {
  margin: 0;
}

.taste-belief dl > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.taste-belief dl > div:first-child {
  padding-top: 0;
}

.taste-belief dt {
  font-family: var(--font-display);
  font-size: 25px;
}

.taste-belief dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.taste-treehouse {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: 8vw;
  width: var(--content);
  margin-inline: auto;
  padding-block: 156px;
}

.taste-treehouse figure {
  margin: 0;
}

.taste-treehouse figure img {
  width: 100%;
  height: auto;
}

.taste-treehouse-copy > a {
  margin-top: 34px;
}

.taste-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 110px;
  padding-block: 128px;
  border-top: 1px solid var(--ink);
}

.taste-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.taste-wechat-id {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.taste-qr {
  margin: 0;
}

.taste-qr img {
  width: 100%;
  height: auto;
}

.taste-qr figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.taste-footer {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 150px;
  padding: 32px 48px;
  border-top: 1px solid var(--line);
}

.taste-footer > a {
  display: block;
}

.taste-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.taste-footer nav {
  display: flex;
  gap: 24px;
}

.taste-footer nav a {
  font-size: 13px;
  text-decoration: none;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    opacity: 0.7;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 901px) {
  .taste-hero {
    height: calc(100dvh - var(--header-height));
    min-height: 620px;
    max-height: 900px;
  }

  .taste-hero > img {
    height: 100%;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 48px, 720px);
    --header-height: 68px;
  }

  .taste-header {
    padding-inline: 24px;
  }

  .taste-brand {
    width: 140px;
  }

  .taste-desktop-nav {
    display: none;
  }

  .taste-menu-button {
    display: block;
    grid-column: 3;
  }

  .taste-hero {
    min-height: 76dvh;
    max-height: 760px;
  }

  .taste-hero > img {
    min-height: 76dvh;
    max-height: 760px;
  }

  .taste-hero-copy {
    right: 24px;
    bottom: 30px;
    left: 24px;
    display: block;
  }

  .taste-hero h1 {
    font-size: 56px;
  }

  .taste-hero-copy > p {
    max-width: 28em;
    margin: 16px 0 24px;
    font-size: 16px;
  }

  .taste-hero-actions {
    position: static;
  }

  .taste-paths,
  .taste-belief,
  .taste-treehouse,
  .taste-contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .taste-paths {
    padding-block: 92px 108px;
  }

  .taste-section-intro h2,
  .taste-belief h2,
  .taste-treehouse h2,
  .taste-contact h2 {
    font-size: 40px;
  }

  .taste-products {
    padding-bottom: 116px;
  }

  .taste-product-gallery {
    gap: 56px 24px;
  }

  .taste-product-lead {
    grid-column: 1 / span 7;
  }

  .taste-product-gallery > .taste-product:nth-child(2) {
    grid-column: 8 / span 5;
    padding-top: 120px;
  }

  .taste-product-gallery > .taste-product:nth-child(3) {
    grid-column: 1 / span 5;
  }

  .taste-product-wide {
    grid-column: 6 / span 7;
    padding-top: 70px;
  }

  .taste-product > div {
    display: block;
  }

  .taste-product span {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

  .taste-belief,
  .taste-contact {
    padding-block: 96px;
  }

  .taste-treehouse {
    padding-block: 116px;
  }

  .taste-contact {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 48px;
  }

  .taste-footer {
    grid-template-columns: 160px 1fr;
    padding-inline: 24px;
  }

  .taste-footer nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --content: calc(100vw - 40px);
    --header-height: 64px;
  }

  .taste-header {
    padding: 7px 16px 7px 20px;
  }

  .taste-brand {
    width: 120px;
    min-height: 0;
  }

  .taste-menu-head {
    min-height: 64px;
    padding-inline: 20px 16px;
  }

  .taste-menu-head > a {
    width: 120px;
  }

  .taste-menu nav {
    width: calc(100vw - 40px);
    justify-content: flex-start;
    padding-top: 12vh;
  }

  .taste-menu nav a {
    display: block;
    padding: 19px 0;
  }

  .taste-menu nav span {
    display: block;
    font-size: 29px;
  }

  .taste-menu nav small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
  }

  .taste-hero,
  .taste-hero > img {
    min-height: 72dvh;
    max-height: 680px;
  }

  .taste-hero > img {
    object-position: center 50%;
  }

  .taste-hero-copy {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .taste-hero h1 {
    font-size: 48px;
  }

  .taste-hero-copy > p {
    max-width: 22em;
    margin: 12px 0 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .taste-hero-actions {
    gap: 24px;
  }

  .taste-hero-actions a {
    min-height: 40px;
    font-size: 14px;
  }

  .taste-paths {
    gap: 42px;
    padding-block: 76px 88px;
  }

  .taste-section-intro h2,
  .taste-belief h2,
  .taste-treehouse h2,
  .taste-contact h2 {
    max-width: none;
    font-size: 34px;
    line-height: 1.3;
  }

  .taste-section-intro p,
  .taste-belief p,
  .taste-treehouse p,
  .taste-contact p {
    margin-top: 18px;
    font-size: 15px;
  }

  .taste-path-list a {
    display: block;
    padding: 20px 0;
  }

  .taste-path-list strong {
    display: block;
    font-size: 25px;
  }

  .taste-path-list span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
  }

  .taste-products {
    width: 100%;
    padding-bottom: 88px;
  }

  .taste-products-heading {
    display: block;
    width: calc(100vw - 40px);
    margin-inline: auto;
    padding-bottom: 28px;
  }

  .taste-products-heading > a {
    margin-top: 22px;
    font-size: 14px;
  }

  .taste-product-gallery {
    display: block;
    padding-top: 36px;
  }

  .taste-product,
  .taste-product-lead,
  .taste-product-gallery > .taste-product:nth-child(2),
  .taste-product-gallery > .taste-product:nth-child(3),
  .taste-product-wide {
    display: block;
    width: 100%;
    margin: 0 0 56px;
    padding: 0;
  }

  .taste-product figure {
    width: 100vw;
  }

  .taste-product > div {
    width: calc(100vw - 40px);
    margin-inline: auto;
    padding-top: 15px;
  }

  .taste-product strong {
    font-size: 25px;
  }

  .taste-product span {
    font-size: 13px;
  }

  .taste-belief {
    gap: 42px;
    padding-block: 76px;
  }

  .taste-belief dl > div {
    padding: 18px 0;
  }

  .taste-treehouse {
    width: 100%;
    gap: 34px;
    padding-block: 88px;
  }

  .taste-treehouse figure {
    width: 100vw;
  }

  .taste-treehouse-copy {
    width: calc(100vw - 40px);
    margin-inline: auto;
  }

  .taste-contact {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 76px;
  }

  .taste-qr {
    width: min(72vw, 280px);
    margin-inline: auto;
  }

  .taste-footer {
    display: block;
    min-height: 0;
    padding: 38px 20px 44px;
  }

  .taste-footer > a {
    width: 152px;
  }

  .taste-footer p {
    margin-top: 18px;
  }

  .taste-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin-top: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Public candidate: filing record remains visible without exposing contact details. */
.taste-footer .taste-icp {
  grid-column: 2 / -1;
  justify-self: end;
  font-size: 12px;
}

.taste-footer .taste-icp a {
  color: inherit;
  text-decoration: none;
}

.taste-footer .taste-icp a:hover,
.taste-footer .taste-icp a:focus-visible {
  color: var(--ink);
}

@media (max-width: 980px) {
  .taste-footer .taste-icp {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
