:root {
  color-scheme: only light;
  --ink: #0e1514;
  --ink-soft: #243331;
  --paper: #f4f7f5;
  --paper-warm: #ece4de;
  --surface: #ffffff;
  --surface-muted: #e8efec;
  --muted: #5a6a67;
  --line: #c7d6d1;
  --line-dark: rgb(255 255 255 / 16%);
  --teal: #74c9bf;
  --teal-deep: #245f5a;
  --aqua: #b8d8d4;
  --blue: #4f6786;
  --brass: #b78957;
  --sand: #bda291;
  --charcoal: #02090a;
  --charcoal-2: #061112;
  --charcoal-3: #0a191a;
  --white: #ffffff;
  --shadow: 0 22px 70px rgb(20 20 20 / 16%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

html[data-darkreader-mode],
html[data-darkreader-mode] body {
  color-scheme: only light;
  background: var(--paper);
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: rgb(116 201 191 / 20%);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgb(2 9 10 / 88%);
  border-bottom: 1px solid rgb(184 216 212 / 18%);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  padding: 5px;
  object-fit: contain;
  border: 1px solid rgb(184 216 212 / 32%);
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 0 22px rgb(116 201 191 / 18%);
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: rgb(255 255 255 / 82%);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media-frame,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(2 9 10 / 98%) 0%, rgb(2 9 10 / 84%) 38%, rgb(2 9 10 / 52%) 67%, rgb(2 9 10 / 82%) 100%),
    linear-gradient(0deg, rgb(2 9 10 / 96%) 0%, rgb(2 9 10 / 0%) 42%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 92svh;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  padding:
    clamp(120px, 16vw, 168px)
    clamp(18px, 5vw, 72px)
    clamp(132px, 14vw, 164px);
}

.hero-content {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua);
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: 7.4rem;
  line-height: 0.88;
}

h2 {
  margin-bottom: 0;
  font-size: 4.4rem;
  line-height: 0.98;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.6rem;
  line-height: 1.12;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgb(255 255 255 / 88%);
  font-size: 1.24rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
}

.button.primary {
  color: #031110;
  background: var(--teal);
  box-shadow: 0 16px 38px rgb(116 201 191 / 18%);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #9eddd6;
}

.button.secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 36%);
  background: rgb(255 255 255 / 9%);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 15%);
}

.hero-panel {
  max-width: 360px;
  justify-self: end;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgb(6 17 18 / 78%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel img {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  padding: 10px;
  border: 1px solid rgb(184 216 212 / 22%);
  border-radius: 8px;
  background: var(--charcoal);
}

.hero-panel p {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}

.hero-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgb(255 255 255 / 78%);
  list-style: none;
}

.hero-panel li {
  padding: 10px 0;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.hero-strip {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  left: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: 8px;
  background: rgb(8 17 19 / 74%);
  backdrop-filter: blur(14px);
}

.hero-strip a {
  min-width: 0;
  padding: 16px;
  color: rgb(255 255 255 / 84%);
  font-size: 0.94rem;
  text-align: center;
  overflow-wrap: anywhere;
  border-right: 1px solid rgb(255 255 255 / 13%);
}

.hero-strip a:hover,
.hero-strip a:focus-visible {
  color: var(--white);
  background: rgb(255 255 255 / 8%);
}

.hero-strip a:last-child {
  border-right: 0;
}

.section,
.start-here,
.core-services,
.faq-band,
.portal-band,
.contact-band {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
}

.intro,
.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro {
  background: var(--paper);
}

.intro > p,
.approach p,
.portal-copy p,
.contact-band p {
  color: var(--muted);
  font-size: 1.18rem;
}

.start-here {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
  color: var(--ink);
  background: var(--paper-warm);
  border-top: 1px solid rgb(36 51 49 / 12%);
  border-bottom: 1px solid rgb(36 51 49 / 12%);
}

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

.triage-grid article,
.service-card,
.core-list li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.triage-grid article {
  min-height: 270px;
  padding: 22px;
}

.triage-grid span,
.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--brass);
  font-weight: 850;
}

.triage-grid p,
.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.service-card {
  min-height: 315px;
  padding: clamp(20px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 100%), rgb(244 247 245 / 100%));
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3),
.service-card:nth-child(4) {
  grid-column: span 2;
}

.service-card.wide {
  grid-column: 2 / span 2;
  color: var(--white);
  background:
    linear-gradient(145deg, rgb(2 9 10 / 100%), rgb(10 25 26 / 100%));
  border-color: var(--charcoal-3);
}

.service-card.wide p {
  color: rgb(255 255 255 / 76%);
}

.service-card.wide .service-number {
  color: var(--aqua);
}

.portal-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 8vw, 112px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgb(2 9 10 / 96%) 0%, rgb(6 17 18 / 90%) 58%, rgb(36 95 90 / 86%) 100%),
    url("assets/brand/social/linkedin-banner-1584x396.png") center / cover;
}

.portal-copy,
.portal-stack {
  position: relative;
  z-index: 1;
}

.portal-band .eyebrow {
  color: var(--aqua);
}

.portal-copy p {
  max-width: 690px;
  margin-top: 24px;
  margin-bottom: 28px;
  color: rgb(255 255 255 / 76%);
}

.portal-list,
.core-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

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

.portal-list li {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: 8px;
  color: rgb(255 255 255 / 86%);
  background: rgb(255 255 255 / 7%);
}

.portal-status {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(2 9 10 / 68%);
}

.portal-status span {
  color: var(--aqua);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portal-status strong {
  font-size: 2rem;
  line-height: 1;
}

.approach {
  background: var(--paper);
}

.approach-grid {
  display: grid;
  gap: 22px;
}

.core-services {
  background: var(--surface-muted);
}

.core-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.core-list li {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--ink-soft);
  font-weight: 700;
}

.faq-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 7vw, 86px);
  color: var(--ink);
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  color: var(--ink);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 820;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: -4px;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.65fr) auto;
  gap: clamp(22px, 5vw, 66px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(2 9 10 / 92%), rgb(36 95 90 / 94%)),
    url("assets/brand/social/facebook-x-cover-1500x500.jpg") center / cover;
}

.contact-band .eyebrow {
  color: var(--aqua);
}

.contact-band p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgb(255 255 255 / 76%);
  background: var(--charcoal);
  font-size: 0.95rem;
}

.mobile-cta {
  display: none;
}

.not-found-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgb(2 9 10 / 94%), rgb(36 95 90 / 90%)),
    url("assets/brand/social/facebook-x-cover-1500x500.jpg") center / cover;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  max-width: 780px;
  padding: 80px clamp(24px, 8vw, 96px);
  color: var(--white);
}

.not-found img {
  width: 72px;
  height: 72px;
  padding: 10px;
  border: 1px solid rgb(184 216 212 / 28%);
  border-radius: 8px;
  background: var(--charcoal);
}

.not-found h1 {
  color: var(--white);
}

.not-found p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 1.12rem;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 3.7rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .hero-layout {
    min-height: 94svh;
  }

  .hero-layout {
    padding-top: 168px;
  }

  .start-here,
  .intro,
  .approach,
  .portal-band,
  .faq-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card.wide {
    grid-column: auto;
  }

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

  .hero-strip a:nth-child(2) {
    border-right: 0;
  }

  .hero-strip a:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 13%);
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    gap: 16px;
    min-height: 118px;
    padding: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 17px;
    font-size: 0.93rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    gap: 22px;
    padding: 162px 18px 28px;
  }

  h1 {
    font-size: 4.55rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  h3 {
    font-size: 1.34rem;
  }

  .hero-copy,
  .intro > p,
  .approach p,
  .portal-copy p,
  .contact-band p {
    font-size: 1.05rem;
  }

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

  .hero-panel {
    display: none;
  }

  .hero-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 18px 92px;
  }

  .hero-strip a {
    padding: 13px 10px;
    border-right: 1px solid rgb(255 255 255 / 13%);
    border-bottom: 0;
    font-size: 0.84rem;
  }

  .hero-strip a:nth-child(even) {
    border-right: 0;
  }

  .hero-strip a:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 13%);
  }

  .section,
  .start-here,
  .core-services,
  .faq-band,
  .portal-band,
  .contact-band {
    padding: 68px 18px;
  }

  .triage-grid,
  .service-grid,
  .core-list,
  .portal-list {
    grid-template-columns: 1fr;
  }

  .triage-grid article,
  .service-card {
    min-height: auto;
  }

  .contact-band {
    padding-bottom: 86px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 92px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 30;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgb(184 216 212 / 28%);
    border-radius: 8px;
    background: rgb(2 9 10 / 94%);
    box-shadow: 0 16px 44px rgb(2 9 10 / 32%);
  }

  .mobile-cta a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 820;
  }

  .mobile-cta a:first-child {
    color: #031110;
    background: var(--teal);
  }

  .mobile-cta a:last-child {
    border-left: 1px solid rgb(255 255 255 / 14%);
  }
}

@media (max-width: 380px) {
  .hero-layout {
    padding-top: 126px;
  }

  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.28rem;
  }

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

  .hero-strip a {
    padding: 11px 8px;
    font-size: 0.78rem;
  }

  .brand span {
    font-size: 0.94rem;
  }
}
