/* ============================================================
   Frank Farazmand — shared brand stylesheet
   Palette: navy + cream + monogram red
   Swap font-face / colors below if your final logo skews differently.
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-light: #16305a;
  --navy-pale: #eef1f6;
  --cream: #f8f4ea;
  --cream-dark: #efe6d3;
  --red: #a3273a;
  --red-dark: #7f1e2d;
  --ink: #1c2230;
  --muted: #5c6472;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.09);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar (license strip) ---------- */
.topbar {
  background: var(--navy);
  color: #cdd6e4;
  font-size: 0.8rem;
  padding: 7px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #cdd6e4; }

/* ---------- Nav ---------- */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}
.brand-mark {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-links a { color: var(--navy); }
.nav-links a:hover { color: var(--red); text-decoration: none; }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--red-dark); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--cream);
  padding: 72px 0 84px;
}
.hero h1 { color: var(--white); }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e7b6bd;
  margin-bottom: 14px;
}
.hero p.lede {
  font-size: 1.15rem;
  color: #dbe2ee;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(248,244,234,0.5); }
.btn-outline:hover { border-color: var(--cream); text-decoration: none; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #cbd4e3; }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}
.card h3 { margin-bottom: 10px; }
.card .tag {
  display: inline-block;
  background: var(--navy-pale);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pillar-card h3 { margin-bottom: 8px; }
.pillar-card p { color: var(--muted); flex-grow: 1; }
.pillar-card a.learn-more { font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 26px;
  font-style: italic;
  color: var(--navy);
}
.testimonial cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---------- Forms ---------- */
form.card-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--cream);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #b9c3d6;
  padding-top: 50px;
}
footer.site-footer h4 { color: var(--white); font-family: "Inter", sans-serif; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
footer.site-footer a { color: #cdd6e4; }
footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 700px) { footer .footer-grid { grid-template-columns: 1fr; } }
footer .footer-grid ul { list-style: none; padding: 0; margin: 0; }
footer .footer-grid li { margin-bottom: 8px; }
.legal-strip {
  font-size: 0.78rem;
  color: #8b96ac;
  padding: 22px 0 30px;
  line-height: 1.7;
}
.legal-strip strong { color: #b9c3d6; }

/* ---------- Video embed ---------- */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-frame iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: var(--muted); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge {
  background: rgba(248,244,234,0.12);
  border: 1px solid rgba(248,244,234,0.35);
  color: var(--cream);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 20px;
}
