:root {
  --ink: #11120f;
  --paper: #f3f0e6;
  --paper-deep: #e7e2d4;
  --acid: #c9f35b;
  --orange: #f16b3a;
  --muted: #67685f;
  --line: rgba(17, 18, 15, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(201, 243, 91, 0.3), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

nav {
  display: flex;
  gap: clamp(18px, 4vw, 46px);
}

nav a,
footer a {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero {
  min-height: 680px;
  padding: 86px 0 98px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.eyebrow,
.section-index,
.project-meta,
.project-footer,
.prototype-note,
.signal-topline,
.signal-note {
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 30px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  display: inline-block;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(241, 107, 58, 0.15);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 34px;
  font-size: clamp(4rem, 9vw, 8.4rem);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lede {
  max-width: 650px;
  margin-bottom: 38px;
  color: #3e4039;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 15px 20px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-2px);
}

.signal-card {
  min-height: 430px;
  padding: 27px;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 16px 16px 0 var(--orange);
}

.signal-topline {
  display: flex;
  justify-content: space-between;
  color: #c8c8bd;
}

.signal-dot {
  width: 11px;
  height: 11px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--acid);
}

.signal-number {
  margin: 42px 0 0;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  font-style: italic;
  line-height: 1;
}

.signal-title {
  max-width: 270px;
  font-size: 1.75rem;
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 34px;
}

.signal-grid span {
  height: 5px;
  background: rgba(243, 240, 230, 0.2);
}

.signal-grid span:nth-child(3n + 1),
.signal-grid span:nth-child(7) {
  background: var(--acid);
}

.signal-note {
  margin: 16px 0 0;
  color: #a7a89f;
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  align-items: end;
}

.section-index {
  margin-bottom: 8px;
  color: var(--muted);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-card {
  min-height: 430px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card--dark {
  color: var(--paper);
  background: var(--ink);
}

.project-card--accent {
  color: var(--ink);
  background: var(--acid);
}

.project-meta,
.project-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.project-card--dark .project-meta,
.project-card--dark .project-footer {
  color: #b8b9ae;
}

.project-card h3 {
  margin: auto 0 24px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.project-card p {
  max-width: 560px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.project-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid currentColor;
}

.project-code {
  font-weight: 900;
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.principles li {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  border-top: 1px solid var(--line);
}

.principle-number {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-style: italic;
}

.principles h3 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.principles p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about {
  padding-bottom: 130px;
}

.about-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-grid h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.about-grid > div > p:first-child {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.6;
}

.prototype-note {
  margin-top: 36px;
  color: var(--orange);
}

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .hero,
  .section-heading,
  .principles li,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .signal-card {
    min-height: 390px;
    max-width: 480px;
  }

  .section-heading,
  .about-grid {
    gap: 24px;
  }

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

  .principles li {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 80px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(3.6rem, 19vw, 5rem);
  }

  .hero {
    min-height: auto;
    padding-bottom: 72px;
  }

  .section {
    padding: 78px 0;
  }

  .project-card {
    min-height: 390px;
  }

  .project-meta,
  .project-footer,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-action {
    transition: none;
  }
}

