:root {
  --navy-950: #06172d;
  --navy-900: #081b35;
  --navy-800: #0d2a50;
  --blue-500: #1f6fff;
  --blue-300: #78a8ff;
  --gold-500: #d7a64b;
  --ink: #0a1930;
  --muted: #59677a;
  --paper: #f5f1e9;
  --white: #ffffff;
  --line: rgba(10, 25, 48, 0.13);
  --shadow: 0 28px 70px rgba(6, 23, 45, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(31, 111, 255, 0.09), transparent 32rem),
    linear-gradient(180deg, #faf8f3 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell {
  width: min(calc(100% - 32px), 1440px);
  margin: 16px auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.site-header,
.hero,
.project-section,
.contact-panel,
.site-footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.monogram {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 13px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.identity-copy { display: grid; gap: 1px; }
.identity-copy strong { font-size: 0.98rem; }
.identity-copy span { color: var(--muted); font-size: 0.8rem; }

.header-contact {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 180ms ease, transform 180ms ease;
}
.header-contact:hover { border-color: var(--blue-500); transform: translateY(-1px); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding-block: 92px 105px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue-500);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 6px rgba(215, 166, 75, 0.15);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  max-width: 770px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  font-weight: 500;
}

h1 em { color: var(--blue-500); font-style: normal; }
.lead {
  max-width: 730px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 26px rgba(8, 27, 53, 0.19);
}
.button-primary:hover { box-shadow: 0 16px 32px rgba(8, 27, 53, 0.25); }
.button-secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); }
.button-secondary:hover { background: var(--white); }

.journey-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 75% 22%, rgba(31, 111, 255, 0.30), transparent 17rem),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
  background-size: 30px 30px, 30px 30px, auto, auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 65px rgba(6, 23, 45, 0.25);
}

.journey-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(120, 168, 255, 0.22);
  border-radius: 50%;
}

.journey-header {
  display: flex;
  justify-content: space-between;
  padding: 24px 26px 18px;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-map { position: relative; min-height: 395px; padding: 10px; }
.journey-map svg { position: absolute; inset: 48px 15px auto; width: calc(100% - 30px); height: auto; }
.route { fill: none; stroke-linecap: round; }
.route-shadow { stroke: rgba(0,0,0,0.25); stroke-width: 15; }
.route-main {
  stroke: url(#none);
  stroke: var(--blue-300);
  stroke-width: 5;
  stroke-dasharray: 10 13;
  animation: routeMove 16s linear infinite;
}
.node { stroke: var(--navy-950); stroke-width: 6; }
.node-tech { fill: var(--blue-500); }
.node-business { fill: var(--gold-500); }
.node-law { fill: #d7dfec; }
.node-now { fill: var(--white); filter: drop-shadow(0 0 12px rgba(120,168,255,0.75)); }

.map-label {
  position: absolute;
  display: grid;
  width: 155px;
  gap: 4px;
}
.map-label strong { font-size: 0.9rem; }
.map-label span { color: rgba(255,255,255,0.62); font-size: 0.72rem; line-height: 1.35; }
.label-tech { left: 24px; bottom: 35px; }
.label-business { left: 26%; top: 38px; }
.label-law { left: 55%; bottom: 36px; }
.label-now { right: 19px; top: 40px; text-align: right; }

@keyframes routeMove { to { stroke-dashoffset: -460; } }

.project-section {
  padding-block: 96px 105px;
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 760px; }
.section-heading h2,
.contact-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 500;
}
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.feature-card {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 111, 255, 0.35);
  box-shadow: 0 22px 45px rgba(6, 23, 45, 0.09);
}
.feature-number { color: var(--blue-500); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.feature-card h3 { margin: 38px 0 12px; font-size: 1.3rem; }
.feature-card p { color: var(--muted); }

.contact-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
  padding: clamp(32px, 5vw, 62px);
  color: var(--white);
  background:
    radial-gradient(circle at 87% 20%, rgba(31, 111, 255, 0.35), transparent 18rem),
    var(--navy-900);
  border-radius: var(--radius-lg);
}
.contact-panel .section-kicker { color: var(--blue-300); }
.contact-panel h2 { margin: 0; max-width: 780px; }
.email-link {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.22);
  text-decoration: none;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.email-link:hover { color: var(--blue-300); }

.site-footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

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

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-block: 72px 85px; }
  .journey-card { min-height: 430px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 22px; }
  .contact-panel { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 640px) {
  .site-shell { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .site-header,
  .hero,
  .project-section,
  .contact-panel,
  .site-footer { width: min(calc(100% - 32px), var(--content)); }
  .site-header { min-height: 82px; }
  .identity-copy span { display: none; }
  .header-contact { padding: 9px 13px; }
  .hero { min-height: auto; gap: 48px; padding-block: 58px 72px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .journey-card { min-height: 520px; }
  .journey-map svg { inset-top: 90px; transform: rotate(90deg) scale(0.75); }
  .journey-map svg { top: 110px; left: -45px; width: 112%; }
  .map-label { width: 145px; }
  .label-tech { left: 34px; top: 72px; bottom: auto; }
  .label-business { left: auto; right: 28px; top: 165px; text-align: right; }
  .label-law { left: 34px; bottom: 116px; }
  .label-now { right: 28px; top: auto; bottom: 30px; }
  .project-section { padding-block: 72px 80px; }
  .contact-panel { width: calc(100% - 32px); margin-bottom: 16px; border-radius: 22px; }
  .site-footer { min-height: 120px; flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
}

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