:root {
  --ink: #111827;
  --muted: #5f6878;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: #d9d2c8;
  --red: #d62839;
  --teal: #0f8f8c;
  --navy: #15243a;
  --gold: #b9833f;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.15);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  text-decoration: none;
  font-weight: 800;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--red);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(46px, 7vh, 76px) clamp(20px, 5vw, 70px) clamp(58px, 8vh, 96px);
  background:
    linear-gradient(120deg, rgba(247, 244, 239, 0.95), rgba(247, 244, 239, 0.74)),
    linear-gradient(135deg, rgba(214, 40, 57, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(15, 143, 140, 0.2), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.92;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.lead {
  max-width: 680px;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  color: var(--navy);
}

.availability-note {
  max-width: 650px;
  margin: 18px 0 0;
  padding: 14px 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-media {
  display: grid;
  gap: 18px;
}

.bdm-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.bdm-stack span {
  padding: 10px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 18px;
}

.hero-stats strong {
  display: grid;
  gap: 2px;
  min-height: 82px;
  align-content: center;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.2;
}

.hero-stats span {
  color: var(--red);
  font-size: 1.25rem;
}

.thumbnail-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thumbnail-card img,
.thumbnail-fallback {
  width: 118px;
  height: 118px;
  border-radius: 8px;
}

.thumbnail-card img {
  object-fit: cover;
  object-position: 43% 34%;
}

.thumbnail-fallback {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--red), var(--navy));
}

.thumbnail-fallback span {
  font-size: 2rem;
  font-weight: 900;
}

.thumbnail-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.thumbnail-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.deal-card {
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(214, 40, 57, 0.86), rgba(21, 36, 58, 0.98)),
    var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.deal-card .eyebrow {
  color: #8ee5e1;
}

.deal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.deal-card p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.proof-strip span {
  padding: 14px 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.section {
  padding: clamp(58px, 8vw, 106px) clamp(20px, 5vw, 70px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
  min-width: 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.impact-grid article {
  min-height: 240px;
  padding: 24px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.impact-grid article:nth-child(2) {
  background: var(--red);
}

.impact-grid article:nth-child(3) {
  background: var(--teal);
}

.impact-grid article:nth-child(4) {
  background: #3d342b;
}

.impact-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.impact-grid p,
.profile-band p,
.hire-grid p,
.project-copy p,
.timeline p {
  color: inherit;
}

.hire {
  background:
    linear-gradient(180deg, var(--white), var(--paper));
}

.hire-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hire-grid article {
  display: grid;
  align-content: start;
  min-height: 340px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(17, 24, 39, 0.08);
}

.hire-grid span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.hire-grid h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.hire-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.offer-grid article {
  min-height: 270px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.offer-grid h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.14;
}

.offer-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-band {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
}

.playbook-list {
  display: grid;
  gap: 18px;
}

.playbook-list p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.78);
}

.playbook-list strong {
  color: var(--white);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 160px 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  font-weight: 900;
  color: var(--red);
}

.timeline .role {
  margin-bottom: 0;
  font-weight: 800;
  color: var(--navy);
}

.timeline article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}

.project-copy ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--navy);
  font-weight: 700;
}

.project-feature figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-feature img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.marketing-edge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(21, 36, 58, 0.96), rgba(17, 24, 39, 0.98)),
    var(--ink);
  color: var(--white);
}

.marketing-edge .eyebrow {
  color: #8ee5e1;
}

.marketing-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.marketing-copy ul {
  margin: 24px 0 26px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.marketing-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.marketing-metrics strong {
  display: grid;
  gap: 4px;
  min-height: 92px;
  align-content: center;
  padding: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  line-height: 1.2;
}

.marketing-metrics span {
  color: #8ee5e1;
  font-size: 1.5rem;
}

.marketing-edge .button.secondary {
  color: var(--ink);
}

.marketing-edge figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.marketing-edge img {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
}

.wins {
  background: var(--ink);
  color: var(--white);
}

.wins .eyebrow {
  color: #8ee5e1;
}

.wins-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.wins-grid article {
  min-width: 0;
  min-height: 340px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.wins-grid p {
  margin-bottom: 0;
  color: #8ee5e1;
  font-weight: 900;
}

.wins-grid em {
  width: max-content;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.wins-grid h3 {
  font-size: 1.34rem;
  line-height: 1.15;
}

.wins-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.wins-grid a {
  display: inline-flex;
  width: fit-content;
  padding: 10px 12px;
  color: var(--ink);
  background: #8ee5e1;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.15;
}

.case-studies {
  background: var(--white);
}

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

.case-grid article {
  display: grid;
  gap: 24px;
  align-content: space-between;
  min-height: 520px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(21, 36, 58, 0.96), rgba(17, 24, 39, 0.98)),
    var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.case-grid article:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(15, 143, 140, 0.92), rgba(21, 36, 58, 0.98)),
    var(--navy);
}

.case-label {
  margin-bottom: 10px;
  color: #8ee5e1;
  font-weight: 900;
}

.case-grid h3 {
  max-width: 620px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.case-grid dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.case-grid dl div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.case-grid dt {
  margin-bottom: 6px;
  color: #8ee5e1;
  font-weight: 900;
}

.case-grid dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.case-grid a {
  display: inline-flex;
  width: fit-content;
  padding: 12px 14px;
  color: var(--ink);
  background: #8ee5e1;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-list span {
  padding: 11px 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.certifications {
  background: var(--white);
}

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

.cert-grid article {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 230px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cert-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-grid .tg-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #d50aa8;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(213, 10, 168, 0.22);
}

.cert-grid .tg-icon svg {
  width: 38px;
  height: 38px;
}

.cert-grid .tg-icon svg path:first-child {
  fill: #161b22;
}

.cert-grid .tg-icon svg path:nth-child(2) {
  fill: #ffffff;
}

.cert-grid .tg-icon svg path:last-child {
  fill: none;
  stroke: #161b22;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.cert-grid .percentile {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.cert-grid .percentile-label {
  color: #0d0d0d;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.cert-grid h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.14;
}

.cert-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.55fr);
  gap: clamp(28px, 5vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(214, 40, 57, 0.86), rgba(21, 36, 58, 0.96)),
    var(--navy);
}

.contact .eyebrow {
  color: #8ee5e1;
}

.contact p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.contact-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.contact-card a,
.contact-card span,
.contact-card strong {
  overflow-wrap: anywhere;
  font-weight: 800;
  text-decoration: none;
}

.contact-card strong {
  color: var(--red);
}

.contact-card .linkedin-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}

.contact-card .linkedin-contact span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--white);
  background: #0a66c2;
  border-radius: 4px;
  font-size: 0.8rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .hero,
  .profile-band,
  .project-feature,
  .marketing-edge,
  .contact {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .offer-grid,
  .case-grid,
  .cert-grid,
  .wins-grid,
  .hire-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 660px) {
  body * {
    min-width: 0;
  }

  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 42px 20px 54px;
  }

  .section {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    max-width: 100vw;
  }

  .section-heading,
  .section-heading h2,
  .impact-grid,
  .wins-grid,
  .case-grid,
  .hire-grid,
  .offer-grid,
  .cert-grid,
  .profile-band,
  .timeline-section,
  .project-feature,
  .marketing-edge,
  .skills,
  .contact {
    max-width: calc(100vw - 24px);
  }

  .hero-copy,
  .hero-media {
    width: 100%;
    max-width: 350px;
    min-width: 0;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.75rem, 7vw, 2.05rem);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .lead {
    max-width: 100%;
    font-size: 1.06rem;
  }

  .availability-note {
    font-size: 0.92rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

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

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

  .hero-stats strong {
    min-height: 76px;
    padding: 10px 8px;
    font-size: 0.78rem;
  }

  .hero-stats span {
    font-size: 1.05rem;
  }

  .bdm-stack {
    display: grid;
  }

  .button {
    min-width: 0;
    padding: 12px 10px;
    text-align: center;
  }

  .thumbnail-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 14px;
  }

  .thumbnail-card img,
  .thumbnail-fallback {
    width: 92px;
    height: 92px;
  }

  .impact-grid,
  .hire-grid,
  .offer-grid,
  .case-grid,
  .cert-grid,
  .wins-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .impact-grid article,
  .hire-grid article,
  .offer-grid article,
  .case-grid article,
  .cert-grid article,
  .wins-grid article {
    min-width: 0;
    overflow: visible;
  }

  .cert-grid article {
    min-height: 0;
  }

  .case-grid article {
    min-height: 0;
    padding: 22px 16px;
  }

  .case-grid h3 {
    font-size: 1.6rem;
  }

  .wins-grid article,
  .impact-grid article {
    padding: 18px 14px;
  }

  .wins-grid h3 {
    font-size: 1.08rem;
  }

  .wins-grid em {
    width: auto;
    max-width: 100%;
  }

  .wins-grid span {
    font-size: 0.86rem;
  }

  .impact-grid p,
  .hire-grid p,
  .offer-grid p,
  .case-grid p,
  .case-grid dd,
  .case-grid h3,
  .impact-grid strong,
  .wins-grid p,
  .wins-grid h3,
  .wins-grid span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .wins .section-heading h2 {
    font-size: 1.65rem;
    line-height: 1.08;
  }

  .impact-grid article {
    min-height: 0;
  }
}
