:root {
  --ink: #111;
  --gray: #f4f5f7;
  --blue: #1c80ef;
  --muted: #6b7079;
  --line: #dfe2e6;
  --body: #30343a;
  --icon-radius: 22%;
  --icon-shadow: 0 1px 3px rgba(17, 17, 17, 0.14);
}

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

html {
  scroll-behavior: smooth;
  background: #fff;
}

html,
body {
  margin: 0;
  overflow-x: clip;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 40;
  padding: 0.4rem 0.65rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 3px solid var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.mast nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mast nav a:hover,
.mast nav a:focus-visible {
  color: var(--blue);
}

.me {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.me img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
  background: #fff;
}

.kicker {
  display: flex;
  justify-content: space-between;
  font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 0 0;
}

h1 {
  font-size: clamp(2.6rem, 9.4vw, 8.875rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin: 44px 0 0;
  max-width: min(13ch, 100%);
  overflow: visible;
}

h1 .pair,
h1 .dir {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  vertical-align: -0.08em;
}

h1 .pair {
  gap: 0.14em;
  margin: 0 0.12em;
}

h1 .g {
  display: block;
  width: 0.72em;
  height: 0.72em;
  width: 1cap;
  height: 1cap;
  flex: none;
  border-radius: var(--icon-radius);
  overflow: hidden;
  margin: 0;
  background: var(--gray);
  box-shadow: var(--icon-shadow);
}

h1 .g img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

h1 .g.t1 {
  transform: rotate(-2deg);
}

h1 .g.t2 {
  transform: rotate(2deg);
}

h1 .bt {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  width: 1cap;
  height: 1cap;
  vertical-align: -0.08em;
  margin: 0 0.1em 0 0.08em;
  overflow: visible;
  flex: none;
}

h1 .blue {
  color: var(--blue);
}

.deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 46px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.deck p {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 30ch;
}

.deck p a {
  color: var(--blue);
  font-weight: 800;
}

.deck p a:hover,
.deck p a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.deck .cta {
  justify-self: end;
  align-self: start;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  font-weight: 800;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  display: inline-block;
}

.btn.solid {
  background: var(--ink);
  color: #fff;
}

.btn:hover,
.btn:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.sec {
  margin-top: 110px;
  scroll-margin-top: 24px;
}

.sec-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 12px;
}

.sec-h h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
}

.sec-h span {
  font: 600 13px ui-monospace, Menlo, monospace;
  color: var(--muted);
}

.item {
  display: grid;
  grid-template-columns: 90px 1.25fr 1fr 96px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.25s;
  scroll-margin-top: 96px;
}

.item:hover,
.item:focus-within {
  padding-left: 14px;
  background: linear-gradient(90deg, var(--gray), #fff);
}

.num {
  font: 700 15px ui-monospace, Menlo, monospace;
  color: var(--muted);
}

.item:hover .num,
.item:focus-within .num,
.web .num {
  color: var(--blue);
}

.nm {
  font-size: clamp(1.9rem, 4.6vw, 4.125rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.nm small {
  display: block;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--muted);
  margin-top: 10px;
}

.ds {
  font-size: 18px;
  line-height: 1.45;
  color: var(--body);
}

.ds .lk {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 800;
}

.ds .lk a {
  color: var(--blue);
}

.ds .lk a::after {
  content: " ↗";
}

.ds .lk a:hover,
.ds .lk a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.ic {
  width: 96px;
  height: 96px;
  border-radius: var(--icon-radius);
  overflow: hidden;
  background: var(--gray);
  box-shadow: var(--icon-shadow);
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.ic img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.ic.bleed img,
h1 .g.bleed img {
  /* iOS PNGs keep ~25px transparent inset on 256px; scale past that so artwork fills the tile. */
  width: 128%;
  height: 128%;
  max-width: none;
  margin: -14%;
}

.item:hover .ic,
.item:focus-within .ic {
  transform: rotate(-8deg) scale(1.08);
}

.close {
  margin-top: 120px;
  background: var(--gray);
  border-radius: 36px;
  padding: 64px 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  overflow: hidden;
  position: relative;
}

.close p {
  margin: 0 0 10px;
  font: 600 13px ui-monospace, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.close a.big {
  font-size: clamp(2.75rem, 7.4vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  display: block;
}

.close a.big:hover,
.close a.big:focus-visible {
  color: var(--blue);
}

.close .bot {
  width: 210px;
  height: 210px;
  flex: none;
  margin: -36px -10px -72px 0;
  overflow: visible;
}

.foot {
  display: flex;
  gap: 24px;
  padding: 34px 0 46px;
  font-size: 14px;
  color: var(--muted);
}

.foot a {
  color: var(--ink);
  font-weight: 700;
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--blue);
}

.mast nav a:focus-visible,
.me:focus-visible,
.btn:focus-visible,
.foot a:focus-visible,
.ds .lk a:focus-visible,
.close a.big:focus-visible,
.legal a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.legal-page {
  background: #fff;
  min-height: 100svh;
}

.legal {
  width: min(42rem, 100%);
  margin: 36px auto 48px;
  background: var(--gray);
  border-radius: 26px;
  padding: 36px 40px 40px;
}

.legal h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
  max-width: none;
}

.legal .updated {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.legal h2 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

.legal p {
  margin: 12px 0 0;
}

.legal ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--blue);
  font-weight: 700;
}

.legal a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 1024px) {
  .wrap {
    padding: 0 32px;
  }

  .item {
    grid-template-columns: 64px 1.1fr 1fr 80px;
    gap: 18px;
  }

  .ic {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 820px) {
  .wrap {
    padding: 0 20px;
  }

  .mast nav {
    display: none;
  }

  .kicker span:last-child {
    display: none;
  }

  h1 {
    margin-top: 30px;
    font-size: clamp(2.45rem, 11.2vw, 3.6rem);
    max-width: 100%;
  }

  .deck {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
  }

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

  .deck p {
    font-size: 19px;
  }

  .sec {
    margin-top: 72px;
  }

  .item {
    grid-template-columns: 1fr 64px;
    gap: 12px 16px;
    padding: 22px 0;
  }

  .item:hover,
  .item:focus-within {
    padding-left: 0;
  }

  .num {
    grid-column: 1 / -1;
  }

  .nm {
    grid-row: 2;
    font-size: 2.15rem;
  }

  .ic {
    grid-row: 2;
    grid-column: 2;
    width: 64px;
    height: 64px;
  }

  .ds {
    grid-column: 1 / -1;
    font-size: 16px;
  }

  .close {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 26px;
    border-radius: 26px;
    margin-top: 80px;
  }

  .close a.big {
    font-size: clamp(2rem, 10.6vw, 2.7rem);
    white-space: nowrap;
  }

  .close .bot {
    width: 120px;
    height: 120px;
    align-self: flex-end;
    margin: -18px -8px -36px 0;
  }

  .foot {
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .foot span {
    flex-basis: 100%;
  }

  .legal {
    margin: 20px auto 32px;
    padding: 28px 20px 32px;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(2.25rem, 10.2vw, 2.55rem);
  }
}

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

  .item,
  .ic {
    transition: none;
  }

  .item:hover,
  .item:focus-within {
    padding-left: 0;
  }

  .item:hover .ic,
  .item:focus-within .ic {
    transform: none;
  }
}
