/* ============================================================
   棱镜创意 PRISM CREATIVE — 全站样式
   设计体系：暖纸色底 / 墨黑文字 / 朱砂强调色 / 衬线展示
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/notoserifsc-display.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F5F1EA;
  --paper-2: #ECE5D8;
  --card: #FFFFFF;
  --ink: #1B1712;
  --ink-2: #4C453C;
  --ink-3: #8A8175;
  --line: #E2DAC9;
  --accent: #E14B1E;
  --accent-deep: #BC3A10;
  --accent-soft: #F7E2D6;
  --maxw: 1200px;
  --radius: 22px;
  --font-d: "Fraunces", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-b: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(27, 23, 18, .10);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.h1, .h2, .h3 { font-family: var(--font-d); font-weight: 700; line-height: 1.18; letter-spacing: .01em; }
.h1 { font-size: clamp(42px, 6.4vw, 84px); }
.h2 { font-size: clamp(28px, 3.6vw, 44px); }
.h3 { font-size: clamp(20px, 2vw, 26px); }
.lead { color: var(--ink-2); font-size: 17px; max-width: 620px; }
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Buttons / tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(225, 75, 30, .28); }
.btn-solid:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-on-dark { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: rgba(255,255,255,.6);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(245, 241, 234, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-d); font-weight: 700; font-size: 21px; letter-spacing: .14em; }
.brand-en { font-family: var(--font-d); font-size: 9.5px; letter-spacing: .3em; color: var(--ink-3); text-transform: uppercase; }
.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle { display: none; width: 42px; height: 42px; position: relative; z-index: 120; }
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform .3s, opacity .3s, top .3s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 0; }
.hero-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; padding-bottom: clamp(40px, 5vw, 64px); }
.hero .h1 { margin-top: 18px; }
.hero .h1 .accent-word { color: var(--accent); }
.hero-side { padding-bottom: 8px; }
.hero-side .lead { margin-top: 16px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-fig { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-fig img { width: 100%; height: clamp(320px, 44vw, 560px); object-fit: cover; }
.hero-fig figcaption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(27,23,18,.72); color: #fff;
  font-size: 12.5px; letter-spacing: .06em;
  padding: 8px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 5vw, 64px);
}
.stat { padding: 26px 12px 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--font-d); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); display: block; line-height: 1.1; }
.stat b i { font-style: normal; color: var(--accent); font-size: .62em; margin-left: 2px; }
.stat span { font-size: 13.5px; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- Section shells ---------- */
.section-white { background: var(--card); border-block: 1px solid var(--line); }
.section-tint { background: var(--paper-2); }

/* ---------- Services cards (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d6cbb2; }
.svc-num { font-family: var(--font-d); font-weight: 600; font-size: 15px; color: var(--accent); letter-spacing: .1em; }
.svc-icon { width: 46px; height: 46px; margin: 18px 0 14px; color: var(--ink); }
.svc-card h3 { font-family: var(--font-d); font-weight: 700; font-size: 19px; }
.svc-card p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.svc-card .svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--accent);
}
.svc-card .svc-link svg { width: 13px; height: 13px; transition: transform .2s; }
.svc-card:hover .svc-link svg { transform: translateX(3px); }

/* ---------- Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-media { aspect-ratio: 4 / 3; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-body { padding: 18px 20px 20px; }
.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); letter-spacing: .05em; }
.work-body h3 { font-family: var(--font-d); font-weight: 700; font-size: 19px; margin-top: 6px; }
.work-body p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.works-more { text-align: center; margin-top: 44px; }

/* works page: staggered home preview */
.works-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 26px; }
.works-feature-grid .work-card:first-child { grid-column: 1 / -1; }
.works-feature-grid .work-card:first-child .work-media { aspect-ratio: 21 / 9; }

/* filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); background: var(--card);
  transition: all .25s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.works-grid .work-card { transition: opacity .35s, transform .35s; }
.works-grid.is-filtering .work-card.is-hidden { display: none; }

/* ---------- About preview (home) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split-fig { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-fig img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2.4; }
.split-body .lead { margin-top: 18px; }
.split-body .lead + .lead { margin-top: 12px; }
.split-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.split-points { margin-top: 26px; display: grid; gap: 12px; }
.split-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.split-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step-num { font-family: var(--font-d); font-weight: 600; font-size: 40px; color: var(--accent); line-height: 1; opacity: .85; }
.step h3 { font-family: var(--font-d); font-weight: 700; font-size: 19px; margin-top: 14px; }
.step p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.step-dur { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 10px; width: 100%; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute; right: -90px; top: -90px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,75,30,.42), transparent 70%);
}
.cta-banner .h2 { color: #fff; }
.cta-banner p { color: #cfc8bb; margin-top: 14px; max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta-note { margin-top: 22px; font-size: 13px; color: var(--ink-3); letter-spacing: .03em; }

/* ---------- Footer ---------- */
.site-footer { background: #16130F; color: #B9B0A1; padding: 64px 0 30px; margin-top: clamp(72px, 9vw, 112px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-en { color: #7d7465; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 300px; color: #8d8577; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: #B9B0A1; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col li span { display: block; font-size: 13.5px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #7d7465;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(40px, 5vw, 64px); }
.page-hero .h1 { margin-top: 16px; }
.page-hero .lead { margin-top: 18px; }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-hero-meta { font-family: var(--font-d); font-size: 14px; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; padding-bottom: 6px; }

/* ---------- About page ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.story-grid .split-fig { position: sticky; top: calc(var(--header-h) + 24px); }
.story-body p { color: var(--ink-2); margin-top: 16px; }
.story-body p:first-of-type { margin-top: 0; }
.story-quote {
  margin-top: 26px; padding: 20px 24px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 14px 14px 0;
  font-family: var(--font-d); font-size: 18px; line-height: 1.6;
}
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.value-card .svc-num { display: block; margin-bottom: 14px; }
.value-card h3 { font-family: var(--font-d); font-weight: 700; font-size: 19px; }
.value-card p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 3 / 3.8; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 16px 18px 18px; }
.team-body h3 { font-family: var(--font-d); font-weight: 700; font-size: 18px; }
.team-body span { font-size: 13px; color: var(--accent); letter-spacing: .06em; }
.team-body p { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* timeline — grid 三列，轴线/节点像素对齐 */
.timeline { display: grid; gap: 0; }
.tl-row { display: grid; grid-template-columns: 90px 64px 1fr; }
.tl-year { font-family: var(--font-d); font-weight: 600; font-size: 17px; color: var(--accent); padding: 8px 0 36px; text-align: right; }
.tl-axis { position: relative; }
.tl-axis::before {
  content: ""; position: absolute; top: 4px; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(var(--line), var(--line) 92%, transparent);
}
.tl-row:last-child .tl-axis::before { bottom: calc(100% - 4px); }
.tl-dot {
  position: absolute; top: 16px; left: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent);
  justify-self: center;
}
.tl-body { padding: 2px 0 36px 6px; max-width: 620px; }
.tl-body h3 { font-family: var(--font-d); font-weight: 700; font-size: 18px; }
.tl-body p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Services page ---------- */
.svc-list { display: grid; gap: 16px; }
.svc-row {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px;
  display: grid; grid-template-columns: 90px 1fr 1.2fr;
  gap: 26px; align-items: start;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.svc-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6cbb2; }
.svc-row .svc-num { font-size: 20px; padding-top: 6px; }
.svc-row h3 { font-family: var(--font-d); font-weight: 700; font-size: 22px; }
.svc-row p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; max-width: 520px; }
.svc-deli { display: grid; gap: 8px; }
.svc-deli h4 { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 4px; }
.svc-deli li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.svc-deli li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex: none; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-family: var(--font-d); font-weight: 700; font-size: 17px; }
.contact-card p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.contact-card a { color: var(--accent); font-weight: 600; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside .card {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px 28px;
}
.contact-aside .card h3 { font-family: var(--font-d); font-weight: 700; font-size: 22px; color: #fff; }
.contact-aside .card p { color: #cfc8bb; font-size: 14px; margin-top: 10px; }
.contact-aside .card .btn { margin-top: 20px; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-family: var(--font-d); font-weight: 700; font-size: 16.5px;
}
.faq-q svg { width: 18px; height: 18px; flex: none; transition: transform .3s; color: var(--accent); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--ink-2); }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid, .steps, .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 70px 1fr; }
  .svc-deli { grid-column: 2; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .main-nav {
    position: fixed; inset: 0; z-index: 110;
    background: var(--paper);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 28px; text-align: center; }
  .main-nav a { font-size: 22px; font-family: var(--font-d); font-weight: 700; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .split-fig { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .works-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-grid, .steps, .values-grid, .team-grid, .works-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat + .stat { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .svc-deli { grid-column: auto; }
  .tl-row { grid-template-columns: 64px 40px 1fr; }
  .container { width: min(var(--maxw), 100% - 36px); }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
