:root {
  color-scheme: light;
  --bg: #f3f0e8;
  --paper: #fbfaf6;
  --header-bg: #eeeae0;
  --text: #171714;
  --quantum-gray: #45464a;
  --muted: #67635b;
  --line: #d6d0c3;
  --accent: #b9d218;
  --accent-dark: #45464a;
  --accent-soft: #dce982;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

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

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

section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(210px, 420px) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: 14px max(16px, calc((100% - var(--max)) / 2)) 12px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

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

.brand-logo {
  width: min(100%, 390px);
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: translateY(3px);
}

.site-nav a,
.language-switch a {
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a[aria-pressed="true"] {
  color: var(--accent);
  border-color: currentColor;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
}


.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: end;
  gap: clamp(32px, 6vw, 88px);
  width: min(100% - 32px, var(--max));
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: 42px 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero-copyblock {
  order: 1;
  min-width: 0;
  padding-bottom: 18px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-title-button {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
}

.section-title-button:hover,
.section-title-button:focus-visible {
  color: var(--accent);
}

h3 {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy,
.section-content > p,
.statement p {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(12px, 1.05vw, 15px);
}

.hero-copy {
  margin-bottom: 24px;
}

.poster {
  order: 2;
  align-self: center;
  margin: 0;
  min-width: 0;
  width: 100%;
  background: var(--paper);
  box-shadow: 0 22px 60px rgb(23 23 20 / 14%);
}

.poster-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.poster-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.poster img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}

.text-link::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(6px);
}

.section {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.lead-section {
  padding-top: 88px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
}

.principles article {
  min-height: 180px;
  padding: 18px;
  background: var(--paper);
}

.principles span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.work-section .section-content > p + p {
  margin-top: -6px;
}

.work-fields {
  max-width: 760px;
  margin-top: 30px;
}

.work-fields h3 {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-fields ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.work-fields li {
  min-height: 42px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mira-band {
  background: var(--quantum-gray);
  color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mira-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 84px 0;
}

.project-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mira-band h3 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 0.98;
}

.mira-band p:not(.project-kicker) {
  max-width: 650px;
  margin-bottom: 10px;
  color: #f2efe8;
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.55;
}

.mira-band p:last-child {
  margin-bottom: 0;
}

.labs-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.labs-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 104px 0;
}

.labs-inner h2 {
  max-width: 760px;
}

.labs-inner p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.58;
}

.labs-inner p + p {
  margin-top: -4px;
}

.statement {
  background: var(--accent-dark);
  color: var(--paper);
}

.statement-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

.statement .eyebrow {
  color: var(--accent-soft);
}

.statement p {
  color: #d8d0c5;
}

.manifest-link {
  margin-top: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.contact {
  border-bottom: 0;
}

.contact-address {
  display: grid;
  gap: 1px;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.contact-address strong {
  font-weight: 800;
}

.contact-address a {
  color: var(--text);
}

.company-details {
  display: grid;
  gap: 7px;
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.company-details div {
  display: grid;
  gap: 1px;
}

.company-details dt {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.company-details dd {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer a {
  color: var(--accent);
}

.manifest-dialog[hidden] {
  display: none;
}

.manifest-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.manifest-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(23 23 20 / 74%);
  cursor: pointer;
}

.manifest-panel {
  position: relative;
  width: min(100%, 920px);
  max-height: min(86svh, 940px);
  overflow: auto;
  background: var(--quantum-gray);
  color: #f6f4ef;
  box-shadow: 0 30px 90px rgb(0 0 0 / 34%);
}

.manifest-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px 10px;
  background: var(--quantum-gray);
  border-bottom: 1px solid rgb(246 244 239 / 16%);
}

.manifest-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifest-close {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f6f4ef;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  line-height: 12px;
}

.manifest-close:hover,
.manifest-close:focus-visible {
  color: var(--accent);
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.manifest-content {
  padding: clamp(20px, 4vw, 42px);
}

.manifest-content h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.05;
}

.manifest-body {
  max-width: 760px;
  color: #f6f4ef;
  font-size: clamp(10.5px, 0.95vw, 12px);
  line-height: 1.58;
}

.manifest-body p {
  margin-bottom: 0.95em;
}

.manifest-body p:last-child {
  margin-bottom: 0;
}

body.manifest-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    width: 100%;
    padding-top: 0;
  }

  .hero-copyblock {
    order: 2;
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
  }

  .poster {
    order: 1;
    max-width: none;
    width: 100%;
  }

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

  .work-fields ul {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  section[id] {
    scroll-margin-top: 128px;
  }

  .site-header {
    align-items: flex-start;
    gap: 18px;
    padding: 14px 8px 11px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
    font-size: 7.5px;
    transform: translateY(4px);
  }

  .language-switch {
    flex: 0 0 auto;
    gap: 5px;
    margin-left: auto;
  }

  .brand-logo {
    width: min(100%, 300px);
  }

  .hero {
    padding: 0 0 60px;
  }

  h1 {
    font-size: clamp(28px, 10vw, 44px);
  }

  .section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 62px 0;
  }

  .statement-inner {
    padding: 78px 0;
  }

  .mira-inner {
    padding: 70px 0;
  }

  .labs-inner {
    padding: 72px 0;
  }

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

  .manifest-dialog {
    padding: 10px;
  }

  .manifest-panel {
    max-height: 92svh;
  }

  .manifest-header {
    padding: 10px 12px 9px;
  }

  .manifest-content {
    padding: 22px 14px 28px;
  }

  .manifest-body {
    font-size: 10.5px;
    line-height: 1.55;
  }
}

@media (max-width: 280px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .language-switch {
    margin-left: 10px;
  }
}
