:root {
  color-scheme: dark;
  --bg: #080807;
  --panel: #14120f;
  --panel-2: #1d1712;
  --ink: #f4efe6;
  --muted: #c5b8a7;
  --dim: #8f8170;
  --line: rgba(239, 183, 103, 0.22);
  --copper: #c8793c;
  --amber: #f0b45c;
  --violet: #8d6cff;
  --cyan: #64d7e4;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(200, 121, 60, 0.2), transparent 36rem),
    radial-gradient(circle at 92% 18%, rgba(100, 215, 228, 0.12), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 7, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(145deg, #2a1d13, #0e0d0b);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

.brand__text {
  font-size: 15px;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(100vh, calc(100vw * 1.25));
  overflow: hidden;
}

.hero__image,
.hero__shade {
  grid-area: 1 / 1;
}

.hero__image {
  background-image: url("./assets/research-device.jpg?v=20260617-2");
  background-color: #080807;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  filter: brightness(1.08) contrast(1.03) saturate(1.12) sepia(0.04);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.54) 0%, rgba(8, 8, 7, 0.28) 34%, rgba(8, 8, 7, 0.06) 70%, rgba(8, 8, 7, 0.02) 100%),
    linear-gradient(0deg, rgba(8, 8, 7, 0.18), rgba(8, 8, 7, 0.02) 48%, rgba(8, 8, 7, 0.04));
}

.hero__content {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  align-self: start;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 120px) 24px 72px;
  text-shadow:
    0 3px 16px rgba(0, 0, 0, 0.96),
    0 0 4px rgba(0, 0, 0, 0.92),
    0 0 28px rgba(0, 0, 0, 0.84);
}

.eyebrow,
.section__label,
.project__type {
  margin: 0;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.16;
}

.hero__text {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(244, 239, 230, 0.9);
  font-size: 18px;
  font-weight: 600;
}

.hero__quote {
  max-width: 650px;
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--amber);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.button--primary {
  border-color: rgba(240, 180, 92, 0.72);
  background: linear-gradient(135deg, var(--copper), #8b3f21);
}

.section {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 66px 24px;
}

.intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__approach {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  align-self: end;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 24px clamp(8px, 1vw, 14px);
  border-bottom: 0;
  text-shadow:
    0 3px 16px rgba(0, 0, 0, 0.96),
    0 0 4px rgba(0, 0, 0, 0.92),
    0 0 28px rgba(0, 0, 0, 0.84);
}

.hero__approach p {
  margin-bottom: 0;
  color: rgba(244, 239, 230, 0.92);
  font-weight: 600;
}

.intro p,
.projects__header p,
.project p {
  color: var(--muted);
  font-size: 18px;
}

.intro__body {
  max-width: 820px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
}

.field-grid article,
.project,
.platform-links a {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 50px var(--shadow);
}

.field-grid article {
  min-height: 218px;
  padding: 22px;
}

.field-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--dim);
  font-size: 13px;
}

.field-grid p {
  color: var(--muted);
}

.interactive-workshop {
  padding-top: 34px;
}

.workshop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.workshop-copy,
.zone-map {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(141, 108, 255, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 50px var(--shadow);
}

.workshop-copy {
  padding: 28px;
}

.workshop-copy p {
  color: var(--muted);
  font-size: 18px;
}

.zone-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.zone-map article {
  min-height: 168px;
  padding: 22px;
  background: rgba(8, 8, 7, 0.35);
  scroll-margin-top: 92px;
}

.zone-map span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 20px;
  font-weight: 700;
}

.zone-map p {
  margin-bottom: 0;
  color: var(--muted);
}

.projects {
  padding-top: 34px;
}

.projects__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  margin-bottom: 22px;
}

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

.project {
  padding: 22px;
}

.project--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px;
}

.project img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
}

.project__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--amber);
  font-size: 24px;
  background: rgba(240, 180, 92, 0.08);
}

.platforms {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 82px;
}

.platform-links {
  display: grid;
  gap: 12px;
}

.platform-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
}

.platform-links span {
  font-size: 20px;
  font-weight: 700;
}

.platform-links small {
  color: var(--dim);
  font-size: 14px;
}

@media (max-width: 880px) {
  .topbar,
  .intro,
  .workshop-layout,
  .projects__header,
  .project--featured,
  .platforms {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(8, 8, 7, 0.42), rgba(8, 8, 7, 0.12) 46%, rgba(8, 8, 7, 0.02)),
      linear-gradient(90deg, rgba(8, 8, 7, 0.34), rgba(8, 8, 7, 0.04));
  }

  .hero__image {
    background-position: center top;
    background-size: auto 100%;
    filter: brightness(1.1) contrast(1.04) saturate(1.12) sepia(0.04);
  }

  .field-grid,
  .project-list,
  .zone-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    position: static;
  }

  .brand__text {
    max-width: 170px;
  }

  .nav {
    width: 100%;
  }

  .hero {
    min-height: max(1320px, 100svh);
  }

  .hero__content,
  .hero__approach,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .platform-links a {
    align-items: flex-start;
    flex-direction: column;
  }
}
