:root {
  color-scheme: dark;
  --bg: #15171a;
  --panel: #1d2024;
  --panel-2: #24282e;
  --ink: #ffffff;
  --muted: #b9c0c9;
  --soft: #808895;
  --line: rgba(255, 255, 255, 0.13);
  --orange: #ff681c;
  --orange-2: #ff9b5f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 104, 28, 0.13), transparent 28rem),
    linear-gradient(180deg, #111315 0%, var(--bg) 38%, #101214 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid transparent;
  background: rgba(21, 23, 26, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, background 160ms ease;
}

.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
  background: rgba(17, 19, 21, 0.92);
}

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

.brand {
  gap: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.brand img {
  display: block;
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--orange-2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  min-height: min(760px, calc(82vh - 74px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0 clamp(30px, 4vw, 52px);
}

.hero-logo {
  width: min(420px, 100%);
  height: auto;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 740px;
  margin-bottom: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 22px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button,
button {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.button.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #15171a;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: rgba(255, 104, 28, 0.55);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 104, 28, 0.13), transparent 34%),
    #101214;
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  content: "";
}

.hero-media img {
  position: relative;
  width: min(96%, 520px);
  height: auto;
}

.band,
.section,
.contact {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(68px, 10vw, 128px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.metric {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.035);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
}

.metric span {
  color: var(--muted);
}

.section {
  padding: clamp(56px, 9vw, 112px) 0;
}

.section-heading {
  margin-bottom: 34px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

.work-card {
  display: flex;
  min-height: 260px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 104, 28, 0.1), transparent 42%),
    var(--panel);
}

.work-card.featured {
  grid-row: span 2;
  min-height: 536px;
  align-items: end;
  background:
    linear-gradient(160deg, rgba(255, 104, 28, 0.28), transparent 46%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 60%),
    var(--panel-2);
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card p,
.lab-list p {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted);
}

.lab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lab-list > div {
  padding-top: 22px;
  border-top: 2px solid var(--orange);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f1ed;
  color: #15171a;
}

.contact .eyebrow {
  color: #a34010;
}

.contact h2 {
  max-width: 760px;
}

.site-footer {
  justify-content: space-between;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .nav {
    padding-top: 7px;
  }

  .hero,
  .work-grid,
  .lab-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 24px;
  }

  .hero-media {
    min-height: 260px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 20px;
  }

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

  .work-card.featured {
    min-height: 320px;
  }

  .contact {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    padding: 16px 18px;
  }

  .brand span {
    max-width: 100px;
    line-height: 1.05;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    width: min(100% - 28px, var(--max));
    padding-top: 34px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-logo {
    margin-bottom: 22px;
  }

  .hero-media {
    min-height: 138px;
  }

  .hero-media img {
    width: min(78%, 260px);
    max-height: 124px;
    object-fit: contain;
  }

  .hero-text {
    font-size: 18px;
  }

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

  .band,
  .section,
  .contact,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

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

  .footer-links {
    gap: 14px;
  }
}
