:root {

  --navy: #0F1E3A;
  --navy-soft: #162548;

  --gold: #CAA05A;
  --gold-dark: #B88A45;

  --slate: #6B7280;

  --silver: #E5E7EB;

  --soft-white: #F9F9FA;

  --white: #FFFFFF;

  --cream: #F9F9FA;

  --dark: #0F1E3A;

  --text-muted: #6B7280;

  --border: rgba(202,160,90,0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration: none;
}

/* HEADER / BRAND */

.site-header {
  background: #F9F9FA;
  border-bottom: 1px solid rgba(15,30,58,0.10);
  box-shadow: 0 2px 10px rgba(15,30,58,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container,
.section-container,
.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  text-transform: uppercase;
  min-width: 320px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border: 1.6px solid var(--gold);
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  box-shadow: none;
  flex-shrink: 0;
}

.brand-mark::before {
  display: none;
}

.brand-initial {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  position: relative;
  top: -1px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 220px;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-bottom-line {
  display: block;
  margin-top: 2px;
}

.brand-subtitle {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.28em;
  font-weight: 700;
}

.brand-descriptor {
  display: block;
  font-size: 0.6rem;
  color: #6b7280;
  letter-spacing: 0.04em;
  font-weight: 500;
  opacity: 1;
  text-transform: none;
  margin-top: 6px;
  margin-left: 0;
  white-space: nowrap;
}

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

.main-nav a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-button {
  border: 1px solid var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--gold) !important;
}

.nav-button:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

/* TYPOGRAPHY */

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.12;
  margin-top: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.35rem;
}

.eyebrow {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--navy);
  margin-top: 12px;
}

/* HERO */

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: var(--white);
  color: var(--navy);
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 22, 40, 0.08);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  padding: 28px 24px 56px;
  margin: 0 auto;
  text-align: left;
}

.hero-content .eyebrow {
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.hero h1,
.home-hero-title,
.about-hero-title,
.operations-hero-title,
.advisory-hero-title,
.cpa-hero-title {
  max-width: 860px;
  margin: 0 0 28px;
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 span,
.home-hero-title span,
.about-hero-title span,
.operations-hero-title span,
.advisory-hero-title span,
.cpa-hero-title span {
  display: block;
}

.hero-text {
  max-width: 780px;
  margin: 0 0 34px;
  color: var(--text-muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button-primary,
.button-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.button-primary:hover,
.button-secondary:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* SECTIONS */

section {
  padding: 72px 0;
  border-top: 1px solid rgba(15, 30, 58, 0.08);
}

#services {
  scroll-margin-top: 120px;
}

.intro-section {
  background: var(--white);
  color: var(--dark);
}

.service-section {
  background: var(--cream);
  color: var(--dark);
}

.philosophy-section {
  background: var(--white);
  color: var(--dark);
}

.why-section {
  background: var(--cream);
  color: var(--dark);
}

.security-section {
  background: var(--white);
  color: var(--dark);
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.section-heading {
  max-width: 1000px;
  margin-bottom: 28px;
}

.section-heading p,
.two-column p,
.feature-item p,
.service-card p,
.security-card p,
.contact-card p {
  color: var(--text-muted);
}

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

.service-card {
  background: var(--cream);
  border: 1px solid rgba(15, 30, 58, 0.05);
  border-top: 2px solid var(--gold);
  padding: 42px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 30, 58, 0.05);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 600;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 30, 58, 0.08);
}

.service-card .service-link {
  margin-top: auto;
  padding-top: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.service-card .service-link:hover {
  color: var(--gold);
}

.card-icon {
  display: none;
}

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

.feature-item {
  background: var(--cream);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(11, 22, 40, 0.08);
}

.feature-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.support-list {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(15, 30, 58, 0.12);
}

.support-list-item {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(15, 30, 58, 0.12);
}

.support-list-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
}

.support-list-item p {
  color: var(--text-muted);
  margin: 0;
  max-width: 620px;
}

/* CONTACT / INTAKE / SECURITY */

.contact-intake-card {
  max-width: 760px;
  margin: 20px 0 20px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark);
  border-top: 4px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(7, 16, 31, 0.22);
  text-align: left;
}

.hero .contact-intake-card + .hero-actions {
  margin-top: 24px;
  padding-bottom: 48px;
}

.hero:has(.contact-intake-card) .hero-content {
  padding-bottom: 96px;
}

.contact-intake-card h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact-intake-card p {
  color: var(--text-muted);
  margin: 0 0 14px;
}

.contact-intake-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #374151;
}

.contact-intake-card li {
  margin-bottom: 6px;
}

.intake-note {
  font-size: 0.92rem;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  padding-top: 14px;
}

.security-card,
.contact-card {
  background: var(--white);
  color: var(--dark);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 22px 60px rgba(11, 22, 40, 0.12);
}

.security-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
}

.security-links {
  display: grid;
  gap: 12px;
  align-content: center;
}

.security-links a {
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  padding-bottom: 8px;
}

.contact-section {
    background: var(--navy);
}

.contact-hero .hero-content {
  padding-top: 40px;
}

.contact-card {
  text-align: center;
  max-width: 900px;
}

/* FOUNDER */

.founder-section {
  padding: 120px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.founder-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}

.founder-image-wrap {
  position: relative;
}

.founder-image-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 2px solid rgba(212, 175, 55, 0.45);
  z-index: 0;
}

.founder-image {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 2px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

.founder-content {
  color: var(--dark);
}

.founder-content h2 {
  color: #b8923f;
  margin-bottom: 26px;
}

.founder-content p {
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 720px;
}

/* FOOTER */

.site-footer {
  background: #f4f2ee;
  border-top: 1px solid rgba(11, 22, 40, 0.08);
  padding: 64px 0 32px;
}

.site-footer::before {
  display: none;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 56px;
  align-items: start;
}

.footer-brand-lockup .brand-mark {
  background: #F9F9FA;
  border-color: var(--gold);
}

.footer-brand-lockup .brand-name {
  color: var(--navy);
}

.footer-brand-lockup .brand-subtitle {
  color: var(--gold);
}

.footer-brand-lockup .brand-descriptor {
  color: #6b7280;
}

.footer-brand p {
  color: #4b5563;
  max-width: 480px;
  margin: 22px 0 0;
}

.footer-link-group h3 {
  font-family: 'Inter', sans-serif;
  color: var(--gold-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
}

.footer-link-group a {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-link-group a:hover {
  color: var(--gold);
}

.legal-note {
  max-width: 1180px;
  margin: 44px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(11, 22, 40, 0.08);
  color: #6b7280;
  font-size: 0.85rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .nav-container,
  .footer-container,
  .two-column,
  .security-card,
  .founder-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-container {
    padding: 0 16px;
    gap: 12px;
    min-height: 76px;
  }

  .brand {
    min-width: auto;
    gap: 10px;
  }

  .brand-copy {
    min-width: auto;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .brand-initial {
    font-size: 1.8rem;
  }

  .brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .brand-descriptor {
    font-size: 0.5rem;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    font-size: 0.78rem;
  }

  .nav-button {
    padding: 7px 12px;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .support-list-item {
  grid-template-columns: 1fr;
  gap: 12px;
}

  .hero-content {
    text-align: left;
    padding: 28px 20px 56px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero h1,
  .home-hero-title,
  .about-hero-title,
  .operations-hero-title,
  .advisory-hero-title,
  .cpa-hero-title {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .contact-intake-card {
    background: #ffffff !important;
    color: #111827 !important;
    padding: 24px !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 36px rgba(7, 16, 31, 0.24) !important;
  }

  .contact-intake-card h2,
  .contact-intake-card p,
  .contact-intake-card li {
    color: #111827 !important;
  }

  .founder-section {
    padding: 72px 20px;
  }

  .founder-image-wrap {
    max-width: 420px;
  }

  section {
    padding: 56px 0;
  }
}

@media (max-width: 950px) and (orientation: landscape) {
  .site-header {
    position: static !important;
  }

  .nav-container {
    min-height: 46px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .brand-mark {
    width: 30px !important;
    height: 30px !important;
  }

  .brand-initial {
    font-size: 1.35rem !important;
  }

  .brand-name {
    font-size: 0.75rem !important;
  }

  .brand-subtitle {
    font-size: 0.54rem !important;
  }

  .brand-descriptor {
    font-size: 0.5rem !important;
  }

  .main-nav {
    gap: 8px !important;
  }

  .main-nav a {
    font-size: 0.68rem !important;
  }

  .nav-button {
    padding: 4px 8px !important;
  }
}

/* HEADER ONLY — mobile fit fix */
@media (max-width: 900px) {
  .site-header .nav-container {
    min-height: auto;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .site-header .brand {
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: 8px;
  }

  .site-header .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-header .brand-initial {
    font-size: 1.55rem;
  }

  .site-header .brand-copy {
    min-width: 0;
  }

  .site-header .brand-name {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .site-header .brand-subtitle {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .site-header .brand-descriptor {
    font-size: 0.48rem;
    line-height: 1.1;
    white-space: normal;
    margin-top: 3px;
  }

  .site-header .main-nav {
    width: 100%;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .site-header .main-nav a {
    font-size: 0.68rem;
    line-height: 1;
  }

  .site-header .nav-button {
    padding: 5px 9px;
  }
}
