/* Dampier Investment Advisors — Marketing Site Mockups
   Deep Navy #0A1929 · Rich Gold #D4AF37 · Inter · Private-banking calm */

:root {
  --navy: #0A1929;
  --navy-deep: #061018;
  --navy-mid: #12263a;
  --navy-soft: #1a3348;
  --gold: #D4AF37;
  --gold-hover: #c4a030;
  --gold-muted: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.35);
  --white: #FFFFFF;
  --off-white: #F7F6F3;
  --warm-gray: #F5F5F5;
  --text: #1a2332;
  --text-muted: #5a6570;
  --text-on-dark: #e8eaed;
  --text-on-dark-muted: #a8b0b8;
  --border: #e2e5e9;
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 24px rgba(10, 25, 41, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 25, 41, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ——— Typography ——— */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 40rem;
}

.text-muted { color: var(--text-muted); }
.text-on-dark { color: var(--text-on-dark); }
.text-on-dark-muted { color: var(--text-on-dark-muted); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

.section-header {
  margin-bottom: 3rem;
  max-width: 40rem;
}
.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header.centered .lead { margin-left: auto; margin-right: auto; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-border);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
.btn-ghost:hover {
  background: var(--gold-muted);
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ——— Nav ——— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-brand img { height: 44px; width: auto; }
.nav-brand-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.nav-brand-text span {
  display: block;
  font-weight: 400;
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--warm-gray);
}
.nav-links a.active { color: var(--gold-hover); }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(26, 51, 72, 0.8) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-mid) 100%);
  pointer-events: none;
}

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

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.06);
  margin-bottom: 1.75rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.hero h1 .accent { color: var(--gold); }

.hero .lead {
  color: var(--text-on-dark-muted);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-creds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 52rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-dark);
}

.hero-cred {
  padding: 0;
}
.hero-cred-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gold-muted);
  color: var(--gold);
  margin-bottom: 0.875rem;
}
.hero-cred-icon svg { width: 18px; height: 18px; }
.hero-cred h3 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.hero-cred p {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(212, 175, 55, 0.07) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; max-width: 20ch; }
.page-hero .lead { color: var(--text-on-dark-muted); }

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}
.section-alt { background: var(--off-white); }
.section-navy {
  background: var(--navy);
  color: var(--text-on-dark);
}
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy .lead,
.section-navy .text-muted { color: var(--text-on-dark-muted); }

/* ——— Pathway cards ——— */
.pathway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pathway-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.pathway-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}
.pathway-card .pathway-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.pathway-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}
.pathway-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.pathway-card ul {
  margin-bottom: 2rem;
}
.pathway-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  color: var(--text);
}
.pathway-card li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 0.2rem;
}

/* ——— Feature / capability cards ——— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold-border);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gold-muted);
  color: var(--gold);
  margin-bottom: 1.125rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-card.dark {
  background: var(--navy-mid);
  border-color: var(--border-dark);
}
.feature-card.dark h3 { color: var(--white); }
.feature-card.dark p { color: var(--text-on-dark-muted); }

/* ——— How we work steps ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 0.5rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ——— Credibility bar ——— */
.cred-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.cred-item .cred-value {
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.cred-item .cred-label {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  line-height: 1.4;
}

/* ——— Split layout ——— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-reverse > :first-child { order: 2; }

.panel {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.panel-navy {
  background: var(--navy-mid);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}
.panel-navy h3 { color: var(--white); }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.975rem;
}
.check-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ——— Corridor cards ——— */
.corridor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.corridor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.corridor-card .corridor-flag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.corridor-card h3 { margin-bottom: 0.75rem; }
.corridor-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.corridor-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--warm-gray);
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ——— Team / about ——— */
.profile-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.profile-avatar {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold-border);
}
.profile-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.profile-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.profile-card p {
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

/* ——— Soft CTA band ——— */
.cta-band {
  padding: 4.5rem 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.875rem;
}
.cta-band p {
  color: var(--text-on-dark-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ——— Contact form ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 0.75rem; }
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.975rem;
}

.info-block {
  margin-bottom: 1.75rem;
}
.info-block .info-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.info-block p {
  font-size: 0.9375rem;
  color: var(--text);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group .hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6570' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.55;
}

.disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 1.25rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  margin-top: 2rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-dark-muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; opacity: 0.95; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 22rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  color: var(--text-on-dark-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.8125rem;
}
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--gold); }


.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  max-width: 52rem;
}

/* ——— Utilities ——— */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.divider-gold {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.divider-gold.centered { margin-left: auto; margin-right: auto; }

.quote-block {
  border-left: 3px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 1.5rem 0;
}
.quote-block p {
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
}

/* ——— Mobile ——— */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open .nav-cta { margin-left: 0; margin-top: 0.5rem; width: 100%; }
  .nav-links.open .nav-cta .btn { width: 100%; }
  .nav-toggle { display: block; }

  .hero-creds { grid-template-columns: 1fr; gap: 1.25rem; }
  .pathway-grid,
  .card-grid,
  .card-grid-2,
  .corridor-grid,
  .steps,
  .cred-bar,
  .split,
  .split-reverse > :first-child,
  .contact-layout,
  .footer-grid,
  .form-row,
  .profile-card {
    grid-template-columns: 1fr;
  }
  .split-reverse > :first-child { order: 0; }
  .profile-avatar { width: 120px; height: 120px; font-size: 2rem; }
  .section { padding: 3.5rem 0; }
  .hero { min-height: auto; padding: 6.5rem 0 3.5rem; }
  .page-hero { padding: 6.5rem 0 3rem; }
}
