:root {
  --ink: #0e0f11;
  --ink-soft: #141518;
  --panel: rgba(25, 23, 22, 0.82);
  --panel-strong: #1d1b1b;
  --panel-muted: #24201d;
  --gold: #f4c66e;
  --gold-soft: #f6d993;
  --gold-deep: #b8833e;
  --cream: #f3f0e8;
  --muted: #aaa59b;
  --line: rgba(244, 198, 110, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --green: #55c99a;
  --red: #ff5a4f;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --rail: 0px;
  --max: 1320px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(184, 131, 62, 0.16), transparent 28rem),
    radial-gradient(circle at 10% 80%, rgba(77, 61, 46, 0.16), transparent 30rem),
    var(--ink);
  color: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 86%);
  z-index: -1;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 99;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #1b140b;
}
.skip-link:focus { top: 16px; }

.site-frame { min-height: 100vh; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(14, 15, 17, 0.82);
  backdrop-filter: blur(20px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-lockup img { width: 38px; height: 38px; object-fit: contain; }
.brand-lockup strong { font-size: 18px; }
.topbar .brand-lockup strong { color: var(--gold-soft); }
.brand-lockup small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; }
.topbar .brand-lockup img { width: 48px; height: 48px; }
.topbar .brand-lockup small { letter-spacing: .04em; }
.footer .brand-lockup img { width: 54px; height: 54px; }

.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.primary-nav a { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a.active { color: var(--gold-soft); }

.top-actions { display: flex; align-items: center; gap: 12px; margin-left: 20px; }
.icon-button, .nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
}
.icon-button img, .nav-toggle img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #24170a; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); box-shadow: 0 12px 30px rgba(244, 198, 110, 0.18); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(244, 198, 110, 0.28); }
.btn-outline { border-color: var(--gold-deep); color: var(--gold-soft); background: rgba(244, 198, 110, 0.04); }
.btn-muted { border-color: var(--line-soft); color: var(--cream); background: rgba(255, 255, 255, 0.04); }
.btn img { width: 16px; height: 16px; }
.btn-outline img { filter: invert(85%) sepia(54%) saturate(584%) hue-rotate(336deg) brightness(103%); }

.left-rail {
  display: none;
  position: fixed;
  left: 0;
  top: 76px;
  bottom: 0;
  z-index: 20;
  width: var(--rail);
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 0;
  border-right: 1px solid var(--line-soft);
  background: rgba(14, 15, 17, 0.58);
}
.rail-link {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: 14px;
  opacity: .6;
  transition: opacity .2s ease, border-color .2s ease, background .2s ease;
}
.rail-link:hover, .rail-link.active { opacity: 1; border-color: var(--line); background: rgba(244, 198, 110, 0.1); }
.rail-link img { width: 21px; height: 21px; filter: invert(83%) sepia(40%) saturate(480%) hue-rotate(350deg) brightness(104%); }
.rail-spacer { flex: 1; }

.page-content { margin-left: var(--rail); }
.container { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.section-tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 730px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 82px); line-height: 1.05; letter-spacing: -.06em; }
h2 { margin-bottom: 16px; font-size: clamp(28px, 4vw, 52px); line-height: 1.1; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.2; }
.lead { max-width: 640px; color: var(--muted); font-size: 17px; }
.muted { color: var(--muted); }
.gold { color: var(--gold-soft); }
.display-gradient { background: linear-gradient(135deg, #fff7dd, var(--gold-soft) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(14,15,17,.98) 0%, rgba(14,15,17,.94) 35%, rgba(14,15,17,.35) 70%, rgba(14,15,17,.86) 100%),
    url("../img/hero-system-v2.png") 72% center / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: 90px 0 130px; }
.hero h1 span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta img { width: 15px; height: 15px; filter: invert(86%) sepia(35%) saturate(770%) hue-rotate(348deg) brightness(103%); }

.capability-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 44px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; background: var(--line-soft); }
.capability-item { min-height: 142px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 18px; background: rgba(17, 17, 18, .92); transition: background .2s ease, color .2s ease; }
.capability-item:hover, .capability-item.active { background: linear-gradient(145deg, rgba(244, 198, 110, .18), rgba(18, 17, 17, .94)); }
.capability-item img { width: 26px; height: 26px; filter: invert(85%) sepia(54%) saturate(584%) hue-rotate(336deg) brightness(103%); }
.capability-item > span { display: block; }
.capability-item strong, .capability-item small { display: block; }
.capability-item strong { font-size: 14px; }
.capability-item small { margin-top: 8px; color: var(--muted); font-size: 11px; }

.panel { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(43, 34, 28, .82), rgba(20, 20, 22, .83)); box-shadow: var(--shadow); }
.panel-soft { border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: rgba(255, 255, 255, .035); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head > div:first-child { max-width: 720px; }
.section-head p { max-width: 530px; margin-bottom: 0; color: var(--muted); }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-weight: 700; white-space: nowrap; }
.section-link img { width: 16px; height: 16px; filter: invert(85%) sepia(54%) saturate(584%) hue-rotate(336deg) brightness(103%); }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { position: relative; isolation: isolate; overflow: hidden; padding: 24px 28px; border-right: 1px solid var(--line); background: rgba(17, 17, 18, .86); }
.stat::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--stat-bg) center / cover no-repeat; opacity: .50; pointer-events: none; }
.stat::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(14,15,17,.50); pointer-events: none; }
.stat > * { position: relative; z-index: 1; }
.stat-locations { --stat-bg: url("../img/stat-locations.png"); }
.stat-capabilities { --stat-bg: url("../img/stat-capabilities.png"); }
.stat-showcases { --stat-bg: url("../img/stat-showcases.png"); }
.stat-system { --stat-bg: url("../img/stat-system.png"); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--gold-soft); font-size: clamp(26px, 4vw, 46px); line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

.system-showcase { min-height: 520px; position: relative; display: block; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: #121315; box-shadow: var(--shadow); }
.system-showcase::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 120px; background: linear-gradient(transparent, rgba(14,15,17,.78)); pointer-events: none; }
.system-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; width: min(58%, 720px); min-height: 520px; padding: 54px; border: 0; border-radius: 0; background: linear-gradient(90deg, rgba(14,15,17,.98) 0%, rgba(14,15,17,.92) 58%, rgba(14,15,17,.34) 100%); box-shadow: none; }
.system-copy p { color: var(--muted); }
.system-copy ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; padding: 0; margin: 26px 0 0; list-style: none; }
.system-copy li { display: flex; align-items: center; gap: 10px; color: var(--cream); font-size: 13px; }
.system-copy li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(244,198,110,.1); }
.system-art { position: absolute; inset: 0; z-index: 0; min-height: 520px; overflow: hidden; border: 0; border-radius: 0; background: #121315; }
.system-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,17,.82) 0%, rgba(14,15,17,.38) 48%, rgba(14,15,17,.08) 100%); pointer-events: none; }
.system-art img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 72% center; opacity: .9; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 230px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: rgba(255,255,255,.03); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: var(--line); background: rgba(244,198,110,.08); }
.service-card .icon-wrap { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: rgba(244,198,110,.08); }
.service-card .icon-wrap img { width: 24px; height: 24px; filter: invert(85%) sepia(54%) saturate(584%) hue-rotate(336deg) brightness(103%); }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.service-card a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-size: 13px; font-weight: 700; }
.service-card a img { width: 15px; height: 15px; filter: invert(85%) sepia(54%) saturate(584%) hue-rotate(336deg) brightness(103%); }

.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.evidence-card { aspect-ratio: 3 / 4; min-height: 0; position: relative; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--panel-strong); }
.evidence-card img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .45s ease, opacity .45s ease; }
.evidence-card:hover img { transform: scale(1.06); opacity: .9; }
.evidence-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10,10,10,.92)); }
.evidence-card-content { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.evidence-card-content strong { display: block; font-size: 17px; }
.evidence-card-content span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.location-card { padding: 22px; min-height: 218px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: linear-gradient(150deg, rgba(244,198,110,.09), rgba(255,255,255,.025)); }
.location-card .location-index { color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.location-card h3 { margin: 12px 0 8px; }
.location-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(244,198,110,.12), rgba(21,20,20,.76)); }
.cta-band h2 { margin-bottom: 10px; font-size: clamp(26px, 4vw, 42px); }
.cta-band p { margin-bottom: 0; color: var(--muted); }

.page-hero { min-height: 560px; display: grid; align-items: center; position: relative; overflow: hidden; padding: 104px 0 76px; border-bottom: 1px solid var(--line-soft); background: radial-gradient(circle at 75% 20%, rgba(244,198,110,.13), transparent 22rem); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }
body[data-page="services"] .page-hero { background: linear-gradient(90deg, rgba(14,15,17,.98) 0%, rgba(14,15,17,.94) 36%, rgba(14,15,17,.42) 72%, rgba(14,15,17,.86) 100%), url("../img/services-hero.png") 74% center / cover no-repeat; }
body[data-page="training"] .page-hero { background: linear-gradient(90deg, rgba(14,15,17,.98) 0%, rgba(14,15,17,.94) 36%, rgba(14,15,17,.35) 72%, rgba(14,15,17,.84) 100%), url("../img/training-hero.png") 74% center / cover no-repeat; }
body[data-page="events"] .page-hero { background: linear-gradient(90deg, rgba(14,15,17,.98) 0%, rgba(14,15,17,.94) 36%, rgba(14,15,17,.32) 72%, rgba(14,15,17,.84) 100%), url("../img/events-hero.png") 74% center / cover no-repeat; }
body[data-page="stores"] .page-hero { background: linear-gradient(90deg, rgba(14,15,17,.98) 0%, rgba(14,15,17,.94) 36%, rgba(14,15,17,.38) 72%, rgba(14,15,17,.84) 100%), url("../img/stores-hero.png") 74% center / cover no-repeat; }
body[data-page="contact"] .page-hero { background: linear-gradient(90deg, rgba(14,15,17,.98) 0%, rgba(14,15,17,.94) 36%, rgba(14,15,17,.35) 72%, rgba(14,15,17,.86) 100%), url("../img/contact-hero.png") 74% center / cover no-repeat; }
.page-hero h1 { max-width: 800px; margin-bottom: 14px; font-size: clamp(40px, 6vw, 72px); }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 17px; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.breadcrumb img { width: 14px; height: 14px; opacity: .7; }

.service-section { scroll-margin-top: 96px; padding: 80px 0; border-bottom: 1px solid var(--line-soft); }
.service-section:last-child { border-bottom: 0; }
.service-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.service-number { color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.service-layout h2 { margin-top: 14px; }
.service-layout p { color: var(--muted); }
.service-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.point { padding: 16px; border-left: 2px solid var(--gold-deep); background: rgba(255,255,255,.035); }
.point strong { display: block; font-size: 14px; }
.point span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.service-visual { overflow: hidden; min-height: 360px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--panel-strong); }
.service-visual img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.service-visual .visual-fallback { padding: 36px; min-height: 360px; display: grid; place-items: center; color: var(--muted); text-align: center; }

.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.timeline-dot { display: grid; place-items: center; width: 40px; height: 40px; z-index: 1; border: 1px solid var(--gold-deep); border-radius: 50%; background: var(--ink-soft); color: var(--gold); font-size: 12px; font-weight: 800; }
.timeline-copy { padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: rgba(255,255,255,.03); }
.timeline-copy strong { display: block; }
.timeline-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 10px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel-strong); transition: transform .35s ease, border-color .35s ease; }
.gallery img:hover { transform: translateY(-3px); border-color: var(--line); }
.gallery .wide { grid-column: auto; aspect-ratio: 4 / 3; }

.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 22px; align-items: stretch; }
.contact-card { padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(244,198,110,.12), rgba(255,255,255,.03)); }
.contact-person { display: flex; align-items: center; gap: 14px; }
.contact-person img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.contact-person strong { display: block; font-size: 18px; }
.contact-person span { display: block; color: var(--muted); font-size: 13px; }
.qr-box { width: 156px; padding: 10px; margin: 28px 0 20px; border-radius: 16px; background: #fff; }
.contact-card .qr-box { width: 220px; margin: 28px auto 24px; }
.qr-box img { width: 100%; }
.contact-links { display: grid; gap: 10px; }
.contact-links a { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.contact-links img { width: 18px; height: 18px; filter: invert(85%) sepia(54%) saturate(584%) hue-rotate(336deg) brightness(103%); }
.contact-card .contact-links a:first-child { color: var(--gold-soft); font-size: 20px; font-weight: 800; }
.contact-card .contact-links a:first-child img { width: 22px; height: 22px; }
.form-card { padding: 34px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: rgba(255,255,255,.035); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 12px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 13px; outline: none; color: var(--cream); background: rgba(0,0,0,.24); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,198,110,.12); }
.form-submit { width: 80%; margin: 22px auto 0; justify-content: center; }
.form-message { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; color: var(--green); background: rgba(85,201,154,.1); font-size: 13px; }
.form-message.show { display: block; }

.footer { padding: 48px 0 30px; border-top: 1px solid var(--line-soft); background: rgba(0,0,0,.18); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 30px; padding-bottom: 38px; }
.footer h3 { font-size: 14px; }
.footer a, .footer p { display: block; margin: 8px 0; color: var(--muted); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: #77736c; font-size: 11px; }

.floating-cta { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid rgba(244,198,110,.55); border-radius: 999px; color: var(--cream); background: linear-gradient(135deg, rgba(244,198,110,.18), rgba(255,255,255,.06)); box-shadow: 0 14px 40px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.16); backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%); font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.floating-cta:hover { transform: translateY(-2px); border-color: var(--gold); background: linear-gradient(135deg, rgba(244,198,110,.28), rgba(255,255,255,.1)); }
.floating-cta img { width: 16px; height: 16px; filter: invert(85%) sepia(54%) saturate(584%) hue-rotate(336deg) brightness(103%); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  :root { --rail: 0px; }
  .left-rail { display: none; }
  .page-content { margin-left: 0; }
  .primary-nav { gap: 18px; }
  .brand-lockup { min-width: 150px; }
  .topbar .brand-lockup { min-width: 150px; }
  .capability-rail { grid-template-columns: repeat(3, 1fr); }
  .system-showcase, .form-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar { min-height: 68px; padding: 0 18px; }
  .brand-lockup { min-width: 0; margin-right: auto; }
  .topbar .brand-lockup { min-width: 0; }
  .brand-lockup img { width: 32px; height: 32px; }
  .topbar .brand-lockup img { width: 38px; height: 38px; }
  .footer .brand-lockup img { width: 48px; height: 48px; }
  .brand-lockup strong { font-size: 16px; }
  .brand-lockup small, .top-actions .icon-button { display: none; }
  .primary-nav { position: fixed; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 18px; border-bottom: 1px solid var(--line-soft); background: rgba(14,15,17,.97); }
  body.nav-open .primary-nav { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: inline-grid; }
  .top-actions { margin-left: 0; }
  .top-actions .btn { display: none; }
  .container { width: min(100% - 36px, var(--max)); }
  .section { padding: 76px 0; }
  .section-tight { padding: 52px 0; }
  .hero { min-height: 720px; background-position: 74% center; }
  .hero-content { padding: 86px 0 110px; }
  h1 { font-size: clamp(40px, 12vw, 64px); }
  .lead { font-size: 15px; }
  .capability-rail { grid-template-columns: repeat(2, 1fr); }
  .capability-item { min-height: 128px; }
  .capability-item > span { display: block; }
  .capability-item strong, .capability-item small { display: block; }
  .capability-item small { margin-top: 6px; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .section-link { margin-top: 18px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .system-copy { width: 100%; min-height: 540px; padding: 28px; background: linear-gradient(90deg, rgba(14,15,17,.96) 0%, rgba(14,15,17,.68) 100%); }
  .system-copy ul { grid-template-columns: 1fr; }
  .system-art, .system-art img { min-height: 540px; }
  .system-art img { object-position: 78% center; }
  .service-grid, .location-grid, .evidence-grid, .gallery { grid-template-columns: 1fr; }
  .evidence-card, .evidence-card img { min-height: 0; }
  .cta-band { display: block; padding: 28px; }
  .cta-band .btn { margin-top: 18px; }
  .page-hero { min-height: 540px; padding: 76px 0 56px; background-position: 70% center !important; }
  .service-section { padding: 64px 0; }
  .service-layout { grid-template-columns: 1fr; gap: 20px; }
  .service-points { grid-template-columns: 1fr; }
  .service-visual, .service-visual img { min-height: 240px; }
  .form-card, .contact-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .floating-cta { right: 14px; bottom: 14px; }
  .form-submit { width: 100%; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
