:root {
  --ink: #0b1220;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --accent: #4f46e5;
  --accent-2: #0ea5a4;
  --accent-soft: #eef2ff;
  --max-width: 1380px;
  --font: -apple-system, 'SF Pro Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 96px), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; font-weight: 750; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.eyebrow { margin: 0; color: var(--accent); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-index { margin-right: 16px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent-2); vertical-align: 1px; }
.section-pad { padding: 96px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-heading h2, .split-heading h2 { margin: 20px 0 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; }
.section-heading > p { max-width: 290px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.split-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.split-heading h2 { margin-top: 0; }
.section-copy { max-width: 680px; margin: 26px 0 0; font-size: 18px; line-height: 1.8; }
.text-link { display: inline-flex; gap: 24px; align-items: center; padding-bottom: 5px; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; }
.text-link:hover { color: #3730a3; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 36px; min-height: 50px; padding: 0 20px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; transition: background .2s; }
.button-dark { background: var(--accent); color: white; }
.button-dark:hover { background: #3730a3; }

/* Shared navigation */
.site-header { position: relative; z-index: 10; background: white; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -.1em; }
.brand-mark span { color: var(--accent); }
.brand-name { font-size: 11px; line-height: 1.3; font-weight: 700; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--accent); }
.nav .nav-contact { padding: 13px 16px; border-radius: 9px; background: var(--accent); color: white; }
.nav-contact span { margin-left: 20px; }
.nav-toggle { display: none; }

/* The homepage remains intentionally simple and screenshot-free. */
.home-intro { padding: 76px 0; color: #cbd5e1; background: radial-gradient(900px 600px at 85% 15%, #312e81 0%, transparent 65%), radial-gradient(700px 500px at 0% 100%, #134e4a 0%, transparent 65%), var(--ink); }
.home-intro .eyebrow { color: #a5b4fc; }
.home-intro h1 { margin: 22px 0 26px; color: white; font-size: clamp(44px, 5vw, 72px); line-height: 1.06; }
.home-intro h1 em { color: #a5b4fc; }
.home-lead { max-width: 640px; margin-bottom: 0; font-size: 18px; line-height: 1.75; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 28px; }
.home-actions .text-link { color: #c7d2fe; }
.home-services { padding: 52px 0; }
.home-page h2 { margin-bottom: 28px; font-size: 32px; line-height: 1.2; }
.home-services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-services-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.home-page h3 { margin-bottom: 10px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.home-services-grid p, .home-why-grid p { margin-bottom: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.home-why { padding-top: 16px; padding-bottom: 72px; }
.home-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-why-grid article { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.home-why-grid article > span { flex: 0 0 auto; margin-top: 4px; color: var(--accent); font-size: 12px; font-weight: 700; }

/* About and utility pages */
.page-hero { padding-top: 80px; padding-bottom: 80px; }
.page-hero h1 { margin: 28px 0 36px; font-size: clamp(48px, 6vw, 88px); line-height: 1.04; }
.page-hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.page-hero-bottom p { max-width: 540px; margin: 0; font-size: 18px; line-height: 1.7; }
.page-number { color: #c7d2fe; font-size: 48px; font-weight: 750; }
.about-story, .about-person { background: var(--accent-soft); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.values-grid article > span { color: var(--accent); font-size: 12px; font-weight: 700; }
.values-grid h3 { margin: 28px 0 14px; font-size: 24px; }
.values-grid p { max-width: 350px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.about-person .button { margin-top: 30px; }

/* Shared footer */
.site-footer { padding: 64px 0 28px; background: var(--ink); color: #cbd5e1; }
.site-footer .eyebrow { color: #a5b4fc; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-bottom: 50px; }
.footer-top h2 { margin: 20px 0 0; color: white; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; }
.footer-top h2 em { color: #a5b4fc; }
.footer-cta { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border: 1px solid #475569; border-radius: 14px; text-decoration: none; font-size: 26px; transition: background .2s; }
.footer-cta:hover { background: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding-top: 24px; border-top: 1px solid #334155; color: #94a3b8; font-size: 12px; line-height: 1.6; }
.footer-bottom strong, .footer-bottom span { display: block; }
.footer-bottom strong { margin-bottom: 6px; color: white; font-size: 13px; }
.footer-bottom a { text-decoration: none; overflow-wrap: anywhere; }
.footer-bottom a:hover { color: white; }
.site-footer-home { padding-top: 48px; }
.site-footer-home .footer-top { padding-bottom: 40px; }
.site-footer-home .footer-top h2 { margin-top: 16px; font-size: clamp(32px, 4vw, 46px); }
.site-footer-portfolio { padding-top: 8px; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 56px), var(--max-width)); }
  .section-pad { padding: 72px 0; }
  .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; }
  .nav-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
  .nav-toggle span { width: 19px; height: 1px; background: var(--ink); transition: transform .2s; }
  .nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 20px; background: white; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 15px 0; }
  .nav .nav-contact { margin-top: 10px; padding: 15px; }
  .home-intro { padding-top: 50px; padding-bottom: 50px; }
  .home-intro h1 { font-size: clamp(38px, 9vw, 56px); }
  .home-lead { font-size: 16px; }
  .home-services { padding: 40px 0; }
  .home-services-grid, .home-why-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-why { padding-top: 8px; padding-bottom: 50px; }
  .section-pad { padding: 60px 0; }
  .section-heading, .split-heading { display: block; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p { margin-top: 22px; }
  .split-heading > .eyebrow { margin-bottom: 24px; }
  .section-copy { font-size: 16px; }
  .page-hero { padding-top: 60px; padding-bottom: 60px; }
  .page-hero h1 { font-size: clamp(40px, 10vw, 64px); }
  .page-hero-bottom { flex-wrap: wrap; }
  .page-number { font-size: 32px; }
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { padding-bottom: 40px; }
  .footer-cta { width: 48px; height: 48px; font-size: 22px; }
  .footer-bottom { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
