:root {
  color-scheme: dark;
  --ink: #07172f;
  --ink-deep: #040d1d;
  --ink-soft: #0b2244;
  --blue: #1266c8;
  --blue-bright: #2f90ff;
  --gold: #f4b73f;
  --gold-light: #ffd36a;
  --paper: #f8fbff;
  --muted: #a8b9d2;
  --line: rgba(190, 216, 247, 0.16);
  --line-strong: rgba(244, 183, 63, 0.48);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max: 1220px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 8%, rgba(18, 102, 200, 0.28), transparent 28rem),
    linear-gradient(145deg, var(--ink-deep) 0%, var(--ink) 48%, #0a2345 100%);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: '';
  opacity: 0.3;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button, input, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(4, 13, 29, 0.76);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled { border-color: var(--line); background: rgba(4, 13, 29, 0.92); }

.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }

.brand-logo { width: 126px; height: auto; object-fit: contain; }

.primary-nav { display: flex; align-items: center; gap: 6px; }

.primary-nav a, .menu-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-nav a { padding: 12px 16px; }

.primary-nav a:hover, .primary-nav a[aria-current='page'] { color: var(--paper); border-color: var(--line); background: rgba(255,255,255,0.05); }

.header-cta { border-color: var(--line-strong) !important; color: var(--gold-light) !important; }

.header-cta:hover { background: var(--gold); border-color: var(--gold) !important; color: var(--ink) !important; }

.menu-toggle { display: none; padding: 11px 14px; background: transparent; color: var(--paper); cursor: pointer; }

.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px 0; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }

.eyebrow, .section-kicker {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero { position: relative; overflow: hidden; padding: 72px 0 112px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr); align-items: center; gap: clamp(40px, 7vw, 106px); min-height: min(760px, calc(100vh - 88px)); }

.hero h1, .page-hero h1 {
  max-width: 820px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(4.8rem, 12vw, 10.6rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.hero h1 span { display: block; color: var(--paper); }

.hero h1 strong { display: block; margin-left: clamp(22px, 5vw, 76px); color: var(--gold); font-weight: 400; }

.tagline { margin: 36px 0 0; color: var(--paper); font-family: var(--mono); font-size: clamp(0.9rem, 1.5vw, 1.1rem); letter-spacing: 0.18em; }

.tagline i { padding: 0 0.18em; color: var(--gold); font-style: normal; }

.hero-lead { max-width: 560px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.65; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); background: var(--gold-light); box-shadow: 0 12px 28px rgba(244, 183, 63, 0.22); }

.button.secondary { border-color: var(--line-strong); background: transparent; color: var(--paper); }

.button.secondary:hover { border-color: var(--gold); background: rgba(244, 183, 63, 0.1); color: var(--gold-light); box-shadow: none; }

.button .arrow { font-size: 1.15rem; line-height: 0; }

.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }

.hero-visual::before { position: absolute; width: min(84%, 530px); aspect-ratio: 1; border: 1px solid rgba(244, 183, 63, 0.36); border-radius: 50%; content: ''; box-shadow: 0 0 0 26px rgba(244, 183, 63, 0.04), 0 0 0 54px rgba(18, 102, 200, 0.06); }

.hero-logo-card { position: relative; width: min(100%, 600px); padding: 20px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(140deg, rgba(11, 34, 68, 0.9), rgba(4, 13, 29, 0.88)); box-shadow: var(--shadow); transform: rotate(2deg); }

.hero-logo-card::after { position: absolute; right: 26px; bottom: 20px; width: 82px; height: 82px; border: 1px solid var(--line-strong); border-radius: 50%; content: ''; opacity: 0.6; }

.hero-logo-card img { width: 100%; filter: drop-shadow(0 16px 28px rgba(0,0,0,0.35)); }

.visual-caption { position: absolute; right: 0; bottom: 0; width: min(260px, 46%); padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(7, 23, 47, 0.88); color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

.visual-caption strong { display: block; margin-bottom: 5px; color: var(--paper); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

.signal-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.signal-grid p { margin: 0; padding: 22px 26px; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.11em; text-align: center; text-transform: uppercase; }

.signal-grid p + p { border-left: 1px solid var(--line); }

section { scroll-margin-top: 108px; }

.section { padding: 124px 0; }

.section-heading { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); gap: 36px; align-items: end; margin-bottom: 54px; }

.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.98; }

.section-heading p { max-width: 580px; margin: 0; color: var(--muted); font-size: 1.06rem; }

.services-list { border-top: 1px solid var(--line); }

.service-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) minmax(220px, 0.7fr); gap: 30px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding 200ms ease, background 200ms ease; }

.service-row:hover { padding-right: 18px; padding-left: 18px; background: rgba(255,255,255,0.03); }

.service-number { padding-top: 5px; color: var(--gold); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; }

.service-row h3 { margin: 0; color: var(--paper); font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.45rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }

.service-row p { margin: 2px 0 0; color: var(--muted); font-size: 1rem; }

.service-arrow { justify-self: end; color: var(--gold-light); font-size: 1.35rem; transition: transform 180ms ease; }

.service-row:hover .service-arrow { transform: translate(4px, -4px); }

.process-section { padding-top: 20px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.process-card { position: relative; min-height: 310px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.045); }

.process-card::before { position: absolute; top: -70px; right: -55px; width: 170px; height: 170px; border: 1px solid rgba(244,183,63,0.28); border-radius: 50%; content: ''; }

.process-card:nth-child(2)::before { border-color: rgba(47,144,255,0.4); }

.process-card:nth-child(3)::before { border-color: rgba(255,211,106,0.5); }

.process-card .step { position: relative; color: var(--gold); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; }

.process-card h3 { position: relative; margin: 84px 0 14px; color: var(--paper); font-family: var(--serif); font-size: 2.45rem; font-weight: 400; letter-spacing: -0.04em; }

.process-card p { position: relative; margin: 0; color: var(--muted); }

.about-section { border-top: 1px solid var(--line); background: rgba(4,13,29,0.28); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: clamp(48px, 8vw, 120px); align-items: start; }

.about-copy h2 { max-width: 680px; margin: 20px 0 22px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -0.055em; line-height: 1; }

.about-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.company-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(18,102,200,0.15), rgba(255,255,255,0.035)); }

.company-card h3 { margin: 0 0 24px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1.1; }

.company-details { margin: 0; }

.company-details div { padding: 15px 0; border-top: 1px solid var(--line); }

.company-details dt { color: var(--gold-light); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }

.company-details dd { margin: 5px 0 0; color: var(--paper); font-size: 0.98rem; }

.company-details a { text-decoration-color: rgba(244,183,63,0.45); text-underline-offset: 4px; }

.company-details a:hover { color: var(--gold-light); }

.contact-section { padding-bottom: 138px; }

.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr); gap: 38px; padding: clamp(30px, 6vw, 72px); border: 1px solid var(--line-strong); border-radius: 30px; background: radial-gradient(circle at 10% 0%, rgba(18,102,200,0.35), transparent 48%), linear-gradient(130deg, rgba(11,34,68,0.9), rgba(7,23,47,0.95)); box-shadow: var(--shadow); }

.contact-panel > * { min-width: 0; }

.contact-panel h2 { max-width: 600px; margin: 18px 0 18px; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5.2rem); font-weight: 400; letter-spacing: -0.06em; line-height: 0.98; }

.contact-panel .intro { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.05rem; }

.contact-meta { display: grid; align-content: end; gap: 22px; }

.contact-meta p { margin: 0; color: var(--muted); }

.contact-meta .label { display: block; margin-bottom: 5px; color: var(--gold-light); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

.contact-meta a { color: var(--paper); font-size: 1.1rem; overflow-wrap: anywhere; text-decoration-color: rgba(244,183,63,0.5); text-underline-offset: 5px; }

.contact-meta a:hover { color: var(--gold-light); }

.site-footer { padding: 44px 0 30px; border-top: 1px solid var(--line); }

.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 0.8fr; gap: 36px; }

.footer-logo { width: 145px; margin-bottom: 18px; }

.footer-copy { max-width: 280px; margin: 0; color: var(--muted); font-size: 0.93rem; }

.footer-heading { margin: 0 0 12px; color: var(--gold-light); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

.footer-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }

.footer-list a { color: var(--muted); text-decoration: none; }

.footer-list a:hover { color: var(--paper); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: rgba(168,185,210,0.78); font-size: 0.82rem; }

.page-hero { padding: 116px 0 82px; border-bottom: 1px solid var(--line); }

.page-hero h1 { max-width: 880px; margin-top: 22px; font-size: clamp(3.7rem, 9vw, 8.5rem); line-height: 0.84; }

.page-hero .lead { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: 1.15rem; }

.content-section { padding: 92px 0 128px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.9fr); gap: 70px; align-items: start; }

.content-copy h2 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 4.1rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }

.content-copy h3 { margin: 48px 0 10px; color: var(--gold-light); font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }

.content-copy p, .content-copy li { color: var(--muted); font-size: 1.05rem; }

.content-copy ul { padding-left: 1.2rem; }

.service-detail-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.service-detail-list li { padding: 23px 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.04); }

.service-detail-list strong { display: block; margin-bottom: 5px; color: var(--paper); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }

.service-detail-list span { color: var(--muted); font-size: 0.95rem; }

.form-card { padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.04); }

.form-card h2 { margin: 0 0 24px; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.field { display: grid; gap: 7px; }

.field.full { grid-column: 1 / -1; }

.field label { color: var(--paper); font-size: 0.9rem; }

.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(4,13,29,0.55); color: var(--paper); }

.field textarea { min-height: 150px; resize: vertical; }

.field input::placeholder, .field textarea::placeholder { color: rgba(168,185,210,0.65); }

.field input:focus, .field textarea:focus { border-color: var(--gold); outline: 3px solid rgba(244,183,63,0.14); }

.form-note { margin: 18px 0 0; color: var(--muted); font-size: 0.82rem; }

.form-status { min-height: 24px; margin: 14px 0 0; color: var(--gold-light); font-size: 0.9rem; }

.legal-copy { max-width: 820px; }

.legal-copy h2 { margin: 48px 0 12px; color: var(--paper); font-family: var(--serif); font-size: 2rem; font-weight: 400; }

.legal-copy h2:first-child { margin-top: 0; }

.legal-copy p, .legal-copy li { color: var(--muted); font-size: 1rem; }

.legal-copy a { color: var(--gold-light); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .content-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-visual { min-height: 420px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .service-row { grid-template-columns: 54px minmax(0, 1fr) 30px; gap: 18px; }
  .service-row p { grid-column: 2 / -1; }
  .service-arrow { grid-column: 3; grid-row: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .header-inner { min-height: 78px; }
  .brand-logo { width: 110px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 17px; left: 17px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(4,13,29,0.98); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 15px 14px; border-radius: 12px; }
  .header-cta { text-align: center; }
  .hero { padding: 66px 0 84px; }
  .hero h1 { font-size: clamp(4.2rem, 22vw, 7rem); }
  .hero-visual { min-height: 330px; margin-top: 10px; }
  .hero-logo-card { padding: 10px; border-radius: 20px; }
  .visual-caption { right: -2px; bottom: -10px; width: 52%; padding: 12px 14px; font-size: 0.8rem; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid p { padding: 14px 10px; }
  .signal-grid p + p { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 88px 0; }
  .service-row { grid-template-columns: 36px minmax(0, 1fr) 22px; gap: 12px; padding: 24px 0; }
  .service-row:hover { padding-right: 10px; padding-left: 10px; }
  .service-row h3 { font-size: 1.7rem; }
  .service-row p { font-size: 0.95rem; }
  .process-grid, .form-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 260px; }
  .process-card h3 { margin-top: 58px; }
  .page-hero { padding: 82px 0 64px; }
  .page-hero h1 { font-size: clamp(3.5rem, 17vw, 6.2rem); }
  .content-section { padding: 70px 0 94px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

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