:root {
  --ink: #17212b;
  --muted: #5f6b76;
  --line: #dfe5e8;
  --paper: #f8faf9;
  --white: #ffffff;
  --teal: #087f7b;
  --teal-deep: #075d63;
  --coral: #ef6a55;
  --mint: #d9f2ec;
  --steel: #e9eef0;
  --shadow: 0 24px 70px rgba(17, 35, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 40px rgba(12, 32, 43, 0.12);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--white);
  background: rgba(23, 33, 43, 0.94);
  box-shadow: 0 12px 40px rgba(12, 32, 43, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.contact-panel,
.footer {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 0.82rem;
}

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

.nav a,
.header-action,
.footer a {
  transition: color 160ms ease, opacity 160ms ease;
}

.nav a:hover,
.header-action:hover,
.footer a:hover {
  color: var(--coral);
}

.header-action {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 27, 34, 0.32) 0%, rgba(12, 27, 34, 0.02) 28%, rgba(12, 27, 34, 0.08) 100%);
  pointer-events: none;
}

.hero-work-button {
  position: absolute;
  left: clamp(58px, 4.6vw, 72px);
  bottom: clamp(48px, 9.4vh, 76px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 128px;
  min-height: 38px;
  padding: 10px 18px;
  border-radius: 5px;
  color: var(--white);
  background: #df7063;
  box-shadow: 0 10px 24px rgba(190, 86, 73, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.hero-work-button:hover {
  background: var(--coral);
  transform: translateY(-1px);
}

.hero-panel {
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.hero-content {
  width: min(1080px, 100%);
  margin: 0 auto;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 5.3vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.12;
}

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

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 900px;
  margin: 0;
}

.hero-metrics div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.hero-metrics dt {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.section,
.section-band {
  padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 72px);
}

.section-band {
  background: var(--white);
}

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

.intro-grid,
.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.intro p:last-child,
.education-panel,
.toolkit-item p,
.case-subtitle,
.case-points {
  color: var(--muted);
}

.intro p:last-child {
  max-width: 660px;
  font-size: 1.08rem;
}

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

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.case-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(15, 38, 45, 0.06);
}

.case-card.featured {
  grid-row: span 2;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.case-card.featured .case-subtitle,
.case-card.featured .case-points {
  color: rgba(255, 255, 255, 0.74);
}

.case-topline,
.case-results,
.metric-row {
  display: flex;
  align-items: center;
}

.case-topline {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

.case-card.featured .case-topline {
  color: var(--mint);
}

.case-period {
  color: var(--muted);
  font-size: 0.86rem;
}

.case-card.featured .case-period {
  color: rgba(255, 255, 255, 0.62);
}

.case-subtitle {
  margin-bottom: 22px;
  font-weight: 600;
}

.case-results {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.case-results span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.case-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.case-points.compact {
  gap: 10px;
  font-size: 0.95rem;
}

.metric-row {
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.metric-row strong {
  min-width: 74px;
  color: var(--coral);
  font-size: 1.6rem;
}

.metric-row span {
  color: var(--muted);
  font-weight: 600;
}

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

.toolkit-item {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.toolkit-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
}

.toolkit-item:nth-child(2) .toolkit-icon,
.toolkit-item:nth-child(4) .toolkit-icon {
  background: var(--coral);
}

.education-panel {
  padding: 32px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(15, 38, 45, 0.08);
}

.degree {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.university {
  margin: 20px 0 0;
}

.contact-panel {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-deep);
}

.contact-panel h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 68svh;
  }

  .intro-grid,
  .education-grid,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-card.featured {
    grid-row: auto;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-action {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 62svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-work-button {
    left: 16px;
    bottom: 24px;
    min-width: 116px;
    min-height: 36px;
    padding: 9px 14px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 20px 0 22px;
  }

  .hero-actions .button {
    min-height: 46px;
    padding: 11px 10px;
    font-size: 0.9rem;
  }

  .hero-metrics {
    gap: 8px;
  }

  .hero-metrics div {
    padding: 12px 10px;
  }

  .hero-metrics dt {
    font-size: 1.45rem;
  }

  .hero-metrics dd {
    font-size: 0.72rem;
  }

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

  .section,
  .section-band {
    padding: 62px 16px;
  }

  .case-card,
  .education-panel,
  .contact-panel {
    padding: 24px;
  }

  .case-topline,
  .contact-panel,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
