:root {
  --navy: #061a3a;
  --navy-soft: #102b55;
  --gold: #c6a041;
  --gold-soft: #ead9a9;
  --ink: #172033;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #ffffff;
  --mist: #f6f8fb;
  --radius: 8px;
  --shadow: 0 18px 40px rgba(6, 26, 58, 0.1);
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: block;
  width: clamp(240px, 28vw, 430px);
}

.brand-block {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--navy);
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--mist);
}

.site-nav .nav-button {
  color: #ffffff;
  background: var(--navy);
}

.site-nav .nav-button:hover,
.site-nav .nav-button[aria-current="page"] {
  color: #ffffff;
  background: var(--navy-soft);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 56px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-wordmark {
  display: grid;
  justify-items: center;
  width: 100%;
  margin: 0 auto 160px;
}

.wordmark-text {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.wordmark-main {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.1rem);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--gold);
  font-size: clamp(1.35rem, 2.9vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.55em;
  line-height: 1.2;
  text-transform: uppercase;
}

.wordmark-sub::before,
.wordmark-sub::after {
  content: "";
  width: 78px;
  height: 1px;
  background: var(--navy);
}

.wordmark-tagline {
  color: var(--navy);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.4vw, 4.55rem);
  line-height: 0.98;
  font-weight: 500;
}

h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 500;
}

h3 {
  color: var(--navy);
  font-size: 1.05rem;
}

.hero-text,
.page-hero p,
.content-stack p,
.diagram-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--navy);
  background: #ffffff;
}

.button.secondary:hover {
  background: var(--mist);
}

.hero-visual {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.tax-fence-visual {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 0.88;
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 62%, #eef2f7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tax-fence-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(198, 160, 65, 0.28);
  border-radius: var(--radius);
}

.tax-fence-visual::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 26, 58, 0.22), transparent);
}

.dollar {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(198, 160, 65, 0.56);
  border-radius: 50%;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(6, 26, 58, 0.12);
  font-size: 1.5rem;
  font-weight: 800;
}

.dollar-one {
  left: 78px;
  bottom: 112px;
}

.dollar-two {
  left: 153px;
  top: 54px;
  color: #ffffff;
  background: var(--gold);
}

.dollar-three {
  right: 78px;
  bottom: 116px;
}

.arc {
  position: absolute;
  z-index: 1;
  border-top: 2px solid rgba(198, 160, 65, 0.55);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.arc-one {
  left: 78px;
  top: 96px;
  width: 205px;
  height: 122px;
}

.arc-two {
  left: 124px;
  top: 92px;
  width: 160px;
  height: 104px;
}

.tax-fence {
  position: absolute;
  left: 50%;
  bottom: 52px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 16px);
  gap: 8px;
  align-items: end;
  justify-content: center;
  width: 190px;
  height: 122px;
  padding-bottom: 16px;
  transform: translateX(-50%);
}

.tax-fence span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 86px;
  padding: 8px 0;
  color: #ffffff;
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
  transform: translateX(-50%);
}

.tax-fence i {
  display: block;
  width: 16px;
  height: 82px;
  background: var(--navy);
  border-radius: 3px 3px 0 0;
}

.tax-fence i:nth-of-type(2),
.tax-fence i:nth-of-type(4) {
  height: 98px;
}

.bucket {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 0;
  width: 126px;
  padding: 12px;
  border: 1px solid rgba(198, 160, 65, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(6, 26, 58, 0.08);
}

.taxable-bucket {
  left: 24px;
  bottom: 24px;
}

.roth-bucket {
  right: 24px;
  bottom: 24px;
}

.bucket::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: -8px;
  height: 12px;
  border: 2px solid rgba(6, 26, 58, 0.18);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.bucket strong {
  color: var(--navy);
}

.bucket span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.placeholder-star {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 58px;
  height: 58px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.conversion-path {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.88rem;
}

.conversion-path strong {
  padding: 10px 12px;
  color: var(--navy);
  background: var(--gold-soft);
  border-radius: var(--radius);
  text-align: center;
}

.conversion-path span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.split,
.diagram-section,
.contact-layout,
.login-shell,
.team-profile {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}

.content-stack {
  max-width: 650px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.contact-panel,
.contact-form,
.login-panel,
.calculator-links {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 43, 85, 0.06);
}

.service-card {
  padding: 28px;
}

.service-card p,
.small-note,
.calculator-link small {
  color: var(--muted);
}

.service-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--mist);
}

.protect-icon {
  clip-path: polygon(50% 0, 88% 15%, 82% 70%, 50% 100%, 18% 70%, 12% 15%);
  background: var(--navy);
}

.roth-icon {
  background: linear-gradient(90deg, var(--navy) 0 34%, var(--gold) 34% 66%, var(--navy) 66%);
}

.care-icon {
  background: radial-gradient(circle at 50% 50%, var(--gold) 0 28%, transparent 29%), var(--navy);
}

.diagram-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background: var(--mist);
}

.strategy-diagram {
  display: grid;
  gap: 14px;
}

.diagram-node {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #ffffff;
  font-weight: 700;
  text-align: center;
}

.diagram-node.emphasis {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.diagram-line {
  width: 2px;
  height: 30px;
  margin: 0 auto;
  background: var(--gold);
}

.diagram-branch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.diagram-branch span {
  padding: 12px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.page-hero {
  padding-bottom: 24px;
}

.page-hero h1 {
  max-width: 870px;
}

.team-profile {
  align-items: center;
}

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

.team-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) minmax(0, 1.38fr);
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 43, 85, 0.06);
}

.team-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1.5fr);
  min-height: 340px;
}

.team-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: center top;
}

.team-card.featured img {
  min-height: 340px;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 44px);
}

.team-card-body h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.team-card-body .eyebrow {
  margin-bottom: 14px;
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  letter-spacing: 0.05em;
}

.team-card-body a {
  width: fit-content;
  color: var(--navy);
  font-weight: 800;
  border-bottom: 1px solid var(--gold);
}

.team-card-body a:hover {
  color: var(--gold);
}

.headshot-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #ffffff, #f7f8fa);
}

.headshot-placeholder p {
  margin: 90px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.placeholder-star {
  top: 45%;
}

.accolades {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
}

.accolades ul {
  margin: 0;
  padding-left: 20px;
}

.contact-panel,
.contact-form,
.login-panel,
.calculator-links {
  padding: 28px;
}

.contact-form,
.login-panel {
  display: grid;
  gap: 10px;
}

label {
  color: var(--navy);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d0d5dd;
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.small-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.calculator-links {
  display: grid;
  gap: 14px;
}

.advisor-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--mist);
}

.auth-card {
  width: min(100%, 560px);
}

.disclosure-card {
  width: min(100%, 860px);
}

.auth-card h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.auth-card form {
  display: grid;
  gap: 10px;
}

.form-error {
  padding: 12px;
  border-left: 4px solid #b42318;
  color: #912018;
  background: #fff5f3;
}

.form-success {
  padding: 12px;
  border-left: 4px solid #16803c;
  color: #05603a;
  background: #ecfdf3;
}

.user-management {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.user-row strong,
.user-row small {
  display: block;
}

.calculator-portal {
  display: grid;
  gap: 24px;
  max-width: 900px;
}

.portal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.portal-heading h2 {
  margin-bottom: 0;
}

.calculator-link {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.calculator-link:hover {
  border-color: var(--gold);
  background: #ffffff;
}

.calculator-link span {
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 154px;
  max-height: 122px;
  object-fit: cover;
  object-position: center;
}

.footer-copy {
  max-width: 980px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-disclosure {
  margin-top: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-disclosure h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}

.footer-disclosure p + p {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .diagram-section,
  .contact-layout,
  .login-shell,
  .team-profile,
  .team-grid,
  .user-management,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .team-card,
  .team-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .team-card img,
  .team-card.featured img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero {
    min-height: auto;
  }

  .diagram-branch {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: center;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, 1120px);
    padding: 50px 0;
  }

  .site-header {
    padding: 14px;
  }

  .brand img {
    width: 100%;
  }

  .brand {
    width: min(100%, 310px);
  }

  .hero-wordmark {
    margin-bottom: 96px;
  }

  .wordmark-main {
    font-size: clamp(1.65rem, 8vw, 2.7rem);
    letter-spacing: 0.1em;
  }

  .wordmark-sub {
    gap: 10px;
    letter-spacing: 0.32em;
  }

  .wordmark-sub::before,
  .wordmark-sub::after {
    width: 46px;
  }

  .wordmark-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 0.9rem;
  }

  .conversion-path {
    grid-template-columns: 1fr;
  }

  .headshot-placeholder {
    min-height: 340px;
  }
}
