/* 圆满人生 · Digital Curator — shared styles */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@200;300;400;500;700;900&display=swap");
@import url("./fonts.css");

:root {
  --color-primary: #775a19;
  --color-primary-dark: #4e3700;
  --color-text: #1b1c19;
  --color-text-muted: #4e4639;
  --color-text-soft: #7f7667;
  --color-text-gray: #6b7280;
  --color-bg: #fbf9f4;
  --color-bg-alt: #f5f3ee;
  --color-bg-warm: #f2f1ec;
  --color-white: #ffffff;
  --color-border: rgba(209, 197, 180, 0.3);
  --color-border-strong: #cdcdcd;
  --color-dark: #1b1c19;
  --color-gold: #c5a059;
  --color-cream: #ffdea5;
  --container: 1440px;
  --header-h: 80px;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* Typography — 斜体用 skew，避免中文字体加载后 italic 失效 */
.font-headline,
.heading-xl,
.heading-lg,
.heading-md,
.logo,
.footer-brand__name,
.hero-banner h1,
.hero-dark h1,
.bento__caption h4,
.cta-soft h2,
.cta-dark h2,
.mission-block h3,
.collection-grid .cap,
.link-underline,
.login-forgot,
.login-signup a,
.hero-media__caption .title,
.price-card .price,
.year-mark,
.login-card__head h1 {
  font-family: var(--font-headline);
  font-style: normal;
  font-weight: var(--headline-weight);
  font-synthesis: none;
  transform: skewX(var(--headline-skew));
  display: inline-block;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.heading-xl {
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.heading-lg {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.heading-md {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.heading-sm {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  font-style: normal;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-soft {
  color: var(--color-text-soft);
}

.text-primary {
  color: var(--color-primary);
}

.accent {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-text-soft);
  color: var(--color-primary);
}

.btn-light {
  background: var(--color-bg);
  color: var(--color-text);
}

.btn-gold {
  background: var(--color-cream);
  color: #261900;
  border-color: transparent;
  font-weight: 700;
}

.btn-gold:hover {
  background: #ffe7bd;
  color: #261900;
}

.btn-sm {
  padding: 10px 24px;
  border-radius: 6px;
}

.btn-lg {
  padding: 20px 48px;
  font-size: 18px;
}

.link-underline {
  color: var(--color-primary);
  font-family: var(--font-headline);
  font-style: normal;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
}

.link-arrow {
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.learn-more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(251, 249, 244, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 48px;
}

.logo {
  font-family: var(--font-headline);
  font-style: normal;
  font-synthesis: none;
  transform: skewX(var(--headline-skew));
  font-size: 24px;
  font-weight: 900;
  color: var(--color-primary);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
}

.nav a {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header-actions .login {
  color: var(--color-text-muted);
  font-size: 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-primary);
}

/* Footer */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid rgba(209, 197, 180, 0.15);
  padding: 64px 48px;
}

.site-footer__inner {
  max-width: 1536px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand__name {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.footer-brand__copy {
  color: var(--color-text-muted);
  font-size: 16px;
  letter-spacing: 0.8px;
  max-width: 384px;
  line-height: 24px;
}

.footer-beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 14px;
  letter-spacing: 0.4px;
  line-height: 20px;
  text-decoration: none;
}

.footer-beian:hover {
  color: var(--color-primary);
}

.footer-beian img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 16px;
  letter-spacing: 0.8px;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-icons {
  display: flex;
  gap: 16px;
}

.footer-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icons img {
  width: 20px;
  height: 24px;
  object-fit: contain;
}

/* Page shell */
.page {
  padding-top: var(--header-h);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-split__content,
.hero-banner__content,
.hero-dark > h1,
.hero-dark > p {
  animation: fade-up 0.7s ease both;
}

.hero-media,
.video-player {
  animation: fade-up 0.9s ease 0.1s both;
}

.service-card,
.price-card,
.gallery-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head p {
  margin-top: 16px;
  color: var(--color-text-soft);
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 24px;
}

/* Hero helpers */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: 640px;
  padding: 80px 0 40px;
}

.hero-split__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 672px;
}

.hero-split__content .body {
  max-width: 448px;
  color: var(--color-text-muted);
  line-height: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  padding-top: 16px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.hero-media__caption {
  position: absolute;
  left: 32px;
  bottom: 32px;
  color: #fff;
}

.hero-media__caption .label {
  opacity: 0.8;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-media__caption .title {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: 20px;
  margin-top: 4px;
}

.hero-banner {
  position: relative;
  height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 27, 20, 0.2), rgba(47, 27, 20, 0.55));
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  padding: 0 0 120px;
  width: 100%;
}

.hero-banner h1 {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-banner p {
  font-size: clamp(18px, 2vw, 32px);
}

.hero-dark {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 96px 24px 64px;
}

.hero-dark h1 {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 24px;
}

.hero-dark p {
  max-width: 720px;
  margin: 0 auto 48px;
  opacity: 0.85;
  line-height: 1.8;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-card__img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 207px;
  box-shadow: var(--shadow-sm);
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: #f0eee9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon img {
  width: 24px;
  height: 28px;
}

.service-card h3 {
  padding-top: 16px;
  font-size: 24px;
  font-weight: 500;
}

.service-card p {
  color: var(--color-text-muted);
  line-height: 26px;
  padding-bottom: 8px;
}

/* Bento gallery */
.bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  height: 800px;
}

.bento__main {
  grid-row: 1 / span 2;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.bento__main img,
.bento__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento__side {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.bento__side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.bento__caption {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 30px;
  color: #fff;
  z-index: 1;
}

.bento__caption h4 {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: 30px;
  margin-bottom: 8px;
}

.bento__caption p {
  font-size: 14px;
  opacity: 0.8;
  max-width: 512px;
}

.bento__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
  z-index: 1;
}

/* CTA blocks */
.cta-soft {
  background: rgba(197, 160, 89, 0.1);
  text-align: center;
  padding: 128px 24px;
  position: relative;
  overflow: hidden;
}

.cta-soft h2 {
  margin-bottom: 32px;
}

.cta-soft .desc {
  color: var(--color-text-muted);
  line-height: 28px;
  margin-bottom: 16px;
}

.cta-soft .hero-actions {
  justify-content: center;
}

.cta-dark {
  background: #30312e;
  color: #f2f1ec;
  border-radius: 16px;
  padding: 112px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.cta-dark h2 {
  font-family: var(--font-headline);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  transform: skewX(var(--headline-skew));
  transform-origin: left center;
  display: block;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.28;
  margin: 0 0 32px;
  color: #f2f1ec;
  max-width: 720px;
}

.cta-dark p {
  margin: 0;
  opacity: 0.7;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.75;
  color: #f2f1ec;
}

.cta-dark__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.cta-dark .btn-gold,
.cta-dark .btn-cream {
  background: #ffdea5;
  color: #261900;
  border: none;
  padding: 20px 40px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  opacity: 1;
}

.cta-dark .btn-gold:hover,
.cta-dark .btn-cream:hover {
  background: #ffe7bd;
  color: #261900;
  opacity: 1;
  transform: translateY(-1px);
}

.cta-dark__stat,
.cta-dark__note {
  color: #f2f1ec;
  opacity: 0.5;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-align: center;
  white-space: nowrap;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.form-field.full {
  width: 100%;
}

.form-field label {
  flex-shrink: 0;
  width: auto;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 16px;
}

.form-field label .req {
  color: #e70819;
}

.form-field input,
.form-field select,
.form-field textarea {
  flex: 1;
  width: 100%;
  height: 62px;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  padding: 0 24px;
  background: #fff;
}

.form-field textarea {
  height: 130px;
  padding: 16px 24px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit .btn {
  min-width: 560px;
}

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: #555f69;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-strong);
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
}

.faq-item__q::after {
  content: "+";
  font-size: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item.is-open .faq-item__q::after {
  content: "−";
}

.faq-item__a {
  display: none;
  padding: 0 0 24px;
  color: var(--color-text-gray);
  line-height: 28px;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

/* Job accordion */
.job-item {
  border-bottom: 1px solid var(--color-border-strong);
}

.job-item__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr auto;
  align-items: center;
  gap: 16px;
  padding: 32px 8px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.job-item__head .title {
  font-size: 20px;
  font-weight: 500;
}

.job-item__head .meta {
  color: var(--color-text-gray);
  font-size: 18px;
}

.job-item__toggle {
  font-size: 24px;
  color: var(--color-primary);
  width: 24px;
  text-align: center;
  line-height: 1;
}

.job-item__toggle::before {
  content: "+";
}

.job-item.is-open .job-item__toggle::before {
  content: "−";
}

.job-item__body {
  display: none;
  background: rgba(209, 197, 180, 0.1);
  border-radius: 16px;
  padding: 40px 90px;
  margin-bottom: 24px;
  color: var(--color-text-gray);
  line-height: 28px;
}

.job-item.is-open .job-item__body {
  display: block;
}

/* Compare slider */
.compare {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare__after {
  clip-path: inset(0 0 0 var(--compare-pos, 50%));
}

.compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-pos, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 2;
}

.compare__labels {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  color: #fff;
  font-size: 14px;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.price-card {
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card.is-featured {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.03);
}

.price-card.is-featured .price,
.price-card.is-featured .tagline {
  color: var(--color-cream);
}

.price-card .badge {
  align-self: flex-start;
  background: var(--color-cream);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}

.price-card .name {
  font-size: 22px;
  font-weight: 500;
}

.price-card .price {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: 48px;
  color: var(--color-primary);
  line-height: 1;
}

.price-card .tagline {
  color: var(--color-text-soft);
  font-size: 14px;
}

.price-card ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}

.price-card li::before {
  content: "✓";
  color: var(--color-gold);
  font-weight: 700;
}

.price-card.is-featured li::before {
  color: var(--color-cream);
}

/* Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  font-weight: 500;
  background: var(--color-bg-alt);
}

.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
  background: rgba(197, 160, 89, 0.08);
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
  font-weight: 500;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 15px;
}

.gallery-card__thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 350 / 213;
  margin-bottom: 6px;
}

.gallery-card__thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.gallery-card__play img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.gallery-card h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-primary);
  margin-bottom: 0;
}

.gallery-card p {
  color: #6b7280;
  font-size: 12px;
  line-height: 28px;
}

.tabs {
  display: flex;
  gap: 8px;
  background: rgba(209, 197, 180, 0.2);
  border-radius: 8px;
  padding: 4px;
}

.tabs button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--color-text-muted);
}

.tabs button.is-active {
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-weight: 500;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--color-text-muted);
}

.pagination .is-active {
  background: var(--color-primary);
  color: #fff;
}

/* Utility */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-2.reverse > :first-child {
  order: 2;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.tag {
  padding: 6px 14px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 13px;
}

.rounded-media {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rounded-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--color-primary);
}

.contact-card {
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
}

.contact-card h3 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 16px;
}

.contact-card .line {
  width: 40px;
  height: 2px;
  background: #fff;
  margin-bottom: 32px;
}

.contact-card .block {
  margin-bottom: 28px;
}

.contact-card .label {
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-card .value {
  font-size: 20px;
  font-weight: 500;
}

.map-wrap {
  position: relative;
  border: 1px solid #c3c3bf;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 650px;
}

.map-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 650px;
}

.map-wrap .contact-card {
  position: absolute;
  left: 85px;
  top: 50%;
  transform: translateY(-50%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.step-item__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-style: normal;
  font-synthesis: none;
  font-size: 28px;
  /* 圆形容器不 skew，避免变成菱形 */
  transform: none;
}

.step-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.value-cards {
  display: flex;
  gap: 12px;
  align-items: stretch;
  height: 460px;
}

.value-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  color: #fff;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-cards:not(:hover) .value-card.is-active,
.value-card:hover {
  flex: 3.4 1 0;
}

.value-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-cards:not(:hover) .value-card.is-active img,
.value-card:hover img {
  transform: scale(1.04);
}

.value-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.35) 42%, transparent 72%);
  pointer-events: none;
}

.value-card__text {
  position: relative;
  z-index: 1;
  padding: 20px 15px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: padding 0.55s ease;
}

.value-cards:not(:hover) .value-card.is-active .value-card__text,
.value-card:hover .value-card__text {
  padding: 28px 20px 28px 28px;
}

.value-card__text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  color: #fff;
  white-space: nowrap;
}

.value-card__slogan {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 36px;
  color: #fff;
  white-space: nowrap;
}

.value-card__rule {
  display: block;
  width: 36px;
  height: 1px;
  margin: 0;
  background: #fff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease 0.1s, max-height 0.35s ease, margin 0.35s ease;
}

.value-card__desc {
  margin: 0;
  max-width: 636px;
  font-size: 12px;
  line-height: 1.7;
  color: #fff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease 0.12s, max-height 0.45s ease;
}

.value-cards:not(:hover) .value-card.is-active .value-card__rule,
.value-card:hover .value-card__rule {
  opacity: 1;
  max-height: 2px;
  margin: 10px 0 12px;
}

.value-cards:not(:hover) .value-card.is-active .value-card__desc,
.value-card:hover .value-card__desc {
  opacity: 0.95;
  max-height: 120px;
}

.coop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coop-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.coop-card h4 {
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 12px;
}

.coop-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.strength-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.strength-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
}

.strength-item .num {
  font-family: var(--font-headline);
  font-style: normal;
  font-synthesis: none;
  font-size: 36px;
  color: var(--color-primary);
  transform: skewX(var(--headline-skew));
  display: inline-block;
}

.mission-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 96px 72px;
  color: #fff;
}

.mission-block > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 28, 25, 0.72);
}

.mission-block__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.mission-block h3 {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: 28px;
  margin-bottom: 16px;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 640px;
}

.collection-grid .item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.collection-grid .item.tall {
  grid-row: 1 / span 2;
}

.collection-grid .item.wide {
  grid-column: 2 / span 2;
}

.collection-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-grid .cap {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #fff;
  z-index: 1;
  font-family: var(--font-headline);
  font-style: normal;
  font-size: 20px;
}

.year-mark {
  font-family: var(--font-headline);
  font-style: normal;
  font-size: 48px;
  color: var(--color-primary);
  line-height: 1;
}

.year-mark__label {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 18px;
  color: var(--color-text-gray);
}

/* Body copy fidelity */
.hero-split__content .body,
.section-head p,
.service-card p,
.cta-soft .desc {
  font-weight: 400;
  line-height: 26px;
}

.header-actions .login {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
}

/* Prefer optical size for display headings */
.heading-xl .accent,
.heading-xl {
  text-rendering: optimizeLegibility;
}

.collection-grid .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.collection-grid .item:hover::after {
  opacity: 1;
}

.video-player {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-player img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-player__btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player__btn span {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}

/* Mobile */
@media (max-width: 1200px) {
  .site-header__inner,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .container {
    padding: 0 24px;
  }

  .hero-split,
  .grid-2,
  .grid-2.reverse > :first-child {
    grid-template-columns: 1fr;
    order: initial;
  }

  .grid-2.reverse > :first-child {
    order: 0;
  }

  .card-grid,
  .price-grid,
  .gallery-grid,
  .coop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento,
  .collection-grid,
  .steps,
  .form-row {
    grid-template-columns: 1fr;
    height: auto;
  }

  .bento {
    display: flex;
    flex-direction: column;
  }

  .bento__main {
    height: 420px;
  }

  .bento__side {
    height: 280px;
  }

  .cta-dark,
  .mission-block__inner {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .form-submit .btn {
    min-width: 0;
    width: 100%;
  }

  .job-item__head {
    grid-template-columns: 1fr auto;
  }

  .job-item__head .meta:not(:first-child) {
    display: none;
  }

  .map-wrap .contact-card {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin: 24px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav,
  .header-actions .login {
    display: none;
  }

  .site-header__inner.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 24px;
    max-width: none;
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
  }

  .card-grid,
  .price-grid,
  .gallery-grid,
  .coop-grid {
    grid-template-columns: 1fr;
  }

  .value-cards {
    flex-direction: column;
    height: auto;
  }

  .value-card,
  .value-cards:not(:hover) .value-card.is-active,
  .value-card:hover {
    flex: none;
    height: 280px;
  }

  .value-card__rule,
  .value-card__desc,
  .value-cards:not(:hover) .value-card.is-active .value-card__rule,
  .value-card:hover .value-card__rule,
  .value-cards:not(:hover) .value-card.is-active .value-card__desc,
  .value-card:hover .value-card__desc {
    opacity: 1;
    max-height: none;
  }

  .value-card__rule {
    margin: 10px 0 12px;
  }

  .value-card__text h3,
  .value-card__slogan {
    white-space: normal;
  }

  .price-card.is-featured {
    transform: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-banner {
    height: 480px;
  }
}
