:root {
  --bg: #081424;
  --bg-soft: #0b1a2e;
  --surface: #0f2040;
  --surface-alt: #132444;
  --surface-blue: #162848;
  --surface-silver: #1a2e52;
  --line: #243858;
  --line-strong: #2e4d78;
  --silver: #3d5878;
  --silver-strong: #4d6e92;
  --silver-shine: #1a2e50;
  --text: #dce8f8;
  --muted: #7da0c8;
  --blue: #6aafe8;
  --blue-2: #5090d0;
  --accent: #1a3060;
  --accent-soft: #122444;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.40);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(80, 140, 220, 0.10), transparent 28%),
    linear-gradient(180deg, #091422 0%, #060e1a 100%);
}

body::before {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background:
    linear-gradient(90deg, rgba(8, 22, 48, 0.97), rgba(10, 26, 55, 0.98) 20%, rgba(12, 30, 62, 0.99) 55%, rgba(10, 26, 55, 0.98) 100%);
  border-bottom: 2px solid var(--silver-strong);
  box-shadow: 0 10px 28px rgba(17, 34, 51, 0.07);
  overflow: hidden;
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver-strong), transparent);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(100, 160, 230, 0.15), var(--silver-strong), rgba(100, 160, 230, 0.10));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  position: relative;
}

.nav-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(188, 199, 212, 0.8), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 272px;
  height: 112px;
  padding: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo {
  display: block;
  max-width: 272px;
  max-height: 192px;
  width: auto;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-script {
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.brand-name {
  font-family: "Merriweather", serif;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--silver-strong);
  border-radius: 999px;
  background:
    linear-gradient(180deg, #162444 0%, #0f1c36 48%, #0a1428 100%);
  justify-self: center;
  box-shadow:
    inset 0 1px 0 rgba(100, 160, 240, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(60, 100, 170, 0.30),
    0 6px 18px rgba(0, 0, 0, 0.30);
}

.main-nav a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
}

.main-nav a.is-active,
.main-nav a:hover {
  background: linear-gradient(180deg, #1e3a6e, #142d58);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(100, 160, 240, 0.20),
    0 0 0 1px rgba(80, 120, 200, 0.40);
}

.call-pill,
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.call-pill {
  border: 1px solid var(--silver-strong);
  background:
    linear-gradient(180deg, #162444 0%, #0f1c36 52%, #0a1428 100%);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(80, 120, 180, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.30);
  font-size: 0.9rem;
  white-space: nowrap;
}

.button:hover,
.call-pill:hover {
  transform: translateY(-1px);
}

.call-pill:hover {
  border-color: var(--silver);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(150, 164, 181, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 8px 18px rgba(168, 182, 199, 0.22);
}

.button-primary {
  background: linear-gradient(180deg, #347dce, #1d5aa5);
  color: white;
  box-shadow: 0 10px 24px rgba(43, 111, 190, 0.24);
}

.button-secondary {
  border: 1px solid var(--silver);
  background: linear-gradient(180deg, #162444, var(--accent-soft));
  color: var(--text);
}

.button-block {
  width: 100%;
}

.hero-section,
.page-hero,
.section {
  position: relative;
  overflow: hidden;
}

.hero-section::after,
.page-hero::after,
.section::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}

.hero-section,
.page-hero {
  padding: 28px 0 18px;
}

.hero-layout,
.value-grid,
.two-column,
.process-grid,
.cta-panel {
  display: grid;
  gap: 20px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
  align-items: start;
}

.hero-copy,
.hero-card,
.page-hero-copy,
.info-card,
.mini-card,
.detail-card,
.content-panel,
.cta-panel {
  background: linear-gradient(180deg, #162444, #0f1c38);
  border: 1px solid var(--silver);
  box-shadow:
    inset 0 1px 0 rgba(100, 160, 240, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(60, 100, 160, 0.25),
    var(--shadow);
}

.hero-copy,
.hero-card,
.page-hero-copy {
  padding: 28px;
  border-radius: 22px;
}

.eyebrow,
.card-kicker,
.service-tag {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Merriweather", serif;
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.18;
  max-width: 15ch;
}

.page-hero-copy h1 {
  max-width: 16ch;
}

.lead,
.info-card p,
.mini-card p,
.detail-copy p,
.content-panel p,
.contact-list p,
.contact-stack p,
.feature-band span {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: 0.98rem;
}

.hero-summary {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--silver);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-alt), var(--surface-blue));
  box-shadow:
    inset 0 1px 0 rgba(100, 160, 240, 0.10),
    0 0 0 1px rgba(60, 100, 160, 0.20);
}

.hero-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-summary strong {
  color: var(--text);
}

.subtle {
  color: var(--muted);
}

.action-row,
.cta-actions,
.action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.feature-band,
.service-grid,
.mini-grid {
  display: grid;
  gap: 20px;
}

.feature-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.feature-band div,
.contact-stack div {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-alt), var(--surface-blue));
  border: 1px solid var(--silver);
  box-shadow:
    inset 0 1px 0 rgba(100, 160, 240, 0.10),
    0 0 0 1px rgba(60, 100, 160, 0.20);
}

.feature-band strong,
.contact-stack a,
.contact-list span {
  display: block;
  color: var(--text);
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.contact-stack span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-stack a {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-word;
}

.section,
.page-hero {
  padding-bottom: 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.split-heading h2,
.value-grid h2,
.process-grid h2,
.content-panel h2,
.cta-panel h2,
.detail-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.28;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.text-link:hover {
  color: var(--blue-2);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.info-card,
.mini-card,
.detail-card,
.content-panel {
  padding: 22px;
  border-radius: 20px;
}

.info-card h3,
.mini-card h3,
.content-panel h3 {
  margin-top: 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: none;
}

.section-dark {
  background: linear-gradient(180deg, #0d1f3c 0%, #091528 100%);
}

.section-dark .eyebrow {
  color: var(--blue);
}

.section-dark .mini-card,
.section-dark .content-panel,
.cta-panel {
  background: linear-gradient(180deg, #1e3260, #132248);
}

.hero-card {
  background: linear-gradient(180deg, #1a2e58, #0f1e3c);
}

.feature-band strong,
.contact-stack a,
.contact-list span,
.brand-name {
  text-shadow: 0 0 0.01px rgba(199, 209, 221, 0.8);
}

.value-grid,
.two-column {
  grid-template-columns: 1.1fr 0.9fr;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stacked-cards {
  display: grid;
  gap: 16px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.75fr);
  align-items: start;
  gap: 18px;
}

.cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
}

.contact-list p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list p:last-child {
  border-bottom: 0;
}

.contact-list span {
  min-width: 120px;
  margin-right: 12px;
  display: inline-block;
  font-weight: 700;
}

.site-footer {
  padding: 10px 0 24px;
  margin-top: 8px;
  border-top: 2px solid var(--silver-strong);
  background:
    linear-gradient(90deg, rgba(8, 20, 45, 0.97), rgba(10, 24, 52, 0.98) 45%, rgba(12, 28, 58, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Intake form styles */
.intake-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--blue);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--silver);
  background: linear-gradient(180deg, #0f1c38, #091422);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--silver);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(80, 144, 208, 0.18);
}

.form-field select option {
  background: #0f1c38;
  color: var(--text);
}

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

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

@media (max-width: 1080px) {
  .nav-wrap {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .value-grid,
  .two-column,
  .detail-card,
  .cta-panel,
  .service-grid,
  .mini-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .split-heading {
    align-items: start;
    flex-direction: column;
  }

  .brand-logo-wrap {
    width: 220px;
    height: 92px;
  }

  .brand-logo {
    max-width: 220px;
    max-height: 154px;
  }

  .main-nav,
  .call-pill {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    position: static;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: 18px;
  }

  .hero-copy,
  .hero-card,
  .page-hero-copy,
  .info-card,
  .mini-card,
  .detail-card,
  .content-panel,
  .cta-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo-wrap {
    width: 150px;
    height: 64px;
  }

  .brand-logo {
    max-width: 150px;
    max-height: 106px;
  }

  .brand-script {
    font-size: 0.75rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: none;
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .footer-wrap {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
