/* 云间相 · XUEZHEN YANLIANG — site styles */

:root {
  --ink: #12161a;
  --ink-soft: #1a2026;
  --navy: #1b242d;
  --navy-soft: #202b35;
  --cream: #f5f1e9;
  --paper: #faf7f0;
  --cream-deep: #ebe5d9;
  --gold: #8c2b23;
  --gold-light: #c0574a;
  --muted: #6f7378;
  --muted-ink: #4f5c66;
  --line: rgba(18, 22, 26, 0.13);
  --line-light: rgba(245, 241, 233, 0.16);
  --cream-70: rgba(245, 241, 233, 0.7);
  --cream-55: rgba(245, 241, 233, 0.55);
  --shell: min(1360px, 88vw);
  --font-sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun",
    serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: var(--cream);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 24px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--cream);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line-light);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(245, 241, 233, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(15, 20, 24, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .header-inner {
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
}

.brand::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--gold) 0 2px, transparent 2.5px),
    linear-gradient(var(--gold), var(--gold)) center / 1px 16px no-repeat,
    linear-gradient(90deg, var(--gold), var(--gold)) center / 16px 1px no-repeat;
  flex: none;
  opacity: 0.9;
}

.brand.has-logo::before {
  display: none;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.site-header .brand-logo-chalk {
  display: none;
}

.site-header:not(.is-scrolled) .brand-logo-ink {
  display: none;
}

.site-header:not(.is-scrolled) .brand-logo-chalk {
  display: block;
}

.brand-logo-footer {
  height: 46px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.brand-en {
  margin-top: 5px;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  opacity: 0.62;
  font-weight: 400;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 42px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.82;
  padding: 8px 0;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.primary-nav a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.site-header.is-scrolled .primary-nav a:hover {
  color: var(--gold);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  border: 1px solid transparent;
  font-size: 13px;
  letter-spacing: 0.14em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-sm {
  height: 42px;
  padding: 0 22px;
  font-size: 12px;
}

.btn-gold {
  background: var(--gold);
  color: var(--cream);
}

.btn-gold:hover {
  background: var(--cream);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(245, 241, 233, 0.35);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(245, 241, 233, 0.08);
}

.btn-outline {
  border-color: rgba(245, 241, 233, 0.42);
  color: inherit;
}

.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}

.site-header.is-scrolled .btn-outline {
  border-color: rgba(18, 22, 26, 0.32);
}

.site-header.is-scrolled .btn-outline:hover {
  color: #10151a;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--gold);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0;
  position: relative;
  opacity: 0.85;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 24px;
}

.mobile-nav {
  background: var(--paper);
  color: var(--ink);
  padding: 12px 6vw 26px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 15px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-child {
  border-bottom: 0;
  color: var(--gold);
}

/* --------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding-top: 120px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 12, 15, 0.9) 0%, rgba(9, 12, 15, 0.62) 42%, rgba(9, 12, 15, 0.12) 78%),
    linear-gradient(0deg, rgba(9, 12, 15, 0.92) 0%, rgba(9, 12, 15, 0.12) 46%);
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  top: -4%;
  right: -6%;
  width: 52%;
  height: 92%;
  color: rgba(245, 241, 233, 0.16);
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hero-lines svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: clamp(60px, 10vh, 120px);
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
  flex: none;
}

.eyebrow.light {
  color: var(--gold-light);
}

.hero-title {
  margin-top: 34px;
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.06em;
}

.hero-title span {
  display: block;
}

@media (min-width: 981px) {
  .hero-title span {
    white-space: nowrap;
  }

  .hero-media {
    left: 7%;
    right: -7%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.85) 12%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.85) 12%, #000 22%);
  }
}

.hero-title span + span {
  color: #e7dece;
}

.hero-subtitle {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  max-width: 620px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: var(--cream-70);
  font-weight: 400;
}

.hero-tagline {
  margin-top: 22px;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--cream-55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 26px;
  padding-bottom: 38px;
  border-top: 1px solid var(--line-light);
}

.hero-stats {
  display: flex;
  gap: clamp(36px, 6vw, 92px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.stat-value small {
  font-size: 13px;
  color: var(--gold-light);
  margin-left: 3px;
  letter-spacing: 0.04em;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream-55);
  white-space: nowrap;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--cream-55);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.scroll-cue:hover i {
  transform: scaleY(0.7);
}

.scroll-cue:hover {
  color: var(--cream);
}

/* ----------------------------------------------------------- sections */

.section {
  padding: clamp(90px, 10vw, 146px) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(48px, 5vw, 74px);
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: clamp(30px, 6vw, 96px);
  align-items: end;
}

.section-title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.35vw, 50px);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: 0.04em;
  max-width: 780px;
  text-wrap: balance;
}

.section-title.light {
  color: var(--cream);
}

.section-title.xl {
  font-size: clamp(34px, 4vw, 58px);
}

.section-sub {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 430px;
  padding-bottom: 6px;
}

.section-sub.light {
  color: var(--cream-55);
}

.fineprint {
  font-size: 12px;
  line-height: 1.8;
  color: var(--cream-55);
  max-width: 640px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--gold-light);
}

.text-link.light {
  color: var(--cream);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------- advantages */

.advantages {
  background: var(--cream);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.advantage-item {
  padding: 42px 34px 10px;
  border-left: 1px solid var(--line);
  position: relative;
}

.advantage-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.advantage-item:last-child {
  padding-right: 0;
}

.adv-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.adv-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.adv-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.adv-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(18, 22, 26, 0.3);
}

.adv-title {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.adv-desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.adv-image {
  margin-top: 24px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
}

.adv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------- services */

.services {
  background:
    radial-gradient(ellipse at 82% 0%, rgba(176, 141, 87, 0.12), transparent 55%),
    var(--navy);
  color: var(--cream);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(245, 241, 233, 0.09);
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}

.service-card:hover {
  border-color: rgba(201, 166, 107, 0.45);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
}

.service-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-soft);
  position: relative;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 14, 18, 0.4), transparent 55%);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.035);
}

.service-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.service-name {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.service-price {
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.service-desc {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--cream-55);
  flex: 1;
}

.service-link {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cream-70);
  background: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  transition: color 0.3s var(--ease);
}

.service-link span {
  transition: transform 0.3s var(--ease);
}

.service-link:hover {
  color: var(--gold-light);
}

.service-link:hover span {
  transform: translateX(4px);
}

.services-foot {
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

/* -------------------------------------------------------------- works */

.works {
  background: var(--ink);
  color: var(--cream);
}

.works-groups {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.works-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 30px;
  margin-bottom: 36px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-light);
}

.works-group-no {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: rgba(201, 166, 107, 0.45);
}

.works-group-en {
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.works-group-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.works-group-desc {
  max-width: 620px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--cream-55);
}

.works-group-count {
  align-self: end;
  padding-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cream-55);
  white-space: nowrap;
}

.works-grid {
  columns: 4;
  column-gap: 22px;
}

.work-card {
  display: block;
  width: 100%;
  margin: 0 0 26px;
  break-inside: avoid;
  page-break-inside: avoid;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  animation: none;
}

.work-media {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
}

.work-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}

.work-card:hover .work-media img {
  transform: scale(1.035);
  filter: brightness(0.86);
}

.work-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(8, 11, 14, 0.55), transparent 45%);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-media::before {
  opacity: 0.9;
}

.work-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 241, 233, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 15px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}

.work-card:hover .work-open {
  opacity: 1;
  transform: none;
}

.work-caption {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cream-70);
  transition: color 0.3s var(--ease);
}

.work-card:hover .work-title {
  color: var(--gold-light);
}

.works-feature {
  display: block;
  border: 1px solid var(--line-light);
  background: var(--ink-soft);
  transition: border-color 0.4s var(--ease);
}

.works-feature:hover {
  border-color: rgba(192, 87, 74, 0.55);
}

.works-feature-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.works-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.works-feature:hover .works-feature-media img {
  transform: scale(1.015);
  filter: brightness(0.92);
}

.works-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 14, 0.35), transparent 42%);
  pointer-events: none;
}

.works-feature-badge {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  padding: 8px 14px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--cream);
  background: rgba(10, 13, 16, 0.45);
  border: 1px solid rgba(245, 241, 233, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.works-feature-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 26px 48px;
  padding: 28px clamp(22px, 3vw, 38px) 30px;
}

.works-feature-en {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.works-feature-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.works-feature-desc {
  max-width: 680px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--cream-55);
}

.works-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(192, 87, 74, 0.6);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cream);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.works-feature-cta span {
  transition: transform 0.3s var(--ease);
}

.works-feature:hover .works-feature-cta {
  color: var(--gold-light);
}

.works-feature:hover .works-feature-cta span {
  transform: translateX(4px);
}

/* works page */

.works-page {
  background: var(--ink);
  color: var(--cream);
}

.works-hero {
  padding: clamp(132px, 12vw, 176px) 0 clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--line-light);
}

.works-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cream-55);
}

.works-crumb a {
  transition: color 0.3s var(--ease);
}

.works-crumb a:hover {
  color: var(--gold-light);
}

.works-crumb em {
  font-style: normal;
  color: var(--cream-70);
}

.works-hero h1 {
  margin: 26px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.16em;
  color: var(--cream);
}

.works-hero-sub {
  max-width: 680px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 2;
  color: var(--cream-55);
}

.works-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 44px;
}

.works-jump a {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: 0.12em;
  color: var(--cream);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.works-jump a span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-light);
}

.works-jump a em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cream-55);
}

.works-jump a:hover {
  color: var(--gold-light);
  border-color: rgba(192, 87, 74, 0.5);
}

.works-list {
  padding: clamp(64px, 7vw, 100px) 0 clamp(90px, 10vw, 140px);
}

.works-page .works-group {
  scroll-margin-top: 100px;
}

/* ------------------------------------------------------- testimonials */

.testimonials {
  background: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 62px);
}

.quote {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 0.7;
  color: var(--gold);
  height: 26px;
}

.quote-text {
  font-size: 15px;
  line-height: 2.05;
  color: var(--muted-ink);
  margin-top: 14px;
  flex: 1;
}

.quote-person {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--gold);
  flex: none;
  border: 1px solid var(--line);
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.quote-role {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.quote-case {
  margin-top: 20px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.quote-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------- booking */

.booking {
  position: relative;
  color: var(--cream);
  padding: clamp(90px, 10vw, 150px) 0;
  overflow: hidden;
}

.booking-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.booking::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.95) 0%, rgba(10, 14, 18, 0.86) 46%, rgba(10, 14, 18, 0.72) 100%);
}

.booking-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(50px, 7vw, 104px);
  align-items: start;
}

.booking-copy {
  padding-top: 10px;
}

.booking-sub {
  margin-top: 26px;
  max-width: 500px;
  font-size: 14px;
  line-height: 2;
  color: var(--cream-55);
}

.booking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid rgba(245, 241, 233, 0.22);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--cream-70);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.download-link em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  opacity: 0.9;
}

.dl-icon {
  color: var(--gold-light);
  font-size: 14px;
}

.download-link:hover {
  border-color: var(--gold);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}

.booking-direct {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
  font-size: 12px;
  color: var(--cream-55);
  letter-spacing: 0.04em;
}

.booking-direct strong {
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.booking-direct a:hover {
  color: var(--gold-light);
}

.booking-direct .bd-label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(245, 241, 233, 0.38);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.booking-panel {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(30px, 3.4vw, 46px);
  border-top: 3px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #6a6963;
  display: flex;
  gap: 6px;
  align-items: center;
}

.field label .req {
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d3cbbb;
  background: transparent;
  padding: 10px 0 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s var(--ease);
  min-width: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a297;
  font-size: 13.5px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a08a67'/%3E%3C/svg%3E");
  background-position: right 2px center;
  background-repeat: no-repeat;
  background-size: 10px;
  padding-right: 24px;
  color: var(--ink);
  cursor: pointer;
}

.field select.is-empty {
  color: #a8a297;
}

.field select option {
  color: var(--ink);
  background: var(--paper);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.7;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: #b4483c;
}

.field-error {
  font-size: 11px;
  color: #b4483c;
  min-height: 0;
}

.booking-submit {
  grid-column: 1 / -1;
  margin-top: 8px;
  height: 56px;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.booking-submit:hover {
  background: var(--gold);
  color: var(--ink);
}

.booking-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.booking-privacy {
  grid-column: 1 / -1;
  font-size: 10.5px;
  line-height: 1.7;
  color: #8f8a80;
  letter-spacing: 0.02em;
  margin-top: -6px;
}

.booking-success {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.success-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 8px;
}

.booking-success h3 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.booking-success p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 380px;
}

.booking-success .btn {
  margin-top: 14px;
  height: 46px;
  padding: 0 26px;
}

/* ------------------------------------------------------------ footer */

.site-footer {
  background: #0d1114;
  color: var(--cream);
  padding-top: 86px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.9fr 0.8fr 1.1fr 1fr;
  gap: clamp(30px, 5vw, 76px);
  padding-bottom: 68px;
  border-bottom: 1px solid var(--line-light);
}

.brand-footer::before {
  width: 26px;
  height: 26px;
}

.footer-brand .footer-about-title {
  margin-top: 34px;
  margin-bottom: 14px;
}

.footer-about {
  max-width: 390px;
  font-size: 12.5px;
  line-height: 2;
  color: var(--cream-55);
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.footer-col nav a {
  display: block;
  font-size: 13px;
  color: var(--cream-55);
  padding: 7px 0;
  letter-spacing: 0.06em;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-col nav a:hover {
  color: var(--cream);
  padding-left: 4px;
}

.footer-contact li {
  margin-bottom: 16px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--cream-55);
}

.footer-contact .fc-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(245, 241, 233, 0.35);
  margin-bottom: 3px;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-hours {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--cream-55);
}

.qr-block {
  margin-top: 24px;
}

.qr-card {
  width: 104px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-card img,
.qr-placeholder {
  width: 104px;
  height: 104px;
  object-fit: cover;
  background: var(--cream);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(18, 22, 26, 0.9) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(0deg, rgba(18, 22, 26, 0.9) 0 4px, transparent 4px 8px),
    var(--cream);
  color: transparent;
  position: relative;
}

.qr-placeholder::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--cream);
  border: 1px solid rgba(18, 22, 26, 0.2);
}

.qr-placeholder span {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.16em;
  background: var(--cream);
  padding: 4px 6px;
}

.qr-caption {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--cream-55);
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 26px 0 30px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 233, 0.38);
}

.footer-bottom a {
  color: inherit;
  transition: color 0.3s var(--ease);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-admin {
  margin-left: auto;
  opacity: 0.7;
}

/* --------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 10, 12, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  margin: 0;
  max-width: 1180px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 18px;
  color: var(--cream-55);
  font-size: 12.5px;
  line-height: 1.8;
}

.lightbox figcaption strong {
  color: var(--cream);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245, 241, 233, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.lightbox-close:hover {
  border-color: var(--gold);
  background: rgba(176, 141, 87, 0.15);
}

/* ------------------------------------------------------------ toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 250;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--cream);
  border-left: 2px solid var(--gold);
  padding: 14px 22px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-width: 86vw;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  inset: auto 0 0;
  z-index: 300;
  background: var(--gold);
  color: var(--ink);
  padding: 14px;
  text-align: center;
  font-size: 13px;
}

/* ------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .primary-nav {
    gap: 22px;
  }

  .hero-title {
    font-size: clamp(44px, 6vw, 72px);
  }

  .advantage-item {
    padding: 34px 24px 8px;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .advantage-item:nth-child(n + 3) {
    margin-top: 10px;
    padding-top: 38px;
    border-top: 1px solid var(--line);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    columns: 3;
  }

  .quote-grid {
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1.6fr 0.8fr 1.1fr;
  }

  .footer-col:last-child {
    grid-column: 2 / -1;
    display: flex;
    gap: 60px;
    align-items: flex-start;
  }

  .footer-col:last-child h4 {
    display: none;
  }

  .qr-block {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: 90vw;
  }

  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    height: 76px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-lines {
    width: 78%;
    right: -20%;
    opacity: 0.7;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .scroll-cue {
    display: none;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-sub {
    max-width: 560px;
  }

  .works-grid {
    columns: 2;
  }

  .works-groups {
    gap: 80px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote {
    padding: 28px 0 30px;
  }

  .quote:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .booking-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .booking-copy {
    max-width: 640px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 44px 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    gap: 40px;
  }

  .footer-col:last-child h4 {
    display: block;
  }
}

@media (max-width: 860px) {
  .filter-pills {
    display: none;
  }

  .filter-select {
    display: flex;
  }

  .works-toolbar {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: 90vw;
  }

  body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-en {
    font-size: 7.5px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 96px;
  }

  .hero-title {
    font-size: clamp(34px, 10.4vw, 46px);
    margin-top: 26px;
    line-height: 1.22;
  }

  .hero-subtitle {
    margin-top: 24px;
    font-size: 11.5px;
    letter-spacing: 0.07em;
  }

  .hero-tagline {
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 32px;
  }

  .hero-actions .btn {
    height: 48px;
    padding: 0 24px;
    font-size: 12px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 34px;
  }

  .stat-value {
    font-size: 26px;
  }

  .section {
    padding: 76px 0;
  }

  .section-title {
    font-size: clamp(27px, 7.4vw, 34px);
    margin-top: 18px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .advantage-item,
  .advantage-item:first-child,
  .advantage-item:nth-child(3),
  .advantage-item:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 0;
    padding: 28px 0 30px;
  }

  .adv-title {
    margin-top: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-foot {
    flex-direction: column;
    gap: 22px;
  }

  .works-grid {
    columns: 2;
    column-gap: 16px;
  }

  .work-card {
    margin-bottom: 16px;
  }

  .work-caption {
    padding-top: 9px;
  }

  .work-title {
    font-size: 12.5px;
  }

  .works-groups {
    gap: 62px;
  }

  .works-feature-media {
    aspect-ratio: 4 / 5;
  }

  .works-feature-media picture {
    display: block;
    height: 100%;
  }

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

  .works-feature-foot {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 20px 24px;
  }

  .works-feature-badge {
    left: 14px;
    bottom: 14px;
    padding: 6px 10px;
    font-size: 9.5px;
  }

  .works-feature-title {
    font-size: 24px;
  }

  .works-feature-desc {
    font-size: 12.5px;
  }

  .works-feature-cta {
    justify-self: start;
  }

  .works-hero {
    padding-top: 110px;
  }

  .works-hero h1 {
    font-size: 46px;
    letter-spacing: 0.12em;
  }

  .works-crumb {
    margin-bottom: 26px;
  }

  .works-jump {
    gap: 12px 24px;
    margin-top: 32px;
  }

  .works-jump a {
    gap: 8px;
    font-size: 18px;
  }

  .works-list {
    padding-top: 52px;
  }

  .works-group-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .works-group-no {
    font-size: 30px;
  }

  .works-group-title {
    font-size: 28px;
    letter-spacing: 0.1em;
  }

  .works-group-desc {
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.85;
  }

  .works-group-count {
    display: none;
  }

  .booking-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-direct {
    flex-direction: column;
    gap: 18px;
  }

  .booking-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .booking-panel {
    padding: 26px 22px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 48px;
  }

  .footer-col:last-child {
    flex-direction: column;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-admin {
    margin-left: 0;
    margin-top: 8px;
  }

  .lightbox figcaption {
    flex-direction: column;
    gap: 6px;
  }

  .lightbox-close {
    top: 14px;
    right: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------- articles */

.article-page {
  background: var(--cream);
  padding-top: 74px;
  min-height: 70vh;
}

.article-hero {
  padding: clamp(80px, 9vw, 130px) 0 clamp(48px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}

.article-hero-small {
  padding-bottom: clamp(80px, 9vw, 120px);
}

.article-hero h1 {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.16;
}

.article-hero-sub {
  margin-top: 26px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.article-list-section {
  padding-top: clamp(48px, 6vw, 80px);
}

.article-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.article-list-head > span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(28px, 3.4vw, 48px) clamp(24px, 2.6vw, 38px);
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 141, 87, 0.45);
  box-shadow: 0 24px 54px rgba(18, 22, 26, 0.1);
}

.article-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-soft);
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.article-card:hover .article-card-media img {
  transform: scale(1.035);
}

.article-card-media.is-empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(176, 141, 87, 0.22), transparent 58%),
    linear-gradient(145deg, #1b242d, #10161a);
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.34em;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: var(--muted-ink);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.article-card h2 {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.article-card-summary {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .text-link {
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-start;
  border-bottom: none;
  font-size: 12px;
}

.article-empty {
  padding: 72px 30px;
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.article-detail {
  padding-top: clamp(56px, 6vw, 84px);
}

.article-shell {
  width: min(1100px, 88vw);
}

.article-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.article-crumb a:hover {
  color: var(--gold);
}

.article-crumb em {
  font-style: normal;
  color: var(--muted-ink);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-head {
  max-width: 820px;
  margin-top: clamp(38px, 4vw, 60px);
}

.article-head h1 {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.3vw, 60px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0.03em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 24px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article-meta .article-tag {
  font-size: 10px;
}

.article-lede {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted-ink);
}

.article-cover {
  margin: clamp(40px, 5vw, 68px) 0 0;
  background: var(--ink-soft);
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.article-body {
  max-width: 760px;
  margin: clamp(48px, 6vw, 84px) auto 0;
  font-size: 16px;
  line-height: 2.05;
  color: #262c31;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 1.55em;
}

.article-body h1,
.article-body h2,
.article-body h3 {
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin: 2em 0 0.75em;
  color: var(--ink);
}

.article-body h2 {
  font-size: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.article-body h3 {
  font-size: 21px;
}

.article-body h1 {
  font-size: 32px;
}

.article-body a {
  color: var(--gold);
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
}

.article-body a:hover {
  border-bottom-color: var(--gold);
}

.article-body strong {
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.6em;
  padding-left: 1.3em;
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 0.6em;
}

.article-body blockquote {
  margin: 2em 0;
  padding: 22px 28px;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  color: var(--muted-ink);
  font-size: 15.5px;
}

.article-body img {
  width: 100%;
  margin: 2em 0;
}

.article-body pre {
  margin: 2em 0;
  padding: 22px;
  overflow: auto;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  line-height: 1.7;
}

.article-body code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.article-body p code {
  padding: 2px 6px;
  background: var(--cream-deep);
  font-size: 0.9em;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(56px, 6vw, 88px) 0 0;
  padding: clamp(36px, 4vw, 54px);
  background:
    radial-gradient(circle at 88% 20%, rgba(176, 141, 87, 0.24), transparent 45%),
    var(--ink);
  color: var(--cream);
}

.article-footer .eyebrow {
  color: var(--gold-light);
}

.article-footer h2 {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 300;
}

.article-footer p {
  margin-top: 10px;
  color: var(--cream-55);
  font-size: 13.5px;
}

.article-back {
  margin: 34px 0 0;
}

.article-related {
  margin-top: clamp(70px, 8vw, 110px);
  background: var(--cream-deep);
}

@media (max-width: 900px) {
  .article-page {
    padding-top: 74px;
  }

  .article-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

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

@media (max-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card-body {
    padding: 22px;
  }

  .article-shell {
    width: 90vw;
  }

  .article-meta {
    gap: 8px 12px;
  }

  .article-lede {
    font-size: 15px;
  }

  .article-list-head {
    align-items: center;
  }
}

/* ------------------------------------------------- mobile conversion */

.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(18, 22, 26, 0.18);
  border-top: 1px solid rgba(18, 22, 26, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -8px 30px rgba(12, 16, 20, 0.12);
  transform: translateZ(0);
}

.mobile-cta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 0;
  line-height: 1;
  transition: background 0.2s var(--ease);
}

.mobile-cta-item:active {
  background: var(--cream-deep);
}

.mobile-cta-item.is-wechat {
  background: var(--ink);
  color: var(--cream);
}

.mobile-cta-item.is-wechat:active {
  background: var(--navy);
}

.mobile-cta-item.is-book {
  background: var(--gold);
  color: var(--ink);
}

.mobile-cta-item.is-book:active {
  background: var(--gold-light);
}

.mcta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 17px;
  line-height: 1;
}

.mobile-cta-item.is-wechat .mcta-icon {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .mobile-cta {
    display: grid;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .wechat-call {
    margin-bottom: 8px;
  }
}

@media (min-width: 901px) {
  .mobile-cta {
    display: none !important;
  }
}

/* ------------------------------------------------------ wechat modal */

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 16, 20, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wechat-card {
  position: relative;
  width: min(400px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 38px 30px 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: wechat-rise 0.3s var(--ease);
}

@keyframes wechat-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wechat-card .eyebrow {
  color: var(--gold);
  justify-content: center;
  display: flex;
}

.wechat-card h3 {
  margin: 10px 0 8px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.wechat-note {
  margin: 0 auto 20px;
  max-width: 30em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.wechat-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
}

.wechat-close:hover {
  color: var(--ink);
}

.wechat-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px;
}

.wechat-qr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
}

.wechat-qr-empty strong {
  font-size: 15px;
  color: var(--ink);
}

.wechat-id {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 14px;
}

.wechat-id span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.wechat-id strong {
  font-weight: 600;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.wechat-id button {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  padding: 3px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.wechat-id button:hover {
  background: var(--gold);
  color: var(--ink);
}

.wechat-call {
  width: 100%;
  justify-content: center;
}

.wechat-empty {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------- article faq */

.article-faq {
  margin: 48px 0 8px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.article-faq > h2 {
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.faq-item p {
  color: var(--muted-ink);
  font-size: 15px;
  line-height: 1.85;
}

@media (max-width: 640px) {
  .wechat-card {
    padding: 34px 22px 24px;
  }

  .wechat-qr {
    width: 190px;
    height: 190px;
  }

  .wechat-card h3 {
    font-size: 20px;
  }

  .article-faq > h2 {
    font-size: 21px;
  }
}

.mcta-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}
