/* ===========================================================
   Zander Success — shared stylesheet
   =========================================================== */

:root {
  --ink:        #0c1a2b;   /* deep navy */
  --ink-2:      #11243a;
  --ink-soft:   #1b3147;
  --cream:      #f6f2ea;   /* warm off-white */
  --cream-2:    #efe9dd;
  --paper:      #fbf9f4;
  --gold:       #c69749;   /* refined accent */
  --gold-soft:  #d8b878;
  --muted:      #5a6b7b;
  --muted-light:#9aa9b6;
  --line:       rgba(12, 26, 43, 0.12);
  --line-light: rgba(246, 242, 234, 0.16);

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle paper grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: rgba(246,242,234,0.35);
  color: var(--cream);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-ink:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}
.brand .wordmark { font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 22px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: 0.3s;
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 70%; height: 160%;
  background: radial-gradient(circle at 60% 40%, rgba(198,151,73,0.16), transparent 60%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(33px, 4.4vw, 54px);
  line-height: 1.08;
  margin-bottom: 26px;
  color: var(--cream);
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted-light);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  position: relative;
  z-index: 2;
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line-light);
  padding-top: 36px;
}
.hero-meta .stat .num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  color: var(--cream);
  line-height: 1;
}
.hero-meta .stat .num span { color: var(--gold); }
.hero-meta .stat .lbl {
  font-size: 13.5px;
  color: var(--muted-light);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ===========================================================
   Section scaffolding
   =========================================================== */
section { position: relative; }
.section {
  padding: 110px 0;
}
.section-head {
  max-width: 680px;
  margin-bottom: 64px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 22px;
}
.section-head p {
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Trusted strip ---------- */
.trusted {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.trusted .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trusted .label {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.trusted .badges {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.78;
}
.trusted .badges span {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* ---------- Services ---------- */
.services { background: var(--paper); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-card {
  background: var(--paper);
  padding: 44px 38px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
}
.svc-card:hover {
  background: var(--ink);
  color: var(--cream);
}
.svc-card .ic {
  width: 46px; height: 46px;
  margin-bottom: 26px;
  color: var(--gold);
}
.svc-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.svc-card p {
  font-size: 15.5px;
  color: var(--muted);
  transition: color 0.4s ease;
}
.svc-card:hover p { color: var(--muted-light); }
.svc-card .num {
  position: absolute;
  top: 30px; right: 34px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--muted-light);
}

/* ---------- About / split ---------- */
.about { background: var(--cream); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 26px;
}
.about .lead-p {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 22px;
}
.about p { color: var(--muted); margin-bottom: 18px; }
.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  overflow: hidden;
  border-radius: 3px;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-visual .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 50px 28px 22px;
  background: linear-gradient(to top, rgba(12,26,43,0.94) 10%, rgba(12,26,43,0));
  color: var(--cream);
}
.about-visual .caption .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.about-visual .caption .role {
  font-size: 13px;
  color: var(--gold-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.feature-list { margin-top: 30px; display: grid; gap: 18px; }
.feature-list li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
}
.feature-list .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  margin-top: 3px;
}

/* ---------- Approach / process ---------- */
.approach { background: var(--ink); color: var(--cream); }
.approach .section-head h2 { color: var(--cream); }
.approach .section-head p { color: var(--muted-light); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  padding: 36px 30px 36px 0;
  border-top: 1px solid var(--line-light);
  position: relative;
}
.step .n {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}
.step h3 { font-size: 23px; margin-bottom: 12px; color: var(--cream); }
.step p { font-size: 15px; color: var(--muted-light); }

/* ---------- Industries ---------- */
.industries { background: var(--paper); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ind-card {
  border: 1px solid var(--line);
  padding: 32px 30px;
  border-radius: 3px;
  transition: all 0.35s var(--ease);
  background: var(--paper);
}
.ind-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(12,26,43,0.4);
}
.ind-card .ic { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.ind-card h3 { font-size: 20px; margin-bottom: 8px; }
.ind-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gold);
  color: var(--ink);
  padding: 80px 0;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 620px; }
.cta-band .btn-ink { white-space: nowrap; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
}
.contact-info h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.contact-info p { color: var(--muted); margin-bottom: 36px; max-width: 420px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.contact-detail .ic { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; flex: 0 0 auto; }
.contact-detail .k { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 4px; }
.contact-detail .v { font-size: 17px; font-weight: 500; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 3px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,151,73,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  background: rgba(198,151,73,0.12);
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--ink-2);
  color: var(--muted-light);
  padding: 80px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand .brand { color: var(--cream); margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  font-size: 13.5px;
}
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold); }

/* ===========================================================
   Sub-page (privacy / terms) content
   =========================================================== */
.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 90px 0 70px;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); color: var(--cream); }
.page-hero p { color: var(--muted-light); margin-top: 18px; max-width: 560px; }

.legal-body { padding: 80px 0; background: var(--paper); }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 {
  font-size: 28px;
  margin: 46px 0 16px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 20px; margin: 28px 0 10px; }
.legal-body p { color: var(--muted); margin-bottom: 16px; }
.legal-body ul { margin: 0 0 18px 22px; color: var(--muted); }
.legal-body li { margin-bottom: 8px; }
.legal-body .updated {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 40px;
}

/* ===========================================================
   Reveal animations
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* staggered hero load */
.hero .anim { opacity: 0; transform: translateY(20px); animation: heroIn 0.9s var(--ease) forwards; }
.hero .eyebrow.anim { animation-delay: 0.05s; }
.hero h1.anim { animation-delay: 0.18s; }
.hero p.lead.anim { animation-delay: 0.32s; }
.hero-actions.anim { animation-delay: 0.46s; }
.hero-meta.anim { animation-delay: 0.62s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .svc-grid, .ind-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { aspect-ratio: 16 / 11; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { height: 66px; }
  .hero { padding: 84px 0 90px; }
  .section { padding: 72px 0; }
  .svc-grid, .ind-grid, .steps { grid-template-columns: 1fr; }
  .step { padding: 28px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 0; }
  .contact-form { padding: 28px 22px; }

  /* mobile menu */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 20px 26px;
    gap: 6px;
    align-items: flex-start;
  }
  .nav.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
}
