:root {
  color-scheme: light;
  --ink: #121514;
  --graphite: #202725;
  --deep: #08110f;
  --paper: #f2eee5;
  --porcelain: #fbfaf6;
  --mist: #dbe7e2;
  --teal: #2c7773;
  --teal-deep: #164c4b;
  --brass: #bd8c43;
  --cranberry: #9b3347;
  --line: rgba(18, 21, 20, 0.16);
  --line-strong: rgba(18, 21, 20, 0.34);
  --light-line: rgba(251, 250, 246, 0.24);
  --shadow: 0 24px 70px rgba(8, 17, 15, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--porcelain);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px 34px;
  color: var(--porcelain);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(8, 17, 15, 0.88);
  border-bottom: 1px solid var(--light-line);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  font-size: 1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--paper);
  background: rgba(189, 140, 67, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  color: rgba(251, 250, 246, 0.82);
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--porcelain);
  border-color: var(--light-line);
}

.site-nav .nav-action {
  gap: 8px;
  color: var(--deep);
  background: var(--paper);
  border-color: var(--paper);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--light-line);
  border-radius: 4px;
  background: rgba(8, 17, 15, 0.28);
  color: var(--porcelain);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
  color: var(--porcelain);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 17, 15, 0.86), rgba(8, 17, 15, 0.48) 42%, rgba(8, 17, 15, 0.08) 76%),
    linear-gradient(0deg, rgba(8, 17, 15, 0.86), rgba(8, 17, 15, 0.03) 42%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 96px;
  padding-bottom: 60px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.86rem;
  font-weight: 820;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 5.4rem;
  line-height: 0.96;
  font-weight: 820;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(251, 250, 246, 0.84);
  font-size: 1.18rem;
  line-height: 1.68;
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

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

.button {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
}

.button-primary {
  color: var(--deep);
  background: var(--brass);
  border-color: var(--brass);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d6a653;
  border-color: #d6a653;
}

.button-secondary {
  color: var(--porcelain);
  background: rgba(251, 250, 246, 0.08);
  border-color: var(--light-line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(251, 250, 246, 0.16);
}

.hero-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 770px;
  margin: 58px 0 0;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.hero-readout div {
  padding: 18px 22px;
  border-right: 1px solid var(--light-line);
}

.hero-readout div:last-child {
  border-right: 0;
}

.hero-readout dt {
  margin-bottom: 8px;
  color: rgba(251, 250, 246, 0.58);
  font-size: 0.82rem;
}

.hero-readout dd {
  margin: 0;
  color: var(--porcelain);
  font-size: 1.05rem;
  font-weight: 780;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--porcelain);
  border-bottom: 1px solid var(--line);
}

.signal-strip div {
  display: flex;
  gap: 16px;
  min-height: 96px;
  align-items: center;
  padding: 24px 34px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip span {
  color: var(--cranberry);
  font-weight: 840;
}

.signal-strip strong {
  max-width: 350px;
  font-size: 1rem;
  line-height: 1.45;
}

.section {
  padding: 104px 34px;
}

.section-intro,
.split-heading,
.orbit-layout,
.planner-grid,
.contact-layout,
.proof-grid,
.proof-quote {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 46px;
}

.section-intro h2,
.split-heading h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3.2rem;
  line-height: 1.02;
}

.section-intro p:not(.eyebrow),
.split-heading p,
.contact-copy p {
  color: rgba(18, 21, 20, 0.72);
  font-size: 1.04rem;
  line-height: 1.7;
}

.section-observatory {
  background:
    linear-gradient(180deg, var(--paper), #e4eee9 58%, var(--paper));
}

.orbit-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.orbit-control {
  position: relative;
  aspect-ratio: 1;
  min-height: 430px;
}

.orbit-ring {
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(22, 76, 75, 0.34);
  border-radius: 50%;
}

.orbit-ring span {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(189, 140, 67, 0.42);
  border-radius: 50%;
}

.orbit-ring span:nth-child(2) {
  inset: 30%;
  border-color: rgba(155, 51, 71, 0.28);
}

.orbit-ring span:nth-child(3) {
  inset: 44%;
  border-color: rgba(18, 21, 20, 0.18);
}

.orbit-center {
  position: absolute;
  inset: 39%;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(251, 250, 246, 0.72);
  box-shadow: var(--shadow);
}

.orbit-center strong {
  font-size: 1.08rem;
}

.orbit-center span {
  color: rgba(18, 21, 20, 0.62);
  font-size: 0.82rem;
}

.orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--porcelain);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(8, 17, 15, 0.12);
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.orbit-node span {
  font-weight: 820;
}

.orbit-node:hover,
.orbit-node:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal);
}

.orbit-node.is-active {
  background: var(--teal-deep);
  color: var(--porcelain);
  border-color: var(--teal-deep);
}

.node-tax {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.node-tax:hover,
.node-tax:focus-visible {
  transform: translateX(-50%) translateY(-3px);
}

.node-audit {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.node-audit:hover,
.node-audit:focus-visible {
  transform: translateY(-50%) translateY(-3px);
}

.node-growth {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.node-growth:hover,
.node-growth:focus-visible {
  transform: translateX(-50%) translateY(-3px);
}

.node-wealth {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.node-wealth:hover,
.node-wealth:focus-visible {
  transform: translateY(-50%) translateY(-3px);
}

.orbit-panel,
.quarter-detail,
.contact-form,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.orbit-panel {
  min-height: 500px;
  padding: 38px;
  background: rgba(251, 250, 246, 0.78);
  box-shadow: var(--shadow);
}

.orbit-panel h3,
.quarter-detail h3,
.service-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.12;
}

.orbit-panel p:not(.panel-kicker),
.quarter-detail p:not(.panel-kicker),
.service-card p {
  color: rgba(18, 21, 20, 0.72);
  line-height: 1.72;
}

.panel-metric {
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel-metric span {
  display: block;
  margin-bottom: 9px;
  color: var(--teal-deep);
  font-size: 0.85rem;
  font-weight: 820;
  text-transform: uppercase;
}

.panel-metric strong {
  display: block;
  max-width: 440px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--cranberry);
}

.section-lab {
  background: var(--deep);
  color: var(--porcelain);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-lab .split-heading h2,
.section-lab .split-heading p {
  color: var(--porcelain);
}

.section-lab .split-heading p {
  color: rgba(251, 250, 246, 0.72);
}

.service-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}

.service-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-color: var(--light-line);
  border-top: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(251, 250, 246, 0.04);
}

.service-card-accent {
  background: rgba(189, 140, 67, 0.12);
}

.service-card-dark {
  background: rgba(44, 119, 115, 0.22);
}

.service-number {
  color: var(--brass);
  font-weight: 840;
}

.service-card h3 {
  margin-top: 74px;
  color: var(--porcelain);
}

.service-card p {
  color: rgba(251, 250, 246, 0.7);
}

.service-card a {
  margin-top: auto;
  color: var(--porcelain);
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
  font-weight: 780;
}

.section-planner {
  background: var(--porcelain);
}

.planner-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: stretch;
}

.quarter-tabs {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.quarter-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.quarter-tab span {
  color: var(--cranberry);
  font-weight: 850;
}

.quarter-tab strong {
  font-size: 1.18rem;
}

.quarter-tab.is-active {
  background: var(--mist);
}

.quarter-tab:hover,
.quarter-tab:focus-visible {
  background: #e8f0ec;
}

.quarter-detail {
  min-height: 418px;
  padding: 36px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section-proof {
  display: grid;
  gap: 40px;
  background: var(--graphite);
  color: var(--porcelain);
}

.proof-quote p {
  max-width: 920px;
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.18;
}

.proof-quote span {
  display: block;
  margin-top: 22px;
  color: rgba(251, 250, 246, 0.58);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}

.proof-grid div {
  display: grid;
  gap: 10px;
  min-height: 140px;
  align-content: center;
  padding: 26px;
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.proof-grid strong {
  color: var(--brass);
  font-size: 2.3rem;
}

.proof-grid span {
  color: rgba(251, 250, 246, 0.74);
}

.section-contact {
  background:
    linear-gradient(90deg, var(--paper), #f7f4ee 46%, #e2ece8);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 52px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy h2 {
  max-width: 670px;
}

.contact-copy p {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--porcelain);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(18, 21, 20, 0.66);
  font-size: 0.88rem;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(44, 119, 115, 0.36);
  outline-offset: 2px;
  border-color: var(--teal);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal-deep);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 34px;
  background: var(--deep);
  color: rgba(251, 250, 246, 0.72);
}

.site-footer span:first-child {
  color: var(--porcelain);
  font-weight: 820;
}

@media (max-width: 1020px) {
  .hero h1 {
    font-size: 4rem;
  }

  .section-intro h2,
  .split-heading h2,
  .contact-copy h2 {
    font-size: 2.5rem;
  }

  .orbit-layout,
  .planner-grid,
  .contact-layout,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .orbit-control {
    width: min(560px, 100%);
    min-height: auto;
    margin: 0 auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: rgba(8, 17, 15, 0.96);
    border: 1px solid var(--light-line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding-top: 106px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-readout,
  .signal-strip,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-readout div,
  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--light-line);
  }

  .signal-strip div {
    border-color: var(--line);
  }

  .section {
    padding: 76px 18px;
  }

  .section-intro h2,
  .split-heading h2,
  .contact-copy h2,
  .proof-quote p {
    font-size: 2rem;
  }

  .orbit-node {
    width: 76px;
    height: 76px;
    font-size: 0.88rem;
  }

  .orbit-panel,
  .quarter-detail,
  .contact-form {
    padding: 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 290px;
  }

  .quarter-tab {
    min-height: 78px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .button {
    width: 100%;
  }

  .orbit-node {
    width: 66px;
    height: 66px;
    font-size: 0.78rem;
  }

  .orbit-center {
    inset: 36%;
  }

  .orbit-panel h3,
  .quarter-detail h3,
  .service-card h3 {
    font-size: 1.6rem;
  }
}

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