:root {
  color-scheme: light;
  --ink: #1f1630;
  --ink-soft: #5f566c;
  --ink-muted: #7b7187;
  --paper: #fffdf8;
  --paper-cool: #f7f3fc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --line: #dfd4ec;
  --line-strong: #bba6da;
  --violet-950: #261047;
  --violet-800: #442078;
  --violet-650: #7040c5;
  --violet-100: #f0e8ff;
  --cyan: #0e7490;
  --green: #047857;
  --amber: #a75a09;
  --rose: #b91c78;
  --shadow: 0 24px 70px rgba(43, 25, 82, 0.13);
  --shadow-soft: 0 10px 28px rgba(43, 25, 82, 0.09);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(112, 64, 197, 0.13), transparent 28rem),
    linear-gradient(250deg, rgba(14, 116, 144, 0.1), transparent 30rem),
    linear-gradient(180deg, var(--paper-cool), var(--paper) 36rem);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), transparent 18rem),
    repeating-linear-gradient(90deg, rgba(38, 16, 71, 0.028) 0 1px, transparent 1px 96px);
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--violet-650);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  color: var(--violet-950);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 10;
  display: flex;
  width: min(1120px, calc(100% - 2rem));
  margin: 0.9rem auto 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(112, 64, 197, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand img,
.footer img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.brand span {
  display: grid;
  min-width: 0;
}

.brand strong {
  overflow: hidden;
  color: var(--violet-950);
  font-size: 0.98rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small,
.eyebrow,
.role,
.evidence-tags span {
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--violet-100);
  color: var(--violet-800);
  font-size: 0.78rem;
  font-weight: 820;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface-solid);
}

main {
  display: grid;
  gap: 1.15rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0 2.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.58fr);
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(112, 64, 197, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.35rem, 5vw, 4.3rem);
}

.eyebrow {
  color: var(--violet-650);
}

h1 {
  max-width: 13.5ch;
  font-size: clamp(2.8rem, 5.1vw, 4.9rem);
  font-weight: 930;
}

.hero-lead {
  max-width: 710px;
  color: var(--violet-800);
  font-size: clamp(1.12rem, 1.6vw, 1.34rem);
  font-weight: 760;
  line-height: 1.34;
}

.hero-note,
.statement p,
.row-copy p,
.closing p,
.footer p {
  color: var(--ink-soft);
}

.hero-note {
  max-width: 710px;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  border-left: 1px solid var(--line);
  background: #eee7f8;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 16, 71, 0.2), transparent 42%),
    linear-gradient(0deg, rgba(38, 16, 71, 0.1), transparent 60%);
  pointer-events: none;
}

.proof-strip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.proof-strip span {
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--violet-950);
  font-size: 0.72rem;
  font-weight: 820;
}

.statement,
.closing {
  border-left: 3px solid var(--violet-650);
  padding: clamp(1.15rem, 2.8vw, 1.8rem);
  background: rgba(255, 255, 255, 0.68);
}

.statement p,
.closing p {
  max-width: 78ch;
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.arc {
  display: grid;
  gap: 0;
  padding: clamp(1rem, 2vw, 1.4rem) 0;
}

.arc-heading {
  display: grid;
  gap: 0.45rem;
  max-width: 820px;
  padding: 0 0 1.2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 920;
}

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--line);
}

.work-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2.55rem;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), rgba(187, 166, 218, 0.05));
}

.work-row-feature {
  padding-top: clamp(1.6rem, 3.5vw, 2.4rem);
}

.row-index {
  position: relative;
  z-index: 1;
  display: grid;
  width: 5.2rem;
  height: 5.2rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--violet-800);
  font-size: 0.82rem;
  font-weight: 920;
  box-shadow: var(--shadow-soft);
}

.row-copy {
  display: grid;
  gap: 0.6rem;
  max-width: 850px;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(223, 212, 236, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 249, 255, 0.76)),
    var(--surface);
  box-shadow: 0 12px 32px rgba(43, 25, 82, 0.07);
}

.work-row:nth-of-type(2) .role {
  color: var(--cyan);
}

.work-row:nth-of-type(3) .role {
  color: var(--green);
}

.work-row:nth-of-type(4) .role {
  color: var(--amber);
}

.method-row .role {
  color: var(--rose);
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 900;
}

.row-copy p:not(.role) {
  max-width: 76ch;
  font-size: 1rem;
}

.evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.2rem;
}

.evidence-tags span {
  padding: 0.38rem 0.52rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.closing {
  margin-top: 0.2rem;
  border-left-color: var(--green);
}

.closing p {
  color: var(--violet-950);
  font-weight: 780;
}

.footer {
  display: flex;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0 0 2rem;
}

.footer p {
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 220px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .arc-heading {
    max-width: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    position: static;
    width: min(100% - 1rem, 1120px);
    margin-top: 0.5rem;
    align-items: flex-start;
    flex-direction: column;
  }

  main,
  .footer {
    width: min(100% - 1rem, 1120px);
  }

  .hero-copy {
    gap: 0.7rem;
    padding: 1rem;
  }

  h1 {
    max-width: 11.4ch;
    font-size: clamp(2.18rem, 9.8vw, 2.95rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .hero-lead,
  .statement p,
  .closing p {
    font-size: 1.03rem;
  }

  .hero-note,
  .row-copy p:not(.role) {
    font-size: 0.94rem;
  }

  .hero-visual {
    min-height: 150px;
  }

  .proof-strip {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem 0;
  }

  .work-row::before {
    display: none;
  }

  .row-index {
    width: 2.8rem;
    height: 2.8rem;
  }

  .row-copy {
    padding: 1rem;
  }

  h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

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