
:root {
  --navy: #102f4e;
  --navy-2: #173f65;
  --gold: #c69a35;
  --gold-light: #f0d68a;
  --teal: #2d7d77;
  --cream: #f8f4e9;
  --mist: #edf3f6;
  --ink: #17212b;
  --muted: #596775;
  --white: #ffffff;
  --line: #d9e1e6;
  --shadow: 0 18px 50px rgba(16,47,78,.12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 9999;
  background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 10px; }

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: .9rem;
}
.topbar-inner {
  min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.topbar p { margin: 0; }
.topbar a { color: var(--gold-light); text-decoration: none; font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16,47,78,.1);
}
.nav-wrap { display: flex; align-items: center; min-height: 92px; gap: 26px; }
.brand { display: inline-flex; width: 245px; flex: 0 0 245px; align-items: center; }
.brand img { width: 100%; max-height: 92px; height: auto; object-fit: contain; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; }
.site-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 8px 9px; border-radius: 10px;
  text-decoration: none; color: var(--navy); font-weight: 700; font-size: .86rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--mist); }
.site-nav .nav-cta { background: var(--gold); color: var(--navy); margin-left: 7px; }
.site-nav .nav-cta:hover { background: #d7ad50; }
.menu-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line); background: var(--white);
  color: var(--navy); width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto;
}

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(240,214,138,.45), transparent 24rem),
    linear-gradient(135deg, #f9fbfc 0%, #eef4f6 55%, #f8f4e9 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -50px 38%; height: 260px;
  background: linear-gradient(110deg, transparent 12%, rgba(45,125,119,.14) 12% 32%, transparent 32% 39%, rgba(198,154,53,.18) 39% 54%, transparent 54%);
  transform: skewY(-5deg); pointer-events: none;
}
.hero-grid { min-height: 660px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding: 78px 0; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--teal); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .84rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--gold); border-radius: 99px; }
.hero h1, .page-hero h1 {
  color: var(--navy); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 22px;
}
.hero h1 span { color: var(--teal); }
.hero-copy { max-width: 650px; font-size: 1.15rem; color: var(--muted); margin-bottom: 30px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 21px; border-radius: 12px; text-decoration: none;
  border: 2px solid transparent; font-weight: 800; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #d9b252; }
.btn-secondary { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--mist); }


.hero-photo-panel {
  position: relative; min-height: 485px;
  border-radius: 32px; box-shadow: var(--shadow); overflow: hidden;
  background: var(--white);
}
.hero-photo-panel img {
  width: 100%; height: 100%; min-height: 485px; object-fit: cover; object-position: center;
  display: block;
}
.hero-photo-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08) 0%, rgba(16,47,78,.05) 100%);
}
.hero-card-photo {
  position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 2;
}

.trust-strip { background: var(--navy); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.15); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--gold-light); font-size: 1.04rem; }
.trust-item span { color: rgba(255,255,255,.75); font-size: .91rem; }

.section { padding: 92px 0; }
.section-soft { background: var(--mist); }
.section-cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--teal); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; margin-bottom: 10px; }
.section h2, .section h3, .content-card h2, .page-hero h2 {
  color: var(--navy); font-family: Georgia, "Times New Roman", serif;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 8px 30px rgba(16,47,78,.06);
}
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: var(--cream); color: var(--navy); font-weight: 900; border: 1px solid #ead79c;
}
.card h3 { margin: 18px 0 9px; font-size: 1.42rem; line-height: 1.2; }
.card p { color: var(--muted); margin: 0 0 15px; }
.text-link { color: var(--teal); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.portrait-panel {
  width: 100%; height: 560px; display: block; object-fit: cover; object-position: center top;
  border-radius: 28px; border: 1px solid #e5d7ae; box-shadow: 0 16px 36px rgba(16,47,78,.12);
  background: var(--cream);
}
.check-list { display: grid; gap: 13px; margin: 25px 0; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 11px; align-items: start; }
.check b {
  width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--white); font-size: .8rem;
}
.check span { color: var(--muted); }

.process { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  counter-increment: steps; position: relative; padding: 29px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--line);
}
.step::before {
  content: counter(steps); width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900;
}
.step h3 { margin: 17px 0 8px; font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); }

.quote {
  border-radius: 26px; background: var(--navy); color: var(--white); padding: 44px;
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
}
.quote-mark { color: var(--gold-light); font: 700 5rem/.8 Georgia, serif; }
.quote p { margin: 0; font: 1.6rem/1.45 Georgia, serif; }
.quote footer { margin-top: 15px; color: rgba(255,255,255,.68); font-size: .95rem; }

.cta {
  background: linear-gradient(135deg, var(--navy), #0b253e);
  color: var(--white); border-radius: 30px; padding: 52px;
  display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
  overflow: hidden; position: relative;
}
.cta::after {
  content: ""; position: absolute; width: 240px; height: 240px; border: 45px solid rgba(240,214,138,.13);
  border-radius: 50%; right: -90px; top: -95px;
}
.cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; line-height: 1.12; }
.cta p { color: rgba(255,255,255,.75); margin: 0; max-width: 690px; }

.page-hero {
  background: linear-gradient(135deg, var(--mist), var(--cream));
  border-bottom: 1px solid var(--line);
}
.page-hero .container { padding: 78px 0; }
.page-hero h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); max-width: 900px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.15rem; }

.service-detail { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 45px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-number { color: var(--gold); font: 700 4rem/1 Georgia, serif; }
.service-detail h2 { margin: 0 0 12px; font-size: 2rem; }
.service-detail p, .service-detail li { color: var(--muted); }
.service-detail ul { padding-left: 20px; }

.bio-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 58px; align-items: start; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.fact { padding: 19px; border-radius: 14px; background: var(--mist); }
.fact strong { display: block; color: var(--navy); }
.fact span { color: var(--muted); font-size: .93rem; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.resource-top { height: 135px; background: linear-gradient(145deg, var(--navy), var(--teal)); padding: 22px; color: var(--white); display: flex; align-items: flex-end; }
.resource-top.gold { background: linear-gradient(145deg, #765a15, var(--gold)); }
.resource-top.light { background: linear-gradient(145deg, #dfe9ed, #f8f4e9); color: var(--navy); }
.resource-body { padding: 24px; }
.resource-body h2 { margin: 0 0 10px; font-size: 1.35rem; }
.resource-body p { color: var(--muted); margin: 0 0 16px; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 45px; align-items: start; }
.contact-panel { background: var(--navy); color: var(--white); padding: 34px; border-radius: 24px; }
.contact-panel h2 { color: var(--white); margin-top: 0; }
.contact-panel p { color: rgba(255,255,255,.76); }
.contact-list { display: grid; gap: 15px; margin-top: 25px; }
.contact-list strong { display: block; color: var(--gold-light); }
.contact-list span { color: rgba(255,255,255,.75); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; color: var(--navy); }
input, select, textarea {
  width: 100%; border: 1px solid #bdcbd4; border-radius: 10px; padding: 12px 13px;
  color: var(--ink); background: var(--white);
}
textarea { min-height: 135px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(45,125,119,.2); border-color: var(--teal); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: .88rem; }
.consent input { width: auto; margin-top: 4px; }
.form-note { color: var(--muted); font-size: .82rem; margin-top: 14px; }

.disclosure {
  padding: 30px; background: var(--cream); border-left: 5px solid var(--gold); border-radius: 12px;
  color: var(--muted); font-size: .9rem;
}
.disclosure strong { color: var(--navy); }

.site-footer { background: #0a2137; color: rgba(255,255,255,.72); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .9fr; gap: 44px; }
.footer-brand img { max-width: 390px; opacity: .96; background: #ffffff; border-radius: 14px; padding: 10px; }
.footer-brand p { max-width: 520px; }
.footer-links h2, .footer-contact h2 { color: var(--gold-light); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links a { display: block; color: rgba(255,255,255,.78); text-decoration: none; margin: 8px 0; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: .82rem; }
.footer-bottom p { margin: 7px 0; }

.notice {
  position: fixed; right: 18px; bottom: 18px; z-index: 2000; width: min(420px, calc(100% - 36px));
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 17px;
  box-shadow: var(--shadow); display: none;
}
.notice.show { display: block; }
.notice strong { color: var(--navy); }
.notice p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 980px) {
  .brand { width: min(390px, 62vw); }
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 92px;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 18px 20px; }
  .site-nav a { justify-content: flex-start; }
  .site-nav .nav-cta { margin-left: 0; justify-content: center; }
  .hero-grid, .split, .bio-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 58px 0; }
  .hero-photo-panel { min-height: 420px; }
  .cards, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .cta { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 130px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .topbar-inner { min-height: 45px; justify-content: center; text-align: center; }
  .topbar-inner p:last-child { display: none; }
  .nav-wrap { min-height: 78px; }
  .site-nav { top: 78px; }
  .brand { width: min(310px, 72vw); }
  .hero-grid { min-height: auto; gap: 34px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-copy { font-size: 1.04rem; }
  .hero-photo-panel { min-height: 365px; border-radius: 24px; }
  .hero-card { left: 18px; right: 18px; bottom: 18px; padding: 19px; }
  .hero-card h2 { font-size: 1.45rem; }
  .section { padding: 68px 0; }
  .cards, .resource-grid, .fact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .trust-item:last-child { border-bottom: 0; }
  .portrait-panel { height: 430px; }
  .quote { padding: 30px 24px; grid-template-columns: 1fr; }
  .quote p { font-size: 1.3rem; }
  .cta { padding: 36px 25px; }
  .service-detail { grid-template-columns: 1fr; gap: 10px; }
  .service-number { font-size: 2.7rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card, .contact-panel { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}


/* Educational content areas */
.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.learning-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 8px 30px rgba(16,47,78,.06);
}
.learning-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); font-weight: 900; font-size: 1.1rem;
}
.learning-card h3 { font-size: 1.55rem; margin: 18px 0 8px; }
.learning-card p { color: var(--muted); margin: 0 0 20px; }

.featured-post {
  display: grid; grid-template-columns: .8fr 1.2fr; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow);
}
.featured-post-visual {
  min-height: 330px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(circle at 72% 18%, rgba(240,214,138,.95) 0 42px, transparent 43px),
    linear-gradient(155deg, var(--navy), var(--teal));
  color: var(--white);
}
.featured-post-visual span {
  width: max-content; padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.14); font-weight: 800; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .08em;
}
.featured-post-visual strong { font: 700 2.4rem/1.05 Georgia, serif; color: var(--gold-light); }
.featured-post-content { padding: 44px; align-self: center; }
.featured-post-content h2 { font-size: clamp(2rem,4vw,3rem); line-height: 1.1; margin: 8px 0 16px; }
.featured-post-content p { color: var(--muted); font-size: 1.06rem; }
.article-meta, .article-label {
  color: var(--teal); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
}
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px;
}
.article-card h2 { font-size: 1.4rem; line-height: 1.25; margin: 10px 0; }
.article-card p { color: var(--muted); }
.longform { max-width: 860px; }
.longform article { scroll-margin-top: 145px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.longform article:last-child { border-bottom: 0; }
.longform h2 { font-size: clamp(1.8rem,3.5vw,2.65rem); line-height: 1.15; margin: 8px 0 15px; }
.longform p { color: var(--muted); font-size: 1.05rem; }

.whitepaper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.whitepaper-card {
  display: grid; grid-template-rows: 265px 1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 35px rgba(16,47,78,.07);
}
.whitepaper-cover {
  position: relative; padding: 25px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white);
}
.whitepaper-cover::after {
  content: ""; position: absolute; width: 150px; height: 150px; border: 24px solid rgba(255,255,255,.1);
  border-radius: 50%; right: -55px; bottom: -55px;
}
.whitepaper-cover span { font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.whitepaper-cover strong { position: relative; z-index: 1; font: 700 1.8rem/1.12 Georgia, serif; max-width: 260px; }
.navy-cover { background: linear-gradient(145deg, #0b253e, var(--navy-2)); }
.gold-cover { background: linear-gradient(145deg, #8b6519, var(--gold)); }
.teal-cover { background: linear-gradient(145deg, #175854, var(--teal)); }
.light-cover { background: linear-gradient(145deg, #e6eef1, var(--cream)); color: var(--navy); }
.whitepaper-content { padding: 27px; display: flex; flex-direction: column; align-items: flex-start; }
.whitepaper-content h2 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 10px; }
.whitepaper-content p { color: var(--muted); flex-grow: 1; }

.featured-video { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: stretch; }
.video-frame {
  min-height: 430px; border-radius: 24px; overflow: hidden; background: var(--navy); color: var(--white);
}
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px;
  background:
    radial-gradient(circle at 75% 15%, rgba(240,214,138,.7), transparent 12rem),
    linear-gradient(145deg, var(--navy), var(--teal));
}
.play-button {
  width: 86px; height: 86px; display: grid; place-items: center; padding-left: 7px;
  border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 2rem;
  box-shadow: 0 0 0 13px rgba(255,255,255,.12); margin-bottom: 24px;
}
.video-placeholder strong { font: 700 1.8rem Georgia, serif; }
.video-placeholder span { color: rgba(255,255,255,.75); margin-top: 7px; }
.video-description {
  background: var(--cream); border: 1px solid #e6d8ad; border-radius: 24px; padding: 32px;
}
.video-description h2 { font-size: 2rem; line-height: 1.15; margin-top: 0; }
.video-description p { color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-thumb {
  min-height: 175px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: var(--white);
}
.gold-video { background: linear-gradient(145deg, #755414, var(--gold)); }
.teal-video { background: linear-gradient(145deg, #174e4a, var(--teal)); }
.light-video { background: linear-gradient(145deg, #dfe9ed, var(--cream)); color: var(--navy); }
.small-play {
  width: 44px; height: 44px; display: grid; place-items: center; padding-left: 3px;
  border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy);
}
.video-thumb strong { font: 700 1.45rem Georgia, serif; }
.video-card-body { padding: 24px; }
.video-card-body h2 { font-size: 1.35rem; line-height: 1.22; margin: 0 0 9px; }
.video-card-body p { color: var(--muted); }
.coming-soon {
  display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--mist);
  color: var(--teal); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
}

@media (max-width: 1120px) {
  .brand { width: 205px; flex-basis: 205px; }
  .site-nav a { font-size: .8rem; padding-inline: 7px; }
}

@media (max-width: 980px) {
  .learning-grid, .article-grid, .whitepaper-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post, .featured-video { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand { width: 185px; flex-basis: 185px; }
  .brand img { max-height: 72px; }
  .learning-grid, .article-grid, .whitepaper-grid, .video-grid { grid-template-columns: 1fr; }
  .featured-post-content { padding: 28px; }
  .featured-post-visual { min-height: 250px; }
  .whitepaper-card { grid-template-rows: 235px 1fr; }
  .video-frame { min-height: 330px; }
}


/* Homepage retirement-account versus income-plan feature */
.income-plan-hero { padding: 58px 0 48px; }
.income-plan-hero-inner { position: relative; z-index: 1; }
.income-plan-image-link {
  display: block; position: relative; overflow: hidden; border-radius: 30px;
  background: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(16,47,78,.1);
}
.income-plan-image-link img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .35s ease;
}
.income-plan-image-link:hover img { transform: scale(1.012); }
.image-video-badge {
  position: absolute; left: 32px; bottom: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px;
  padding: 11px 18px; border-radius: 999px; background: rgba(16,47,78,.94);
  color: var(--white); font-weight: 900; box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.image-video-badge span {
  width: 30px; height: 30px; display: grid; place-items: center; padding-left: 2px;
  border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .82rem;
}
.income-plan-intro {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 28px 8px 0;
}
.income-plan-intro p {
  max-width: 760px; margin: 0; color: var(--muted); font-size: 1.12rem;
}
.visually-present-heading {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Dedicated retirement-income video landing page */
.video-landing-hero h1 { max-width: 1040px; }
.dedicated-video-layout {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start;
}
.dedicated-video-player { min-width: 0; }
.income-video-placeholder {
  min-height: 500px;
  background:
    radial-gradient(circle at 78% 18%, rgba(240,214,138,.78), transparent 13rem),
    linear-gradient(145deg, #0b253e, var(--teal));
}
.video-setup-note {
  margin: 14px 3px 0; color: var(--muted); font-size: .88rem;
}
.video-summary-card {
  background: var(--cream); border: 1px solid #e6d8ad; border-radius: 24px;
  padding: 32px; position: sticky; top: 126px;
}
.video-summary-card h2 { font-size: 2rem; line-height: 1.15; margin: 8px 0 13px; }
.video-summary-card > p { color: var(--muted); }
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.comparison-card {
  padding: 32px; background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: 0 8px 30px rgba(16,47,78,.05);
}
.comparison-card-emphasis {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.comparison-label {
  color: var(--teal); font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; font-size: .78rem;
}
.comparison-card-emphasis .comparison-label { color: var(--gold-light); }
.comparison-card h3 { font-size: 1.75rem; line-height: 1.17; margin: 9px 0 15px; }
.comparison-card-emphasis h3 { color: var(--white); }
.comparison-card ul { margin: 0; padding-left: 21px; }
.comparison-card li { margin: 8px 0; color: var(--muted); }
.comparison-card-emphasis li { color: rgba(255,255,255,.78); }
.video-page-cta {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 32px; box-shadow: var(--shadow);
}
.video-page-cta h3 { font-size: 1.75rem; margin-top: 0; }
.video-page-cta p { color: var(--muted); }
.video-library-link { display: block; margin-top: 18px; }
.featured-video-link { position: relative; display: block; }
.featured-video-link img {
  width: 100%; height: 100%; min-height: 430px; object-fit: cover; display: block;
}
.featured-video-play {
  position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px; background: rgba(16,47,78,.94);
  color: var(--white); font-weight: 900;
}
.featured-video-play span {
  width: 28px; height: 28px; display: grid; place-items: center; padding-left: 2px;
  border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .76rem;
}

@media (max-width: 980px) {
  .income-plan-intro, .dedicated-video-layout { grid-template-columns: 1fr; }
  .income-plan-intro .button-row { justify-content: flex-start; }
  .video-summary-card { position: static; }
}

@media (max-width: 640px) {
  .income-plan-hero { padding: 38px 0 34px; }
  .income-plan-image-link { border-radius: 20px; }
  .image-video-badge { left: 14px; bottom: 14px; min-height: 44px; padding: 8px 13px; font-size: .85rem; }
  .image-video-badge span { width: 26px; height: 26px; }
  .income-plan-intro { padding-top: 21px; gap: 20px; }
  .income-plan-intro p { font-size: 1rem; }
  .income-video-placeholder { min-height: 360px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .video-summary-card, .comparison-card, .video-page-cta { padding: 25px; }
}


/* Homepage video boxes for major retirement decisions */
.decision-video-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ef 100%);
}
.decision-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.decision-video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfc77e;
  border-radius: 22px;
  box-shadow: 0 13px 38px rgba(16,47,78,.09);
}
.decision-video-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--navy);
}
.decision-video-image img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.decision-video-image:hover img {
  transform: scale(1.025);
}
.decision-video-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 26px;
  text-align: center;
}
.decision-video-content h3 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.15;
}
.decision-video-subtitle {
  color: #ad7b19;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: 700;
}
.decision-video-content p {
  flex: 1;
  color: var(--muted);
  margin: 13px 0 21px;
}
.decision-video-content .btn {
  min-width: 155px;
}

/* Anchored topic cards on the video page */
.featured-topic-video {
  scroll-margin-top: 130px;
}
.video-topic-image {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.video-topic-image img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  display: block;
}
.video-topic-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(16,47,78,.94);
  border: 3px solid rgba(255,255,255,.95);
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

@media (max-width: 980px) {
  .decision-video-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }
  .decision-video-card {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
  }
  .decision-video-content {
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .decision-video-card {
    display: flex;
  }
  .decision-video-content {
    align-items: center;
    text-align: center;
    padding: 23px;
  }
}


/* Video boxes V2: highly visible placement directly below the homepage trust strip */
.decision-video-section {
  padding-top: 0;
}
.decision-video-banner {
  background: linear-gradient(135deg, var(--gold), #e1bd66);
  color: var(--navy);
  border-bottom: 1px solid rgba(16,47,78,.14);
}
.decision-video-banner .container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
.decision-video-banner strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}
.decision-video-banner span {
  font-weight: 700;
  color: rgba(16,47,78,.78);
}
.decision-video-main {
  padding-top: 64px;
  padding-bottom: 20px;
}
@media (max-width: 720px) {
  .decision-video-banner .container {
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
  }
  .decision-video-main {
    padding-top: 48px;
  }
}


/* Video page V3 correction: every topic has a picture and one embedded play icon */
.corrected-video-grid .video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.corrected-video-grid .video-topic-image {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.corrected-video-grid .video-topic-image img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.corrected-video-grid .video-card:hover .video-topic-image img {
  transform: scale(1.018);
}
.corrected-video-grid .video-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.corrected-video-grid .video-card-body p {
  flex: 1;
}
.corrected-video-grid .coming-soon {
  align-self: flex-start;
}
/* Old overlay is intentionally suppressed in case a cached card still contains it. */
.corrected-video-grid .video-topic-play,
.corrected-video-grid .small-play {
  display: none !important;
}


/* First completed explainer video */
.hosted-retirement-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #081f35;
  object-fit: contain;
  border: 0;
}
.featured-hosted-video {
  min-height: 0;
}
.dedicated-video-player .hosted-retirement-video {
  min-height: 0;
  box-shadow: var(--shadow);
}


/* Schedule Review Now CTA beneath the income-plan video */
.video-immediate-cta {
  margin-top: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(135deg, var(--navy), #173f65);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(16,47,78,.16);
}
.video-immediate-cta p {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.35;
}
.btn-review-now {
  flex: 0 0 auto;
  min-width: 220px;
  font-size: 1.02rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
@media (max-width: 700px) {
  .video-immediate-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px;
  }
  .btn-review-now {
    width: 100%;
    min-width: 0;
  }
}

/* Calendly CTA additions */
.service-booking-cta{margin-top:18px}.service-booking-cta .btn{display:inline-flex}


/* Compliance and BrokerCheck cleanup */
.footer-bottom a{color:#fff;text-decoration:underline;text-underline-offset:3px}.footer-compliance{max-width:1100px}.disclosure a{font-weight:700}.disclosure-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.compliance-card h2{margin-top:8px}.compliance-card p{color:var(--muted)}.compliance-links{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px}@media (max-width:800px){.disclosure-page-grid{grid-template-columns:1fr}}


@media (max-width:820px){
  .brokercheck-strip-inner{
    gap:14px;
  }
  .brokercheck-logo-link img{width:150px;}
  .brokercheck-copy span{display:none;}
  .brokercheck-action{font-size:.8rem;padding:7px 10px;}
}
@media (max-width:620px){
  .brokercheck-strip-inner{
    min-height:64px;
    display:grid;
    grid-template-columns:130px 1fr;
    gap:10px 14px;
    padding-top:8px;
    padding-bottom:8px;
  }
  .brokercheck-logo-link img{width:130px;}
  .brokercheck-copy strong{font-size:.84rem;}
  .brokercheck-action{
    grid-column:1 / -1;
    width:100%;
    justify-content:center;
    min-height:38px;
    margin-left:0;
  }
}

/* FINRA BrokerCheck card within the Raymond Henry section on the homepage */
.home-brokercheck-card{
  display:flex;
  align-items:center;
  gap:18px;
  margin:22px 0 18px;
  padding:16px 18px;
  max-width:620px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 8px 24px rgba(16,47,78,.07);
}
.home-brokercheck-logo{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}
.home-brokercheck-logo img{
  width:170px;
  height:auto;
  display:block;
}
.home-brokercheck-text{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.home-brokercheck-text strong{
  color:var(--navy);
  line-height:1.3;
}
.home-brokercheck-text span{
  color:var(--muted);
  font-size:.86rem;
}
.home-brokercheck-text a{
  margin-top:3px;
  color:var(--teal);
  font-weight:800;
  text-decoration:none;
}
.home-brokercheck-text a:hover{text-decoration:underline;}
.home-brokercheck-logo:focus-visible,
.home-brokercheck-text a:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
}
@media (max-width:620px){
  .home-brokercheck-card{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .home-brokercheck-logo img{width:155px;}
}
