:root {
  --paper: #f7f2ea;
  --paper-light: #fbf9f5;
  --ink: #17251f;
  --muted: #68756e;
  --line: rgba(23, 37, 31, 0.14);
  --coral: #e76f45;
  --coral-dark: #bb4e2b;
  --green: #385e4f;
  --blue: #47667a;
  --white: #fff;
  --header: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(247, 242, 234, 0.94);
  border-bottom: 1px solid rgba(23, 37, 31, 0.08);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--coral);
  color: #fff;
  font-family: serif;
  font-size: 20px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  color: #46544d;
  font-size: 15px;
}
.site-header nav a {
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover {
  color: var(--coral-dark);
  border-color: var(--coral);
}
.header-action {
  padding: 11px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 0;
  background: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}
.hero {
  position: relative;
  min-height: calc(100svh - 42px);
  margin-top: var(--header);
  overflow: hidden;
  background: #403b32;
  color: #fff;
}
.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 16, 0.22);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 84vw);
  padding: clamp(90px, 14vh, 160px) 0 120px clamp(24px, 8vw, 140px);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.22);
}
.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #d86c46;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
.hero .eyebrow {
  color: #fff4df;
}
.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 600;
  line-height: 1;
}
.hero-title-sub {
  margin: 22px 0 28px;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 500;
}
.hero-copy {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: none;
  text-shadow: none;
}
.button-primary:hover {
  background: var(--coral-dark);
}
.button-quiet {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(19, 30, 24, 0.24);
  color: #fff;
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.hero-next {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: 12px;
}
.hero-next span {
  display: block;
  width: 28px;
  height: 1px;
  background: #fff;
}
.statement {
  padding: clamp(80px, 11vw, 150px) clamp(24px, 9vw, 160px);
  background: var(--paper-light);
}
.statement h2,
.experience-copy h2,
.works h2,
.technology h2,
.shop h2,
.closing h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 600;
  line-height: 1.22;
}
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 9vw;
  margin-top: 72px;
}
.statement-grid > p {
  margin: 0;
  font-size: 20px;
  line-height: 2;
  color: #455149;
}
.quiet-metrics {
  margin: 0;
}
.quiet-metrics div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.quiet-metrics div:last-child {
  border-bottom: 1px solid var(--line);
}
.quiet-metrics dt {
  font-weight: 700;
}
.quiet-metrics dd {
  margin: 0;
  color: var(--muted);
}
.experience-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 820px;
  background: #e7eee8;
}
.experience-visual {
  display: grid;
  place-items: center;
  padding: 70px;
  background: var(--green);
}
.phone-shell {
  width: min(420px, 100%);
  min-height: 640px;
  padding: 24px;
  background: #f7eadc;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(5, 21, 14, 0.2);
}
.phone-top {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(91, 67, 48, 0.15);
}
.xiaoyi-avatar {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--coral);
  color: #fff;
  font-family: serif;
  font-size: 25px;
}
.phone-top small {
  color: #8c776b;
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 0;
}
.message {
  max-width: 88%;
  padding: 14px 16px;
  background: #fff;
  line-height: 1.65;
}
.message.user {
  align-self: flex-end;
  background: #fed9b5;
}
.memory-chip {
  padding: 12px;
  border: 1px solid #e9b992;
  color: #715c4c;
  font-size: 13px;
}
.memory-chip span {
  margin-right: 8px;
  color: var(--coral-dark);
  font-weight: 700;
}
.composer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 10px;
  background: #fff;
  color: #765c4e;
  font-weight: 700;
}
.composer i {
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--coral);
}
.experience-copy {
  align-self: center;
  padding: 80px clamp(32px, 7vw, 110px);
}
.capability-list {
  margin-top: 56px;
}
.capability-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(56, 94, 79, 0.22);
}
.capability-list article:last-child {
  border-bottom: 1px solid rgba(56, 94, 79, 0.22);
}
.capability-list article > span {
  color: var(--coral);
  font:
    600 17px Georgia,
    serif;
}
.capability-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.capability-list p {
  margin: 0;
  color: #53645b;
  line-height: 1.8;
}
.works {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 100px);
  background: #f6eee3;
}
.works-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 8vw;
  align-items: end;
}
.works-heading > p {
  margin: 0 0 8px;
  color: #56645c;
  line-height: 1.9;
}
.works-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.72fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 70px;
}
.works-grid article {
  min-height: 230px;
}
.work-feature {
  position: relative;
  grid-row: 1/3;
  overflow: hidden;
  background: #333;
}
.work-feature img {
  height: 100%;
  object-fit: cover;
}
.work-feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 25, 20, 0.28);
}
.work-feature div {
  position: absolute;
  z-index: 2;
  left: 36px;
  right: 36px;
  bottom: 36px;
  color: #fff;
}
.work-feature p {
  margin: 0 0 8px;
  font-size: 14px;
}
.work-feature h3 {
  margin: 0 0 10px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 32px;
}
.work-feature span {
  font-size: 14px;
}
.work-small {
  padding: 32px;
  background: #fff;
}
.work-small.accent-green {
  background: #dfe9e2;
}
.work-small.accent-blue {
  background: #dce8ed;
}
.work-number {
  color: var(--coral);
  font:
    700 17px Georgia,
    serif;
}
.work-small h3 {
  margin: 48px 0 12px;
  font-size: 24px;
}
.work-small p {
  margin: 0;
  color: #59665f;
  line-height: 1.8;
}
.technology {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 8vw;
  padding: clamp(80px, 10vw, 150px) clamp(24px, 7vw, 120px);
  background: #15251f;
  color: #fff;
}
.tech-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}
.tech-intro h2 {
  font-size: clamp(38px, 4vw, 58px);
}
.tech-intro > p:last-child {
  margin-top: 32px;
  color: #aebeb6;
  line-height: 1.9;
}
.tech-stack article {
  position: relative;
  padding: 34px 20px 34px 82px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}
.tech-stack article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.tech-stack article:before {
  content: attr(data-index);
  position: absolute;
  left: 8px;
  top: 36px;
  color: #ef8a64;
  font:
    600 16px Georgia,
    serif;
}
.tech-stack h3 {
  margin: 0 0 10px;
  font-size: 23px;
}
.tech-stack p {
  margin: 0;
  color: #aebeb6;
  line-height: 1.8;
}
.shop {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 7vw;
  padding: clamp(80px, 10vw, 140px) clamp(24px, 7vw, 110px);
  background: #edf0ea;
}
.shop-copy {
  align-self: center;
}
.shop-copy > p:not(.section-kicker) {
  margin: 30px 0;
  color: #58665e;
  line-height: 1.9;
}
.shop-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.shop-products figure {
  position: relative;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  background: #ddd;
}
.shop-products .product-main {
  grid-row: 1/3;
  min-height: 540px;
}
.shop-products img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-products figure:hover img {
  transform: scale(1.025);
}
.shop-products figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: rgba(15, 25, 20, 0.7);
  color: #fff;
}
.shop-products strong,
.shop-products span {
  display: block;
}
.shop-products strong {
  font-size: 20px;
}
.shop-products span {
  margin-top: 6px;
  color: #e1e8e3;
  font-size: 13px;
}
.closing {
  padding: clamp(90px, 13vw, 190px) 24px;
  text-align: center;
  background: #f9f4ed;
}
.closing > p {
  color: var(--coral-dark);
  font-weight: 700;
}
.closing h2 {
  margin: 24px auto 44px;
}
.closing .button {
  margin: auto;
}
footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 60px clamp(24px, 6vw, 100px) 28px;
  background: #101c17;
  color: #fff;
}
.footer-brand {
  font-size: 22px;
}
.footer-brand + p {
  color: #91a298;
}
.footer-links {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  color: #bdc9c2;
  font-size: 14px;
}
.legal {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #809188;
  font-size: 12px;
}
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  :root {
    --header: 64px;
  }
  .site-header {
    padding: 0 20px;
  }
  .site-header nav,
  .header-action {
    display: none;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .site-header.open nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--paper);
  }
  .site-header.open nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    min-height: calc(100svh - 28px);
  }
  .hero-image {
    object-position: 62% center;
  }
  .hero-shade {
    background: rgba(12, 20, 16, 0.4);
  }
  .hero-content {
    padding-left: 24px;
    padding-top: 100px;
  }
  .statement-grid,
  .experience-band,
  .works-heading,
  .technology,
  .shop {
    grid-template-columns: 1fr;
  }
  .statement-grid {
    gap: 42px;
    margin-top: 46px;
  }
  .experience-visual {
    padding: 48px 20px;
  }
  .experience-copy {
    padding: 72px 24px;
  }
  .works-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .work-feature {
    grid-column: 1/3;
    grid-row: auto;
    height: 520px;
  }
  .works-grid article {
    min-height: 210px;
  }
  .technology {
    gap: 56px;
  }
  .tech-intro {
    position: static;
  }
  .shop {
    gap: 52px;
  }
  .shop-products {
    min-height: 560px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .legal {
    grid-column: 1;
    gap: 14px;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .hero-content {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-title-sub {
    font-size: 22px;
  }
  .hero-copy br {
    display: none;
  }
  .hero-copy {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 210px;
  }
  .hero-next {
    display: none;
  }
  .statement,
  .works,
  .technology,
  .shop {
    padding-left: 20px;
    padding-right: 20px;
  }
  .statement h2,
  .experience-copy h2,
  .works h2,
  .technology h2,
  .shop h2,
  .closing h2 {
    font-size: 38px;
  }
  .quiet-metrics div {
    grid-template-columns: 90px 1fr;
  }
  .phone-shell {
    min-height: 580px;
    padding: 16px;
  }
  .work-feature {
    grid-column: 1;
    height: 430px;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .shop-products {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px 220px;
  }
  .shop-products .product-main {
    grid-column: 1/3;
    grid-row: auto;
    min-height: 330px;
  }
  .shop-products figure {
    min-height: 220px;
  }
  .shop-products figcaption {
    padding: 16px;
  }
  .shop-products strong {
    font-size: 16px;
  }
  .shop-products span {
    display: none;
  }
  .footer-links {
    gap: 18px;
  }
}
