:root {
  color-scheme: light;
  --ink: #231b16;
  --paper: #f6f2e9;
  --cream: #fff9ed;
  --dark: #241912;
  --muted: #66574c;
  --ochre: #a34221;
  --orange: #ffb367;
  --line: #dcd2c4;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--dark); font-family: var(--font); line-height: 1.6; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #cb591e;
  outline-offset: 4px;
}
::selection { color: var(--dark); background: #ffc38f; }
.shell { width: min(100% - 7.5rem, 78rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  padding: .6rem 1rem;
  border-radius: .5rem;
  color: var(--ink);
  background: var(--cream);
  translate: 0 -200%;
}
.skip-link:focus { translate: 0; }

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--cream);
}
.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid #fff6e32e;
}
.header-inner nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.7rem); }
.header-inner nav a { font-size: .9rem; color: #f3e5d8; transition: color .2s; }
.header-inner nav a:hover, .footer-link:hover { color: var(--orange); }
.brand { display: inline-flex; flex: 0 0 auto; gap: .7rem; align-items: center; font-weight: 760; letter-spacing: .015em; }
.brand-divider {
  display: inline-block;
  height: .9em;
  width: 1px;
  margin: 0 .52rem;
  vertical-align: -.05em;
  background: currentColor;
  opacity: .45;
}
.brand-mark {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  width: 2.1rem;
  height: 2.1rem;
  padding-top: .42rem;
  border-radius: 50%;
  background: var(--orange);
}
.brand-mark i { width: 1.5px; height: .34rem; border-radius: 1rem; background: var(--dark); transform: rotate(18deg); }
.brand-mark i:nth-child(2) { translate: 0 -.08rem; }
.brand-mark::after {
  position: absolute;
  top: .96rem;
  left: .43rem;
  width: 1.24rem;
  height: .6rem;
  border-radius: 2px 2px .7rem .7rem;
  background: var(--dark);
  content: "";
}
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  text-align: center;
  font-weight: 710;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 2.44rem; padding: .4rem 1rem; font-size: .875rem; }
.button-header { color: var(--cream); border-color: #fff6e36b; }
.button-header:hover { color: var(--dark); background: var(--cream); border-color: var(--cream); }
.button-warm { color: #28160d; background: var(--orange); }
.button-warm:hover { background: #ffcd9e; }
.button-ghost { color: var(--cream); border-color: #fff6e373; background: #26170c52; }
.button-ghost:hover { background: #513022; border-color: #e7b68c; }
.hero {
  min-height: min(57rem, max(45rem, 95svh));
  position: relative;
  display: grid;
  isolation: isolate;
  color: var(--cream);
  background: #20150e;
}
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image { overflow: hidden; background: #20150e url("assets/meals/dinner.webp") 70% 50% / cover; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; animation: settle 1.2s ease-out both; }
.hero-shade {
  background:
    linear-gradient(90deg, #1a110ef2 0%, #1a110ed4 22%, #1a110e4a 53%, transparent 78%),
    linear-gradient(180deg, #110a08a8 0%, transparent 22%, transparent 68%, #160d0ad6 100%);
}
.hero-inner { position: relative; display: flex; align-items: center; padding-block: 9.5rem 7rem; }
.hero-copy { max-width: 39rem; animation: appear .75s .12s ease-out both; }
.eyebrow { color: var(--ochre); font-size: .88rem; font-weight: 760; letter-spacing: .16em; }
.hero-eyebrow { display: flex; align-items: center; gap: .62rem; color: #ffce99; }
.hero-eyebrow span { width: 1.65rem; height: 1px; background: currentColor; }
.hero h1 {
  margin: 1.3rem 0 1.4rem;
  font-size: clamp(4.75rem, 8.3vw, 8rem);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.09em;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-deck {
  max-width: 29rem;
  color: #f7e3d4;
  font-size: clamp(1.05rem, 1.6vw, 1.36rem);
  line-height: 1.65;
}
.hero-actions { margin-top: 1.85rem; }
.hero-caption {
  position: absolute;
  right: 0;
  bottom: 2.6rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .72rem 1rem;
  border: 1px solid #e6cdb451;
  border-radius: .9rem;
  background: #26170fbc;
  backdrop-filter: blur(12px);
}
.caption-dot { width: .46rem; height: .46rem; border-radius: 50%; background: var(--orange); }
.hero-caption strong, .hero-caption div span { display: block; }
.hero-caption strong { font-size: .94rem; }
.hero-caption div span { color: #efccae; font-size: .82rem; }

@keyframes appear {
  from { opacity: 0; transform: translateY(.9rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes settle { from { transform: scale(1.03); } to { transform: scale(1); } }

.section-light { background: var(--paper); }
.section-light h2, .ideas h2 {
  margin-block: .75rem 1.2rem;
  font-size: clamp(2.65rem, 5.3vw, 5.4rem);
  font-weight: 780;
  letter-spacing: -.074em;
  line-height: 1.08;
}
.origin { padding: clamp(5rem, 11vw, 10.5rem) 0 clamp(4rem, 8vw, 7.5rem); }
.origin-grid { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: clamp(2.5rem, 7vw, 7.5rem); }
.origin-copy h2 { font-size: clamp(2.6rem, 5vw, 4.95rem); }
.origin-copy p:not(.eyebrow), .product-copy p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.85;
}
.origin-photo { position: relative; transform: rotate(2deg); overflow: hidden; border: .52rem solid #fffaf1; border-radius: 1.35rem; box-shadow: 0 1.2rem 2.8rem #57361928; }
.origin-photo img { width: 100%; height: auto; aspect-ratio: 1.24; object-fit: cover; }
.origin-photo figcaption { padding: .66rem .5rem .42rem; text-align: center; color: var(--muted); background: #fffaf1; font-size: .88rem; }

.experience { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 9rem); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2.5rem;
  margin-bottom: 2.15rem;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p {
  max-width: 23rem;
  margin-bottom: .3rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.demo { overflow: hidden; border: 1px solid #dfd4c6; border-radius: 1.8rem; background: #fffbf4; box-shadow: 0 1.6rem 3rem #60402911; }
.demo-toolbar { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid #e7ddd0; }
.segments { display: flex; min-width: 0; gap: .3rem; padding: .28rem; border-radius: 100vmax; background: #ede3d6; }
.segments button {
  min-height: 2.5rem;
  border: 0;
  border-radius: 100vmax;
  padding: .3rem 1rem;
  background: transparent;
  color: #473929;
  font-size: .95rem;
  font-weight: 690;
  white-space: nowrap;
  cursor: pointer;
}
.segments button:hover { color: #261809; background: #fffaf37d; }
.segments button[aria-pressed="true"] { color: var(--cream); background: #2b241a; }
.demo-body { display: grid; grid-template-columns: 1.17fr 1fr; }
.demo-image { min-height: 25rem; position: relative; }
.demo-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-copy { align-self: center; padding: clamp(1.6rem, 4vw, 4rem); }
.dish-meta { color: #843f25; font-size: .91rem; font-weight: 750; }
.dish-copy h3 {
  margin-block: .57rem;
  font-size: clamp(1.85rem, 3.5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: -.065em;
}
.dish-sides { color: #4f4134; font-size: 1rem; }
.dish-tip { margin-top: 1.1rem; color: var(--muted); font-size: 1rem; }
.dish-energy { margin-top: 1.3rem; padding-top: .85rem; border-top: 1px solid var(--line); color: #74604c; font-size: .93rem; }
.demo-note { margin-top: .86rem; color: #695c51; font-size: .875rem; }

.ideas { color: var(--cream); background: #262318; padding: clamp(5rem, 10vw, 9.5rem) 0; }
.ideas .eyebrow { color: #ffbc7f; }
.ideas-heading { margin-bottom: 2.5rem; }
.ideas-heading > p { color: #e1d6c4; }
.ideas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.idea-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.65rem; }
.idea-content { position: relative; }
.idea-content h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 760; line-height: 1.12; letter-spacing: -.06em; }
.idea-content p { max-width: 28rem; margin-top: .8rem; font-size: 1rem; line-height: 1.75; }
.idea-filter { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3.7vw, 3.2rem); background: #dbe1bb; color: #25331d; }
.idea-filter::after {
  position: absolute;
  z-index: -1;
  inset: auto -20% -100% 25%;
  width: 35rem;
  height: 35rem;
  border: 1px solid #677c3855;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem #677c3817, 0 0 0 3rem #677c3810;
  content: "";
}
.rule-stack { display: grid; gap: .55rem; }
.rule-stack > div { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.rule-stack span { min-width: 3.5rem; color: #394731; font-size: .9rem; font-weight: 680; }
.rule-stack b { display: inline-block; padding: .32rem .66rem; border: 1px solid #8f9d728f; border-radius: 100vmax; background: #f8ffde5e; font-weight: 540; font-size: .9rem; }
.idea-toast { display: grid; min-height: 25rem; align-items: end; padding: clamp(1.5rem, 3.7vw, 3.2rem); }
.idea-toast img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 45%; }
.idea-toast::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #1b100aef, #26150980 46%, transparent 80%); content: ""; }
.idea-toast p { color: #f8e7d6; }
.idea-record { display: grid; grid-column: 1 / -1; grid-template-columns: 1.1fr 1fr; gap: 1.6rem; align-items: center; padding: clamp(1.5rem, 3.7vw, 3.2rem); color: #32231b; background: #eed5bb; }
.entry-example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: clamp(.9rem, 2vw, 1.55rem);
  border: 1px solid #bca088;
  border-radius: 1.15rem;
  background: #fff7ebc9;
}
.entry-title span, .entry-energy span { display: block; color: #725744; font-size: .9rem; }
.entry-title strong { display: block; font-size: .99rem; }
.entry-energy { text-align: right; }
.entry-energy strong { display: block; color: #526035; font-size: clamp(1.85rem, 3.6vw, 3rem); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.055em; }

.product { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.product-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(2rem, 6.7vw, 6.5rem); }
.product-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: grid;
  justify-items: center;
  padding: clamp(1.35rem, 4vw, 3.25rem) clamp(.9rem, 3vw, 2.25rem) 1.1rem;
  border-radius: 1.8rem;
  background: radial-gradient(ellipse at 56% 67%, #e19e65 5%, #b6532e 54%, #673721 100%);
}
.product-stage::before, .product-stage::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: 4%;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid #fff3cf4a;
  border-radius: 50%;
  content: "";
}
.product-stage::after { top: 17%; left: 11%; width: 78%; }
.product-stage figcaption { margin-top: 1rem; color: #fff1de; font-size: .86rem; }
.iphone {
  position: relative;
  width: min(100%, 20.4rem);
  aspect-ratio: 393 / 840;
  padding: .47rem;
  border: 1px solid #bca993;
  border-radius: 2.65rem;
  background: linear-gradient(130deg, #201c19, #777168 9%, #262320 23%, #121110 70%, #827364);
  box-shadow: 0 .3rem .35rem #27120c63, .8rem 1.75rem 3.5rem #29150f77, inset 0 0 0 2px #292623;
}
.iphone::before, .iphone::after {
  position: absolute;
  width: .15rem;
  height: 2.1rem;
  border-radius: .2rem;
  background: #4e4034;
  content: "";
}
.iphone::before { top: 18%; left: -.17rem; box-shadow: 0 2.35rem #4e4034; }
.iphone::after { top: 24%; right: -.17rem; height: 3.05rem; }
.iphone-display {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #1c1b18;
  border-radius: 2.16rem;
  color: #24352a;
  background: #f8f8ed;
}
.iphone-status {
  position: relative;
  flex: 0 0 auto;
  height: 2.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.47rem;
  color: #141713;
  background: #fffef8;
  font-size: .79rem;
  font-weight: 760;
}
.iphone-island {
  position: absolute;
  top: .48rem;
  left: 50%;
  width: 5.55rem;
  height: 1.46rem;
  translate: -50%;
  border-radius: 100vmax;
  background: #121312;
}
.iphone-island::after { position: absolute; top: .55rem; right: .5rem; width: .35rem; height: .35rem; border-radius: 50%; background: #222f39; content: ""; }
.phone-indicators { display: flex; align-items: center; gap: .22rem; }
.phone-indicators i:first-child { width: .78rem; height: .6rem; background: #1a1a18; clip-path: polygon(0 65%, 18% 65%, 18% 47%, 43% 47%, 43% 27%, 68% 27%, 68% 0, 94% 0, 94% 100%, 0 100%); }
.phone-indicators i:nth-child(2) { width: .73rem; height: .54rem; border-top: 2px solid #1a1a18; border-radius: 50%; box-shadow: inset 0 3px #fffef8, inset 0 5px #1a1a18; }
.phone-indicators i:last-child { width: .93rem; height: .48rem; border: 1px solid #1a1a18; border-radius: 2px; box-shadow: inset 0 0 0 1px #fffef8; background: #1a1a18; }
.iphone-shot { display: block; width: 100%; min-height: 0; flex: 1; object-fit: fill; }
.iphone-home { flex: 0 0 auto; height: .95rem; display: grid; place-items: center; background: #fffef8; }
.iphone-home::after { width: 29%; height: .21rem; border-radius: 100vmax; background: #151a16; content: ""; }

.footer { color: var(--cream); }
.footer-inner { display: flex; min-height: 6rem; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-link { color: #e5d6c9; font-size: .93rem; }

@media (max-width: 62rem) {
  .shell { width: min(100% - 4rem, 78rem); }
  .origin-grid { gap: 2.7rem; }
  .product-grid { gap: 2.5rem; }
}
@media (max-width: 48rem) {
  .shell { width: calc(100% - 2.4rem); }
  .header-inner { min-height: 4.25rem; }
  .header-inner nav { display: none; }
  .hero { min-height: min(51rem, max(42rem, 95svh)); }
  .hero-inner { align-items: start; padding-block: 8.4rem 9rem; }
  .hero-image img { object-position: 62% 50%; }
  .hero-shade {
    background:
      linear-gradient(90deg, #1a110ebf, #1a110e22 80%),
      linear-gradient(180deg, #110a08d9, #1a110e8c 36%, transparent 82%, #160d0ae3);
  }
  .hero h1 { font-size: clamp(4rem, 11vw, 5.8rem); }
  .hero-caption { bottom: 1.35rem; }
  .origin-grid, .product-grid { grid-template-columns: 1fr; }
  .origin-photo { width: min(100%, 32rem); margin-inline: auto; }
  .origin-photo img { aspect-ratio: 1.52; }
  .section-heading { align-items: start; flex-direction: column; gap: .8rem; }
  .section-heading > p { max-width: 34rem; }
  .demo-image { min-height: 20rem; }
  .demo-body { grid-template-columns: 1fr 1fr; }
  .ideas-grid { grid-template-columns: 1fr; }
  .idea-record { grid-column: auto; }
  .product-stage { padding-top: 2.35rem; }
}
@media (max-width: 34rem) {
  .hero-image { top: 8rem; }
  .hero-image img { object-position: 68% 57%; }
  .hero-shade {
    background:
      linear-gradient(90deg, #1a110e9c, transparent 120%),
      linear-gradient(180deg, #160d0a 9%, #1a110ea6 32%, #160d0a80 52%, transparent 80%, #160d0ac4);
  }
  .hero-inner { padding-top: 7.5rem; }
  .hero-copy { max-width: 19rem; }
  .hero h1 { margin-block: 1rem 1.05rem; }
  .hero-actions { margin-top: 1.3rem; }
  .hero-caption { padding: .52rem .72rem; }
  .hero-caption strong { font-size: .86rem; }
  .hero-caption div span { font-size: .75rem; }
  .origin-photo { transform: rotate(1deg); }
  .demo { border-radius: 1.2rem; }
  .demo-toolbar { padding: .65rem .57rem; column-gap: .33rem; }
  .segments { gap: .02rem; padding: .18rem; }
  .segments button { min-height: 2.4rem; padding: .24rem .53rem; font-size: .875rem; }
  .demo-body, .idea-record { grid-template-columns: 1fr; }
  .demo-image { min-height: 0; aspect-ratio: 1.46; }
  .dish-copy { padding: 1.25rem; }
  .idea-toast { min-height: 21rem; }
  .product-stage { padding: 1.6rem .65rem 0; border-radius: 1.25rem; }
  .iphone { width: min(100%, 19rem); }
}
@media (max-width: 22rem) {
  .shell { width: calc(100% - 1.65rem); }
  .brand { gap: .4rem; font-size: .88rem; }
  .brand-divider { margin-inline: .38rem; }
  .segments button { padding-inline: .36rem; }
  .iphone-status { padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0s !important; }
}
