/* ==========================================================================
   XDM 3D — Feuille de style principale
   Suzhou XDM 3D Printing Technology Co., Ltd.
   ========================================================================== */

:root {
  --ink-900: #070b12;
  --ink-800: #0c121c;
  --ink-700: #121a26;
  --ink-600: #1a2432;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #e9edf3;
  --text-soft: #a8b4c4;
  --text-dim: #7d8a9c;
  --accent: #d6a13d;
  --accent-2: #f0c56a;
  --accent-glow: rgba(214, 161, 61, 0.28);
  --cyan: #4fd1c5;
  --white: #ffffff;
  --radius-s: 8px;
  --radius: 16px;
  --radius-l: 26px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --max: 1240px;
  --font: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /*padding-top: 78px;*/
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink-900);
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(214, 161, 61, 0.12), transparent 60%),
    radial-gradient(900px 500px at 92% 8%, rgba(79, 209, 197, 0.08), transparent 55%),
    linear-gradient(180deg, #070b12 0%, #090d15 40%, #06090f 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; color: var(--text-soft); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; color: var(--text-soft); }
li { margin-bottom: 0.45em; }

::selection { background: var(--accent); color: #08090c; }

.skip-link {
  position: fixed;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #08090c;
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.section {
  position: relative;
  padding: clamp(56px, 8vw, 108px) 0;
}

.section--tight { padding: clamp(40px, 5vw, 68px) 0; }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head--center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--text-soft);
}

.text-accent { color: var(--accent-2); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0c11;
  box-shadow: 0 16px 34px -18px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px var(--accent-glow);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 22px; font-size: 0.86rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 18, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 18, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.brand-word {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}

.brand-word strong {
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  color: var(--white);
}

.brand-word small {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
}

.nav a {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.22s ease;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.28s ease;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--white); }

.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }

.header-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 980px) {
  .header-cta { display: inline-flex; }
}

@media (max-width: 979px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(7, 11, 18, 0.985);
    border-bottom: 1px solid var(--line);
    padding: 10px clamp(18px, 4vw, 40px) 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease, padding 0.3s ease;
  }

  .nav.is-open { max-height: 70vh; overflow-y: auto; }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
}

/* ---------- Hero ---------- */
@media (max-width: 560px) {
  .brand img { width: 66px; }
  .brand-word { display: flex; }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.85) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.96) 8%, rgba(7, 11, 18, 0.78) 52%, rgba(7, 11, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.3) 0%, rgba(7, 11, 18, 0.92) 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
}

.hero-inner {
  padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 8vw, 96px);
  max-width: 780px;
}

.hero h1 { margin-bottom: 22px; }

.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent-2), #fff 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p { font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 640px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(214, 161, 61, 0.16), transparent 65%),
    radial-gradient(600px 300px at 5% 100%, rgba(79, 209, 197, 0.08), transparent 60%);
  z-index: -1;
}

.page-hero h1 { max-width: 900px; }

.page-hero .lead { max-width: 720px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 22px;
  padding: 0;
  list-style: none;
}

.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--accent-2); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(9, 13, 21, 0.86);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-num span { color: var(--accent-2); }

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(214, 161, 61, 0.42);
  transform: translateY(-4px);
}

.card h3 { color: var(--white); }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(214, 161, 61, 0.35);
  background: rgba(214, 161, 61, 0.09);
  color: var(--accent-2);
  margin-bottom: 18px;
}

.card-icon svg { width: 22px; height: 22px; }

.card-index {
  position: absolute;
  right: 18px;
  top: 10px;
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: rgba(255, 255, 255, 0.045);
  line-height: 1;
  pointer-events: none;
}

/* ---------- Split (text + media) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse .split-media { order: -1; }
}

.split-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 1200 / 410;
  object-fit: cover;
}

.split-media figcaption,
.media-caption {
  font-size: 0.78rem;
  color: var(--text-dim);
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  margin: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Product cards ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  border-color: rgba(214, 161, 61, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 1);
}

.product-media {
  position: relative;
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 161, 61, 0.14), transparent 65%),
    #0a0e16;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.5s ease;
}

.product-card:hover .product-media img { transform: scale(1.04); }

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(214, 161, 61, 0.16);
  border: 1px solid rgba(214, 161, 61, 0.4);
  color: var(--accent-2);
  font-weight: 600;
}

.product-body {
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 { margin-bottom: 6px; color: var(--white); }

.product-body h3 a:hover { color: var(--accent-2); }

.product-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.product-meta li {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.product-link {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.product-card:hover .product-link::after,
.product-link:hover::after { transform: translateX(5px); }

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table caption {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 12px;
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: var(--text-soft);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.025);
}

.spec-table td { color: var(--text); }

.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.spec-table tr:hover td { background: rgba(214, 161, 61, 0.05); }

/* ---------- Solution / industry cards ---------- */
.solution-card {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.008));
  border-top: 2px solid rgba(214, 161, 61, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover { transform: translateY(-4px); border-color: rgba(214, 161, 61, 0.55); }

.solution-card h3 { color: var(--white); font-size: 1.12rem; }

.solution-card p { font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Case / application tiles ---------- */
.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tile:hover { transform: translateY(-4px); border-color: rgba(214, 161, 61, 0.4); }

.tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0a0e16;
}

.tile-body { padding: 16px 18px 20px; }

.tile-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--white);
}

.tile-body p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- Certifications ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.cert {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cert:hover { border-color: rgba(214, 161, 61, 0.45); transform: translateY(-3px); }

.cert img {
  width: 100%;
  aspect-ratio: 600 / 772;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.cert p {
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 10px 2px 2px;
  color: var(--text-dim);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] { border-color: rgba(214, 161, 61, 0.45); }

.faq-item summary {
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-answer {
  padding: 0 22px 22px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border: 1px solid rgba(214, 161, 61, 0.3);
  border-radius: var(--radius-l);
  padding: clamp(32px, 5vw, 62px);
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(214, 161, 61, 0.16), transparent 65%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  text-align: center;
}

.cta-band h2 { margin-bottom: 14px; }

.cta-band p {
  max-width: 640px;
  margin: 0 auto 28px;
}

.cta-band .btn-row { justify-content: center; }

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 600;
}

.field .req { color: var(--accent-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.field textarea { min-height: 140px; resize: vertical; }

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 161, 61, 0.16);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 18px;
}

.field-hint { font-size: 0.78rem; color: var(--text-dim); margin: 8px 0 0; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }

.form-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 16px; }

/* Alerts */
.alert {
  border-radius: var(--radius-s);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  border: 1px solid;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.alert--ok {
  border-color: rgba(79, 209, 147, 0.45);
  background: rgba(79, 209, 147, 0.09);
  color: #b6f0cf;
}

.alert--err {
  border-color: rgba(255, 122, 122, 0.45);
  background: rgba(255, 122, 122, 0.09);
  color: #ffc4c4;
}

.alert strong { display: block; margin-bottom: 4px; color: #fff; }

.alert ul { margin: 6px 0 0; color: inherit; }

.contact-points {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.contact-point {
  padding: 20px 22px;
  background: rgba(9, 13, 21, 0.9);
}

.contact-point dt {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.contact-point dd {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 68px) 0 28px;
  margin-top: clamp(20px, 4vw, 40px);
  background: rgba(5, 8, 13, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }

.footer-col li { margin-bottom: 10px; }

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color 0.22s ease;
}

.footer-col a:hover { color: var(--accent-2); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { 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; transition-duration: 0.001ms !important; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--text-dim); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

.note-box {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 26px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.pill-row li {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.03);
}

.two-col-text {
  columns: 1;
  column-gap: 40px;
}

@media (min-width: 780px) {
  .two-col-text { columns: 2; }
}
