:root {
  --ink: #1b1f27;
  --navy: #071827;
  --muted: #5f6672;
  --line: #d9dee6;
  --paper: #f4f6f9;
  --white: #ffffff;
  --blue: #005a96;
  --blue-dark: #064a78;
  --red: #ec1c2d;
  --slate: #2e3440;
  --shadow: 0 16px 42px rgba(7, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(240px, 1fr) auto minmax(110px, 0.45fr);
  left: 0;
  padding: 12px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 18px rgba(7, 24, 39, 0.05);
  backdrop-filter: blur(12px);
}

.brand,
.nav,
.hero-actions,
.trust-strip,
.site-footer {
  align-items: center;
  display: flex;
}

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

.brand-logo {
  display: block;
  height: auto;
  max-height: 58px;
  max-width: min(340px, 34vw);
  object-fit: contain;
  width: 100%;
}

.nav {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  gap: 24px;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"],
.header-action:hover {
  color: var(--blue);
}

.header-action {
  color: var(--ink);
  font-weight: 800;
  justify-self: end;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.94) 0%, rgba(7, 24, 39, 0.78) 48%, rgba(7, 24, 39, 0.28) 100%),
    url("talent-dynamics-hero.png") center / cover;
  color: var(--white);
  display: flex;
  min-height: calc(100vh - 180px);
  overflow: hidden;
  padding: clamp(44px, 7vw, 78px) clamp(22px, 6vw, 86px);
}

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

.page-hero h1 {
  font-size: clamp(2.45rem, 4.6vw, 4rem);
  max-width: 980px;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(7, 24, 39, 0.98), rgba(6, 74, 120, 0.9)),
    var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: clamp(44px, 6vw, 76px) clamp(22px, 6vw, 86px);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.65;
  max-width: 760px;
}

.page-hero .supporting-line {
  border-left: 4px solid var(--red);
  color: var(--white);
  font-weight: 800;
  margin-top: 24px;
  padding-left: 18px;
}

.page-hero .button {
  margin-top: 20px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-actions .button {
  margin-top: 0;
}

.back-home {
  align-items: center;
  color: #8fc9f0;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.back-home::before {
  content: "<";
  margin-right: 8px;
}

.back-home:hover {
  color: var(--white);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.1rem, 7.2vw, 5.45rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 860px;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
  max-width: 660px;
}

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

.button {
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
}

.hero .button.primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.76);
  color: var(--white);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.button.secondary {
  background: transparent;
}

.button.secondary.dark {
  border-color: var(--blue);
  color: var(--blue);
}

.button.secondary.dark:hover {
  border-color: var(--red);
  color: var(--red);
}

.button:hover {
  box-shadow: 0 10px 24px rgba(7, 24, 39, 0.12);
  transform: translateY(-1px);
}

.trust-strip {
  background: var(--navy);
  color: var(--white);
  gap: 0;
  justify-content: space-around;
  padding: 22px clamp(18px, 5vw, 72px);
}

.trust-strip span {
  font-weight: 800;
  padding: 8px 16px;
  text-align: center;
}

.section,
.feature-band,
.contact-section {
  padding: clamp(48px, 7vw, 86px) clamp(22px, 6vw, 86px);
}

main > .section {
  background: var(--paper);
}

main > .section.dark-section {
  background:
    linear-gradient(135deg, rgba(7, 24, 39, 0.98), rgba(6, 74, 120, 0.92)),
    var(--navy);
  color: var(--white);
}

.dark-section .eyebrow {
  color: #8fc9f0;
}

.dark-section .section-heading h2 {
  color: var(--white);
}

.dark-section .metrics div,
.dark-section .audience-panel {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

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

.section-heading h2,
.feature-band h2 {
  max-width: 960px;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.audience-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px;
}

.audience-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 280px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(7, 24, 39, 0.04);
}

.audience-panel:first-child {
  border-top: 5px solid var(--blue);
}

.audience-panel:last-child {
  border-top: 5px solid var(--red);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 250px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(7, 24, 39, 0.04);
}

.card-number {
  color: var(--red);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 30px;
}

.service-card p,
.audience-panel p,
.approach-list p,
.contact-section p,
.metrics span {
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  color: var(--blue);
  display: inline-flex;
  font-weight: 900;
  margin-top: 12px;
}

.text-link:hover {
  color: var(--ink);
}

.feature-band {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.feature-band .eyebrow,
.page-hero .eyebrow,
.contact-section .eyebrow {
  color: #8fc9f0;
}

.feature-band .approach-list p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-band .approach-list div {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.approach-list {
  display: grid;
  gap: 24px;
}

.approach-list div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.split {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.metrics {
  display: grid;
  gap: 14px;
}

.metrics div {
  align-items: baseline;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  gap: 6px;
  grid-template-columns: 130px 1fr;
  padding: 18px 20px;
}

.metrics strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(7, 24, 39, 0.98), rgba(6, 74, 120, 0.9)),
    var(--navy);
  color: var(--white);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.page-contact {
  min-height: calc(100vh - 86px);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-section h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  line-height: 1;
  max-width: 860px;
}

.contact-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.65;
  max-width: 760px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: var(--white);
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  padding: 14px 16px;
}

.contact-details a:hover {
  border-color: #8fc9f0;
  color: #8fc9f0;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  margin-left: 12px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  resize: vertical;
  width: 100%;
}

input[type="file"] {
  background: var(--paper);
}

[hidden] {
  display: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 90, 150, 0.14);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
  justify-content: space-between;
  padding: 26px clamp(22px, 6vw, 86px);
}

.footer-logo {
  display: block;
  filter: brightness(1.18);
  height: auto;
  max-height: 52px;
  max-width: min(330px, 58vw);
  object-fit: contain;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .feature-band,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .trust-strip {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand-logo {
    max-height: 48px;
    max-width: 220px;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero,
  .page-hero,
  .section,
  .feature-band,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .metrics div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-details a {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact-details span {
    margin-left: 0;
  }
}
