:root {
  --ink: #0b0f14;
  --ink-soft: #27313b;
  --muted: #5d6874;
  --line: #d9e0e7;
  --line-dark: #2a333c;
  --paper: #ffffff;
  --paper-soft: #f5f7f2;
  --panel: #ffffff;
  --accent: #12a77a;
  --accent-strong: #0a7e5b;
  --blue: #2658d9;
  --amber: #b98316;
  --rust: #a94f2b;
  --dark: #090c0f;
  --dark-soft: #121922;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper-soft);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease;
}

.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;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 12, 15, 0.68);
  color: #ffffff;
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(11, 15, 20, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(9, 12, 15, 0.08);
}

.nav {
  width: min(100% - 40px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 820;
  box-shadow: inset 0 -10px 0 rgba(18, 167, 122, 0.16);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 650;
  color: currentColor;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(18, 167, 122, 0.14);
  outline: none;
}

.nav-menu .nav-contact {
  border: 1px solid currentColor;
  margin-left: 8px;
  background: rgba(18, 167, 122, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}

#market-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 15, 0.44);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  min-height: 94svh;
  margin: 0 auto;
  padding: 132px 0 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.hero-main {
  max-width: 780px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 790;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 84px;
  line-height: 0.96;
  font-weight: 820;
}

.hero-copy {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 24px;
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 4px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 167, 122, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
  box-shadow: 0 18px 40px rgba(18, 167, 122, 0.26);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.hero-tape {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
  margin-top: 54px;
}

.hero-tape span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: rgba(9, 12, 15, 0.36);
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.1;
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 28px 0 0;
}

.hero-stats div {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 14px;
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.45;
}

.section {
  padding: 104px 0;
  background: var(--paper);
  border-top: 1px solid rgba(11, 15, 20, 0.06);
}

.section[id] {
  scroll-margin-top: 88px;
}

.section > *,
.site-footer {
  width: min(100% - 40px, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.section-muted {
  background: var(--paper-soft);
}

.section-dark {
  background: var(--dark);
  color: #ffffff;
  border-top: 0;
}

.intro {
  position: relative;
  margin-top: -1px;
}

.section-grid,
.advisory-services-layout,
.contact-layout,
.ecosystem {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  align-items: start;
}

.section h2 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.rich-text {
  display: grid;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.capability-strip div {
  min-height: 116px;
  background: #ffffff;
  padding: 24px;
}

.capability-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-strip strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.section-dark .rich-text {
  color: rgba(255, 255, 255, 0.76);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

.service-card {
  grid-column: auto;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 44px rgba(39, 49, 59, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 167, 122, 0.36);
  box-shadow: 0 24px 64px rgba(39, 49, 59, 0.1);
}

.service-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.service-index {
  order: 1;
  border: 0;
  padding: 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.service-label {
  order: 2;
  margin-left: auto;
  border: 1px solid rgba(11, 15, 20, 0.12);
  border-radius: 4px;
  background: #f5f7f9;
  padding: 6px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.service-card h3,
.venue-column h3,
.value-list h3 {
  margin: 20px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.service-card ul {
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.service-card li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px solid var(--line);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ecosystem {
  align-items: center;
}

.ecosystem-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

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

.venue-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(39, 49, 59, 0.05);
}

.venue-column h3 {
  font-size: 17px;
}

.venue-copy,
.venue-detail {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.venue-copy {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
}

.venue-detail {
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.6;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li {
  min-height: 230px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  color: var(--amber);
  font-size: 20px;
  font-weight: 800;
}

.process-list p {
  margin-top: 40px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.advisory-services-layout {
  align-items: center;
}

.section-dark .eyebrow {
  color: #5ee0b7;
}

.section-dark h2 {
  color: #ffffff;
}

.advisory-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.advisory-proof span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.1;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.value-list article {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
}

.value-list h3 {
  margin-top: 0;
  font-size: 18px;
}

.value-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trait-grid span {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  color: var(--ink-soft);
  font-weight: 720;
  line-height: 1.35;
  box-shadow: 0 18px 52px rgba(39, 49, 59, 0.05);
}

.contact-layout {
  align-items: start;
}

.contact h2 + p {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-email {
  display: inline-block;
  margin-top: 28px;
  color: var(--accent-strong);
  font-size: 24px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(39, 49, 59, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 790;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d2db;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(18, 167, 122, 0.16);
}

.contact-form .button {
  width: max-content;
  min-width: 160px;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin-top: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .service-card {
    grid-column: auto;
    min-height: 340px;
  }

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

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 72px 14px auto;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(11, 15, 20, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    padding: 10px;
    box-shadow: 0 22px 70px rgba(9, 12, 15, 0.18);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px;
  }

  .nav-menu .nav-contact {
    margin-left: 0;
  }

  .hero,
  .hero-content {
    min-height: 90svh;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding-top: 112px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 1;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
  }

  .hero-tape {
    margin-top: 36px;
  }

  .section {
    padding: 72px 0;
  }

  .section > *,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .section-grid,
  .advisory-services-layout,
  .contact-layout,
  .ecosystem {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .rich-text,
  .ecosystem-copy p:not(.eyebrow),
  .contact h2 + p {
    font-size: 16px;
  }

  .venue-board,
  .value-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .process-list,
  .trait-grid {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .process-list p {
    margin-top: 24px;
  }

  .contact-form {
    padding: 20px;
  }

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

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 320px;
    padding: 16px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 13px;
  }

  .service-card ul {
    font-size: 12px;
  }

  .service-index,
  .service-label {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .service-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .service-card {
    min-height: auto;
  }
}

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