/* Sightline Search LLC — site styles
   Palette sampled from logo: navy ~#0b1428 / #040e21, silver ~#d8d8e0 */

:root {
  --navy: #0b1428;
  --navy-deep: #040e21;
  --navy-mid: #121c32;
  --navy-elevated: #182338;
  --navy-border: #2a3650;
  --silver: #d8d8e0;
  --silver-bright: #eceef4;
  --silver-mid: #a8adb8;
  --silver-dim: #7a8294;
  --white: #f5f6fa;
  --text: #e4e6ee;
  --text-muted: #a8adb8;
  --focus: #c8cad8;
  --danger: #c97a7a;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --header-h: 72px;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, sans-serif;
  --font-script: "Great Vibes", cursive;
  --grad-silver: linear-gradient(135deg, #9aa0ae 0%, #e8eaf0 45%, #b8bdc8 70%, #f2f3f7 100%);
  --grad-btn: linear-gradient(135deg, #c5c8d2 0%, #eceef4 50%, #b0b5c2 100%);
  --line: linear-gradient(90deg, transparent, rgba(216, 216, 224, 0.55), transparent);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-deep);
  min-height: 100vh;
}

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

a {
  color: var(--silver-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.25;
  color: var(--silver-bright);
  letter-spacing: 0.04em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); letter-spacing: 0.06em; font-weight: 500; }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
h3 { font-size: 1.15rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--silver);
  font-size: 1.35em;
}

.sightline {
  display: block;
  height: 1px;
  width: 100%;
  max-width: 180px;
  margin: 1.25rem 0 0;
  background: var(--line);
  border: 0;
}
.sightline.center { margin-inline: auto; }
.sightline.wide { max-width: 320px; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 14, 33, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 54, 80, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-link img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 0.5px rgba(232, 234, 242, 0.35));
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.5rem;
}

.nav a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silver-mid);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--silver-bright);
  border-bottom-color: rgba(216, 216, 224, 0.45);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  color: var(--silver);
  width: 44px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--silver);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--silver);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--grad-btn);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(200, 205, 220, 0.15);
}
.btn-primary:hover {
  color: var(--navy-deep);
  box-shadow: 0 6px 28px rgba(200, 205, 220, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--silver-bright);
  border-color: rgba(216, 216, 224, 0.4);
}
.btn-ghost:hover {
  background: rgba(216, 216, 224, 0.08);
  color: #fff;
  border-color: var(--silver);
}

.btn-block { width: 100%; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(60, 80, 120, 0.22), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18%;
  height: 1px;
  background: var(--line);
  z-index: -1;
  opacity: 0.7;
}
.hero-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 1.25rem;
}
.hero h1 {
  margin-bottom: 0.35em;
  color: var(--silver-bright);
}
.hero-tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--silver-mid);
  margin: 0 auto 2rem;
  max-width: 36em;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
}
.section-alt {
  background: var(--navy);
  border-top: 1px solid rgba(42, 54, 80, 0.5);
  border-bottom: 1px solid rgba(42, 54, 80, 0.5);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}
.section-head p { margin-top: 0.75rem; }

/* —— Split paths —— */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.path-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-silver);
  opacity: 0.7;
}
.path-card h3 { margin: 0; }
.path-card p { flex: 1; }
.path-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--silver);
  letter-spacing: 0.22em;
  line-height: 1.2;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.step-num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.step-num::before,
.step-num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(216, 216, 224, 0.35);
}
.step-ring {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(216, 216, 224, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--silver-bright);
  background: rgba(24, 35, 56, 0.6);
}
.step h3 { margin-bottom: 0.5rem; }

/* —— Values —— */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  background: var(--navy-elevated);
}
.value-icon {
  width: 36px;
  height: 2px;
  background: var(--grad-silver);
  margin-bottom: 1.1rem;
  border-radius: 1px;
}

/* —— CTA band —— */
.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(80, 100, 140, 0.18), transparent 70%),
    var(--navy-mid);
  position: relative;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  height: 1px;
  background: var(--line);
}
.cta-band::before { top: 0.75rem; }
.cta-band::after { bottom: 0.75rem; }
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { margin-bottom: 1.5rem; max-width: 36em; margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(50, 70, 110, 0.2), transparent 65%),
    var(--navy);
  border-bottom: 1px solid rgba(42, 54, 80, 0.5);
}
.page-hero h1 { margin-bottom: 0.4em; }
.page-hero p {
  max-width: 40em;
  margin-inline: auto;
  font-size: 1.1rem;
}

/* —— Service cards —— */
.service-list {
  display: grid;
  gap: 1.25rem;
}
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  align-items: start;
}
.service-mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(216, 216, 224, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-mark svg { width: 22px; height: 22px; stroke: var(--silver); fill: none; stroke-width: 1.5; }

/* —— Forms —— */
.form-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-mid);
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder, textarea::placeholder { color: var(--silver-dim); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--silver-mid);
  box-shadow: 0 0 0 3px rgba(168, 173, 184, 0.15);
}
textarea { min-height: 130px; resize: vertical; }
option {
  background: #0b1428;
  color: #e4e6ee;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8adb8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
input[type="file"] {
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--silver-mid);
}
.form-note {
  font-size: 0.9rem;
  color: var(--silver-dim);
  margin-top: 0.5rem;
}
.form-actions { margin-top: 0.5rem; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

/* —— Contact info —— */
.contact-details {
  display: grid;
  gap: 1.25rem;
}
.contact-item {
  padding: 1.25rem 1.35rem;
  background: var(--navy-elevated);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
}
.contact-item h3 {
  font-size: 0.72rem;
  margin-bottom: 0.4rem;
  color: var(--silver-dim);
}
.contact-item a, .contact-item p {
  color: var(--silver-bright);
  text-decoration: none;
  font-size: 1.05rem;
  margin: 0;
}
.contact-item a:hover { color: #fff; }

/* —— About —— */
.about-block {
  max-width: 720px;
  margin-inline: auto;
}
.about-close {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 2rem 0 0.5rem;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  text-align: center;
  color: var(--silver-bright);
  line-height: 1.3;
}

.placeholder {
  background: rgba(200, 180, 100, 0.08);
  border: 1px dashed rgba(200, 180, 100, 0.45);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: #e0d4a8;
  font-size: 0.95rem;
  margin: 1rem 0;
}
.placeholder strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9b86a;
  margin-bottom: 0.35rem;
}

.confidentiality {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: rgba(24, 35, 56, 0.8);
  border-left: 2px solid rgba(216, 216, 224, 0.45);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.confidentiality svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--silver);
  fill: none;
  stroke-width: 1.5;
  margin-top: 0.15rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid rgba(42, 54, 80, 0.7);
  padding: 2.5rem 0 2rem;
  background: var(--navy-deep);
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 0.75rem; opacity: 0.9; }
.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silver-dim);
}
.footer-nav a:hover { color: var(--silver); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42, 54, 80, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--silver-dim);
}
.footer-bottom a { color: var(--silver-mid); text-decoration: none; }
.footer-bottom a:hover { color: var(--silver); }

/* —— Utility —— */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* —— Responsive —— */
@media (max-width: 860px) {
  .split-grid,
  .steps,
  .values,
  .two-col {
    grid-template-columns: 1fr;
  }
  .form-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(4, 14, 33, 0.98);
    border-bottom: 1px solid var(--navy-border);
    padding: 0.5rem 1.25rem 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(42, 54, 80, 0.5);
  }
  .site-header {
    position: sticky;
  }
}

@media (max-width: 480px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .logo-link img { height: 38px; }
}
