/* Safe Haven Financial — brand palette pulled from logo assets */
:root{
  --navy: #17273f;
  --navy-2: #1f3352;
  --navy-deep: #0f1b2d;
  --gold: #c4a45f;
  --gold-light: #ddc48c;
  --cream: #faf6ee;
  --cream-2: #f2ebdc;
  --white: #ffffff;
  --ink: #23303f;
  --ink-soft: #5a6472;
  --shadow: 0 20px 40px -20px rgba(15, 27, 45, 0.35);
  --radius: 16px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3{ font-family: var(--serif); color: var(--navy); margin: 0 0 .5em; line-height: 1.15; }
p{ margin: 0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }

.wrap{ max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--navy); color:var(--white); padding:10px 16px; border-radius:8px; z-index:200;
}
.skip-link:focus{ left: 16px; top: 16px; }

.eyebrow{
  font-family: var(--sans);
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.78rem;
  color: var(--gold);
  margin-bottom: .75em;
}
.eyebrow.light{ color: var(--gold-light); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight:600;
  font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--gold); color: var(--navy-deep); box-shadow: var(--shadow); }
.btn-primary:hover{ transform: translateY(-2px); background: var(--gold-light); }
.btn-secondary{ background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover{ background: var(--navy); color:var(--white); }
.btn-ghost{ color: var(--navy); font-weight:600; border:1.5px solid var(--cream-2); background: var(--white); padding:.65em 1.2em; }
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); }

/* Header */
.site-header{
  position: sticky; top:0; z-index:100;
  background: rgba(250,246,238,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-2);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 24px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ border-radius:6px; }
.brand-name{ font-family: var(--serif); font-weight:600; font-size:1.15rem; color: var(--navy); }
.brand-name em{ font-style: normal; color: var(--gold); font-weight:500; }

.site-nav{ display:flex; gap:32px; }
.site-nav a{
  font-weight:600; font-size:.92rem; color: var(--ink-soft);
  position:relative; padding: 4px 0;
}
.site-nav a:hover{ color: var(--navy); }
.site-nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background: var(--gold); transition: width .2s ease;
}
.site-nav a:hover::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border-radius:8px; border:1px solid var(--cream-2);
  background: var(--white); cursor:pointer;
}
.nav-toggle span{ width:18px; height:2px; background: var(--navy); margin:0 auto; }

/* Hero */
.hero{
  padding: 76px 0 64px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(196,164,95,.16), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 100%);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items:center;
}
.hero h1{
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  letter-spacing: -.01em;
}
.hero-sub{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 8px; }

.hero-portrait{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.portrait-frame{
  position:relative;
  width: 280px; height: 280px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 60%, var(--navy));
  box-shadow: var(--shadow);
}
.portrait-frame img{
  width:100%; height:100%; object-fit:cover; border-radius:50%;
  border: 4px solid var(--cream);
}
.portrait-fallback{
  display:none;
  width:100%; height:100%; border-radius:50%;
  align-items:center; justify-content:center;
  background: linear-gradient(160deg, var(--navy-2), var(--navy-deep));
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 4rem;
  border: 4px solid var(--cream);
}
.portrait-frame.no-photo .portrait-fallback{ display:flex; }
.portrait-caption{ margin-top: 18px; font-size: .98rem; color: var(--ink-soft); }
.portrait-caption span{ color: var(--gold); font-weight:600; font-size:.85rem; letter-spacing:.03em; }

/* Trust strip */
.trust-strip{ background: var(--navy); color: var(--cream); padding: 16px 0; }
.trust-inner{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 10px 14px;
  font-size: .86rem; font-weight:600; letter-spacing:.02em;
  text-align:center;
}
.trust-inner .dot{ color: var(--gold); }

/* About */
.about{ padding: 88px 0; }
.about-inner{
  display:grid; grid-template-columns: .38fr .62fr; gap: 56px; align-items:center;
}
.about-media{
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display:flex; align-items:center; justify-content:center;
}
.about-copy h2{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.about-copy p{ color: var(--ink-soft); }
.about-copy em{ color: var(--navy); font-style: normal; font-weight:600; }

/* Services */
.services{ padding: 88px 0; background: var(--cream-2); }
.services h2{ font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 46px; }
.service-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-6px); }
.service-icon{
  width:56px; height:56px; border-radius: 14px;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.service-icon svg{ width:28px; height:28px; }
.service-card h3{ font-size: 1.25rem; margin-bottom:.4em; }
.service-card p{ color: var(--ink-soft); font-size: .96rem; margin:0; }

/* Why */
.why{ padding: 92px 0; }
.why-inner{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items:start; }
.why h2{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.why-list li{ display:flex; gap:14px; margin-bottom: 20px; align-items:flex-start; }
.why-mark{
  flex:0 0 auto; width:26px; height:26px; border-radius:50%;
  background: var(--gold); color: var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  font-size:.8rem; font-weight:700; margin-top:2px;
}
.why-list strong{ color: var(--navy); }
.why-list div{ color: var(--ink-soft); font-size:.98rem; }

.pull-quote{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 30px;
  box-shadow: var(--shadow);
  margin: 0;
}
.pull-quote cite{
  display:block; margin-top: 16px;
  font-family: var(--sans); font-style: normal; font-weight:600;
  font-size: .85rem; color: var(--gold); letter-spacing:.02em;
}

/* Contact */
.contact{
  background: linear-gradient(165deg, var(--navy-deep), var(--navy) 60%, var(--navy-2));
  padding: 96px 0;
  color: var(--cream);
}
.contact h2.light{ color: var(--white); }
.contact-sub{ text-align:center; color: rgba(250,246,238,.75); max-width:48ch; margin: 0 auto 44px; }
.contact-cards{
  display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px;
  max-width: 640px; margin: 0 auto;
}
.contact-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(221,196,140,.35);
  border-radius: var(--radius);
  padding: 28px 24px;
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.contact-card:hover{ background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: var(--gold); }
.contact-icon{
  width:44px; height:44px; border-radius:12px;
  background: var(--gold); color: var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
}
.contact-icon svg{ width:22px; height:22px; }
.contact-label{ font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color: var(--gold-light); font-weight:600; }
.contact-value{ font-family: var(--sans); font-weight:600; font-size: 1.1rem; color: var(--white); word-break: break-word; }

/* Footer */
.site-footer{ background: var(--navy-deep); color: rgba(250,246,238,.65); padding: 44px 0 32px; }
.footer-inner{ text-align:center; }
.footer-brand{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom: 18px; }
.footer-brand span{ font-family: var(--serif); color: var(--cream); font-size:1.05rem; }
.footer-disclaimer{ max-width: 760px; margin: 0 auto 18px; font-size: .78rem; line-height:1.7; color: rgba(250,246,238,.55); }
.footer-copy{ font-size: .8rem; margin:0; }

/* Responsive */
@media (max-width: 900px){
  .hero-inner, .about-inner, .why-inner{ grid-template-columns: 1fr; }
  .hero-portrait{ order:-1; }
  .service-grid{ grid-template-columns: 1fr; }
  .about-media{ max-width: 260px; margin: 0 auto; }

  .site-nav{
    position:absolute; top: 100%; left:0; right:0;
    background: var(--cream); border-bottom: 1px solid var(--cream-2);
    flex-direction:column; gap:0; padding: 8px 24px 16px;
    display:none;
  }
  .site-nav.open{ display:flex; }
  .site-nav a{ padding: 12px 0; border-bottom: 1px solid var(--cream-2); }
  .nav-toggle{ display:flex; }
  .header-cta .btn-ghost{ display:none; }
}

@media (max-width: 560px){
  .contact-cards{ grid-template-columns: 1fr; }
  .portrait-frame{ width:220px; height:220px; }
}
