:root {
  color-scheme: light;
  --ink: #101820;
  --ink-strong: #071018;
  --muted: #52606d;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #d9e2ec;
  --blue: #1f5eff;
  --blue-dark: #143fa9;
  --green: #0f8f68;
  --amber: #c77a12;
  --red: #c83d4b;
  --cyan: #12a9b8;
  --shadow: 0 20px 60px rgba(7, 16, 24, 0.14);
  --radius: 8px;
  --header-height: 72px;
}

* {
  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);
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

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

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

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

.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: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell,
.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-shell {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--ink-strong);
  font-size: 0.86rem;
}

.brand-text {
  font-size: 1.02rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3a45;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--soft);
  outline: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
}

.nav-cta {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.92) 0%, rgba(7, 16, 24, 0.76) 48%, rgba(7, 16, 24, 0.22) 100%),
    url("../images/photo-1573164713988-8665fc963095.jpeg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.34;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 54px;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  margin-top: 18px;
  font-size: 4.75rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.24rem;
}

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

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.hero-signals {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.hero-signals li {
  padding: 20px;
  background: rgba(7, 16, 24, 0.62);
  backdrop-filter: blur(10px);
}

.hero-signals strong {
  display: block;
  color: #ffffff;
  font-weight: 850;
}

.hero-signals span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.signal-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.signal-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px 0;
}

.signal-layout p {
  font-weight: 760;
  color: #24313c;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.signal-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #334352;
  background: #ffffff;
  font-size: 0.86rem;
}

.section {
  padding: 96px 0;
}

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

.section.dark {
  background: var(--ink-strong);
  color: #ffffff;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.image-band-content h2,
.contact-copy h2 {
  margin-top: 12px;
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.image-band-content p,
.contact-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.dark .section-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.gap-grid,
.service-grid,
.engagement-grid {
  display: grid;
  gap: 16px;
}

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

.gap-card,
.service-card,
.engagement-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.gap-card {
  padding: 24px;
}

.gap-card h3,
.service-card h3,
.engagement-card h3,
.method-list h3,
.expertise-panel h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.gap-card p,
.service-card p,
.engagement-card p,
.method-list p,
.expertise-panel p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-index {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--blue);
  font-weight: 850;
}

.service-card:nth-child(2) .service-index,
.service-card:nth-child(5) .service-index {
  color: var(--green);
}

.service-card:nth-child(3) .service-index,
.service-card:nth-child(6) .service-index {
  color: var(--amber);
}

.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: #ffffff;
}

.image-band-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.image-band-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px max(48px, calc((100vw - 1180px) / 2)) 70px 70px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #334352;
}

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

.method-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.method-list li {
  min-height: 260px;
  padding: 24px;
  background: #ffffff;
}

.method-list span {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--red);
  font-weight: 850;
}

.expertise-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: start;
}

.expertise-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.expertise-panel div {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.expertise-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.visual-section {
  padding: 92px 0;
  background: #ffffff;
}

.visual-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.visual-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 16px;
}

.visual-stack img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.visual-stack img:nth-child(2) {
  height: 340px;
  align-self: end;
}

.question-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.question-list p {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
  color: #24313c;
}

.question-list p:nth-child(2) {
  border-left-color: var(--green);
}

.question-list p:nth-child(3) {
  border-left-color: var(--amber);
}

.question-list p:nth-child(4) {
  border-left-color: var(--red);
}

.engagement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.engagement-card {
  padding: 26px;
}

.engagement-card.featured {
  border-color: rgba(31, 94, 255, 0.46);
  box-shadow: var(--shadow);
}

.engagement-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
  padding-left: 18px;
  color: #334352;
}

.engagement-card a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--blue-dark);
  font-weight: 800;
}

.engagement-card a:hover,
.engagement-card a:focus-visible {
  color: var(--green);
  outline: none;
}

.contact-section {
  padding: 96px 0;
  background:
    linear-gradient(rgba(7, 16, 24, 0.86), rgba(7, 16, 24, 0.86)),
    url("../images/photo-1568952433726-3896e3881c65.jpeg") center / cover no-repeat;
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-details a {
  color: #ffffff;
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 13px 14px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(18, 169, 184, 0.42);
  border-color: var(--cyan);
}

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

.form-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px 0;
  background: #05090d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand .brand-mark {
  background: #ffffff;
  color: var(--ink);
}

.footer-brand .brand-text {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

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

  .two-column,
  .expertise-layout,
  .visual-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .method-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-list span {
    margin-bottom: 36px;
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .image-band-content {
    padding: 64px 24px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  .nav-shell,
  .section-inner,
  .hero-inner {
    width: min(100% - 32px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(7, 16, 24, 0.12);
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    padding: 14px 10px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 82svh;
    background-position: 36% center;
  }

  .hero-inner {
    padding: 60px 0 34px;
  }

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

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

  .hero-signals,
  .signal-layout,
  .gap-grid,
  .service-grid,
  .engagement-grid,
  .expertise-panel,
  .visual-stack {
    grid-template-columns: 1fr;
  }

  .signal-list {
    justify-content: flex-start;
  }

  .section,
  .visual-section,
  .contact-section {
    padding: 68px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .image-band-content h2,
  .contact-copy h2 {
    font-size: 2.1rem;
  }

  .image-band-media img {
    min-height: 360px;
  }

  .visual-stack img,
  .visual-stack img:nth-child(2) {
    height: 280px;
  }
}

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

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

  .button {
    padding: 0 14px;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
