@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --navy-950: #071624;
  --navy-900: #0b1f33;
  --navy-800: #13304d;
  --navy-700: #1b3a5c;
  --ink: #0f1d2b;
  --ink-soft: #46586b;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bronze: #c8913f;
  --bronze-light: #d9a24e;
  --bronze-dark: #8a5b16;
  --radius: 12px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(15, 29, 43, .04), 0 4px 16px rgba(15, 29, 43, .06);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--bronze-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--bronze); color: var(--navy-950); padding: 8px 14px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 51, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #c9d5e3; text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .btn { color: var(--navy-950); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--bronze-light); color: var(--navy-950); }
.btn-primary:hover { background: #e6b263; color: var(--navy-950); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.nav .btn { padding: 9px 16px; font-size: .9375rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(ellipse at 85% 90%, var(--navy-700), var(--navy-900) 65%);
  color: #fff;
  padding: 104px 0 112px;
}
.hero-cog {
  position: absolute; right: -170px; bottom: -210px;
  width: 560px; height: 560px; opacity: .9; pointer-events: none;
}
.hero .container { position: relative; }
.hero-content { max-width: 700px; }
.eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bronze-light);
}
.hero h1 { font-size: clamp(2.25rem, 5.2vw, 3.5rem); margin-bottom: 24px; }
.hero .lead { font-size: 1.1875rem; color: #c9d5e3; max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; color: #c9d5e3; font-size: .9375rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--bronze-light); flex: none; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head .eyebrow { color: var(--bronze-dark); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; margin: 0; }

/* Services */
.grid { display: grid; gap: 20px; }
.services { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: #fbf3e6; color: var(--bronze-dark);
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); font-size: .96875rem; margin: 0 0 14px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card .tags li {
  font-size: .75rem; font-weight: 500; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px;
}

/* About */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.prose .eyebrow { color: var(--bronze-dark); margin-bottom: 12px; }
.split .prose p { color: var(--ink-soft); font-size: 1.0625rem; }
.checklist li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { padding-top: 0; }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--bronze-dark); margin-top: 2px; }
.checklist strong { display: block; }
.checklist span { color: var(--ink-soft); font-size: .96875rem; }

/* Approach */
.steps { list-style: none; padding: 0; margin: 0; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border-top: 3px solid var(--bronze); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .875rem; font-weight: 700; color: var(--bronze-dark); letter-spacing: .06em; margin-bottom: 8px;
}
.step p { color: var(--ink-soft); font-size: .96875rem; margin: 0; }
.engagements { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.engagements div { padding: 20px 24px; border: 1px dashed #cfd7e0; border-radius: var(--radius); }
.engagements strong { display: block; margin-bottom: 4px; }
.engagements span { color: var(--ink-soft); font-size: .9375rem; }

/* Tech */
.tech { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 40px; }
.tech h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .875rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--bronze-dark); border-bottom: 2px solid var(--bronze-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* Contact */
.contact { background: var(--navy-900); color: #fff; text-align: center; }
.contact .section-head { margin: 0 auto 36px; }
.contact .section-head .eyebrow { color: var(--bronze-light); }
.contact .section-head p { color: #c9d5e3; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.contact-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; color: #c9d5e3; font-size: .9375rem; }
.contact-meta li { display: flex; align-items: center; gap: 8px; }
.contact-meta svg { width: 18px; height: 18px; color: var(--bronze-light); }

/* Footer */
.site-footer { background: var(--navy-950); color: #8ea1b6; font-size: .875rem; padding: 32px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer a { color: #c9d5e3; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { font-size: 1rem; }
.site-footer .brand img { width: 22px; height: 22px; }
.copyright { margin: 0; }
.footer-links { display: flex; gap: 20px; }

/* Simple pages */
.page { padding: 72px 0 96px; }
.page .container { max-width: 780px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.page h2 { font-size: 1.375rem; margin-top: 2em; }
.page p, .page li { color: var(--ink-soft); }
.page ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.page .updated { font-size: .9375rem; }
.not-found { min-height: calc(100vh - 68px - 90px); display: grid; place-items: center; text-align: center; }
.not-found img { width: 96px; height: 96px; margin: 0 auto 24px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-cog { width: 420px; height: 420px; right: -180px; bottom: -180px; opacity: .35; }
}
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
}
