:root {
  --navy: #102e4a;
  --navy-deep: #0b2135;
  --navy-soft: #1f4b68;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --mist: #e2edf2;
  --mist-deep: #c2d7e1;
  --slate: #53697a;
  --gold: #bf8e2d;
  --gold-dark: #85621f;
  --line: rgba(16, 46, 74, 0.18);
  --shell: min(1240px, calc(100vw - 64px));
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.pba-preline { white-space: pre-line; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
#main-content:focus { outline: none; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -70px;
  left: 18px;
  padding: 12px 17px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 90px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: var(--navy);
}
.admin-bar .site-header { top: 32px; }
.header-shell, .hero-shell, .mission-shell, .services-shell,
.contact-shell, .footer-shell {
  width: var(--shell);
  margin-inline: auto;
}
.header-shell {
  display: grid;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  height: 100%;
  gap: 38px;
}
.brand-plaque {
  display: flex;
  width: 205px;
  min-height: 0;
  align-items: center;
  padding: 0;
}
.brand-plaque img { width: 100%; }
.desktop-nav { display: flex; justify-content: center; gap: 35px; }
.desktop-nav a {
  color: #eef4f6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.desktop-nav a:hover { color: var(--gold); }
.mobile-menu { display: none; }
.phone-pill {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(191,142,45,.7);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: white;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.phone-pill:hover { background: rgba(255,255,255,.1); }
.phone-pill span { color: var(--gold); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.phone-pill b { color: white; font-size: .82rem; font-weight: 800; }

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--navy);
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -145px;
  height: 190px;
  border-radius: 50% 50% 0 0;
  background: var(--cream);
}
.hero-halo {
  position: absolute;
  width: 780px;
  height: 780px;
  left: 50%;
  top: -380px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,215,225,.2), rgba(16,46,74,0) 67%);
}
.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1050px;
  min-height: 520px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 62px 0 105px;
  text-align: center;
}
.eyebrow, .section-label {
  margin: 0 0 26px;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { color: var(--gold); }
.hero h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(3.5rem, 4.9vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .94;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #c4dbe5; font-style: normal; font-weight: 400; }
.hero-copy {
  max-width: 700px;
  margin: 22px auto 0;
  color: #c5d2da;
  font-size: 1.04rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 13px; margin-top: 26px; }
.button {
  display: inline-flex;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg, .services-note svg, .contact-grid svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.button-cream { background: var(--cream); color: var(--navy); }
.button-cream:hover { background: white; }
.button-outline { border-color: rgba(255,255,255,.4); color: white; }
.button-outline:hover { background: rgba(255,255,255,.08); }
.hero-balance {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 57px;
  width: min(780px, 66vw);
  height: 72px;
  transform: translateX(-50%);
  opacity: .75;
}
.hero-balance-line { position: absolute; top: 35px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #8fb3c5 18%, #8fb3c5 82%, transparent); }
.hero-balance-orbit { position: absolute; left: 50%; top: 35px; border: 1px solid rgba(194,215,225,.5); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 94px; height: 94px; }
.orbit-two { width: 142px; height: 142px; opacity: .35; }
.hero-balance-point { position: absolute; top: 30px; width: 11px; height: 11px; border: 2px solid var(--gold); border-radius: 50%; background: var(--navy); }
.point-left { left: 14%; }
.point-centre { left: calc(50% - 5px); background: var(--gold); }
.point-right { right: 14%; }

.mission { padding: 62px 0 68px; background: var(--cream); }
.mission-shell {
  display: grid;
  max-width: 1100px;
  grid-template-columns: 250px 1fr;
  gap: 0 52px;
  text-align: left;
}
.mission .section-label { grid-column: 1; grid-row: 1; margin-top: 9px; }
.mission h2, .services-heading h2, .contact-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.3rem,3.1vw,3rem);
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: 1.04;
}
.mission h2 { grid-column: 2; grid-row: 1; }
.mission-copy { grid-column: 2; max-width: 725px; margin: 18px 0 0; color: var(--slate); line-height: 1.72; }
.mission-values {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mission-values p { display: grid; grid-template-columns: 42px 1fr; margin: 0; padding: 21px 28px; border-right: 1px solid var(--line); text-align: left; }
.mission-values p:first-child { padding-left: 0; }
.mission-values p:last-child { border-right: 0; }
.mission-values span { grid-row: 1 / 3; color: var(--gold-dark); font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.mission-values strong { color: var(--navy); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.mission-values small { margin-top: 2px; color: var(--slate); font-size: .72rem; }

.services { overflow: hidden; padding: 68px 0 72px; background: var(--paper); }
.services-heading { display: grid; grid-template-columns: .38fr 1.1fr; align-items: end; gap: 55px; margin-bottom: 38px; }
.services-heading .section-label { margin: 0 0 12px; }
.services-heading h2 { max-width: 760px; font-size: clamp(2.25rem,3vw,2.95rem); }
.service-chapter {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 52px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.service-chapter:last-of-type { border-bottom: 1px solid var(--line); }
.chapter-bookkeeping { position: relative; }
.chapter-bookkeeping::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--navy);
  box-shadow: 0 0 0 100vmax var(--navy);
  clip-path: inset(0 -100vmax);
}
.chapter-bookkeeping > * { position: relative; z-index: 1; }
.chapter-bookkeeping .chapter-title h3 { color: white; }
.chapter-bookkeeping .chapter-title p,
.chapter-bookkeeping .chapter-intro { color: #b9cbd5; }
.chapter-bookkeeping .chapter-content li { color: #edf4f6; }
.chapter-bookkeeping .chapter-number { color: var(--gold); }
.chapter-bookkeeping .chapter-tick { border-color: rgba(191,142,45,.75); color: var(--gold); }
.chapter-tax { position: relative; }
.chapter-tax::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--mist);
  box-shadow: 0 0 0 100vmax var(--mist);
  clip-path: inset(0 -100vmax);
}
.chapter-tax > * { position: relative; z-index: 1; }
.chapter-title { display: grid; grid-template-columns: 62px 1fr; gap: 18px; }
.chapter-number { color: var(--gold-dark); font-family: var(--serif); font-size: 1.5rem; font-style: italic; }
.chapter-title p { margin: 5px 0 24px; color: var(--slate); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.chapter-title h3 { margin: 0; color: var(--navy); font-size: clamp(2.3rem,3vw,2.95rem); font-weight: 550; letter-spacing: -.055em; line-height: 1.02; }
.chapter-content { padding-top: 2px; }
.chapter-intro { max-width: 675px; margin: 0 0 22px; color: var(--slate); font-size: .95rem; line-height: 1.68; }
.chapter-content ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.chapter-content li { display: flex; align-items: flex-start; gap: 11px; color: #29475b; font-size: .85rem; line-height: 1.55; }
.chapter-tick { display: grid; width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; place-items: center; border: 1px solid rgba(133,98,31,.45); border-radius: 50%; color: var(--gold-dark); }
.chapter-tick svg { width: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.services-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 25px; }
.services-note p { margin: 0; color: var(--slate); font-size: .87rem; }
.services-note p strong { color: var(--navy); }
.services-note a { display: inline-flex; align-items: center; gap: 18px; color: var(--navy); font-size: .69rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.contact { padding: 68px 0 70px; background: var(--navy); color: white; }
.contact-shell { max-width: 1080px; text-align: center; }
.section-label-light { color: var(--gold); }
.contact-intro { max-width: 700px; margin: 0 auto 38px; }
.contact-intro h2 { color: white; font-size: clamp(2.35rem,3.2vw,3.1rem); }
.contact-intro > p:not(.section-label) { max-width: 590px; margin: 17px auto 0; color: #b8cad4; line-height: 1.7; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid rgba(255,255,255,.22);
  border-left: 1px solid rgba(255,255,255,.22);
  text-align: left;
}
.contact-grid > * {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 19px 24px;
  border-right: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
  text-align: center;
}
.contact-grid > a:hover { background: rgba(255,255,255,.06); }
.contact-grid span { color: var(--gold); font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-grid strong { margin-top: 4px; color: white; font-size: .95rem; font-weight: 650; line-height: 1.5; }
.contact-grid strong b { font-weight: inherit; }
.contact-grid svg { position: absolute; right: 22px; color: var(--gold); }

.site-footer { background: var(--navy-deep); color: white; }
.footer-shell { display: grid; grid-template-columns: 220px 1fr auto; min-height: 106px; align-items: center; gap: 50px; }
.footer-shell img { width: 200px; }
.footer-shell p { margin: 0; color: #819baa; font-size: .74rem; }
.footer-shell a { color: var(--gold); font-size: .66rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.pba-content { min-height: 70vh; padding: clamp(80px, 10vw, 150px) 0; background: var(--paper); }
.pba-content-inner { width: min(840px, calc(100% - 40px)); margin: 0 auto; }
.pba-entry + .pba-entry { margin-top: 70px; padding-top: 70px; border-top: 1px solid var(--line); }
.pba-entry h1, .pba-error h1 { color: var(--navy); font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -.055em; line-height: 1; }
.pba-entry a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.pba-entry img { height: auto; }
.pba-error .button { margin-top: 20px; background: var(--navy); color: white; text-decoration: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 42px, 820px); }
  .header-shell { grid-template-columns: 220px 1fr auto; gap: 22px; }
  .desktop-nav { gap: 19px; }
  .hero-shell { padding-inline: 20px; }
  .mission-values p { padding: 27px 20px; }
  .service-chapter { grid-template-columns: 1fr; gap: 26px; }
  .chapter-title { grid-template-columns: 54px 1fr; }
  .chapter-title h3 { white-space: normal; }
  .chapter-title h3 br { display: none; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 680px); }
  html { scroll-padding-top: 76px; }
  .site-header { height: 76px; }
  .header-shell { display: flex; justify-content: space-between; gap: 12px; }
  .brand-plaque { width: 168px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; margin-left: auto; }
  .mobile-menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 11px 10px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 4px;
  }
  .mobile-menu-toggle span { display: block; width: 18px; height: 1px; background: white; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu.is-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .mobile-menu.is-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  .mobile-menu.is-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .mobile-menu-panel {
    position: fixed;
    z-index: 49;
    top: 76px;
    left: 0;
    right: 0;
    padding: 9px 20px 20px;
    border-top: 1px solid rgba(194,215,225,.22);
    background: var(--navy);
    box-shadow: 0 25px 45px rgba(11,33,53,.28);
  }
  .admin-bar .mobile-menu-panel { top: 108px; }
  .mobile-menu-panel a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; padding: 0 2px; border-bottom: 1px solid rgba(255,255,255,.13); color: white; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
  .mobile-menu-panel a:last-child { border-bottom: 0; }
  .mobile-menu-panel a span { color: var(--gold); font-size: 1rem; }
  .phone-pill { min-height: 42px; padding: 0 14px; font-size: .73rem; }
  .phone-pill span { display: none; }
  .hero { min-height: 500px; }
  .hero-shell { min-height: 500px; align-items: flex-start; padding: 58px 0 105px; text-align: left; }
  .hero h1 { max-width: 660px; font-size: clamp(3.25rem,9vw,4.4rem); }
  .hero-copy { margin-left: 0; }
  .hero-actions { flex-wrap: wrap; }
  .hero-balance { width: 88vw; }
  .mission { padding: 44px 0 46px; }
  .mission-shell { display: block; text-align: left; }
  .mission .section-label { margin-top: 0; }
  .mission-copy { margin-left: 0; }
  .mission-values { grid-template-columns: 1fr; margin-top: 34px; }
  .mission-values p, .mission-values p:first-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .mission-values p:last-child { border-bottom: 0; }
  .services { padding: 43px 0 46px; }
  .services-heading { display: block; margin-bottom: 30px; }
  .services-heading .section-label { margin-bottom: 22px; }
  .service-chapter { padding: 31px 0; }
  .chapter-content ul { grid-template-columns: 1fr; }
  .services-note { align-items: flex-start; flex-direction: column; }
  .contact { padding: 56px 0 58px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-shell { grid-template-columns: 1fr auto; min-height: 160px; }
  .footer-shell p { grid-column: 1 / -1; grid-row: 2; padding-bottom: 22px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-menu-panel { top: 122px; }
}

@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .mobile-menu-panel { top: 76px; }
}

@media (max-width: 540px) {
  :root { --shell: calc(100% - 30px); }
  .brand-plaque { width: 142px; }
  .phone-pill { width: 47px; padding: 0; justify-content: center; font-size: 0; }
  .phone-pill b { display: none; }
  .phone-pill span { display: block; font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
  .hero { min-height: 470px; }
  .hero-shell { min-height: 470px; padding: 48px 0 92px; }
  .eyebrow { max-width: 290px; font-size: .61rem; line-height: 1.6; }
  .hero h1 { font-size: clamp(2.65rem,11.8vw,3.3rem); }
  .hero-copy { font-size: .94rem; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-balance { bottom: 80px; }
  .mission h2, .services-heading h2, .contact-intro h2 { font-size: clamp(2rem,9.5vw,2.65rem); }
  .chapter-title { grid-template-columns: 42px 1fr; gap: 10px; }
  .chapter-number { font-size: 1.2rem; }
  .chapter-title h3 { font-size: 2.35rem; }
  .contact-intro { margin-bottom: 28px; }
  .contact-grid > * { min-height: 78px; padding: 14px 40px; }
  .contact-grid strong { overflow-wrap: anywhere; font-size: .82rem; }
  .footer-shell { gap: 20px; }
  .footer-shell img { width: 155px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
