/* Your DSP Consultancy LLC */
:root {
  --navy: #0b1f3a;
  --navy-2: #122a4a;
  --ink: #071224;
  --gold: #c99212;
  --gold-2: #e0b03a;
  --cream: #f3eee4;
  --paper: #f7f5f1;
  --white: #ffffff;
  --muted: #5a6776;
  --line: rgba(11, 31, 58, 0.10);
  --shadow: 0 14px 36px rgba(7, 18, 36, 0.10);
  --radius: 16px;
  --max: 1120px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 16px; height: 1.5px;
  background: var(--gold);
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; letter-spacing: -0.025em; }
h1 { font-size: clamp(1.85rem, 4.4vw, 3.15rem); line-height: 1.12; font-weight: 560; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); line-height: 1.2; font-weight: 560; }
h3 { font-size: 1.08rem; font-weight: 560; line-height: 1.3; }
.lede { font-size: 1.02rem; color: var(--muted); max-width: 560px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 0.9rem; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(201,146,18,.24);
}
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(7, 18, 36, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; }
.brand img {
  width: 36px; height: 36px; object-fit: contain;
  border-radius: 8px; background: #fff; flex-shrink: 0;
  padding: 2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 13px; letter-spacing: 0.06em; }
.brand-text span { font-size: 9px; letter-spacing: 0.16em; color: var(--gold-2); font-weight: 700; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: rgba(255,255,255,.82); font-size: 13.5px; font-weight: 500; }
nav a:hover { color: #fff; }
nav a.active { color: var(--gold-2); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero — controlled height, not full-screen photo dump */
.hero {
  position: relative;
  min-height: 520px;
  height: min(68vh, 620px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,18,36,.28) 0%, rgba(7,18,36,.55) 48%, rgba(7,18,36,.92) 100%),
    linear-gradient(90deg, rgba(7,18,36,.62) 0%, rgba(7,18,36,.18) 58%, transparent 80%);
}
.hero-content { position: relative; padding: 48px 0 36px; }
.hero h1 { max-width: 720px; margin: 10px 0 12px; }
.hero .lede { color: rgba(255,255,255,.78); font-size: 0.98rem; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-metrics div strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--gold-2);
  line-height: 1.2;
}
.hero-metrics div span { font-size: 12px; color: rgba(255,255,255,.68); display: block; margin-top: 4px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 620px; margin-bottom: 36px; }
.section-head h2 { margin: 8px 0 10px; }
.alt { background: #fff; }
.navy {
  background: radial-gradient(900px 420px at 8% -20%, #1a3a63, var(--navy));
  color: #fff;
}
.navy .lede { color: rgba(255,255,255,.72); }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: center;
}
.grid-2.reverse { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card.dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: #fff; }
.icon-pill {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--cream); color: var(--navy);
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.92rem; }
.card.dark p { color: rgba(255,255,255,.72); }

/* Images: locked ratio so nothing blows up the layout */
.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: #d9dee6;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-frame.wide { aspect-ratio: 16 / 10; }
.photo-frame.soft { box-shadow: none; border: 1px solid var(--line); }

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  color: var(--gold);
  line-height: 1.1;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 650; list-style: none; font-size: 0.98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 8px; font-size: 0.94rem; }

form { display: grid; gap: 12px; }
label { font-size: 12.5px; font-weight: 650; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: 15px;
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12.5px; color: var(--muted); }
.success {
  display: none; background: #e8f6ec; color: #14532d; padding: 12px 14px; border-radius: 10px;
}

footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 44px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 28px;
}
footer h4 {
  color: #fff; margin-bottom: 10px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
}
footer a { display: block; margin: 5px 0; color: rgba(255,255,255,.7); font-size: 13.5px; }
footer a:hover { color: var(--gold-2); }
footer p { font-size: 13.5px; }
.legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;
  font-size: 12px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 36px;
}
.page-hero h1 { max-width: 760px; }
.page-hero .lede { color: rgba(255,255,255,.74); margin-top: 10px; }

.list-check { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.list-check li { padding-left: 22px; position: relative; font-size: 0.96rem; }
.list-check li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--gold); font-weight: 800; font-size: 0.85rem;
}

@media (max-width: 900px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--ink); padding: 16px 20px 22px; gap: 14px;
  }
  .nav-toggle { display: block; }
  .grid-2, .grid-2.reverse, .grid-3, .grid-4, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .hero { height: auto; min-height: 0; }
  .hero-content { padding: 36px 0 28px; }
  section { padding: 48px 0; }
  .photo-frame { aspect-ratio: 16 / 11; max-height: 280px; }
  .page-hero { padding: 36px 0 28px; }
}
