:root {
  --ink: #101820;
  --ink-soft: #35424d;
  --paper: #f8f5ef;
  --paper-warm: #efe8dc;
  --surface: #ffffff;
  --teal: #007c7a;
  --teal-dark: #005c5a;
  --copper: #b66a35;
  --green: #5b7c46;
  --line: rgba(16, 24, 32, 0.14);
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  padding: 0.75rem 1rem;
}

.nav-shell {
  width: min(var(--max), calc(100vw - 2rem));
  min-height: 64px;
  margin: 0 auto;
  padding: 0.6rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(248, 245, 239, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 34px rgba(16, 24, 32, 0.12);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-initials {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-size: 0.98rem;
}

.brand-mark small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.78rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-menu a:hover,
.site-menu a.active {
  color: var(--ink);
  background: rgba(0, 124, 122, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.95) 0%, rgba(16, 24, 32, 0.72) 42%, rgba(16, 24, 32, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.72) 0%, rgba(16, 24, 32, 0) 38%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100vw - 2rem));
  margin: 0 auto;
  padding: 9rem 0 3rem;
}

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

.hero .eyebrow {
  color: #f0b57f;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.35rem, 5vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.06rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.08rem;
  border: 1px solid transparent;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: currentColor;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.section .button.secondary,
.contact-section .button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.2);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.signal-strip {
  width: min(100%, 980px);
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 24, 32, 0.48);
  backdrop-filter: blur(14px);
}

.signal-strip span {
  min-height: 92px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.signal-strip span:last-child {
  border-right: 0;
}

.signal-strip strong {
  color: #fff;
  font-size: 1.45rem;
}

.section {
  width: min(var(--max), calc(100vw - 2rem));
  margin: 0 auto;
  padding: clamp(4.8rem, 9vw, 7.6rem) 0;
}

.section-grid,
.focus-layout,
.credential-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.lead-copy {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.metric-card,
.product-card,
.skills-matrix article,
.credential-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.08);
}

.metric-card {
  min-height: 260px;
  padding: 1.3rem;
}

.metric {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--teal);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.metric-card p,
.capability-list p,
.timeline-body p,
.product-card p,
.skills-matrix p,
.credential-grid p {
  color: var(--ink-soft);
}

.focus-section,
.proof-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--paper-warm);
}

.capability-list {
  display: grid;
  gap: 1rem;
}

.capability-list article {
  padding: 1.2rem 0 1.2rem 1.2rem;
  border-left: 4px solid var(--teal);
}

.capability-list span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
}

.timeline {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  color: var(--teal);
  font-weight: 900;
}

.company {
  margin-bottom: 1rem;
  color: var(--copper);
  font-weight: 800;
}

ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

li + li {
  margin-top: 0.45rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.product-card {
  min-height: 340px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}

.product-card.highlight {
  color: #fff;
  background: var(--ink);
}

.product-card.highlight p {
  color: rgba(255, 255, 255, 0.76);
}

.product-year {
  margin-bottom: 1rem;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

.tag-row span {
  padding: 0.45rem 0.62rem;
  color: var(--ink);
  background: rgba(0, 124, 122, 0.11);
  font-size: 0.78rem;
  font-weight: 800;
}

.highlight .tag-row span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.skills-matrix,
.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.skills-matrix article,
.credential-grid article {
  min-height: 175px;
  padding: 1.25rem;
}

.recognition-section {
  padding-top: 2rem;
}

.contact-section {
  padding: clamp(4rem, 8vw, 6rem) 1rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 124, 122, 0.94), rgba(16, 24, 32, 0.98)),
    var(--teal);
}

.contact-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  margin-inline: auto;
  max-width: 860px;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  width: min(var(--max), calc(100vw - 2rem));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  color: var(--teal);
}

@media (max-width: 980px) {
  .site-header {
    padding: 0.65rem;
  }

  .nav-shell {
    width: calc(100vw - 1.3rem);
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    display: none;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    padding-top: 0.5rem;
  }

  .site-menu.open {
    display: grid;
  }

  .site-menu a {
    justify-content: center;
    background: rgba(16, 24, 32, 0.05);
  }

  .section-grid,
  .focus-layout,
  .credential-layout,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .skills-matrix,
  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  .brand-mark small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.95), rgba(16, 24, 32, 0.78)),
      linear-gradient(0deg, rgba(16, 24, 32, 0.78), rgba(16, 24, 32, 0.16));
  }

  .hero-content {
    width: calc(100vw - 1.5rem);
    padding: 6.6rem 0 1rem;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.04;
  }

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

  .hero-actions {
    margin-top: 1.1rem;
  }

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

  .signal-strip {
    display: flex;
    overflow-x: auto;
    margin-top: 1.1rem;
    scroll-snap-type: x mandatory;
  }

  .signal-strip span {
    min-width: 156px;
    min-height: 78px;
    scroll-snap-align: start;
  }

  .signal-strip span:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    width: calc(100vw - 1.5rem);
  }

  .impact-grid,
  .skills-matrix,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .product-card,
  .skills-matrix article,
  .credential-grid article {
    min-height: auto;
  }

  .timeline-item {
    gap: 0.8rem;
  }

  .site-footer {
    width: calc(100vw - 1.5rem);
    padding: 1.4rem 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
