/* ==========================================================================
   AKK Solutions Trading — design system
   Dark, institutional, gold-accented. Matches the company's invoice brand.
   ========================================================================== */

:root {
  /* Palette */
  --bg:            #0A0E17;
  --bg-2:          #0C111C;
  --surface:       #111726;
  --surface-2:     #161D2E;
  --line:          rgba(198, 166, 103, 0.16);
  --line-soft:     rgba(233, 237, 242, 0.09);
  --gold:          #C6A667;
  --gold-bright:   #DCC08A;
  --gold-dim:      rgba(198, 166, 103, 0.12);
  --text:          #ECEEF2;
  --muted:         #9AA3B2;
  --muted-2:       #6E7788;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing / layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.4s;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--bg); }

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.h-display { font-size: clamp(2.6rem, 6.5vw, 5rem); }
.h-1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h-2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.h-3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}

p { color: var(--muted); }
.text-gold { color: var(--gold); }
strong { color: var(--text); font-weight: 600; }
em { color: var(--gold-bright); font-style: italic; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-2); }

.rule { height: 1px; background: var(--line-soft); border: 0; }
.rule--gold { background: linear-gradient(90deg, var(--gold), transparent); height: 1px; border: 0; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.section-head { max-width: 68ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head p { margin-top: 1.2rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: #14100A; font-weight: 600; }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.link-more {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.link-more svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 14, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mark {
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  border-radius: 3px;
  flex-shrink: 0;
}
.brand__text { line-height: 1.15; }
.brand__name {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after, .nav__link:hover::after { width: 100%; }

.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 46px; height: 46px;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  margin: 4px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.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(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,23,0.55) 0%, rgba(10,14,23,0.35) 40%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(10,14,23,0.4) 55%, rgba(10,14,23,0.1) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-block: 4rem; }
.hero__eyebrow { margin-bottom: 2rem; }
.hero h1 { max-width: 18ch; margin-bottom: 1.8rem; }
.hero .lead { max-width: 54ch; }
.hero__meta {
  display: flex; flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  max-width: 640px;
}
.hero__meta-item { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; }
.hero__meta-item span { display: block; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.64rem; margin-bottom: 0.35rem; }
.hero__meta-item strong { color: var(--gold); font-weight: 500; }

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.stat { padding: clamp(1.6rem, 3vw, 2.6rem); border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text);
  line-height: 1;
  display: flex; align-items: baseline; gap: 0.1rem;
}
.stat__value .u { color: var(--gold); font-size: 0.55em; }
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.9rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2rem); }
.pillar {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pillar:hover { border-color: var(--line); transform: translateY(-4px); }
.pillar__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: transform 0.9s var(--ease), opacity var(--dur); filter: saturate(0.9); }
.pillar:hover .pillar__media img { transform: scale(1.05); opacity: 0.9; }
.pillar__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface) 100%); }
.pillar__body { padding: clamp(1.8rem, 3vw, 2.6rem); flex: 1; display: flex; flex-direction: column; }
.pillar__kicker { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { margin: 1rem 0 1.1rem; }
.pillar p { flex: 1; }
.pillar__points { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.6rem 0; }
.pillar__points li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  padding: 0.45rem 0.9rem;
}

/* --------------------------------------------------------------------------
   Value chain
   -------------------------------------------------------------------------- */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.chain__step {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  transition: background var(--dur) var(--ease);
}
.chain__step:hover { background: var(--surface); }
.chain__no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.chain__step h3 { font-size: 1.35rem; margin: 1.4rem 0 0.9rem; }
.chain__step p { font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Cards (packages)
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 2.5vw, 2rem); }
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; filter: saturate(0.9); transition: transform 0.9s var(--ease), opacity var(--dur); }
.card:hover .card__media img { transform: scale(1.06); opacity: 0.92; }
.card__body { padding: clamp(1.5rem, 2.5vw, 2rem); }
.card__body h3 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.card__body p { font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Split feature (image + text)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); position: relative; aspect-ratio: 5/4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; filter: saturate(0.92); }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 60%, rgba(10,14,23,0.4)); }
.split__body .eyebrow { margin-bottom: 1.4rem; }
.split__body h2 { margin-bottom: 1.3rem; }

/* Feature list with gold ticks */
.feature-list { margin-top: 1.8rem; display: grid; gap: 0.1rem; }
.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 4px;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
}
.feature-list.check li { grid-template-columns: 20px 1fr; }
.feature-list.check li::before {
  content: "✓";
  border: 0; background: transparent;
  color: var(--gold);
  font-size: 0.9rem; font-weight: 700;
  width: auto; height: auto; margin-top: 0;
  font-family: var(--font-ui);
}

/* --------------------------------------------------------------------------
   Service groups (accordion-style rows)
   -------------------------------------------------------------------------- */
.svc-group { border-top: 1px solid var(--line-soft); }
.svc-group:last-child { border-bottom: 1px solid var(--line-soft); }
.svc-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  align-items: start;
}
.svc-row__head { position: relative; }
.svc-phase { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.svc-row__head h3 { margin-top: 1rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.svc-items { display: grid; gap: 0.1rem; align-content: start; }
.svc-items li {
  display: grid; grid-template-columns: 34px 1fr;
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 0.98rem;
}
.svc-items li:last-child { border-bottom: 0; }
.svc-items li span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-2); padding-top: 0.15rem; }

/* --------------------------------------------------------------------------
   Assurance grid
   -------------------------------------------------------------------------- */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.assure__item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem); }
.assure__value { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--gold); line-height: 1; }
.assure__title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin: 1rem 0 0.8rem; }
.assure__item p { font-size: 0.86rem; }

/* Tag chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chips li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.6rem 1.1rem;
  transition: color var(--dur), border-color var(--dur);
}
.chips li:hover { color: var(--gold); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--bg) 20%, rgba(10,14,23,0.72)); }
.cta-band__inner { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem); text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 1.4rem auto 1.3rem; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero { padding-top: calc(80px + clamp(4rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; }
.page-hero .eyebrow { margin-bottom: 1.6rem; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 1.6rem; }
.crumbs { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.55rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  width: 100%;
  transition: border-color var(--dur) var(--ease), background var(--dur);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-2);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6A667' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.field-error { color: #E5866B; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; }

.alert { border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: 0.92rem; border: 1px solid; margin-bottom: 1.8rem; }
.alert--ok { border-color: rgba(198,166,103,0.5); background: var(--gold-dim); color: var(--gold-bright); }
.alert--err { border-color: rgba(229,134,107,0.45); background: rgba(229,134,107,0.08); color: #E5A08B; }

.contact-aside { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.5rem); }
.contact-aside h3 { font-size: 1.3rem; margin-bottom: 1.6rem; }
.contact-detail { padding: 1.2rem 0; border-top: 1px solid var(--line-soft); }
.contact-detail:first-of-type { border-top: 0; padding-top: 0; }
.contact-detail dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.5rem; }
.contact-detail dd { color: var(--text); font-size: 0.98rem; }
.contact-detail dd a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); }
.footer-brand .brand { margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.3rem; }
.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a { font-size: 0.9rem; color: var(--muted); transition: color var(--dur); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .pillars, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .chain, .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .assure { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .svc-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 1.05rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--line-soft); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.3rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: block; }

  .chain, .cards, .stats, .assure, .field-2, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }
  .footer-brand { grid-column: auto; }
  .hero { min-height: auto; padding-top: 140px; padding-bottom: 4rem; }
  .hero__meta { gap: 1.4rem; }
}

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