:root {
  --ink: #17212b;
  --ink-deep: #0c171f;
  --slate: #1e3038;
  --muted: #5a6672;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #dce2df;
  --green: #136f63;
  --teal: #0d8b92;
  --blue: #275c9c;
  --coral: #c7583c;
  --gold: #b48625;
  --shadow: 0 18px 40px rgba(23, 33, 43, 0.12);
  --accent: var(--teal);
  --accent-strong: var(--green);
  --accent-cool: var(--blue);
  --accent-warm: var(--coral);
  --accent-soft: #9de3d7;
  --brand-line: linear-gradient(90deg, var(--teal), var(--blue), var(--coral));
  --body-bg: var(--paper);
  --body-text: var(--ink);
  --header-bg: rgba(13, 24, 31, 0.78);
  --header-border: rgba(157, 227, 215, 0.16);
  --header-text: #d4dfdc;
  --brand-text: #d8e4df;
  --control-bg: rgba(255, 255, 255, 0.08);
  --control-border: rgba(255, 255, 255, 0.22);
  --control-text: #d4dfdc;
  --control-active-bg: rgba(157, 227, 215, 0.17);
  --control-active-text: #9de3d7;
  --hero-bg-start: #0b151d;
  --hero-bg-mid: #1d323b;
  --hero-bg-end: #101e26;
  --hero-title: #d6ddd9;
  --hero-lede: #9ed8d0;
  --hero-support: #d4dfdc;
  --hero-shade: linear-gradient(90deg, rgba(9, 18, 24, 0.96) 0%, rgba(15, 31, 40, 0.76) 46%, rgba(15, 31, 40, 0.44) 100%);
  --hero-radial: radial-gradient(circle at 78% 32%, rgba(157, 227, 215, 0.15), rgba(157, 227, 215, 0) 34%);
  --section-bg: var(--paper);
  --band-bg: var(--white);
  --card-bg: var(--white);
  --card-border: var(--line);
  --muted-text: var(--muted);
  --soft-band-bg: #eef2f0;
  --contact-bg: var(--ink);
  --footer-bg: #0d151c;
  --footer-text: #d9e1df;
  --nav-hover: #9de3d7;
  --eyebrow-color: var(--teal);
  --hero-eyebrow: #9de3d7;
  --button-border: rgba(255, 255, 255, 0.32);
  --button-primary-border: rgba(157, 227, 215, 0.78);
  --button-primary-text: #9de3d7;
  --button-secondary-bg: rgba(255, 255, 255, 0.08);
  --proof-border: rgba(255, 255, 255, 0.2);
  --proof-bg: rgba(255, 255, 255, 0.08);
  --proof-title: #ffffff;
  --proof-text: #d4dfdc;
  --image-bg: #10212c;
  --image-border: rgba(23, 33, 43, 0.08);
  --publication-rule: #cbd5d1;
  --contact-eyebrow: #9de3d7;
  --contact-text: #d2ddd9;
  --contact-panel-bg: rgba(255, 255, 255, 0.08);
  --contact-panel-border: rgba(255, 255, 255, 0.18);
  --contact-panel-text: #ffffff;
  --contact-panel-hover: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body-text);
  background: var(--body-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
}

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

.brand-wordmark {
  color: var(--brand-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand-wordmark::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 5px;
  background: var(--brand-line);
}

.brand-logo {
  display: block;
  width: clamp(148px, 16vw, 196px);
  height: auto;
}

.header-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--header-text);
  font-size: 0.93rem;
}

.nav-links a {
  text-decoration: none;
}

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

.display-controls,
.language-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.control-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  color: var(--control-text);
  background: var(--control-bg);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.control-button:hover,
.control-button[aria-pressed="true"] {
  border-color: rgba(157, 227, 215, 0.65);
  color: var(--control-active-text);
  background: var(--control-active-bg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 92vh;
  padding: 130px clamp(20px, 6vw, 80px) 40px;
  overflow: hidden;
  color: var(--white);
  background: var(--hero-bg-end);
}

#research-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

#research-canvas {
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    var(--hero-radial),
    var(--hero-shade),
    linear-gradient(0deg, rgba(10, 19, 25, 0.55), rgba(10, 19, 25, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  min-width: 0;
  align-self: center;
}

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

.hero .eyebrow {
  color: var(--hero-eyebrow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13.6ch;
  color: var(--hero-title);
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  word-break: normal;
}

h1 span {
  display: block;
}

h1 span:first-child {
  white-space: normal;
}

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

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  width: min(680px, 100%);
  margin: 28px 0 0;
  color: var(--hero-lede);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

.hero-support {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: var(--hero-support);
  font-size: 1.02rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--button-border);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
}

.button.primary {
  background: transparent;
  border-color: var(--button-primary-border);
  color: var(--button-primary-text);
}

.button.secondary {
  background: var(--button-secondary-bg);
}

.hero-prototype {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(520px, 100%);
  min-height: 380px;
  opacity: 0.92;
}

.hero-prototype svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 24px 55px rgba(0, 0, 0, 0.28));
}

.concept-grid path {
  fill: none;
  stroke: rgba(157, 227, 215, 0.09);
  stroke-width: 1;
}

.idea-cloud circle {
  fill: rgba(157, 227, 215, 0.18);
  stroke: rgba(157, 227, 215, 0.78);
  stroke-width: 1.3;
}

.idea-cloud path {
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 1.35;
}

.iteration-paths path {
  fill: none;
  stroke: url(#prototype-line);
  stroke-width: 2.1;
  stroke-dasharray: 6 10;
}

.iteration-paths path:nth-child(2) {
  stroke-dasharray: 2 9;
}

.iteration-paths path:nth-child(3) {
  stroke-dasharray: 10 12;
}

.concept-core path {
  fill: rgba(157, 227, 215, 0.04);
  stroke: rgba(214, 221, 217, 0.48);
  stroke-width: 1.4;
}

.concept-core path:nth-child(2) {
  fill: url(#prototype-core);
  stroke: var(--accent-soft);
}

.concept-core circle {
  fill: rgba(157, 227, 215, 0.28);
  stroke: rgba(157, 227, 215, 0.88);
  stroke-width: 1.4;
}

.prototype-block path {
  fill: rgba(12, 23, 31, 0.35);
  stroke: rgba(214, 221, 217, 0.58);
  stroke-width: 1.35;
}

.prototype-block path:nth-child(1) {
  fill: rgba(157, 227, 215, 0.09);
}

.prototype-block circle,
.prototype-nodes circle {
  fill: rgba(157, 227, 215, 0.48);
  stroke: rgba(214, 221, 217, 0.5);
  stroke-width: 1.2;
}

.proof-strip {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-self: end;
  margin-top: 48px;
  background: var(--proof-border);
  border-radius: 8px;
  overflow: hidden;
}

.proof-strip div {
  min-height: 110px;
  padding: 20px;
  background: var(--proof-bg);
  backdrop-filter: blur(8px);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--proof-title);
  font-size: 1.4rem;
}

.proof-strip span {
  color: var(--proof-text);
  font-size: 0.92rem;
}

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

.band {
  background: var(--band-bg);
}

.intro,
.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

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

.section-heading.narrow {
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow),
.intro-copy p,
.split-content p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  box-shadow: var(--card-shadow, 0 1px 0 rgba(23, 33, 43, 0.04));
}

.service-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 190px;
  margin-bottom: 16px;
  object-fit: cover;
  background: var(--image-bg);
  border: 1px solid var(--image-border);
  border-radius: 8px;
}

.service-card p,
.experience-list p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.split-content {
  display: grid;
  gap: 30px;
}

.credential-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.credential-list div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.credential-list dt {
  color: var(--accent-strong);
  font-weight: 900;
}

.credential-list dd {
  margin: 0;
  color: var(--muted);
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.experience-list article {
  padding-top: 22px;
  border-top: 4px solid var(--accent-strong);
}

.experience-list article:nth-child(2) {
  border-color: var(--accent-cool);
}

.experience-list article:nth-child(3) {
  border-color: var(--accent-soft);
}

.experience-list article:nth-child(4) {
  border-color: var(--accent);
}

.experience-list article:nth-child(5) {
  border-color: var(--accent-cool);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.process-list li {
  min-height: 430px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.process-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-weight: 900;
}

.validation-tag {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--accent-strong);
  font-weight: 780;
}

.publications {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(32px, 6vw, 90px);
  background: var(--soft-band-bg);
}

.publication-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.publication-list li {
  padding: 18px 0;
  border-top: 1px solid var(--publication-rule);
  color: var(--body-text);
  font-weight: 760;
}

.contact-section {
  color: var(--white);
  background: var(--contact-bg);
}

.contact-section .eyebrow {
  color: var(--contact-eyebrow);
}

.contact-copy p {
  color: var(--contact-text);
}

.contact-panel {
  display: grid;
  align-self: center;
  background: var(--contact-panel-bg);
  border: 1px solid var(--contact-panel-border);
  border-radius: 8px;
  overflow: hidden;
}

.contact-panel a {
  display: block;
  padding: 22px;
  color: var(--contact-panel-text);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--contact-panel-border);
}

.contact-panel a:last-child {
  border-bottom: 0;
}

.contact-panel a:hover {
  background: var(--contact-panel-hover);
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 28px clamp(20px, 6vw, 80px);
  color: var(--footer-text);
  background: var(--footer-bg);
  font-size: 0.88rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer address {
  font-style: normal;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

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

  .hero-prototype {
    width: min(480px, 100%);
    min-height: 0;
    justify-self: start;
    opacity: 0.7;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .intro,
  .split-section,
  .publications,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .process-list span {
    margin-bottom: 24px;
  }
}

@media (max-width: 700px) {
  .site-header {
    display: grid;
  }

  .brand-logo {
    width: 168px;
  }

  .nav-links {
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 154px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-prototype {
    display: none;
  }

  .section,
  .band,
  .contact-section {
    padding: 56px 20px;
  }

  .proof-strip div {
    min-height: auto;
    padding: 14px;
  }

  .proof-strip strong {
    font-size: 1.14rem;
  }

  .section-heading.narrow {
    margin-bottom: 28px;
  }

  .service-card {
    padding: 14px;
  }

  .service-card p,
  .experience-list p,
  .process-list p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .service-image {
    max-height: 160px;
  }

  .hero-content,
  .proof-strip {
    width: 100%;
    max-width: min(350px, calc(100vw - 40px));
    justify-self: start;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-lede {
    margin-top: 22px;
  }

  .hero-support {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .proof-strip,
  .service-grid,
  .experience-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .credential-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
