/* ========== TOKENS ========== */
:root {
  --brand: #d94f00;
  --brand-accent: #f5870a;
  --brand-gold: #ffb347;
  --bg: #0d0a08;
  --bg-alt: #150f0a;
  --text: #f0ebe6;
  --muted: #a09488;
  --card: #1a1209;
  --radius: 16px;
  --surface: rgba(255,255,255,.06);
  --surface-alt: rgba(255,255,255,.1);
  --shadow: 0 6px 18px -4px rgba(0,0,0,.5);
  --wrap: 1100px;
  --gutter: clamp(16px, 2.5vw, 32px);
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.4,.2,.2,1);
}

/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.65 var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-accent); }
::selection { background: color-mix(in oklab, var(--brand) 40%, transparent); }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 { line-height: 1.15; font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 4vw + .5rem, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2vw + .4rem, 2.2rem); }
h3 { font-size: clamp(1.05rem, 1vw + .3rem, 1.25rem); }
p { margin: 0 0 1em; }

/* ========== LAYOUT ========== */
.container {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.content {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: clamp(52px, 9vh, 110px) 0;
}
.content + .content,
.hero + .content {
  border-top: 1px solid var(--surface);
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,10,8,.80);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--surface);
  transition: padding .4s var(--ease);
}
.header.compact { padding: 10px 0; }
.header.expanded { padding: 16px 0; box-shadow: 0 8px 24px -8px rgba(0,0,0,.6); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

/* ── Brand / logo ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* knock out white background */
  mix-blend-mode: lighten;
  filter: brightness(1.05) contrast(1.05);
}
.nav { display: flex; gap: clamp(8px, 1.4vw, 22px); align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }
.actions { display: flex; align-items: center; gap: 12px; }

/* ========== BUTTONS ========== */
.btn {
  appearance: none;
  border: 1px solid var(--surface-alt);
  padding: 11px 20px;
  border-radius: 13px;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  background: var(--surface);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--surface-alt); }
.btn:active { transform: translateY(0) scale(.97); }
.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-accent));
  color: #fff;
  border: none;
  box-shadow: 0 10px 22px -6px color-mix(in oklab, var(--brand) 55%, transparent);
}
.btn.primary:hover { box-shadow: 0 14px 28px -6px color-mix(in oklab, var(--brand-accent) 70%, transparent); }
form .btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* ========== HAMBURGER ========== */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--surface);
  color: var(--text);
  padding: 8px 11px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 18px;
}
@media (max-width: 780px) {
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    right: 4%;
    background: var(--card);
    padding: 14px;
    border-radius: 16px;
    flex-direction: column;
    box-shadow: 0 18px 28px -10px rgba(0,0,0,.6);
    z-index: 200;
    min-width: 180px;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .nav-toggle { display: block; }
  .brand-logo { height: 36px; }
}

/* ========== HERO ========== */
.hero {
  padding: clamp(80px, 15vh, 150px) var(--gutter) clamp(60px, 10vh, 100px);
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%,
    color-mix(in oklab, var(--brand) 12%, transparent), transparent);
}
.tag {
  display: inline-block;
  background: color-mix(in oklab, var(--brand) 18%, transparent);
  color: var(--brand-gold);
  border: 1px solid color-mix(in oklab, var(--brand) 38%, transparent);
  padding: 5px 15px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { max-width: 800px; margin-inline: auto; margin-bottom: 18px; }
.hero > p {
  color: var(--muted);
  margin: 0 auto 30px;
  max-width: 600px;
  font-size: 1.08rem;
}
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 40px; }
.trust-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
  color: var(--muted);
  font-size: .82rem;
}
.trust-strip li::before { content: "✓ "; color: var(--brand-accent); }

/* ========== SECTION LABELS ========== */
.section-title { margin: 0 0 10px; }
.section-lead {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 44px;
  font-size: 1.02rem;
}

/* ========== SERVICE CARDS ========== */
.cards {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--card);
  padding: clamp(20px, 2vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--surface);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--brand) 40%, transparent);
  box-shadow: 0 14px 30px -6px rgba(0,0,0,.6);
}
.card-icon { font-size: 1.6rem; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { color: var(--muted); margin: 0; font-size: .92rem; line-height: 1.55; }

/* ========== CLIENT STRIP ========== */
.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.client-item {
  background: var(--card);
  border: 1px solid var(--surface);
  border-radius: 12px;
  padding: 18px 28px;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  min-width: 190px;
  transition: border-color .25s var(--ease), transform .2s var(--ease);
}
.client-item:hover {
  border-color: color-mix(in oklab, var(--brand) 35%, transparent);
  transform: translateY(-2px);
}
.client-item small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
  margin-top: 4px;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p { color: var(--muted); }
.principles {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.principles li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
  font-size: .95rem;
}
.principles li::before { content: "→"; position: absolute; left: 0; color: var(--brand-accent); }
.about-stats { display: flex; flex-direction: column; gap: 14px; }
.stat {
  background: var(--card);
  border: 1px solid var(--surface);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.stat-num { display: block; font-size: 1.05rem; font-weight: 700; color: var(--brand-gold); }
.stat-label { font-size: .78rem; color: var(--muted); margin-top: 3px; display: block; }

/* ========== FORM ========== */
.form {
  display: grid;
  gap: 14px;
  max-width: 540px;
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--surface-alt);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: .97rem;
  transition: border-color .25s var(--ease);
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--brand-accent) 60%, transparent);
}
.form textarea { min-height: 130px; resize: vertical; }
.form input::placeholder,
.form textarea::placeholder { color: var(--muted); }

/* ========== FLASH ========== */
.flash {
  padding: 13px 17px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: .92rem;
  max-width: 540px;
}
.flash.ok {
  background: color-mix(in oklab, var(--brand) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand) 44%, transparent);
}
.flash.err {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.32);
  color: #ef4444;
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 0 50px;
  border-top: 1px solid var(--surface);
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
}
.footer p { font-size: .85rem; margin: 5px 0; }
.footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--brand-gold); }

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========== REDUCE MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
