@charset "UTF-8";
/* ==========================================================================
   Xuannan Precision — Swiss-type CNC turning
   Design tokens + base
   ========================================================================== */

:root {
  /* surfaces */
  --ink: #080b10;
  --graphite: #0e131a;
  --steel: #141b24;
  --steel-2: #1b2430;
  --paper: #ffffff;
  --mist: #f4f6f9;
  --mist-2: #e8ecf1;

  /* lines */
  --line-d: rgba(255, 255, 255, 0.10);
  --line-d-2: rgba(255, 255, 255, 0.18);
  --line-l: rgba(16, 24, 34, 0.12);
  --line-l-2: rgba(16, 24, 34, 0.22);

  /* accent */
  --orange: #ff6b1a;
  --orange-d: #e75d0c;
  --orange-soft: rgba(255, 107, 26, 0.12);

  /* type colours */
  --text-d: #e9eef4;
  --muted-d: #94a3b4;
  --text-l: #101922;
  --muted-l: #57657a;

  /* shape */
  --radius: 3px;
  --maxw: 1200px;
  --header-h: 74px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas,
    "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-l);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--mist {
  background: var(--mist);
  border-block: 1px solid var(--line-l);
}

.section--dark {
  background: var(--graphite);
  color: var(--text-d);
}

.grid {
  display: grid;
  gap: 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------- typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--orange);
}

.h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.15rem);
  letter-spacing: -0.035em;
  font-weight: 680;
}

.h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  letter-spacing: -0.028em;
}

.h3 {
  font-size: 1.15rem;
  letter-spacing: -0.012em;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: var(--muted-l);
  max-width: 62ch;
}

.section--dark .lead {
  color: var(--muted-d);
}

.mono {
  font-family: var(--mono);
}

.sec-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.sec-head p {
  margin-top: 16px;
}

.sec-head--split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  margin-bottom: 48px;
}
.sec-head--split > div {
  max-width: 720px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--orange);
  color: #14100c;
}
.btn--primary:hover {
  background: #ff833f;
}

.btn--ghost {
  border-color: var(--line-d-2);
  color: var(--text-d);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--outline {
  border-color: var(--line-l-2);
  color: var(--text-l);
}
.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange-d);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn .arrow {
  transition: transform 0.18s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8, 11, 16, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hdr.is-scrolled {
  background: rgba(8, 11, 16, 0.94);
  border-bottom-color: var(--line-d);
}

.utility {
  border-bottom: 1px solid var(--line-d);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-d);
}
.utility .container {
  display: flex;
  gap: 22px;
  align-items: center;
  height: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}
.utility .container::-webkit-scrollbar {
  display: none;
}
.utility span {
  white-space: nowrap;
}
.utility .dot {
  color: var(--orange);
}
.utility .right {
  margin-left: auto;
  color: var(--text-d);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand-logo {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name b {
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: -0.01em;
}
.brand-name small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-d);
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.menu a {
  position: relative;
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-d);
  border-radius: var(--radius);
  transition: color 0.18s ease, background 0.18s ease;
}
.menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.menu a.is-active {
  color: #fff;
}
.menu a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
}
.menu .btn {
  margin-left: 10px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line-d-2);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  margin: 3px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.burger[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 92px;
  background: radial-gradient(
      1100px 620px at 82% 8%,
      rgba(255, 107, 26, 0.14),
      transparent 62%
    ),
    linear-gradient(180deg, var(--ink) 0%, var(--graphite) 100%);
  color: var(--text-d);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(900px 620px at 70% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    900px 620px at 70% 20%,
    #000 20%,
    transparent 78%
  );
  opacity: 0.75;
  pointer-events: none;
}
.hero .container {
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .lead {
  color: #b6c3d2;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-d);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-d);
}
.hero-meta b {
  color: var(--text-d);
  font-weight: 600;
}

/* blueprint panel */
.bp {
  position: relative;
  background: linear-gradient(160deg, var(--steel) 0%, var(--graphite) 100%);
  border: 1px solid var(--line-d-2);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.bp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-d);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-d);
  margin-bottom: 14px;
}
.bp-head .tag {
  color: var(--orange);
}
.bp-chips {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border: 1px solid var(--line-d-2);
  border-radius: 2px;
  background: rgba(8, 11, 16, 0.72);
  color: var(--text-d);
  white-space: nowrap;
}
.chip--o {
  border-color: rgba(255, 107, 26, 0.5);
  color: var(--orange);
}

/* ---------- stat strip ---------- */

.stats {
  background: var(--steel);
  border-block: 1px solid var(--line-d);
  color: var(--text-d);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-grid > div {
  padding: 34px 26px;
  border-right: 1px solid var(--line-d);
}
.stats-grid > div:nth-child(-n + 4) {
  border-bottom: 1px solid var(--line-d);
}
.stats-grid > div:nth-child(4n),
.stats-grid > div:last-child {
  border-right: 0;
}
.stat-v {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.stat-v small {
  font-size: 0.6em;
  color: var(--orange);
  margin-left: 3px;
}
.stat-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-d);
  margin-top: 9px;
}

/* ---------- cards ---------- */

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 34px 30px;
  background: var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--line-l-2);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16, 24, 34, 0.07);
}
.card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  display: block;
  margin-bottom: 16px;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--muted-l);
  font-size: 0.95rem;
}

.card--dark {
  background: var(--steel);
  border-color: var(--line-d);
  color: var(--text-d);
}
.card--dark:hover {
  border-color: var(--line-d-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.card--dark p {
  color: var(--muted-d);
}

.ico {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--line-l-2);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--orange);
}
.card--dark .ico {
  border-color: var(--line-d-2);
}

/* numbered list */
.steps {
  display: grid;
  gap: 18px;
  counter-reset: s;
}
.steps li {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--mist);
  border-left: 2px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.steps li span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
  padding-top: 3px;
  flex: none;
}
.steps li p {
  color: var(--muted-l);
  font-size: 0.95rem;
}
.steps li b {
  display: block;
  color: var(--text-l);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- spec table ---------- */

.table-wrap {
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  overflow-x: auto;
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.94rem;
}
table.spec caption {
  text-align: left;
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-l);
  border-bottom: 1px solid var(--line-l);
  background: var(--mist);
}
table.spec th,
table.spec td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line-l);
  vertical-align: top;
}
table.spec thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-l);
  font-weight: 600;
  background: var(--mist);
  white-space: nowrap;
}
table.spec tbody tr:last-child td {
  border-bottom: 0;
}
table.spec tbody tr:hover {
  background: #fafbfc;
}
table.spec td:first-child {
  font-weight: 600;
}
table.spec .val {
  font-family: var(--mono);
  white-space: nowrap;
}
table.spec tfoot td {
  background: var(--text-l);
  color: #fff;
  font-weight: 600;
}
table.spec tfoot .val {
  color: var(--orange);
}

table.spec--dark {
  border: 0;
}
table.spec--dark caption,
table.spec--dark thead th {
  background: var(--steel-2);
  color: var(--muted-d);
  border-bottom-color: var(--line-d);
}
table.spec--dark th,
table.spec--dark td {
  border-bottom-color: var(--line-d);
  color: var(--text-d);
}
table.spec--dark tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}
table.spec--dark tfoot td {
  background: var(--steel-2);
  color: #fff;
}

/* definition list grid */
.dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-d);
}
.dl > div {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line-d);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.dl dt {
  font-size: 0.92rem;
  color: var(--muted-d);
}
.dl dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #fff;
  text-align: right;
  white-space: nowrap;
}
.dl dd em {
  font-style: normal;
  color: var(--orange);
}

/* ---------- chips / pills ---------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 9px 15px;
  border: 1px solid var(--line-l-2);
  border-radius: 100px;
  color: var(--text-l);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.pill:hover {
  border-color: var(--orange);
  color: var(--orange-d);
}
.pill--dark {
  border-color: var(--line-d-2);
  color: var(--text-d);
}
.pill--dark:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* check list */
.checks {
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--muted-l);
}
.checks li svg {
  flex: none;
  margin-top: 4px;
  color: var(--orange);
}
.section--dark .checks li {
  color: var(--muted-d);
}
.checks li b {
  color: var(--text-l);
  font-weight: 600;
}
.section--dark .checks li b {
  color: var(--text-d);
}

/* ---------- industry blocks ---------- */

.ind {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-l);
  border: 1px solid var(--line-l);
}
.ind > article {
  background: var(--paper);
  padding: 40px 36px;
  transition: background 0.2s ease;
}
.ind > article:hover {
  background: var(--mist);
}
.ind .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
}
.ind h3 {
  margin: 14px 0 10px;
  font-size: 1.3rem;
}
.ind p {
  color: var(--muted-l);
  font-size: 0.95rem;
}

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--rev > *:first-child {
  order: 2;
}

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  padding: 84px 0;
  background: linear-gradient(120deg, var(--orange) 0%, #ff8a3d 55%, #ffa15c 100%);
  color: #14100c;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.06) 0 2px,
    transparent 2px 12px
  );
  pointer-events: none;
}
.cta .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
}
.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 20ch;
}
.cta p {
  margin-top: 12px;
  max-width: 52ch;
  color: rgba(20, 16, 12, 0.78);
}
.cta .btn {
  background: #14100c;
  color: #fff;
}
.cta .btn:hover {
  background: #000;
}

/* ---------- page hero ---------- */

.phero {
  padding: calc(var(--header-h) + 74px) 0 64px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--graphite) 100%);
  color: var(--text-d);
  border-bottom: 1px solid var(--line-d);
}
.phero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  max-width: 22ch;
}
.phero .lead {
  margin-top: 20px;
  color: #b6c3d2;
}
.crumb {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-d);
  margin-bottom: 20px;
}
.crumb a:hover {
  color: var(--orange);
}

/* ---------- forms ---------- */

.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line-l-2);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #d64545;
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hint {
  font-size: 0.83rem;
  color: var(--muted-l);
}
.form-note {
  font-size: 0.86rem;
  color: var(--muted-l);
  padding: 14px 16px;
  background: var(--mist);
  border-left: 2px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-status {
  display: none;
  font-size: 0.9rem;
  padding: 13px 16px;
  border-radius: var(--radius);
}
.form-status.is-ok {
  display: block;
  background: rgba(30, 140, 90, 0.1);
  border: 1px solid rgba(30, 140, 90, 0.35);
  color: #176b46;
}
.form-status.is-err {
  display: block;
  background: rgba(214, 69, 69, 0.08);
  border: 1px solid rgba(214, 69, 69, 0.35);
  color: #a33;
}

/* contact cards */
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-l);
}
.contact-card:last-child {
  border-bottom: 0;
}
.contact-card .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-l);
  margin-bottom: 5px;
}
.contact-card .v {
  font-size: 1.02rem;
  font-weight: 600;
  word-break: break-word;
}
.contact-card a.v:hover {
  color: var(--orange-d);
}

/* ---------- footer ---------- */

.ftr {
  background: var(--ink);
  color: var(--text-d);
  padding: 76px 0 0;
  font-size: 0.92rem;
}
.ftr-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}
.ftr h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  font-weight: 500;
}
.ftr li {
  margin-bottom: 11px;
}
.ftr li a,
.ftr p {
  color: var(--muted-d);
}
.ftr li a:hover {
  color: #fff;
}
.ftr-about p {
  max-width: 34ch;
  margin-top: 16px;
}
.ftr-bottom {
  border-top: 1px solid var(--line-d);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7889;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
  }
}

/* ---------- photo gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery--2 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery figure:hover {
  border-color: var(--line-l-2);
  transform: translateY(-3px);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery figcaption {
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted-l);
}
.gallery--dark figure {
  border-color: var(--line-d);
  background: var(--steel);
}
.gallery--dark figcaption {
  color: var(--muted-d);
}
@media (max-width: 900px) {
  .gallery,
  .gallery--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gallery,
  .gallery--2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split--rev > *:first-child {
    order: 0;
  }
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ftr-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 76px 0;
  }
  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid > div:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line-d);
  }
  .stats-grid > div:nth-child(2n) {
    border-right: 0;
  }
  .ind {
    grid-template-columns: 1fr;
  }
  .dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 20px;
  }
  .utility .right {
    display: none;
  }
  .burger {
    display: grid;
  }
  .menu {
    position: fixed;
    inset: calc(var(--header-h) + 34px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--graphite);
    border-bottom: 1px solid var(--line-d);
    padding: 10px 20px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .menu a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-d);
    border-radius: 0;
  }
  .menu a.is-active::after {
    display: none;
  }
  .menu .btn {
    margin: 18px 0 0;
  }
  .hero {
    padding-top: calc(var(--header-h) + 62px);
  }
  .cards-3,
  .cards-2,
  .cards-4 {
    grid-template-columns: 1fr;
  }
  .row-2 {
    grid-template-columns: 1fr;
  }
  .cta .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .bp-chips {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid > div {
    border-right: 0;
  }
  .ftr-top {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    gap: 16px;
  }
}
