/* ===========================================================
   美源装饰 — 材料色系视觉系统
   奶油纸 / 胡桃木 / 赤陶 / 墨绿 / 黄铜
   =========================================================== */

:root {
  --paper: #F7F2E9;
  --paper-2: #FBF8F2;
  --paper-3: #EFE7DA;
  --ink: #1E1A15;
  --ink-2: #4A4038;
  --ink-3: #7C7065;
  --walnut: #6B4A2F;
  --walnut-deep: #3B2A1C;
  --terracotta: #C4552B;
  --brass: #C99A2E;
  --jade: #1E4436;
  --clay: #D9A06B;
  --cool: #6E7B76;
  --success: #3E7D5A;
  --warning: #C9862B;
  --danger: #B4432E;
  --info: #3A6B8A;
  --scrim: rgba(24, 19, 14, .68);

  --bg: var(--paper);
  --surface: #FFFDF8;
  --surface-2: var(--paper-3);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: rgba(107, 74, 47, .16);
  --line-2: rgba(107, 74, 47, .30);
  --accent: var(--terracotta);
  --accent-2: var(--brass);
  --accent-3: var(--jade);

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --head-h: 74px;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --sh-1: 0 1px 2px rgba(59, 42, 28, .05), 0 6px 18px -10px rgba(59, 42, 28, .18);
  --sh-2: 0 2px 6px rgba(59, 42, 28, .07), 0 22px 48px -24px rgba(59, 42, 28, .30);
  --sh-3: 0 30px 70px -30px rgba(59, 42, 28, .45);
  --ease: cubic-bezier(.22, .68, .24, 1);
}

* { box-sizing: border-box; }

/* 作者样式里的 display:grid/flex 会盖掉 UA 的 [hidden]，必须显式兜底 */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 22px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.78;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.28; letter-spacing: .01em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
:focus-visible { outline: 2.5px solid var(--terracotta); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-160%);
  background: var(--walnut-deep); color: var(--paper);
  padding: 10px 18px; border-radius: var(--r-sm); font-size: 14px;
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- scrollbar ---------- */
* { scrollbar-width: thin; scrollbar-color: var(--walnut) var(--paper-3); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-3); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--walnut), var(--walnut-deep));
  border: 2.5px solid var(--paper-3); border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--terracotta), var(--walnut)); }
::-webkit-scrollbar-corner { background: var(--paper-3); }

/* ---------- grain + layout ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.fine { font-size: 13.5px; line-height: 1.72; color: var(--fg-3); }
.center { text-align: center; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101;
  background: rgba(107, 74, 47, .10);
}
.scroll-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--jade), var(--brass) 48%, var(--terracotta));
  transition: width .1s linear;
}

/* ---------- header ---------- */
.site-head {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 100;
  height: var(--head-h);
  background: rgba(247, 242, 233, .82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-head.is-stuck {
  background: rgba(251, 248, 242, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(59, 42, 28, .5);
}
.head-inner { height: 100%; display: flex; align-items: center; gap: 22px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--paper);
  background: linear-gradient(140deg, #7A5433, var(--walnut-deep) 58%, var(--jade));
  box-shadow: inset 0 0 0 1.5px rgba(201, 154, 46, .5), var(--sh-1);
}
img.brand-mark {
  background: none; box-shadow: none; border-radius: 0; object-fit: contain;
}
.brand-foot img.brand-mark { filter: saturate(1.06) brightness(1.14); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--serif); font-size: 19px; letter-spacing: .06em; }
.brand-text i { font-style: normal; font-size: 11.5px; color: var(--fg-3); letter-spacing: .04em; }

.nav-desktop { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  position: relative; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--fg-2); white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--brass));
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
  border-radius: 2px;
}
.nav-link:hover { color: var(--walnut-deep); background: rgba(107, 74, 47, .06); }
.nav-link.is-active { color: var(--walnut-deep); font-weight: 600; }
.nav-link.is-active::after { transform: scaleX(1); }

.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 99px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-solid {
  background: linear-gradient(135deg, var(--walnut) 0%, var(--walnut-deep) 70%);
  color: var(--paper); box-shadow: var(--sh-1);
}
.btn-solid:hover { box-shadow: 0 12px 26px -12px rgba(59, 42, 28, .7); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface); color: var(--walnut-deep);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); background: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn-block { width: 100%; margin-top: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 17px; height: 1.8px; background: var(--walnut-deep); border-radius: 2px; transition: transform .26s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

.nav-drawer {
  position: fixed; top: calc(var(--head-h) + 3px); left: 0; right: 0; z-index: 99;
  max-height: calc(100dvh - var(--head-h) - 3px); overflow-y: auto;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-2); padding: 14px 28px 24px;
  animation: drawerIn .28s var(--ease);
}
@keyframes drawerIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.nav-drawer nav { display: flex; flex-direction: column; }
.nav-drawer .nav-link { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav-drawer .nav-link::after { display: none; }
.nav-drawer .chans { margin-top: 18px; }

/* ---------- contact channels ---------- */
.chans { display: flex; flex-direction: column; gap: 10px; }
.chan {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  cursor: pointer; transition: border-color .2s var(--ease), transform .18s var(--ease), box-shadow .22s var(--ease);
}
.chan:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--sh-1); }
.chan > .ico { width: 21px; height: 21px; color: var(--terracotta); }
.chan-body { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.45; }
.chan-label { font-size: 12px; color: var(--fg-3); letter-spacing: .06em; }
.chan-value { font-size: 16px; font-weight: 600; color: var(--fg); word-break: break-all; }
.chan-addr { font-size: 13.5px; font-weight: 500; line-height: 1.6; }
.chan-go {
  flex: none; font-size: 12.5px; padding: 5px 11px; border-radius: 99px;
  background: rgba(196, 85, 43, .10); color: var(--terracotta); font-weight: 600;
}
.chan-pending { border-style: dashed; }
.chan-pending > .ico { color: var(--fg-3); }
.chan-pending .chan-value { font-size: 15px; font-weight: 500; color: var(--fg-2); }
.chan-pending .chan-go { background: rgba(201, 134, 43, .14); color: var(--warning); }
.chans-compact .chan { padding: 11px 13px; }
.chans-compact .chan-value { font-size: 14.5px; }

/* ---------- sections & tones ---------- */
.sec { position: relative; padding: clamp(60px, 7.5vw, 112px) 0; background: var(--bg); color: var(--fg); }
.sec > .wrap { position: relative; z-index: 2; }

.tone-cream { --bg: var(--paper); --surface: #FFFDF8; }
.tone-paper2 { --bg: var(--paper-2); --surface: #FFFFFF; }
.tone-jade {
  --bg: #EDF0E9; --surface: #F8FAF5; --surface-2: #E2E8DC;
  --line: rgba(30, 68, 54, .16); --line-2: rgba(30, 68, 54, .30);
  --accent: var(--jade); --fg-3: #5F6E62;
}
.tone-walnut {
  --bg: #2A1D13; --surface: rgba(247, 242, 233, .055); --surface-2: rgba(247, 242, 233, .09);
  --fg: #F5EDE2; --fg-2: #D8C7B2; --fg-3: #A8937C;
  --line: rgba(245, 237, 226, .16); --line-2: rgba(245, 237, 226, .30);
  --accent: var(--clay); --accent-2: var(--brass);
}
.tone-walnut .btn-ghost { background: rgba(247, 242, 233, .07); color: var(--fg); }
.tone-walnut .btn-ghost:hover { background: rgba(247, 242, 233, .13); color: var(--brass); border-color: var(--brass); }
.tone-cta {
  --bg: #22301F;
  --surface: rgba(247, 242, 233, .07); --surface-2: rgba(247, 242, 233, .11);
  --fg: #F5EDE2; --fg-2: #D5C6B0; --fg-3: #A5B09C;
  --line: rgba(245, 237, 226, .18); --line-2: rgba(245, 237, 226, .32);
  --accent: var(--brass);
  background: linear-gradient(135deg, #2A1D13 0%, #33261A 38%, var(--jade) 100%);
  overflow: hidden;
}
.tone-cta .btn-ghost { background: rgba(247, 242, 233, .08); color: var(--fg); }
.tone-cta .btn-ghost:hover { background: rgba(247, 242, 233, .15); color: var(--brass); border-color: var(--brass); }

.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .20em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .7; }
.sec-title { font-size: clamp(27px, 3.5vw, 42px); }
.sec-lead { margin-top: 16px; font-size: 16.5px; color: var(--fg-2); max-width: 68ch; }
.sec-more { margin-top: clamp(28px, 3.5vw, 44px); }

/* ---------- mesh / light ---------- */
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 52% at 12% 18%, rgba(217, 160, 107, .30), transparent 62%),
    radial-gradient(40% 46% at 86% 12%, rgba(30, 68, 54, .16), transparent 64%),
    radial-gradient(52% 48% at 72% 88%, rgba(196, 85, 43, .16), transparent 66%),
    radial-gradient(38% 40% at 30% 92%, rgba(201, 154, 46, .18), transparent 62%);
  animation: meshDrift 26s ease-in-out infinite alternate;
}
.tone-cta .hero-mesh {
  background:
    radial-gradient(44% 50% at 14% 20%, rgba(201, 154, 46, .26), transparent 62%),
    radial-gradient(40% 46% at 84% 78%, rgba(217, 160, 107, .20), transparent 64%),
    radial-gradient(46% 44% at 62% 12%, rgba(196, 85, 43, .18), transparent 66%);
}
@keyframes meshDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-2.2%, 1.6%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -1.4%, 0) scale(1.03); }
}
.hero-light {
  position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; opacity: .5;
  background: conic-gradient(from 200deg at 68% 32%, transparent 0deg, rgba(255, 246, 228, .55) 40deg, transparent 110deg, transparent 360deg);
  filter: blur(46px);
  animation: lightSweep 30s linear infinite;
}
@keyframes lightSweep { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--head-h) + clamp(44px, 6vw, 84px)) 0 clamp(48px, 5vw, 76px); overflow: hidden; background: var(--paper); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 68px); align-items: center; }
.hero-copy h1 { font-size: clamp(40px, 6vw, 74px); letter-spacing: .04em; }
.h1-sub { display: block; font-size: clamp(17px, 1.9vw, 24px); font-weight: 400; letter-spacing: .12em; color: var(--walnut); margin-top: 14px; }
.hero-lead { margin-top: 24px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 54ch; }
.hero-thesis {
  margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--terracotta);
  font-family: var(--serif); font-size: clamp(17px, 1.8vw, 21px); color: var(--walnut-deep); line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--fg-3); }
.hero-badges .ico { color: var(--jade); }

.hero-art { position: relative; }
.hero-figure {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3); border: 1px solid rgba(255, 255, 255, .5);
  aspect-ratio: 16 / 11;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-figure figcaption, .style-figure figcaption, .prose-cover figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 11.5px; letter-spacing: .06em; padding: 5px 11px; border-radius: 99px;
  background: rgba(24, 19, 14, .62); color: #F7F2E9; backdrop-filter: blur(6px);
}
.hero-chip {
  position: absolute; padding: 13px 18px; border-radius: var(--r-md);
  background: rgba(251, 248, 242, .93); backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: var(--sh-2);
  display: flex; flex-direction: column; line-height: 1.3;
}
.hero-chip b { font-family: var(--serif); font-size: 25px; color: var(--walnut-deep); font-variant-numeric: tabular-nums; }
.hero-chip span { font-size: 11.5px; color: var(--fg-3); }
.hero-chip-a { left: -22px; bottom: 56px; border-left: 3px solid var(--terracotta); }
.hero-chip-b { right: -14px; top: 34px; border-left: 3px solid var(--jade); }

.hero-stats-wrap { position: relative; z-index: 2; margin-top: clamp(40px, 5vw, 68px); }
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: var(--surface); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; color: var(--walnut-deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-value i { font-style: normal; font-size: .46em; margin-left: 3px; color: var(--terracotta); }
.stat-label { font-size: 14px; font-weight: 600; color: var(--fg); }
.stat-note { font-size: 12.5px; color: var(--fg-3); line-height: 1.6; }
.tone-walnut .stat-value, .tone-cta .stat-value { color: var(--fg); }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: calc(var(--head-h) + clamp(34px, 4.5vw, 62px)) 0 clamp(38px, 4.5vw, 62px); background: var(--bg); color: var(--fg); overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); gap: clamp(24px, 3.5vw, 52px); align-items: end; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 52px); }
.page-lead { margin-top: 18px; font-size: clamp(15.5px, 1.4vw, 18px); color: var(--fg-2); max-width: 70ch; }
.page-hero-aside { display: flex; justify-content: flex-end; }

.crumbs { margin-bottom: 22px; font-size: 13px; color: var(--fg-3); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.crumbs i { font-style: normal; opacity: .5; }

.hero-note {
  display: flex; gap: 12px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-size: 14px; color: var(--fg-2); line-height: 1.72; max-width: 380px;
}
.hero-note .ico { color: var(--accent); margin-top: 3px; }
.hero-note-dark { background: rgba(247, 242, 233, .08); }
.price-badge {
  padding: 22px 28px; border-radius: var(--r-lg); text-align: center;
  background: linear-gradient(140deg, var(--walnut), var(--walnut-deep) 62%, var(--jade));
  color: var(--paper); box-shadow: var(--sh-2);
}
.price-badge b { display: block; font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-variant-numeric: tabular-nums; line-height: 1.1; }
.price-badge span { font-size: 13px; opacity: .82; letter-spacing: .08em; }
.case-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; min-width: 280px; }
.case-specs > div { background: var(--surface); padding: 14px 16px; }
.case-specs dt { font-size: 12px; color: var(--fg-3); }
.case-specs dd { font-size: 16px; font-weight: 600; font-family: var(--serif); }
.post-hero-meta { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 14px; min-width: 230px; }
.post-hero-meta p { display: flex; justify-content: space-between; gap: 18px; }
.post-hero-meta span { color: var(--fg-3); font-size: 12.5px; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.fact-table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.fact-table > div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.fact-table > div:last-child { border-bottom: 0; }
.fact-table > div:nth-child(odd) { background: rgba(107, 74, 47, .028); }
.fact-table dt { font-size: 13.5px; color: var(--fg-3); font-weight: 600; }
.fact-table dd { font-size: 15.5px; color: var(--fg); line-height: 1.72; }
.fact-table dd b { color: var(--terracotta); font-family: var(--serif); font-size: 17px; }
.fact-aside { position: sticky; top: calc(var(--head-h) + 24px); padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.fact-aside h3 { font-size: 19px; margin-bottom: 16px; }
.fact-aside .fine { margin-top: 16px; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  padding: 28px 26px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--sh-1); scroll-margin-top: calc(var(--head-h) + 24px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--brass), var(--jade));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(140deg, rgba(196, 85, 43, .12), rgba(30, 68, 54, .12));
  color: var(--walnut); margin-bottom: 18px;
}
.svc-ico .ico { width: 24px; height: 24px; }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-summary { font-size: 15px; color: var(--terracotta); font-weight: 600; margin-bottom: 12px; }
.svc-detail { font-size: 14.5px; color: var(--fg-2); line-height: 1.82; }
.svc-suitable { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--fg-3); }
.svc-suitable b { color: var(--jade); margin-right: 8px; }

.ticks { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.ticks li { display: flex; gap: 10px; font-size: 14.5px; color: var(--fg-2); line-height: 1.7; }
.ticks .ico { color: var(--success); margin-top: 4px; width: 16px; height: 16px; }
.ticks-lg { gap: 14px; }
.ticks-lg li { font-size: 15.5px; }
.ticks-lg b { color: var(--fg); }

/* ---------- styles ---------- */
.style-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.style-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 99px; cursor: pointer; font-size: 14.5px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--fg-2);
  transition: all .22s var(--ease);
}
.style-tab i { width: 11px; height: 11px; border-radius: 3px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.style-tab:hover { border-color: var(--line-2); transform: translateY(-1px); }
.style-tab.is-active { background: linear-gradient(135deg, var(--walnut), var(--walnut-deep)); color: var(--paper); border-color: transparent; box-shadow: var(--sh-1); }

.style-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.style-panel[hidden] { display: none; }
.style-panel.is-active { animation: panelIn .42s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.style-figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 3 / 2; border: 1px solid rgba(255, 255, 255, .5); }
.style-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.style-figure:hover img { transform: scale(1.04); }
.style-copy h3, .style-copy h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 12px; }
.style-en { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.style-summary { font-size: 16.5px; font-weight: 600; color: var(--fg); margin-bottom: 14px; }
.style-copy > p { font-size: 15px; color: var(--fg-2); line-height: 1.85; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.swatch i { width: 46px; height: 34px; border-radius: var(--r-sm); background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), var(--sh-1); }
.swatch code { font-size: 10.5px; color: var(--fg-3); }

.style-meta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.style-meta > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
.style-meta dt { font-size: 13px; color: var(--fg-3); font-weight: 600; padding-top: 3px; }
.style-meta dd { font-size: 14.5px; color: var(--fg-2); line-height: 1.75; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--fg-2); }

.style-stack { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 76px); }
.style-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; scroll-margin-top: calc(var(--head-h) + 26px); }
.style-row:nth-child(even) .style-figure { order: 2; }

.notice { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); background: rgba(58, 107, 138, .08); border: 1px solid rgba(58, 107, 138, .24); font-size: 14px; color: var(--fg-2); line-height: 1.75; margin-bottom: 28px; }
.notice .ico { color: var(--info); margin-top: 3px; }
.notice-warn { background: rgba(201, 134, 43, .10); border-color: rgba(201, 134, 43, .30); }
.notice-warn .ico { color: var(--warning); }
.notice b { color: var(--fg); }

.quiz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; counter-reset: q; }
.quiz li { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.quiz b { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 10px; color: var(--walnut-deep); }
.quiz b::before { counter-increment: q; content: "0" counter(q) " "; color: var(--terracotta); font-size: 14px; margin-right: 6px; }
.quiz span { font-size: 14.5px; color: var(--fg-2); line-height: 1.78; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(22px, 3vw, 40px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.calc-controls { display: flex; flex-direction: column; gap: 26px; }
.calc-field label, .calc-legend { display: block; font-size: 13.5px; font-weight: 700; color: var(--fg); margin-bottom: 10px; letter-spacing: .04em; }
.calc-input { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line-2); }
.calc-input input { flex: 1; min-width: 0; border: 0; background: none; font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--walnut-deep); font-variant-numeric: tabular-nums; padding: 0; }
.calc-input input:focus { outline: none; }
.calc-input:focus-within { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(196, 85, 43, .14); }
.calc-input span { font-size: 13.5px; color: var(--fg-3); flex: none; }
.calc-input input::-webkit-outer-spin-button, .calc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input input[type=number] { -moz-appearance: textfield; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; margin: 12px 0 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--jade), var(--brass) 52%, var(--terracotta)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 3px solid var(--walnut-deep); box-shadow: var(--sh-1); transition: transform .16s var(--ease), border-color .16s; }
.range:hover::-webkit-slider-thumb, .range:focus::-webkit-slider-thumb { transform: scale(1.14); border-color: var(--terracotta); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--jade), var(--brass) 52%, var(--terracotta)); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--walnut-deep); box-shadow: var(--sh-1); }
.range-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--fg-3); margin-top: 2px; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13.5px; font-weight: 600; color: var(--fg-2); cursor: pointer; transition: all .2s var(--ease); }
.preset:hover { border-color: var(--terracotta); color: var(--terracotta); }
.preset.is-active { background: var(--jade); border-color: var(--jade); color: #F5EDE2; }
.calc-hint { margin-top: 10px; font-size: 12.5px; color: var(--fg-3); line-height: 1.65; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.calc-result { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-md); background: linear-gradient(150deg, #2A1D13, #33261A 52%, var(--jade)); color: #F5EDE2; display: flex; flex-direction: column; }
.calc-result-label { font-size: 13.5px; color: #C6B49E; }
.calc-result-label b { color: var(--brass); font-variant-numeric: tabular-nums; }
.calc-big { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; line-height: 1.15; margin: 10px 0 22px; font-variant-numeric: tabular-nums; }
.calc-band { margin-bottom: 20px; }
.calc-band-track { position: relative; height: 8px; border-radius: 99px; background: rgba(247, 242, 233, .16); overflow: visible; }
.calc-band-track i { position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 154, 46, .26); transition: left .22s var(--ease); }
.calc-band-ends { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: #B7A48D; }
.calc-band-ends span { display: flex; flex-direction: column; gap: 2px; }
.calc-band-ends span:last-child { text-align: right; }
.calc-band-ends b { font-size: 15px; color: #F5EDE2; font-family: var(--serif); font-variant-numeric: tabular-nums; }
.calc-note { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(247, 242, 233, .16); font-size: 12.5px; line-height: 1.72; color: #B7A48D; }

.factor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.factor { padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.factor-n { display: block; font-family: var(--serif); font-size: 30px; color: var(--accent); opacity: .5; line-height: 1; margin-bottom: 14px; }
.factor h3 { font-size: 18.5px; margin-bottom: 10px; }
.factor p { font-size: 14.5px; color: var(--fg-2); line-height: 1.8; }

.budget-split { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 18px; }
.budget-split li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 13.5px; color: var(--fg-2); }
.budget-split i { display: block; height: 10px; border-radius: 99px; width: var(--w); background: linear-gradient(90deg, var(--walnut), var(--terracotta)); }
.budget-split li:nth-child(2) i { background: linear-gradient(90deg, var(--jade), #3E7D5A); }
.budget-split li:nth-child(3) i { background: linear-gradient(90deg, var(--brass), var(--clay)); }
.budget-split li:nth-child(4) i { background: linear-gradient(90deg, var(--cool), var(--info)); }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, .78fr); gap: clamp(26px, 3.5vw, 52px); align-items: start; }
.split-side { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.split-side.sticky { position: sticky; top: calc(var(--head-h) + 24px); }
.split-side h3 { font-size: 18px; margin-bottom: 14px; }
.split-side h3 + .fine { margin-bottom: 16px; }
.split-side h3:not(:first-child) { margin-top: 26px; }
.team-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 8px; }
.team-list li { display: flex; gap: 9px; font-size: 14.5px; color: var(--fg-2); }
.team-list .ico { color: var(--success); width: 16px; height: 16px; margin-top: 4px; }

/* ---------- promises / process ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.promise { padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.promise:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.promise-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, rgba(30, 68, 54, .14), rgba(201, 154, 46, .16)); color: var(--jade); margin-bottom: 16px; }
.promise-ico .ico { width: 22px; height: 22px; }
.promise h3 { font-size: 19px; margin-bottom: 10px; }
.promise p { font-size: 14.5px; color: var(--fg-2); line-height: 1.8; }

.process { margin-top: clamp(30px, 4vw, 48px); padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.process h3 { font-size: 21px; margin-bottom: 22px; }
.process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.process-list li { display: flex; gap: 16px; }
.process-num { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--terracotta); opacity: .65; line-height: 1.2; flex: none; }
.process-list h4 { font-size: 17px; margin-bottom: 6px; }
.process-list p { font-size: 14.5px; color: var(--fg-2); line-height: 1.78; }
.process .fine { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }

.adv-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.adv { padding: 24px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.adv-n { display: block; font-family: var(--serif); font-size: 15px; color: var(--terracotta); letter-spacing: .1em; margin-bottom: 12px; }
.adv h3 { font-size: 18px; margin-bottom: 10px; }
.adv p { font-size: 14px; color: var(--fg-2); line-height: 1.78; }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case-card { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .28s var(--ease), box-shadow .28s var(--ease); display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.case-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.06); }
.case-kind { position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 5px 11px; border-radius: 99px; background: rgba(30, 68, 54, .88); color: #F5EDE2; backdrop-filter: blur(6px); }
.case-kind.is-sample { background: rgba(201, 134, 43, .92); color: #241A10; }
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.case-tags span { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--surface-2); color: var(--fg-3); border: 1px solid var(--line); }
.case-body h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.45; }
.case-body h3 a:hover { color: var(--terracotta); }
.case-body > p { font-size: 14.5px; color: var(--fg-2); line-height: 1.78; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--terracotta); }
.more .ico { width: 16px; height: 16px; transition: transform .24s var(--ease); }
.more:hover .ico { transform: translateX(4px); }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.post-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(140deg, var(--paper-3), #E3D8C6 55%, #D6DED2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-glyph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(107, 74, 47, .34); }
.post-glyph .ico { width: 54px; height: 54px; }
.post-cat { position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: rgba(251, 248, 242, .92); color: var(--walnut-deep); backdrop-filter: blur(6px); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-3); margin-bottom: 10px; }
.post-meta i { font-style: normal; opacity: .6; }
.post-body h3 { font-size: 18.5px; line-height: 1.5; margin-bottom: 10px; }
.post-body h3 a:hover { color: var(--terracotta); }
.post-body > p { font-size: 14.5px; color: var(--fg-2); line-height: 1.78; flex: 1; }

/* ---------- filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); margin-bottom: 28px; }
.filter-search { flex: 1 1 220px; min-width: 180px; }
.filter-search input, .filter-selects select {
  width: 100%; padding: 10px 15px; border-radius: 99px; border: 1px solid var(--line-2);
  background: var(--bg); font-size: 14px; color: var(--fg); font-family: inherit;
}
.filter-search input:focus, .filter-selects select:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(196, 85, 43, .14); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.fchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13.5px; font-weight: 600; color: var(--fg-2); cursor: pointer; transition: all .2s var(--ease); }
.fchip i { width: 10px; height: 10px; border-radius: 3px; background: var(--sw); }
.fchip:hover { border-color: var(--terracotta); color: var(--terracotta); }
.fchip.is-active { background: linear-gradient(135deg, var(--walnut), var(--walnut-deep)); color: var(--paper); border-color: transparent; }
.filter-selects { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-selects select { width: auto; min-width: 130px; cursor: pointer; }
.filter-count { flex: 1 1 100%; font-size: 13px; color: var(--fg-3); }
.filter-count b { color: var(--terracotta); font-variant-numeric: tabular-nums; }

.empty { padding: clamp(40px, 5vw, 68px) 28px; text-align: center; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-2); }
.empty[hidden] { display: none; }
.empty-ico { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px; background: var(--surface-2); color: var(--walnut); }
.empty-ico .ico { width: 30px; height: 30px; }
.empty h3 { font-size: 21px; margin-bottom: 10px; }
.empty p { font-size: 15px; color: var(--fg-2); max-width: 52ch; margin: 0 auto 20px; line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.faq-wrap-full { grid-template-columns: minmax(0, .72fr) minmax(0, 1.6fr); }
.faq-side { position: sticky; top: calc(var(--head-h) + 26px); }
.faq-side .sec-head { margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: calc(var(--head-h) + 24px); transition: border-color .22s var(--ease); }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--sh-1); }
.faq-item summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.55; color: var(--fg); }
.faq-sign { position: relative; width: 18px; height: 18px; flex: none; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .26s var(--ease); }
.faq-sign::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-sign::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-sign::after { transform: rotate(90deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { font-size: 15px; color: var(--fg-2); line-height: 1.88; }
.faq-item[open] .faq-a { animation: faqOpen .3s var(--ease); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.toc { margin-bottom: 24px; }
.toc h3 { font-size: 16px; margin-bottom: 12px; }
.toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: t; }
.toc a { display: block; padding: 7px 12px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--fg-2); line-height: 1.6; border-left: 2px solid transparent; transition: all .18s var(--ease); }
.toc a:hover { background: var(--surface-2); color: var(--accent); }
.toc a.is-active { border-left-color: var(--accent); background: var(--surface-2); color: var(--accent); font-weight: 600; }

/* ---------- CTA ---------- */
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(26px, 4vw, 56px); align-items: center; }

/* ---------- prose ---------- */
.prose { max-width: 74ch; font-size: 16.5px; line-height: 1.92; color: var(--fg-2); }
.prose h2 { font-size: clamp(21px, 2.3vw, 27px); color: var(--fg); margin: 40px 0 16px; scroll-margin-top: calc(var(--head-h) + 26px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; color: var(--fg); margin: 28px 0 12px; }
.prose h4 { font-size: 17px; color: var(--fg); margin: 22px 0 10px; }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; }
.prose ul li, .prose ol li { position: relative; padding-left: 24px; line-height: 1.85; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--terracotta); }
.prose ol { counter-reset: pr; }
.prose ol li::before { counter-increment: pr; content: counter(pr); position: absolute; left: 0; top: .1em; font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--terracotta); }
.prose blockquote { margin: 22px 0; padding: 16px 22px; border-left: 3px solid var(--brass); background: rgba(201, 154, 46, .09); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 15px; color: var(--fg-2); }
.prose code { padding: 2px 6px; border-radius: 4px; background: var(--surface-2); font-size: .9em; }
.prose-cover { position: relative; margin: 0 0 30px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 3 / 2; }
.prose-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose-fine { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.prose-share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 28px; }
.gallery-item { padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: none; aspect-ratio: 3 / 2; box-shadow: var(--sh-1); transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.addr-card { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); margin-top: 26px; }
.addr-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 14px; }
.addr-card h3 .ico { color: var(--terracotta); }
.addr-full { font-family: var(--serif); font-size: 18px; line-height: 1.75; color: var(--fg); margin-bottom: 20px; }
.addr-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 18px; border-top: 1px dashed var(--line-2); margin-bottom: 16px; }
.addr-parts dt { font-size: 12.5px; color: var(--fg-3); }
.addr-parts dd { font-size: 14.5px; color: var(--fg-2); }

.lead-card { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); margin-top: 26px; }
.lead-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 6px; }
.lead-card h3 .ico { color: var(--terracotta); }
.lead-card > .sec-lead { margin-bottom: 18px; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; }
.lead-field.full { grid-column: 1 / -1; }
.lead-field label { font-size: 13px; color: var(--fg-2); font-weight: 600; }
.lead-field label i { color: var(--terracotta); font-style: normal; }
.lead-field input, .lead-field select, .lead-field textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; line-height: 1.6;
}
.lead-field textarea { resize: vertical; min-height: 88px; }
.lead-field select { cursor: pointer; }
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(196, 85, 43, .14);
}
.lead-field .err { font-size: 12.5px; color: var(--danger); min-height: 0; }
.lead-field.is-bad input, .lead-field.is-bad select, .lead-field.is-bad textarea { border-color: var(--danger); }
.lead-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.lead-foot .fine { flex: 1; min-width: 200px; }
.lead-done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lead-done p { font-size: 15.5px; line-height: 1.75; color: var(--fg-2); }
.lead-done .ok { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; color: var(--fg); }
.lead-done .ok .ico { color: var(--success); width: 22px; height: 22px; }
.lead-again { font-size: 14px; color: var(--terracotta); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lead-copybox { width: 100%; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: inherit; font-size: 14.5px; line-height: 1.8; }

.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.link-card { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 15.5px; font-weight: 600; box-shadow: var(--sh-1); transition: all .22s var(--ease); }
.link-card .ico { color: var(--terracotta); transition: transform .22s var(--ease); }
.link-card:hover { transform: translateY(-3px); border-color: var(--terracotta); }
.link-card:hover .ico { transform: translateX(4px); }

/* ---------- footer ---------- */
.site-foot { background: #211710; color: #D8C7B2; padding: clamp(48px, 5vw, 76px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, .8fr)); gap: clamp(24px, 3vw, 44px); }
.brand-foot .brand-text b { color: #F5EDE2; }
.brand-foot .brand-text i { color: #A8937C; }
.foot-lead { margin-top: 18px; font-size: 14px; line-height: 1.85; color: #B7A48D; max-width: 46ch; }
.foot-nap { margin-top: 12px; font-size: 13.5px; line-height: 1.75; color: #B7A48D; }
.foot-nap strong { display: inline-block; min-width: 40px; color: var(--brass); font-weight: 600; margin-right: 8px; }
.foot-nap a:hover { color: #F5EDE2; text-decoration: underline; }
.foot-col h2 { font-size: 14px; letter-spacing: .1em; color: #F5EDE2; margin-bottom: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col a { font-size: 14px; color: #B7A48D; transition: color .18s var(--ease), transform .18s var(--ease); }
.foot-col a:hover { color: var(--brass); transform: translateX(3px); }
.foot-bottom { margin-top: clamp(34px, 4vw, 54px); padding-top: 24px; border-top: 1px solid rgba(245, 237, 226, .14); }
.foot-disclaimer { font-size: 12.5px; line-height: 1.8; color: #8E7B66; max-width: 100ch; }
.foot-copy { margin-top: 12px; font-size: 12.5px; color: #8E7B66; }
.foot-copy a:hover { color: var(--brass); }

/* ---------- to top / toast / lightbox ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: linear-gradient(140deg, var(--walnut), var(--walnut-deep));
  color: var(--paper); border: 1px solid rgba(201, 154, 46, .4); box-shadow: var(--sh-2);
  display: grid; place-items: center;
  animation: fadeUp .3s var(--ease);
}
.to-top .ico { transform: rotate(-90deg); width: 20px; height: 20px; }
.to-top:hover { background: linear-gradient(140deg, var(--terracotta), var(--walnut)); }
.to-top[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.toast-stack { position: fixed; left: 50%; bottom: 30px; z-index: 130; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 99px;
  background: rgba(33, 23, 16, .95); color: #F5EDE2; font-size: 14.5px; box-shadow: var(--sh-2);
  backdrop-filter: blur(8px); animation: toastIn .3s var(--ease);
  border: 1px solid rgba(201, 154, 46, .3); max-width: min(92vw, 520px);
}
.toast .ico { color: var(--brass); }
.toast.is-out { animation: toastOut .26s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px) scale(.97); } }

.lightbox { position: fixed; inset: 0; z-index: 150; background: var(--scrim); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 40px; animation: toastIn .26s var(--ease); }
.lightbox img { max-width: min(1200px, 92vw); max-height: 84dvh; border-radius: var(--r-md); box-shadow: var(--sh-3); object-fit: contain; }
.lightbox-close { position: absolute; top: 22px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(245, 237, 226, .3); background: rgba(33, 23, 16, .6); color: #F5EDE2; font-size: 24px; cursor: pointer; display: grid; place-items: center; }
.lightbox-close:hover { background: var(--terracotta); }
.lightbox-cap { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 13px; color: #D8C7B2; background: rgba(33, 23, 16, .6); padding: 7px 16px; border-radius: 99px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245, 237, 226, .3); background: rgba(33, 23, 16, .6); color: #F5EDE2; cursor: pointer; display: grid; place-items: center; }
.lightbox-nav:hover { background: var(--walnut); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev .ico { transform: rotate(180deg); }

/* ---------- reveal / stage ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.stage { opacity: 0; animation: stageIn .8s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes stageIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 9px 9px; font-size: 14px; }
  .brand-text i { display: none; }
  .adv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .page-hero-grid, .facts, .split, .calc, .cta-inner, .faq-wrap, .faq-wrap-full, .style-panel, .style-row { grid-template-columns: minmax(0, 1fr); }
  .page-hero-aside { justify-content: flex-start; }
  .style-row:nth-child(even) .style-figure { order: 0; }
  .fact-aside, .split-side.sticky, .faq-side { position: static; }
  .svc-grid, .promise-grid, .case-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-chip-a { left: 8px; bottom: 12px; }
  .hero-chip-b { right: 8px; top: 12px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  :root { --head-h: 64px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .brand-text b { font-size: 17px; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 11px 13px; }
  .svc-grid, .promise-grid, .case-grid, .post-grid, .quiz, .adv-grid, .factor-grid, .addr-parts, .link-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 18px 16px; }
  .fact-table > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 18px; }
  .style-meta > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .hero-figure { aspect-ratio: 4 / 3; }
  .hero-chip { padding: 10px 14px; }
  .hero-chip b { font-size: 20px; }
  .calc { padding: 20px; }
  .filter-bar { padding: 16px; }
  .filter-selects select { flex: 1; min-width: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .case-specs { min-width: 0; width: 100%; }
  .post-hero-meta { min-width: 0; width: 100%; }
  .hero-note { max-width: none; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { width: 100%; }
  .swatch i { width: 38px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .stage { opacity: 1; }
  .hero-mesh, .hero-light { animation: none; }
}

@media print {
  .site-head, .nav-drawer, .to-top, .toast-stack, .scroll-progress, .grain, .hero-mesh, .hero-light, .site-foot { display: none; }
  .sec { padding: 20px 0; }
  .reveal { opacity: 1; transform: none; }
}