/* ============ TOKENS ============ */
:root {
  --navy: #1E2761;
  --navy-decor: #2A3576;
  --navy-mid: #3F4C93;
  --navy-light: #8791C4;
  --amber: #F5A623;
  --amber-dark: #B5720A;
  --ice: #CADCFC;
  --white: #FFFFFF;
  --cardbg: #F4F6FB;
  --text: #1A1D2B;
  --muted: #5B6178;
  --border: #E4E8F2;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Lora', serif;

  --wrap: 1160px;
  --radius: 14px;
}

/* ============ RESET ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 0.5em; color: var(--text); line-height: 1.15; }
p { margin: 0 0 1em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--amber); color: var(--navy); padding: 0.75em 1.25em;
  font-family: var(--font-display); font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 1em; top: 1em; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 0.9em;
}
.eyebrow-light { color: var(--amber); }

h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; }
h2.light { color: var(--white); }
.section-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.5em;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #ffb949; }
.btn-ghost { border-color: var(--navy-light); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: var(--cardbg); }
.section-dark .btn-ghost, .hero .btn-ghost { border-color: var(--navy-light); color: var(--white); }
.section-dark .btn-ghost:hover, .hero .btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-small { padding: 0.6em 1.3em; font-size: 0.85rem; }
.btn-full { width: 100%; }

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}
.card-link {
  display: inline-block;
  margin-top: 1.2em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.card-link:hover { color: var(--amber-dark); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 6px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-word strong { font-weight: 700; }
.brand-ai {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.62em;
  padding: 0.15em 0.45em;
  border-radius: 999px;
  margin-left: 0.3em;
  vertical-align: middle;
}
.main-nav { display: flex; gap: 2em; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.main-nav a:hover { color: var(--amber-dark); }
.header-actions { display: flex; align-items: center; gap: 1em; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 5.5em 0 5em;
}
.hero-decor {
  position: absolute; top: -140px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: var(--navy-decor);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3em;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-sub {
  color: var(--ice);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 1.8em;
}
.hero-ctas { display: flex; gap: 1em; flex-wrap: wrap; }
.hero .eyebrow { color: var(--amber); }

.hero-visual { display: flex; justify-content: center; }
.ascend { width: 100%; max-width: 320px; }
.ascend .bar { opacity: 0; transform: translateY(16px); transform-origin: bottom; }
.ascend .bar1 { fill: var(--navy-light); animation: rise 0.6s ease-out 0.15s forwards; }
.ascend .bar2 { fill: var(--navy-mid); animation: rise 0.6s ease-out 0.32s forwards; }
.ascend .bar3 { fill: var(--white); animation: rise 0.6s ease-out 0.49s forwards; }
.ascend .point {
  fill: var(--amber); opacity: 0; transform: scale(0.3);
  transform-origin: 151px 37px;
  animation: pop 0.5s cubic-bezier(.34,1.56,.64,1) 0.72s forwards;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }

/* ============ CREDIBILITY STRIP ============ */
.strip { background: var(--cardbg); border-bottom: 1px solid var(--border); }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1em;
  padding: 1.6em 24px;
}
.strip-item {
  margin: 0; font-family: var(--font-display); font-size: 0.92rem; color: var(--muted);
}
.strip-item span { color: var(--navy); font-weight: 600; }

/* ============ SECTIONS ============ */
.section { padding: 6em 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark p { color: var(--ice); }

/* ============ SERVICES ============ */
.service-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.75em;
}
.service-card {
  background: var(--cardbg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4em 2.2em;
}
.service-kicker {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-dark);
  margin-bottom: 0.6em;
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.7em; }
.service-card ul { display: flex; flex-direction: column; gap: 0.75em; }
.service-card li {
  position: relative; padding-left: 1.4em; color: var(--muted); font-size: 1rem;
}
.service-card li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}

/* ============ PROCESS ============ */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75em;
  counter-reset: none;
  margin-top: 1em;
}
.process li { border-top: 2px solid var(--navy-mid); padding-top: 1.2em; }
.process-num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; color: var(--amber); letter-spacing: 0.08em; margin-bottom: 0.6em;
}
.process h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.4em; }
.process p { font-size: 0.96rem; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5em; align-items: center;
}
.about-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.4em;
  color: var(--white);
}
.about-card img { margin-bottom: 1.2em; }
.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ice);
  margin: 0;
}
.about-stats {
  margin-top: 1.8em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 0.9em;
}
.about-stats li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ice);
}
.about-stats span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--amber);
}
.about-copy p { color: var(--muted); font-size: 1.05rem; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5em; align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 0.4em; margin-top: 1.5em; }
.contact-details a { font-family: var(--font-display); font-weight: 600; color: var(--amber); font-size: 1.1rem; }
.contact-details span { color: var(--navy-light); font-size: 0.92rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2em;
  display: flex; flex-direction: column; gap: 1.2em;
}
.form-row { display: flex; flex-direction: column; gap: 0.5em; }
.form-row label {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--navy);
}
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75em 0.9em; border: 1px solid var(--border); border-radius: 8px;
  background: var(--cardbg); color: var(--text);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--amber); border-color: var(--amber);
}
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Honeypot — off-screen, not display:none (some bots skip display:none fields) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: var(--ice); padding: 3em 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6em; text-align: center; }
.brand-footer .brand-word { color: var(--white); }
.footer-tagline { font-family: var(--font-display); color: var(--amber); font-weight: 500; margin: 0; }
.footer-copy { font-size: 0.85rem; color: var(--navy-light); margin: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { order: -1; max-width: 220px; margin: 0 auto 1em; }
  .service-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 300px; }
  .main-nav a { padding: 1em 24px; border-top: 1px solid var(--border); }
  .header-actions .btn-small { display: none; }
  .nav-toggle { display: flex; }
  .process { grid-template-columns: 1fr; }
  .strip-inner { flex-direction: column; }
}
