@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
}

:root {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #18191a;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --blue: #0061a0;
  --blue-dark: #003a60;
  --red: #da1746;
  --muted: #64696c;
  --rule: #e4e5e6;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; background: #fff; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 48%, transparent);
  outline-offset: 4px;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #18191a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.015em;
  text-decoration: none;
}

.brand-mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue) 0 69%, var(--red) 69% 78%, #001320 78% 100%);
}

.brand-mark span {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 2px;
}

.studio { color: var(--muted); font-size: 13px; }

main { padding: clamp(68px, 10vw, 132px) 0 100px; }

.intro { max-width: 720px; }

h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 92px);
  line-height: .98;
  letter-spacing: -.055em;
}

.intro p {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
  letter-spacing: -.02em;
}

.experiments { margin-top: clamp(84px, 12vw, 150px); }

h2 {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.experiment {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  border-block: 1px solid var(--rule);
  text-decoration: none;
  transition: color 160ms ease, padding 160ms ease;
}

.experiment:hover { padding-inline: 12px; color: var(--blue-dark); }

.experiment-swatch {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6750a4 0 34%, #0f766e 34% 67%, #f59e0b 67% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.experiment-copy { min-width: 0; display: grid; gap: 5px; }
.experiment-copy strong { font-size: 21px; letter-spacing: -.025em; }
.experiment-copy > span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.experiment-meta { color: var(--muted); font-size: 13px; }

.experiment-arrow {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.experiment:hover .experiment-arrow { transform: translateX(4px); }

footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .025em;
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer { width: min(100% - 36px, 1120px); }
  .site-header { min-height: 76px; }
  .studio { display: none; }
  main { padding-top: 64px; }
  .experiment { grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; }
  .experiment-meta { display: none; }
  .experiment-copy > span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .experiment,
  .experiment-arrow { transition: none; }
}
