/* ==================================================================
   Sloan Financial Solutions
   Boutique private-advisory look: deep navy, warm cream, brass gold,
   real photography, editorial serif headlines.
   ================================================================== */

:root {
  --navy-900: #0f2131;
  --navy-800: #13283a;
  --navy-700: #1b3448;
  --navy-600: #24435b;
  --cream: #f6f2ea;
  --cream-2: #efe8db;
  --sand: #e4d8c3;
  --paper: #fffdf9;
  --ink: #1d2b36;
  --muted: #5d6a74;
  --muted-2: #8b959c;
  --gold: #c19a5b;
  --gold-2: #d8b97f;
  --gold-3: #f0e2c3;
  --line: rgba(19, 40, 58, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 6px 18px rgba(15, 33, 49, 0.06);
  --shadow: 0 22px 50px rgba(15, 33, 49, 0.12);
  --shadow-lg: 0 34px 80px rgba(15, 33, 49, 0.22);
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy-800);
}

h1 em, h2 em {
  font-style: italic;
  color: var(--gold);
}

p { margin: 0 0 1em; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; }

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

.section { padding: 110px 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.kicker-light { color: var(--gold-2); }

.section-head { max-width: 720px; margin-bottom: 56px; }

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-head h2,
.about-copy h2,
.faq-aside h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.section-intro {
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.section-head.center .section-intro { margin-left: auto; margin-right: auto; max-width: 560px; }

.section-intro a {
  color: var(--navy-800);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-2);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.button-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy-900);
  box-shadow: 0 12px 26px rgba(193, 154, 91, 0.35);
}

.button-gold:hover { box-shadow: 0 16px 32px rgba(193, 154, 91, 0.45); }

.button-primary {
  background: var(--navy-800);
  color: #fff;
}

.button-primary:hover { background: var(--navy-900); }

.button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.button-nav { min-height: 44px; padding: 0 20px; font-size: 0.88rem; }

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 33, 49, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold-2);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-2);
}

.brand-text { display: inline-flex; flex-direction: column; line-height: 1.15; }

.brand-text strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.08rem;
  white-space: nowrap;
  color: #fff;
}

.brand-text small {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.main-nav { display: flex; align-items: center; gap: 2px; }

.nav-item { position: relative; }

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-trigger:hover,
.nav-link:hover,
.nav-item.open .nav-trigger {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chevron { width: 13px; height: 13px; transition: transform 0.2s ease; }

.nav-item.open .chevron { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 300px;
  padding: 10px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  transform: rotate(45deg);
}

.nav-item.open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-menu a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.nav-menu a:hover { background: var(--cream-2); }

.nav-menu strong { font-size: 0.94rem; font-weight: 600; color: var(--navy-800); }

.nav-menu span { font-size: 0.8rem; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }

.text-link { font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.86); }

.text-link:hover { color: #fff; }

.login-link { color: rgba(255, 255, 255, 0.6); }

.phone-link { font-weight: 600; color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span { display: block; height: 1.5px; background: #fff; transition: transform 0.2s ease, opacity 0.2s ease; }

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.placeholder-hit { animation: placeholderShake 0.4s ease; }

@keyframes placeholderShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 80px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
  animation: heroZoom 18s ease-out both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy-800) 0%, rgba(19, 40, 58, 0.75) 22%, rgba(19, 40, 58, 0.1) 60%, rgba(19, 40, 58, 0) 100%),
    linear-gradient(0deg, rgba(15, 33, 49, 0.45), transparent 40%);
}

.hero::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -30%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(216, 185, 127, 0.14), transparent 60%);
  pointer-events: none;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: 90px 0 120px;
}

.hero-copy { max-width: 620px; }

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.04;
  color: #fff;
}

.hero-copy h1 em { color: var(--gold-2); }

.lead {
  margin: 26px 0 0;
  max-width: 540px;
  font-size: 1.14rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-note {
  position: absolute;
  right: 0;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 380px;
  padding: 18px 22px;
  background: rgba(255, 253, 249, 0.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border: 2px solid var(--gold-2);
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-2);
}

.hero-note-quote {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--navy-800);
}

.hero-note-name {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   Credentials strip
   ------------------------------------------------------------------ */

.creds {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.creds-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cred {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
}

.cred:first-child { padding-left: 0; }
.cred:last-child { border-right: 0; }

.cred svg { flex: none; width: 34px; height: 34px; color: var(--gold); }

.cred strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--navy-800);
}

.cred span { display: block; font-size: 0.84rem; line-height: 1.4; color: var(--muted); }

/* ------------------------------------------------------------------
   About
   ------------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-media { position: relative; }

.about-media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold-2);
  border-radius: var(--radius);
}

.about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  right: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--navy-800);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #fff;
}

.about-badge strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-2);
}

.about-badge span { font-size: 0.86rem; line-height: 1.35; color: rgba(255, 255, 255, 0.82); }

.about-copy h2 { margin-bottom: 24px; }

.about-copy p { font-size: 1.06rem; color: var(--muted); }

.about-sign { display: flex; flex-direction: column; margin-top: 26px; }

.signature {
  font-family: var(--script);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--navy-800);
}

.about-sign-caption {
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   Services
   ------------------------------------------------------------------ */

.services { background: var(--cream-2); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 30px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--gold-3);
  color: var(--navy-800);
  transition: background 0.3s ease, color 0.3s ease;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card:hover .service-icon { background: var(--navy-800); color: var(--gold-2); }

.service-card h3 { margin-bottom: 12px; font-size: 1.42rem; }

.service-card p { flex: 1; font-size: 0.97rem; color: var(--muted); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
}

.card-link span { transition: transform 0.2s ease; color: var(--gold); }

.card-link:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------------
   Who we serve (tabs)
   ------------------------------------------------------------------ */

.serve-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: 40px;
  background: var(--cream-2);
  border-radius: 999px;
}

.serve-tab {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.serve-tab:hover { color: var(--navy-800); }

.serve-tab[aria-selected="true"] {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.serve-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  animation: panelIn 0.45s ease both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.serve-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.serve-copy h3 { margin-bottom: 16px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

.serve-copy > p { font-size: 1.05rem; color: var(--muted); }

.checks { display: grid; gap: 14px; margin-top: 26px; }

.checks li {
  position: relative;
  padding: 14px 18px 14px 52px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--serif);
  font-size: 1.04rem;
  color: var(--navy-800);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gold-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23a07a3c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ------------------------------------------------------------------
   Process
   ------------------------------------------------------------------ */

.process {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
}

.process::before {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -40%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(216, 185, 127, 0.12), transparent 60%);
}

.process h2,
.process h3 { color: #fff; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-2), rgba(216, 185, 127, 0.25));
}

.timeline li { position: relative; }

.t-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 1px solid var(--gold-2);
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-2);
  box-shadow: 0 0 0 8px var(--navy-800);
}

.timeline h3 { margin-bottom: 10px; font-size: 1.5rem; }

.timeline p { margin: 0; color: rgba(255, 255, 255, 0.72); }

/* ------------------------------------------------------------------
   Team
   ------------------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.team-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 4.2;
  background:
    radial-gradient(circle at 50% 35%, rgba(216, 185, 127, 0.25), transparent 55%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: var(--gold-2);
}

.team-photo span {
  font-family: var(--serif);
  font-size: 3rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-photo-dog svg { width: 84px; height: 84px; }

.team-info { padding: 22px 22px 26px; }

.team-info h3 { font-size: 1.32rem; }

.team-role {
  margin: 4px 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}

.team-bio { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* ------------------------------------------------------------------
   Client notes
   ------------------------------------------------------------------ */

.notes {
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 185, 127, 0.18), transparent 40%),
    var(--cream-2);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding-top: 10px;
}

.note-card {
  position: relative;
  margin: 0;
  padding: 40px 32px 28px;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.note-card:nth-child(1) { transform: rotate(-1.4deg); }
.note-card:nth-child(2) { transform: rotate(1deg) translateY(14px); }
.note-card:nth-child(3) { transform: rotate(-0.6deg); }

.note-card:hover { transform: rotate(0) translateY(-4px); }

.note-card::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 76px;
  height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(216, 185, 127, 0.6);
}

.note-card blockquote { margin: 0 0 18px; }

.note-card blockquote p {
  margin: 0;
  font-family: var(--script);
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--navy-700);
}

.note-card figcaption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.faq-aside { position: sticky; top: 120px; }

.faq-img {
  width: 100%;
  margin-top: 34px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] { border-color: var(--gold-2); box-shadow: var(--shadow); }

.faq-item summary {
  position: relative;
  padding: 22px 64px 22px 26px;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--navy-800);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gold-3);
  font-family: var(--sans);
  font-size: 1.15rem;
  color: var(--navy-800);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--navy-800);
  color: var(--gold-2);
}

.faq-answer { padding: 0 26px 24px; }

.faq-answer p { margin: 0; color: var(--muted); }

.faq-answer a { color: var(--navy-800); font-weight: 600; border-bottom: 1px solid var(--gold-2); }

/* ------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------ */

.contact {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  color: #fff;
  background: var(--navy-900);
}

.contact-bg { position: absolute; inset: 0; }

.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 33, 49, 0.95) 0%, rgba(15, 33, 49, 0.82) 45%, rgba(15, 33, 49, 0.55) 100%);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.contact-copy h2 { color: #fff; }

.contact-copy h2 em { color: var(--gold-2); }

.contact-copy p {
  margin: 20px 0 0;
  max-width: 520px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  margin: 0;
  display: grid;
  gap: 22px;
  padding: 36px;
  background: rgba(255, 253, 249, 0.97);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.contact-card div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }

.contact-card div:last-child { padding-bottom: 0; border-bottom: 0; }

.contact-card dt {
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-card dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy-800);
}

.contact-card dd a:hover { color: var(--gold); }

.contact-card small {
  display: block;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--muted-2);
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.site-footer {
  padding: 72px 0 32px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-tagline { margin: 18px 0 0; max-width: 290px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.55); }

.footer-title {
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.site-footer ul { display: grid; gap: 10px; font-size: 0.94rem; }

.site-footer ul a:hover { color: #fff; }

.footer-compliance {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}

.compliance-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 16px; }

.compliance-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.compliance-link:hover { border-color: var(--gold-2); }

.disclosure { margin: 0; max-width: 940px; font-size: 0.78rem; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }

.disclosure strong { color: rgba(255, 255, 255, 0.75); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom p { margin: 0; }

.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------------
   Legal page
   ------------------------------------------------------------------ */

.legal-page { padding: 72px 0 96px; }

.legal-wrap { max-width: 740px; }

.legal-wrap .eyebrow {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.legal-wrap h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); margin-bottom: 10px; }

.legal-updated {
  margin-bottom: 36px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-wrap h2 { margin: 36px 0 10px; font-size: 1.45rem; }

.legal-wrap p, .legal-wrap li { color: var(--muted); }

.legal-wrap ul { padding-left: 20px; list-style: disc; }

.legal-wrap a { color: var(--navy-800); font-weight: 600; border-bottom: 1px solid var(--gold-2); }

/* ------------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

.js .note-card.reveal.is-visible:nth-child(1) { transform: rotate(-1.4deg); }
.js .note-card.reveal.is-visible:nth-child(2) { transform: rotate(1deg) translateY(14px); }
.js .note-card.reveal.is-visible:nth-child(3) { transform: rotate(-0.6deg); }
.js .note-card.reveal.is-visible:hover { transform: rotate(0) translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1320px) {
  .nav-actions .login-link { display: none; }
}

@media (max-width: 1140px) {
  .nav-actions .phone-link { display: none; }
  .service-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred:nth-child(2) { border-right: 0; }
  .cred:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cred:nth-child(3) { padding-left: 0; }
  .about-badge { right: 16px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 24px 24px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .site-header.nav-open .main-nav { display: flex; }

  .nav-trigger, .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 8px;
    font-size: 1.02rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu {
    position: static;
    min-width: 0;
    padding: 6px 0 10px;
    background: transparent;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu::before { display: none; }

  .nav-item.open .nav-menu { display: grid; }

  .nav-menu a:hover { background: rgba(255, 255, 255, 0.06); }
  .nav-menu strong { color: #fff; }
  .nav-menu span { color: rgba(255, 255, 255, 0.55); }

  .hero { min-height: 0; }

  .hero-media { width: 100%; }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(19, 40, 58, 0.82) 0%, rgba(19, 40, 58, 0.9) 60%, var(--navy-800) 100%);
  }

  .hero-inner { padding: 80px 0 64px; }

  .hero-note { position: relative; right: auto; bottom: auto; margin-top: 48px; }

  .about-grid, .serve-panel, .faq-grid, .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .about-media { max-width: 560px; }

  .faq-aside { position: static; }

  .faq-img { display: none; }

  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }

  .timeline::before { display: none; }

  .notes-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1200px); }

  .nav-wrap { min-height: 70px; gap: 10px; }

  .brand-mark { width: 36px; height: 36px; font-size: 1.1rem; }

  .brand-text strong { font-size: 0.98rem; }

  .brand-text small { display: none; }

  .button-nav { display: none; }

  .hero-inner { padding: 60px 0 48px; }

  .hero-actions .button { width: 100%; }

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

  .cred, .cred:first-child, .cred:nth-child(3) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }

  .cred:last-child { border-bottom: 0; }

  .about-media::before { inset: -10px 10px 10px -10px; }

  .about-badge { right: 12px; bottom: 16px; padding: 14px 16px; }

  .about-badge strong { font-size: 2rem; }

  .service-grid, .team-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }

  .serve-tabs { display: flex; border-radius: 18px; }

  .serve-tab { flex: 1 1 100%; border-radius: 12px; text-align: left; }

  .contact { padding: 84px 0; }

  .contact-card { padding: 26px; }

  .compliance-links { flex-direction: column; }

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

  .section { padding: 68px 0; }
}
