:root {
  --bg: oklch(8.5% 0.018 155);
  --bg-2: oklch(11.5% 0.02 155);
  --surface: oklch(14% 0.022 155);
  --surface-2: oklch(18% 0.024 155);
  --ink: oklch(96% 0.012 130);
  --muted: oklch(76% 0.028 145);
  --dim: oklch(60% 0.028 145);
  --accent: oklch(90% 0.24 130);
  --accent-ink: oklch(8.5% 0.018 155);
  --line: oklch(96% 0.012 130 / 0.16);
  --line-strong: oklch(90% 0.24 130 / 0.42);
  --shadow: oklch(4% 0.01 155 / 0.48);
  --radius: 4px;
  --max: 1440px;
  --gutter: 28px;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

dialog {
  margin: auto;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  min-height: 72px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: oklch(8.5% 0.018 155 / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand span {
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.primary-nav a,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: 0.86;
}

.primary-nav a:hover,
.site-footer nav a:hover {
  opacity: 1;
  color: var(--ink);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:active,
.button:active {
  transform: translateY(0);
  opacity: 0.84;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 32px;
  align-items: stretch;
  max-width: var(--max);
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 58px var(--gutter) 34px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 0;
}

.kicker,
.label-line {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 8ch;
  margin-top: 22px;
  font-family: var(--display);
  font-size: 5.6rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-position {
  max-width: 600px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(90% 0.24 130 / 0.12), transparent 38%),
    var(--surface);
  box-shadow: 0 18px 48px var(--shadow);
  isolation: isolate;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid oklch(90% 0.24 130 / 0.18);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.84) contrast(1.08);
  transition: transform 360ms ease, opacity 360ms ease;
}

.image-frame:hover img {
  transform: scale(1.018);
  opacity: 1;
}

.image-frame-large {
  aspect-ratio: 1 / 1;
  min-height: 590px;
}

.proof-rail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 30px;
}

.proof-rail dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-rail div {
  min-height: 118px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.proof-rail div:last-child {
  border-right: 0;
}

.proof-rail dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.proof-rail dd {
  margin-top: 18px;
  font-family: var(--display);
  font-size: 1.72rem;
  line-height: 1.05;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px var(--gutter);
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 74px;
  align-items: start;
}

h2 {
  font-family: var(--display);
  font-size: 3.6rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.section-head p,
.method-intro p,
.proof-statement p,
.studio-copy p,
.brand-copy p,
.leadership-copy p,
.contact-panel p,
.legal-document p {
  color: var(--muted);
}

.section-head p {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.about-copy {
  display: grid;
  gap: 20px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 1.04rem;
}

.capabilities-section {
  padding-top: 72px;
}

.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  grid-template-areas:
    "lead stack"
    "image stack";
  gap: 24px;
}

.capability-lead {
  grid-area: lead;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(145deg, oklch(90% 0.24 130 / 0.12), oklch(14% 0.022 155));
}

.capability-lead p {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
}

.capability-stack {
  grid-area: stack;
  display: grid;
  border-top: 1px solid var(--line);
}

.capability-stack article {
  display: grid;
  gap: 12px;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.capability-stack h3,
.method-rows h3,
.proof-notes h3 {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.96rem;
  font-weight: 600;
}

.capability-stack p,
.method-rows p,
.proof-notes p {
  color: var(--muted);
}

.capability-image {
  grid-area: image;
  min-height: 430px;
}

.method-intro {
  max-width: 760px;
}

.method-intro p {
  max-width: 620px;
  margin-top: 20px;
}

.method-rows {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.method-rows article {
  display: grid;
  grid-template-columns: 160px minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.method-rows span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 600;
}

.studio-section,
.brand-section,
.leadership-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.studio-image,
.brand-image,
.leadership-image {
  min-height: 520px;
}

.studio-copy,
.brand-copy,
.leadership-copy {
  display: grid;
  gap: 22px;
}

.tick-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.proof-statement {
  position: sticky;
  top: 104px;
}

.proof-statement p {
  margin-top: 22px;
}

.proof-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-notes article {
  min-height: 220px;
  padding: 26px;
  background: var(--surface);
}

.proof-notes p {
  margin-top: 34px;
}

.brand-section {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
}

.leadership-section {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
}

.leadership-copy .label-line {
  margin-bottom: 4px;
}

.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.contact-panel {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact-panel p {
  max-width: 560px;
}

.contact-panel .button {
  justify-self: start;
}

.contact-details {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-style: normal;
}

.contact-details a,
.contact-details span {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  padding-bottom: 0;
  border-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px var(--gutter) 44px;
  color: var(--muted);
}

.site-footer p {
  margin-top: 14px;
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.footer-brand {
  color: var(--ink);
}

.legal-body .site-header {
  position: static;
}

.legal-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px var(--gutter);
}

.legal-document {
  display: grid;
  gap: 34px;
  max-width: 900px;
}

.legal-document h1 {
  font-family: var(--display);
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.legal-document section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  font-size: 1.55rem;
  line-height: 1.15;
}

.legal-document section p {
  margin-top: 12px;
}

.legal-document a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.18em;
}

.legal-document a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .hero,
  .section-grid,
  .capabilities-layout,
  .studio-section,
  .brand-section,
  .leadership-section,
  .contact-section,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-layout {
    grid-template-areas:
      "lead"
      "stack"
      "image";
  }

  .proof-statement {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    min-height: 66px;
    padding-block: 12px;
  }

  .brand span {
    max-width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero h1 {
    max-width: 7ch;
    font-size: 3.9rem;
  }

  .hero-position {
    font-size: 1.06rem;
  }

  .image-frame-large,
  .image-frame,
  .studio-image,
  .brand-image,
  .leadership-image {
    min-height: 330px;
  }

  .proof-rail dl {
    grid-template-columns: 1fr 1fr;
  }

  .proof-rail div:nth-child(2) {
    border-right: 0;
  }

  .proof-rail div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section,
  .contact-section,
  .legal-shell {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h2 {
    font-size: 2.45rem;
  }

  .capability-lead {
    min-height: auto;
    padding: 22px;
  }

  .method-rows article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .proof-notes {
    grid-template-columns: 1fr;
  }

  .proof-notes article {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .legal-document h1 {
    font-size: 3rem;
  }
}

@media (max-width: 460px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .primary-nav {
    grid-row: 3;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .nav-cta {
    justify-self: start;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .proof-rail dl {
    grid-template-columns: 1fr;
  }

  .proof-rail div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-rail div:last-child {
    border-bottom: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  .button,
  .nav-cta,
  .image-frame img {
    transform: none !important;
    opacity: 1 !important;
  }
}
