@charset "utf-8";

/* ==========================================================================
   江苏王记药蒸堂健康管理有限公司 · 官方网站样式表
   Design tokens / layout primitives / components / pages / responsive
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--red); color: #fff; }

/* ---------- 2. Tokens ---------- */
:root {
  /* palette */
  --ink: #14100c;
  --ink-2: #1d1712;
  --ink-3: #29211a;
  --ink-4: #382d23;
  --paper: #f7f2e8;
  --paper-2: #fbf8f1;
  --paper-3: #efe6d6;
  --paper-4: #e6dbc7;
  --gold: #c6a063;
  --gold-2: #e2c68f;
  --gold-3: #8f7442;
  --red: #a92f28;
  --red-2: #c03a30;
  --red-3: #7d211c;
  --text: #241c15;
  --text-2: #4a3d31;
  --muted: #6d5d4d;
  --muted-2: #8c7b68;
  --line: rgba(198, 160, 99, 0.34);
  --line-soft: rgba(36, 28, 21, 0.1);
  --line-dark: rgba(226, 198, 143, 0.18);

  /* type */
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;

  /* geometry */
  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 2px 10px rgba(36, 24, 12, 0.06);
  --shadow-md: 0 14px 34px -18px rgba(36, 24, 12, 0.35);
  --shadow-lg: 0 28px 70px -30px rgba(20, 14, 8, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;

  /* texture */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
}

/* ---------- 3. Base typography ---------- */
h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.04em;
  color: var(--text);
}

h1 { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: 0.06em; }
h2 { font-size: clamp(25px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 23px); }
h4 { font-size: 17px; letter-spacing: 0.06em; }

p { text-wrap: pretty; }
.lead { font-size: clamp(15px, 1.5vw, 17px); color: var(--text-2); line-height: 1.9; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.85; }
.gold { color: var(--gold-3); }
.en { font-family: var(--sans); letter-spacing: 0.22em; text-transform: uppercase; font-size: 11px; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.4vw, 44px);
}

.section { position: relative; padding-block: clamp(54px, 6.6vw, 100px); }
.section--tight { padding-block: clamp(40px, 4.6vw, 68px); }
.section--paper2 { background: var(--paper-2); }
.section--tint { background: var(--paper-3); }
.section--paper2 .card,
.section--paper2 .news-card,
.section--paper2 .honor-card { background: #fff; }
.section--tint .card { background: var(--paper-2); }

.section--dark {
  background: var(--ink);
  color: rgba(247, 242, 232, 0.78);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper-2); }
.section--dark .lead { color: rgba(247, 242, 232, 0.72); }
.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.section--bleed { overflow: hidden; }

/* section heading */
.sec-head { max-width: 780px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head .lead { max-width: 62ch; }
.sec-head--center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section--dark .eyebrow { color: var(--gold-2); }

.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor);
}
.rule::after { background: linear-gradient(270deg, transparent, currentColor); }
.rule i {
  width: 6px; height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  display: block;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--red-2); transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(169, 47, 40, 0.9); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: rgba(36, 28, 21, 0.24);
}
.btn--ghost:hover { background: rgba(36, 28, 21, 0.05); border-color: var(--text); box-shadow: none; }

.section--dark .btn--ghost,
.cta-band .btn--ghost,
.hero .btn--ghost {
  --btn-fg: var(--paper-2);
  border-color: rgba(226, 198, 143, 0.45);
}
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.hero .btn--ghost:hover { background: rgba(226, 198, 143, 0.1); border-color: var(--gold-2); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: #23180f;
}
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 12px 26px -14px rgba(198, 160, 99, 0.8); }

.btn--sm { padding: 11px 18px; font-size: 13.5px; letter-spacing: 0.08em; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gold-3);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow::after { content: "→"; font-family: var(--sans); }
.link-arrow:hover { gap: 14px; border-color: currentColor; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
  background: linear-gradient(180deg, rgba(14, 10, 7, 0.72), rgba(14, 10, 7, 0));
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(18, 13, 9, 0.94);
  box-shadow: 0 1px 0 rgba(226, 198, 143, 0.16), 0 18px 40px -30px rgba(0, 0, 0, 0.9);
  backdrop-filter: saturate(120%) blur(10px);
}

.site-header__inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #f7e6c8;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(247, 230, 200, 0.35), 0 6px 16px -8px rgba(169, 47, 40, 0.9);
  padding-bottom: 2px;
}
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--paper-2);
  line-height: 1;
}
.brand__en {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: rgba(226, 198, 143, 0.72);
  text-transform: uppercase;
  line-height: 1;
}
.site-header.is-light .brand__name { color: var(--ink); }
.site-header.is-light .brand__en { color: var(--gold-3); }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(6px, 1.4vw, 22px); }
.nav a {
  position: relative;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: rgba(247, 242, 232, 0.82);
  padding: 8px 2px;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--gold-2); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  margin-right: 4px;
}
.header-tel span { font-size: 10px; letter-spacing: 0.18em; color: rgba(226, 198, 143, 0.7); }
.header-tel strong {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: relative;
  align-items: center;
  justify-content: center;
  color: var(--paper-2);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { content: ""; transform: translateY(-7px); }
.nav-toggle span::after { content: ""; transform: translateY(5.4px); }
body.nav-open .nav-toggle span { transform: rotate(45deg); }
body.nav-open .nav-toggle span::before { transform: rotate(-90deg); }
body.nav-open .nav-toggle span::after { opacity: 0; transform: translateY(0); }

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 380px);
  background: var(--ink);
  z-index: 95;
  transform: translateX(102%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 20px 26px 30px;
  overflow-y: auto;
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.8);
}
body.nav-open .nav-drawer { transform: none; }
.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.nav-drawer__close { width: 40px; height: 40px; color: var(--gold-2); font-size: 26px; line-height: 1; }
.nav-drawer nav { display: flex; flex-direction: column; margin-top: 8px; }
.nav-drawer nav a {
  padding: 15px 2px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.1em;
  color: rgba(247, 242, 232, 0.9);
  border-bottom: 1px solid rgba(226, 198, 143, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-drawer nav a::after { content: "›"; color: var(--gold-3); font-size: 18px; }
.nav-drawer nav a.is-active { color: var(--gold-2); }
.nav-drawer__foot { margin-top: auto; padding-top: 26px; display: grid; gap: 12px; }
.nav-drawer__foot .tel {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-2);
  letter-spacing: 0.04em;
}
.nav-drawer__foot .small { color: rgba(247, 242, 232, 0.6); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 7, 4, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 92;
  backdrop-filter: blur(2px);
}
body.nav-open .nav-overlay { opacity: 1; pointer-events: auto; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-2);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 9, 6, 0.86) 0%, rgba(12, 9, 6, 0.35) 34%, rgba(12, 9, 6, 0.55) 62%, rgba(12, 9, 6, 0.94) 100%),
    linear-gradient(96deg, rgba(12, 9, 6, 0.9) 0%, rgba(12, 9, 6, 0.36) 52%, rgba(12, 9, 6, 0.1) 100%);
}
.hero__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) clamp(20px, 4.4vw, 44px) clamp(28px, 3.4vw, 44px);
}

.hero__content { max-width: 830px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(226, 198, 143, 0.4);
  background: rgba(226, 198, 143, 0.08);
  border-radius: 40px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  margin-bottom: clamp(20px, 3vw, 30px);
  backdrop-filter: blur(4px);
}
.hero__badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(226, 198, 143, 0.2);
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 6.4vw, 76px);
  line-height: 1.14;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.hero__sub {
  font-family: var(--serif);
  font-size: clamp(17px, 2.6vw, 30px);
  letter-spacing: 0.16em;
  color: var(--gold-2);
  margin-bottom: clamp(18px, 2.6vw, 26px);
  line-height: 1.5;
}
.hero__desc {
  max-width: 58ch;
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.95;
  color: rgba(247, 242, 232, 0.8);
  margin-bottom: clamp(24px, 3.4vw, 36px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  margin-top: clamp(34px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(226, 198, 143, 0.22);
  border-bottom: 1px solid rgba(226, 198, 143, 0.22);
  background: linear-gradient(180deg, rgba(20, 15, 10, 0.34), rgba(20, 15, 10, 0.6));
  backdrop-filter: blur(6px);
}
.hero__stat {
  padding: clamp(16px, 2.2vw, 26px) clamp(10px, 1.6vw, 22px);
  border-left: 1px solid rgba(226, 198, 143, 0.16);
}
.hero__stat:first-child { border-left: 0; }
.hero__stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--gold-2);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero__stat span {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: rgba(247, 242, 232, 0.65);
}

.hero__side {
  position: absolute;
  right: clamp(14px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: rgba(226, 198, 143, 0.55);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__side::before {
  content: "";
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(226, 198, 143, 0.6));
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(247, 242, 232, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(226, 198, 143, 0.8), transparent);
  animation: hintDrop 2.2s infinite;
}
@keyframes hintDrop {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.2; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.2; }
}

/* page hero (inner pages) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(46px, 7vw, 86px));
  padding-bottom: clamp(34px, 4.4vw, 56px);
  background: var(--ink);
  color: var(--paper-2);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.42; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 10, 7, 0.96) 0%, rgba(14, 10, 7, 0.78) 46%, rgba(14, 10, 7, 0.5) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 14px; }
.page-hero p { max-width: 60ch; color: rgba(247, 242, 232, 0.75); font-size: 15.5px; line-height: 1.9; }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 198, 143, 0.2);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(226, 198, 143, 0.9);
}
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta span::before { content: "◆"; font-size: 8px; color: var(--gold-3); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(247, 242, 232, 0.5);
  margin-bottom: 18px;
}
.crumbs a:hover { color: var(--gold-2); }
.crumbs i { font-style: normal; color: rgba(226, 198, 143, 0.4); }

/* ---------- 8. Generic cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s, background 0.45s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow-md); }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }

.card__num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-3);
  margin-bottom: 16px;
  display: block;
}

.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-3);
  margin-bottom: 20px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.card:hover .icon-box { background: var(--red); border-color: var(--red); color: #fff; }
.icon-box svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.4; fill: none; }

.card--dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(226, 198, 143, 0.16);
}
.card--dark h3 { color: var(--paper-2); }
.card--dark p { color: rgba(247, 242, 232, 0.66); }

/* feature list */
.feature-list { display: grid; gap: 14px; }
.feature-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-2);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.72em;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
  opacity: 0.8;
}
.frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.frame img { display: block; }

.media-caption {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-align: right;
}

/* stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.stats > div {
  padding: clamp(20px, 2.6vw, 30px);
  border-left: 1px solid var(--line-soft);
  text-align: center;
}
.stats > div:first-child { border-left: 0; }
.stats b {
  display: block;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--red);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stats b small { font-size: 0.5em; margin-left: 2px; }
.stats > div > span { font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); }
.stats b span { font-size: inherit; letter-spacing: inherit; color: inherit; }

/* ---------- 9. About / values ---------- */
.about-copy p + p { margin-top: 14px; }
.about-copy { font-size: 15px; line-height: 1.95; color: var(--text-2); }
.about-copy strong { color: var(--text); font-weight: 600; }

.founder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.founder__seal {
  width: 56px; height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: 22px;
  background: rgba(198, 160, 99, 0.08);
}
.founder b { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: 0.08em; }
.founder span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: clamp(26px, 3.4vw, 40px);
}
.value-grid > div {
  background: var(--paper);
  padding: clamp(20px, 2.4vw, 28px);
  transition: background 0.35s;
}
.value-grid > div:hover { background: var(--paper-2); }
.value-grid .k {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.value-grid .k::before { content: "❖"; font-size: 10px; color: var(--gold-3); }
.value-grid p { font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- 10. Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(30px, 4vw, 48px);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
}
.timeline__item { position: relative; padding-top: 34px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 13px; height: 13px;
  border: 1px solid var(--gold);
  background: var(--paper);
  transform: rotate(45deg);
  transition: background 0.3s, border-color 0.3s;
}
.timeline__item:hover::before { background: var(--red); border-color: var(--red); }
.timeline__year {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.timeline__item h3 { font-size: 17px; margin-bottom: 8px; }
.timeline__item p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* steps (horizontal) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(22px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(226, 198, 143, 0.16);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-3);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 10px; color: var(--paper-2); }
.step p { font-size: 13.5px; line-height: 1.85; color: rgba(247, 242, 232, 0.62); }
.steps--light .step { background: var(--paper-2); border-color: var(--line-soft); }
.steps--light .step h3 { color: var(--text); }
.steps--light .step p { color: var(--muted); }
.steps--light .step::before { color: var(--gold-3); }

/* ---------- 11. Technology ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(226, 198, 143, 0.16); border: 1px solid rgba(226, 198, 143, 0.16); }
.tech-item { background: var(--ink); padding: clamp(24px, 2.8vw, 34px); transition: background 0.4s; }
.tech-item:hover { background: var(--ink-2); }
.tech-item h3 { font-size: 19px; color: var(--paper-2); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.tech-item h3::before { content: "❖"; font-size: 11px; color: var(--gold); }
.tech-item p { font-size: 13.5px; line-height: 1.9; color: rgba(247, 242, 232, 0.62); }

.principle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.principle > div {
  text-align: center;
  padding: 26px 18px;
  border: 1px solid var(--line);
  background: rgba(198, 160, 99, 0.05);
}
.principle b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-3);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.principle p { font-size: 13px; line-height: 1.8; color: var(--muted); }

.flow { counter-reset: flow; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.flow > div {
  background: var(--paper-2);
  padding: 20px clamp(18px, 2vw, 26px);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  transition: background 0.35s;
  counter-increment: flow;
}
.flow > div:hover { background: #fff; }
.flow .n {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold-3);
  padding-top: 3px;
}
.flow .n::before { content: "0" counter(flow); }
.flow h3 { font-size: 16.5px; margin-bottom: 6px; }
.flow p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------- 12. Honors ---------- */
.honor-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3.2vw, 40px);
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.honor-feature::before {
  content: "示范";
  position: absolute;
  right: -10px; bottom: -40px;
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1;
  color: rgba(226, 198, 143, 0.06);
  letter-spacing: 0.05em;
  pointer-events: none;
}
.honor-feature h3 {
  color: var(--gold-2);
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.honor-feature p { color: rgba(247, 242, 232, 0.7); font-size: 14.5px; line-height: 1.9; }
.honor-feature .tag { color: var(--gold-2); border-color: rgba(226, 198, 143, 0.32); background: rgba(226, 198, 143, 0.08); }
.honor-medal {
  width: clamp(136px, 16vw, 190px);
  height: clamp(136px, 16vw, 190px);
  border-radius: 50%;
  border: 1px solid rgba(226, 198, 143, 0.45);
  display: grid;
  place-items: center;
  margin-inline: auto;
  position: relative;
  text-align: center;
}
.honor-medal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(226, 198, 143, 0.35);
}
.honor-medal b {
  font-family: var(--serif);
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.14em;
  line-height: 1.75;
  color: var(--gold-2);
  line-height: 1.6;
  display: block;
  padding: 0 10px;
}
.honor-medal span { display: block; margin-top: 8px; font-size: 7.5px; letter-spacing: 0.16em; color: rgba(226, 198, 143, 0.55); padding-inline: 14px; }

.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); margin-top: clamp(22px, 3vw, 30px); }
.honor-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(18px, 2vw, 24px);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.honor-card:hover { border-color: var(--line); transform: translateY(-3px); }
.honor-card .badge {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(169, 47, 40, 0.07);
  color: var(--red);
  font-family: var(--serif);
  font-size: 15px;
}
.honor-card b { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: 0.06em; margin-bottom: 5px; }
.honor-card span { font-size: 12.5px; color: var(--muted); line-height: 1.7; display: block; }

/* ---------- 13. Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(120px, 15vw, 200px);
  gap: 10px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-2);
  cursor: zoom-in;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
  filter: saturate(0.95);
}
.gallery a:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1.03); }
.gallery a::after {
  content: attr(data-label);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(12, 9, 6, 0.82));
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery a:hover::after { opacity: 1; }
.gallery .span-2 { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 7, 4, 0.94);
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px -30px #000; }
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 46px; height: 46px;
  color: #f7f2e8;
  font-size: 30px;
  line-height: 1;
}

/* ---------- 14. News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card time {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-3);
  margin-bottom: 10px;
}
.news-card h3 { font-size: 17px; line-height: 1.55; margin-bottom: 10px; }
.news-card p { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.news-card .link-arrow { margin-top: auto; font-size: 13px; }

.news-list { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.news-row {
  display: grid;
  grid-template-columns: 140px 1fr 24px;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  background: var(--paper);
  transition: background 0.3s;
}
.news-row:hover { background: var(--paper-2); }
.news-row time { font-family: var(--serif); font-size: 13px; letter-spacing: 0.08em; color: var(--gold-3); }
.news-row h3 { font-size: 16.5px; margin-bottom: 6px; }
.news-row p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.news-row i { font-style: normal; color: var(--gold); }

/* article */
.article { max-width: 760px; margin-inline: auto; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 30px;
}
.article__body { font-size: 15.5px; line-height: 2; color: var(--text-2); }
.article__body p + p { margin-top: 18px; }
.article__body h2 { font-size: 22px; margin: 34px 0 14px; }
.article__body h3 { font-size: 18px; margin: 26px 0 10px; }
.article__body ul { margin: 14px 0; display: grid; gap: 8px; }
.article__body ul li { position: relative; padding-left: 20px; }
.article__body ul li::before { content: "·"; position: absolute; left: 4px; color: var(--gold-3); font-weight: 700; }
.article__body blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(198, 160, 99, 0.07);
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
}
.article__foot {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- 15. Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(26px, 4vw, 56px); align-items: start; }

.info-list { display: grid; gap: 2px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.info-row {
  background: var(--paper-2);
  padding: 18px clamp(18px, 2vw, 24px);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
  transition: background 0.3s;
}
.info-row:hover { background: #fff; }
.info-row dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  padding-top: 4px;
}
.info-row dd { font-size: 15px; line-height: 1.75; color: var(--text); }
.info-row dd a { border-bottom: 1px solid transparent; transition: border-color 0.25s, color 0.25s; }
.info-row dd a:hover { color: var(--red); border-color: currentColor; }
.info-row .big {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  letter-spacing: 0.05em;
  color: var(--red);
  line-height: 1.4;
}
.info-row .tel-list { display: flex; flex-direction: column; gap: 2px; }
.info-row .tel-list a { font-family: var(--serif); font-size: 18px; letter-spacing: 0.04em; color: var(--text); }
.info-row .tel-list a:hover { color: var(--red); }
.info-row .hint { display: block; font-size: 12px; color: var(--muted-2); margin-top: 4px; letter-spacing: 0.04em; }

.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; letter-spacing: 0.1em; color: var(--muted); }
.field label i { color: var(--red); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(36, 28, 21, 0.16);
  border-radius: 2px;
  font-size: 14.5px;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d5d4d' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 160, 99, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: #b3a696; }
.form-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--muted-2); }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  border-radius: 2px;
  display: none;
}
.form-status.is-ok { display: block; background: rgba(46, 125, 79, 0.1); color: #256b43; border: 1px solid rgba(46, 125, 79, 0.25); }
.form-status.is-err { display: block; background: rgba(169, 47, 40, 0.08); color: var(--red-3); border: 1px solid rgba(169, 47, 40, 0.25); }

.map-card { position: relative; border: 1px solid var(--line); background: var(--paper-3); overflow: hidden; }
.map-card__art {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 40%, rgba(198, 160, 99, 0.18), transparent 55%),
    repeating-linear-gradient(0deg, rgba(36, 28, 21, 0.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(36, 28, 21, 0.06) 0 1px, transparent 1px 34px),
    var(--paper-3);
  display: grid;
  place-items: center;
}
.map-card__pin {
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
}
.map-card__pin .dot {
  width: 14px; height: 14px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(169, 47, 40, 0.15), 0 0 0 14px rgba(169, 47, 40, 0.07);
  margin-inline: auto;
}
.map-card__pin b { font-family: var(--serif); font-size: 16px; letter-spacing: 0.1em; }
.map-card__pin span { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.map-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  flex-wrap: wrap;
}

/* ---------- 16. CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(115deg, var(--ink) 0%, var(--ink-3) 62%, var(--red-3) 140%);
  color: var(--paper-2);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  padding-block: clamp(40px, 5vw, 66px);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(23px, 2.8vw, 32px); margin-bottom: 10px; }
.cta-band p { color: rgba(247, 242, 232, 0.68); font-size: 14px; }
.cta-band__tel {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--gold-2);
  letter-spacing: 0.04em;
  line-height: 1.2;
  display: block;
}
.cta-band__tel small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; color: rgba(226, 198, 143, 0.6); margin-bottom: 8px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 17. Footer ---------- */
.site-footer { background: #100c08; color: rgba(247, 242, 232, 0.62); font-size: 13.5px; }
.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(26px, 3.4vw, 48px);
  padding-block: clamp(40px, 5vw, 64px);
}
.site-footer h4 {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--paper-2);
  margin-bottom: 18px;
  font-family: var(--serif);
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { line-height: 1.9; max-width: 34ch; }
.footer-badges { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-badges span {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border: 1px solid rgba(226, 198, 143, 0.28);
  color: rgba(226, 198, 143, 0.82);
}
.footer-contact li { display: flex; gap: 10px; line-height: 1.8; }
.footer-contact li b { color: rgba(226, 198, 143, 0.7); font-weight: 400; flex: 0 0 auto; }
.footer-contact .tel { font-family: var(--serif); font-size: 19px; color: var(--gold-2); letter-spacing: 0.04em; }
.site-footer__bottom {
  border-top: 1px solid rgba(226, 198, 143, 0.14);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(247, 242, 232, 0.42);
}
.site-footer__bottom nav { display: flex; gap: 18px; }

/* ---------- 18. Floating UI ---------- */
.float-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  background: rgba(16, 12, 8, 0.96);
  border-top: 1px solid rgba(226, 198, 143, 0.2);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  backdrop-filter: blur(10px);
}
.float-bar__item {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 4px;
  color: rgba(247, 242, 232, 0.78);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.float-bar__item svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.float-bar__item--primary { color: var(--gold-2); }

.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 70;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(247, 242, 232, 0.9);
  color: var(--text);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s, background 0.3s;
  backdrop-filter: blur(6px);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); }
.to-top::before { content: "↑"; font-size: 16px; }

/* ---------- 19. Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 20. Misc blocks ---------- */
.quote-block {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  text-align: center;
}
.quote-block .mark {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 16px;
}
.quote-block p {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--text);
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  color: var(--gold-3);
  background: rgba(198, 160, 99, 0.06);
}
.tag--red { border-color: rgba(169, 47, 40, 0.28); color: var(--red); background: rgba(169, 47, 40, 0.05); }

.note {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted-2);
  padding: 14px 16px;
  background: rgba(36, 28, 21, 0.035);
  border-left: 2px solid var(--line);
}
.note b { color: var(--text-2); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); }
.table { min-width: 560px; font-size: 13.5px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.table thead th {
  background: var(--paper-3);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  font-size: 13.5px;
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(198, 160, 99, 0.05); }
.table td b { font-weight: 600; }
.table .price { color: var(--red); font-family: var(--serif); font-size: 15px; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1180px) {
  .site-footer__main { grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; }
  .nav { gap: 4px; }
  .nav a { font-size: 13.5px; }
}

@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: 0; }
  .header-cta .header-tel { display: none; }

  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }
  .grid--4, .value-grid, .timeline, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-feature { grid-template-columns: 1fr; text-align: center; }
  .honor-feature p { margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__side { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .span-2 { grid-column: span 2; }
}

@media (max-width: 860px) {
  body { font-size: 15px; }
  .hero { min-height: min(94svh, 820px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .hero__stat:nth-child(3) { border-left: 0; }
  .hero__stat:nth-child(n + 3) { border-top: 1px solid rgba(226, 198, 143, 0.14); }
  .hero__badge { font-size: 11px; }
  .scroll-hint { display: none; }
  .tech-grid, .honor-grid, .principle { grid-template-columns: 1fr; }
  .float-bar { display: flex; }
  body { padding-bottom: 62px; }
  .to-top { bottom: 76px; right: 14px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .news-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 6px; }
  .news-row i { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 78px 1fr; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .news-grid, .value-grid, .steps, .stats { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline__item { padding-left: 24px; padding-top: 0; }
  .timeline__item::before { left: 0; top: 6px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 132px; }
  .gallery .span-2 { grid-column: span 2; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; padding-inline: 12px; }
  .section { padding-block: 46px; }
  .page-hero { padding-top: calc(var(--header-h) + 32px); }
  .site-footer__main { grid-template-columns: 1fr; }
  .footer-badges { margin-top: 14px; }
  .honor-grid { grid-template-columns: 1fr; }
  .article__body { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .float-bar, .to-top, .cta-band, .nav-drawer { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 24px; }
}

/* ---------- 22. Utility & page-specific ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper-2);
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* qualification strip */
.strip { background: var(--paper-2); border-bottom: 1px solid var(--line-soft); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(10px, 1.4vw, 18px);
  border-left: 1px solid var(--line-soft);
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  stroke: var(--gold-3);
  stroke-width: 1.3;
  fill: none;
}
.strip__item b { display: block; font-size: 14.5px; letter-spacing: 0.06em; color: var(--text); }
.strip__item span { font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); }

@media (max-width: 1024px) {
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); }
  .strip__item:first-child { border-top: 0; }
}

/* history list */
.history { border-top: 1px solid var(--line-soft); }
.history li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(14px, 3vw, 44px);
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s;
}
.history li:hover { background: rgba(198, 160, 99, 0.045); }
.history .y {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.history h3 { font-size: 17px; margin-bottom: 6px; }
.history p { font-size: 14px; line-height: 1.85; color: var(--muted); }

/* a day at the residence */
.daygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.daygrid > div { background: var(--paper-2); padding: 20px 22px; }
.daygrid time {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold-3);
  margin-bottom: 8px;
}
.daygrid b { display: block; font-size: 15px; letter-spacing: 0.06em; margin-bottom: 5px; }
.daygrid p { font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* two-column checklist */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-3);
  font-size: 12px;
}
.section--dark .checklist li { color: rgba(247, 242, 232, 0.72); }
.section--dark .checklist li::before { color: var(--gold-2); }

/* pricing / info band */
.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.band > div { background: var(--paper-2); padding: clamp(20px, 2.4vw, 30px); }
.band b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 10px;
}
.band p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

.two-col { columns: 2; column-gap: 44px; }
.two-col li { break-inside: avoid; margin-bottom: 8px; }

@media (max-width: 1024px) {
  .daygrid, .band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .history li { grid-template-columns: 1fr; gap: 6px; }
  .daygrid, .band, .checklist { grid-template-columns: 1fr; }
  .two-col { columns: 1; }
}

/* ---------- 23. Responsive refinements ---------- */
.table-hint { display: none; }

@media (max-width: 860px) {
  .hero__inner { padding-bottom: 86px; }
  .page-hero { padding-bottom: 40px; }
}

@media (max-width: 620px) {
  .table-hint {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    color: var(--muted-2);
    margin-top: 10px;
    text-align: right;
  }
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 26px clamp(16px, 5vw, 30px);
  }
  .footer-brand,
  .site-footer__main > div:last-child { grid-column: 1 / -1; }
  .site-footer ul { gap: 7px; }
  .site-footer h4 { margin-bottom: 12px; }
  .site-footer__bottom { flex-direction: column; gap: 10px; }
  .honor-feature { padding: 26px 20px; }
  .honor-feature::before { font-size: 120px; right: -20px; bottom: -30px; opacity: .5; }
  .card { padding: 22px 20px; }
}
/* compact stats for narrow columns */
.stats--compact { grid-template-columns: repeat(2, 1fr); }
.stats--compact > div { padding: 20px 16px; }
.stats--compact b { font-size: clamp(24px, 2.4vw, 32px); }
.stats--compact > div > span { font-size: 11.5px; letter-spacing: 0.06em; }
.stats--compact > div:nth-child(odd) { border-left: 0; }
.stats--compact > div:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }