/* ==========================================================================
   SUNDEY — Foshan Sourcing
   Design system: editorial, restrained, built for international buyers.
   All directional properties use CSS logical properties so the layout
   mirrors correctly across languages without any JavaScript.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper:      #f7f5f0;
  --paper-2:    #ffffff;
  --paper-3:    #efebe3;
  --ink:        #14140f;
  --ink-2:      #33322b;
  --muted:      #6d6a5f;
  --muted-2:    #8d8a7e;
  --line:       #e2ddd2;
  --line-2:     #d3ccbe;
  --accent:     #a8492a;
  --accent-2:   #8c3b20;
  --accent-tint:#f3e7e0;
  --olive:      #4b5544;
  --dark:       #16160f;
  --dark-2:     #23231a;

  --ff-display: 'Fraunces', 'Playfair Display', 'Noto Serif', Georgia, 'Times New Roman', serif;
  --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --wrap:       1280px;
  --wrap-wide:  1560px;
  --gutter:     clamp(20px, 4vw, 56px);
  --sec-y:      clamp(64px, 9vw, 132px);

  --radius:     2px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* Chinese — system stacks, no megabyte webfont download */
:lang(zh) {
  --ff-display: 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', 'SimSun', serif;
  --ff-body:    'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Hiragino Sans GB', sans-serif;
}
/* Russian — Fraunces lacks Cyrillic, fall back to a serif that has it */
:lang(ru) {
  --ff-display: 'Playfair Display', 'Noto Serif', Georgia, serif;
  --ff-body:    'Inter', 'Noto Sans', -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--paper-3); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Layout primitives ---------- */
.wrap      { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: var(--wrap-wide); margin-inline: auto; padding-inline: var(--gutter); }
.section   { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--dark { background: var(--dark); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--paper { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(42px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.display--sm { font-size: clamp(34px, 5.2vw, 68px); }
.h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.h4 {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .01em;
}
.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}
.body { color: var(--ink-2); max-width: 68ch; }
.body + .body { margin-top: 1em; }
.section--dark .body, .section--dark .lede { color: #b9b6a9; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }

/* Eyebrow — the editorial "01 / Categories" marker */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.eyebrow__num {
  font-family: var(--ff-display);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--accent);
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
  margin-inline-start: 6px;
}
.section--dark .eyebrow { color: #7d7a6d; }
.section--dark .eyebrow::after { background: #33322a; }
.section--dark .eyebrow__num { color: #c9764f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(247,245,240,.34); color: var(--paper); background: transparent; }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color .25s var(--ease), color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); gap: 12px; }
.link-arrow svg { width: 13px; height: 13px; }
/* Arrow must flip in RTL */
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover { gap: 12px; }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,245,240,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.hdr.is-stuck { border-bottom-color: var(--line); background: rgba(247,245,240,.96); }
.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  width: 30px; height: 30px; flex: none;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-size: 15px;
  line-height: 1;
  border-radius: 1px;
}
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--ff-display);
  font-size: 19px;
  letter-spacing: .1em;
  font-weight: 500;
}
.logo__sub {
  font-size: 9.5px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__link {
  padding: 9px 13px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color .2s var(--ease), background-color .2s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--accent); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  inset-inline: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
}
.hdr__end { display: flex; align-items: center; gap: 12px; flex: none; min-width: 0; }
.lang { position: relative; flex: none; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.lang__btn:hover { border-color: var(--ink); }
.lang__btn svg { width: 15px; height: 15px; }
.lang__code { letter-spacing: .06em; }
.lang__menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 9px);
  min-width: 210px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(20,20,15,.13);
  padding: 7px;
  display: none;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px;
  font-size: 14px;
  border-radius: var(--radius);
  transition: background-color .18s var(--ease);
}
.lang__menu a:hover { background: var(--paper); }
.lang__menu a[aria-current="true"] { color: var(--accent); font-weight: 500; }
.lang__native { color: var(--muted-2); font-size: 12px; margin-inline-start: auto; }
.lang__menu a[aria-current="true"] .lang__native { color: var(--accent); opacity: .75; }

/* Mobile nav */
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.burger span {
  display: block; width: 17px; height: 1.5px;
  background: var(--ink); position: relative;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; inset-inline-start: 0;
  width: 17px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top: 5.5px; }
.burger.is-on span { background: transparent; }
.burger.is-on span::before { transform: translateY(5.5px) rotate(45deg); }
.burger.is-on span::after  { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 76px 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 28px var(--gutter) 48px;
  overflow-y: auto;
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a.m-link {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-size: 26px;
}
.mobile-nav .m-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.mobile-nav .m-langs a {
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 13px;
}
.mobile-nav .m-langs a[aria-current="true"] { border-color: var(--accent); color: var(--accent); }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr__end { margin-inline-start: auto; }
  .hdr__in { height: 66px; }
  .mobile-nav { inset-block-start: 66px; }
}
/* 窄屏：头部只保留语言切换 + 汉堡菜单，报价按钮移入移动导航 */
@media (max-width: 720px) {
  .hdr__end > .btn { display: none; }
  .hdr__in { gap: 12px; }
  .logo__sub { display: none; }
  .logo__name { font-size: 17px; }
  .lang__btn { padding: 8px 10px; }
  .lang__menu { min-width: 190px; }
}
@media (max-width: 400px) {
  .logo__txt { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__title { margin-bottom: 28px; }
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub { margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 40px;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__facts div { min-width: 110px; }
.hero__facts dt {
  font-family: var(--ff-display);
  font-size: 30px; line-height: 1;
  margin-bottom: 6px;
}
.hero__facts dd {
  margin: 0; font-size: 12.5px; color: var(--muted);
  letter-spacing: .04em;
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Media ---------- */
.ph { overflow: hidden; background: var(--paper-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--4x5  { aspect-ratio: 4 / 5; }
.ph--3x4  { aspect-ratio: 3 / 4; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--4x3  { aspect-ratio: 4 / 3; }
.ph--3x2  { aspect-ratio: 3 / 2; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--5x7  { aspect-ratio: 5 / 7; }
.ph--tall { aspect-ratio: 3 / 4.6; }
.ph--wide { aspect-ratio: 2 / 1; }

.figcap {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 12px; font-size: 12px; color: var(--muted-2);
  letter-spacing: .03em;
}

/* Full-bleed split media block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.split__body { padding: clamp(32px, 4.5vw, 68px); }
.split__media { min-height: 420px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { min-height: 280px; } }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cat {
  background: var(--paper);
  padding: 26px 24px 28px;
  display: flex; flex-direction: column;
  min-height: 100%;
  transition: background-color .3s var(--ease);
  position: relative;
}
.cat:hover { background: var(--paper-2); }
.cat__num {
  font-family: var(--ff-display);
  font-size: 12px; color: var(--accent);
  letter-spacing: .08em; margin-bottom: 20px;
}
.cat__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--paper-3);
}
.cat__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.cat:hover .cat__thumb img { transform: scale(1.045); }
.cat__name {
  font-family: var(--ff-display);
  font-size: 21px; line-height: 1.2;
  margin-bottom: 8px;
}
.cat__desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cat__go {
  margin-top: 16px; margin-inline-start: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.cat:hover .cat__go { opacity: 1; transform: translateY(0); }
.cat__go svg { width: 12px; height: 12px; }
[dir="rtl"] .cat__go svg { transform: scaleX(-1); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Big feature list (project scope) ---------- */
.scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 90px); }
.scope li {
  display: flex; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.scope li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  margin-top: 9px;
}
.section--dark .scope li { border-color: #33322a; color: #cfccc0; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.step {
  counter-increment: step;
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3vw, 40px);
  display: grid; gap: 14px;
  grid-template-columns: auto 1fr;
  align-items: start;
  transition: background-color .3s var(--ease);
}
.step:hover { background: var(--paper-2); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--ff-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .06em;
  padding-top: 3px;
}
.step__title { font-family: var(--ff-display); font-size: clamp(20px, 2.1vw, 26px); line-height: 1.15; }
.step__text { font-size: 14.5px; color: var(--muted); grid-column: 2; margin-top: -6px; }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; } .step__text { grid-column: 1; } }

/* ---------- 工厂实拍网格 ---------- */
.shot { margin: 0; }
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-3);
  transition: transform .6s var(--ease);
}
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted-2);
}

/* ---------- Feature cards ---------- */
.feat {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
  height: 100%;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feat__ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--accent);
}
.feat__ico svg { width: 17px; height: 17px; }
.feat__title { font-family: var(--ff-display); font-size: 21px; line-height: 1.2; margin-bottom: 10px; }
.feat__text { font-size: 14px; color: var(--muted); line-height: 1.6; }
.feat__list { margin-top: 16px; display: grid; gap: 7px; }
.feat__list li {
  font-size: 13px; color: var(--ink-2);
  padding-inline-start: 16px;
  position: relative;
}
.feat__list li::before {
  content: '';
  position: absolute; inset-inline-start: 0; top: 8px;
  width: 8px; height: 1px; background: var(--accent);
}

/* ---------- Project tiles ---------- */
.proj { position: relative; overflow: hidden; display: block; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover img { transform: scale(1.05); }
.proj__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,8,.82) 0%, rgba(12,12,8,.28) 42%, rgba(12,12,8,0) 72%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 32px);
  color: #fff;
}
.proj__title { font-family: var(--ff-display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; }
.proj__meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .82; margin-top: 8px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

/* 长德语/法语词在窄屏会撑破网格，统一允许断行 */
.stats, .cat-grid, .feat, .steps, .scope, .faq { min-width: 0; }
.stats *, .cat-grid *, .feat *, .steps *, .scope * { overflow-wrap: break-word; }
.stat { background: var(--paper); padding: clamp(24px, 2.8vw, 36px); min-width: 0; }
.stat__n { font-family: var(--ff-display); font-size: clamp(34px, 4vw, 54px); line-height: 1; }
.stat__l {
  font-size: 12.5px; color: var(--muted); letter-spacing: .05em; margin-top: 10px;
  /* 德语/法语等长词在窄屏会撑破网格，允许断行 */
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Districts / locations ---------- */
.district {
  display: flex; align-items: baseline; gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.district__name { font-family: var(--ff-display); font-size: 20px; min-width: 120px; }
.district__desc { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.7vw, 21px);
  position: relative;
  display: flex; align-items: flex-start; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute; inset-inline-end: 6px; top: 50%;
  width: 11px; height: 11px;
  border-inline-end: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq__q { display: flex; gap: 16px; }
.faq__num { font-family: var(--ff-display); font-size: 13px; color: var(--accent); padding-top: 5px; }
.faq__a { padding: 0 0 24px 40px; font-size: 14.5px; color: var(--muted); max-width: 72ch; }
@media (max-width: 600px) { .faq__a { padding-inline-start: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236d6a5f' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-inline-end: 38px;
}
[dir="rtl"] .field select { background-position: left 14px center; padding-inline-end: 38px; }
.form__note { font-size: 12.5px; color: var(--muted-2); }
.form__status {
  padding: 12px 15px; border-radius: var(--radius);
  background: var(--accent-tint); border: 1px solid #e6cfc4;
  font-size: 13.5px; color: var(--accent-2);
}
.form__status:empty { display: none; }

.info-list { display: grid; gap: 0; }
.info-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-row__ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--accent);
}
.info-row__ico svg { width: 15px; height: 15px; }
.info-row__k { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 5px; }
.info-row__v { font-size: 16px; font-weight: 500; }
.info-row__v a:hover { color: var(--accent); }
.info-row__note { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
  padding-block: clamp(60px, 8vw, 108px);
}
.cta-band__in {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 4vw, 70px);
  align-items: center;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: #b9b6a9; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta-band__in { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ftr { background: var(--dark); color: #a8a599; padding-block: clamp(48px, 6vw, 80px) 30px; }
.ftr__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid #2c2c22;
}
.ftr__col h4 {
  font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase;
  color: #6f6d60; margin-bottom: 18px; font-weight: 500;
}
.ftr__col li { margin-bottom: 9px; }
.ftr__col a { font-size: 14px; transition: color .2s var(--ease); }
.ftr__col a:hover { color: var(--paper); }
.ftr__brand .logo__mark { background: var(--paper); color: var(--ink); }
.ftr__brand p { font-size: 13.5px; margin-top: 18px; max-width: 34ch; line-height: 1.65; }
.ftr__bottom {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 12.5px;
  color: #6f6d60;
}
.ftr__bottom a:hover { color: var(--paper); }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.phead { padding-block: clamp(46px, 6vw, 92px) clamp(30px, 4vw, 54px); }
.phead__title { max-width: 18ch; }
.phead .lede { margin-top: 24px; }
.phead--split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
}
@media (max-width: 900px) { .phead--split { grid-template-columns: 1fr; } }

.crumbs {
  display: flex; gap: 9px; align-items: center;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 26px;
}
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }

/* ---------- Misc ---------- */
.tag {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
  background: var(--paper-2);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.section--dark .tag { background: transparent; border-color: #3a3a2f; color: #9d9a8d; }

.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.mb-s { margin-bottom: 12px; } .mb-m { margin-bottom: 24px; } .mb-l { margin-bottom: 40px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.max-60 { max-width: 60ch; } .max-70 { max-width: 70ch; } .max-80 { max-width: 80ch; }

.head-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.head-row .h2 { max-width: 20ch; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Skip link — 用 clip 而非负定位，避免撑出横向滚动条 */
.skip {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 200;
  font-size: 14px;
  clip-path: inset(0 100% 0 0);
  clip: rect(0 0 0 0);
  white-space: nowrap;
  overflow: hidden;
}
.skip:focus {
  clip-path: none;
  clip: auto;
}

/* Print */
@media print {
  .hdr, .ftr, .mobile-nav, .cta-band { display: none !important; }
  body { background: #fff; }
}
