@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #fbfbfb;
  --ink: #111113;
  --muted: #6c6c72;
  --line: #e4e4e7;
  --card: #f4f3f6;
  --before: #eeeeef;
  --after:
    radial-gradient(60% 80% at 88% 92%, #c9c1f0 0%, transparent 70%),
    radial-gradient(55% 70% at 8% 12%, #efe8fb 0%, transparent 70%),
    radial-gradient(50% 70% at 55% 0%, #dbe7fa 0%, transparent 70%),
    #ebeafa;
  --gutter: clamp(24px, 12vw, 240px);
  --max: 1560px;
  --h: clamp(200px, 22vw, 330px);
  --gap: 14px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Header and footer */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  font-size: 15px;
}
.site-header a { text-decoration: none; }
.site-header .name { font-weight: 500; }
.site-header nav { display: flex; gap: 24px; color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: clamp(80px, 10vw, 140px);
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Home */
.first-screen { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.intro { flex: 1; display: flex; align-items: center; padding-bottom: 78px; }
.intro h1 { font-family: "Manrope", "Inter Tight", system-ui, sans-serif; font-size: clamp(30px, 6.2vw, 90px); line-height: 1.14; letter-spacing: -0.018em; }

.work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 3.6vw, 56px);
  padding-top: clamp(24px, 3vw, 40px);
  scroll-margin-top: 24px;
}
.card { display: block; text-decoration: none; }
.card-stage {
  display: grid;
  place-items: center;
  aspect-ratio: 6 / 7;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5);
}
.card-stage img {
  width: 39%;
  aspect-ratio: 7 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: clamp(14px, 1.9vw, 28px);
  box-shadow: 0 18px 40px rgb(40 30 90 / .18), 0 2px 6px rgb(40 30 90 / .1);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
a.card:hover .card-stage img { transform: translateY(-8px); }
.card-title { margin-top: 8px; font-size: 14px; }
.card-title span { color: var(--muted); white-space: nowrap; }

/* Case study: opening */
.case-title { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.case-title h1 { font-size: clamp(30px, 4vw, 56px); line-height: 1; letter-spacing: -0.035em; max-width: 13ch; }
.case-title p { margin-top: 24px; max-width: 28em; font-size: clamp(16.5px, 1.3vw, 19px); color: var(--muted); }

.overview {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.overview-art { border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background: var(--card); }
.overview-copy h2 { font-size: 21px; margin-bottom: 14px; }
.overview-copy p { color: var(--muted); }
.overview-copy p + h2 { margin-top: 44px; }
.facts { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.facts div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding-block: 5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* Case study: sections */
.chapter { margin-top: clamp(80px, 9vw, 136px); }
.chapter-head h2 { font-size: clamp(25px, 2.8vw, 40px); letter-spacing: -0.03em; }
.chapter-head p { margin-top: 24px; max-width: 36em; color: var(--muted); font-size: 16.5px; }

.compare { margin-top: clamp(56px, 6vw, 88px); }
.compare-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 12px clamp(32px, 6vw, 96px);
  margin-bottom: 24px;
}
.compare-head h3 { font-size: clamp(20px, 1.7vw, 24px); }
.compare-head p { max-width: 36em; color: var(--muted); }

.pair { display: flex; align-items: stretch; gap: 10px; }
.pair + .pair { margin-top: 12px; }
.panel {
  min-width: 0;
  padding: 18px clamp(16px, 2vw, 28px) clamp(20px, 2.4vw, 32px);
  border-radius: clamp(20px, 2.4vw, 32px);
}
.panel.before { flex: none; max-width: 100%; background: var(--before); }
.panel.after { flex: 1; background: var(--after); }
.label { margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.panel.after .label { color: #4a4560; }
.arrow { flex: none; align-self: center; width: 34px; color: #9b9ba2; }
.arrow svg { display: block; width: 100%; }

.shots {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.panel.after .shots { justify-content: safe center; }
.shots img { flex: none; width: auto; height: var(--h); max-width: none; cursor: zoom-in; }
.panel.before .shots img { border-radius: 12px; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); }
.panel.after .shots img { border-radius: calc(var(--h) * .056); }
.panel.after .shots .stack img { border-radius: 14px; }
.stack { flex: none; display: flex; flex-direction: column; gap: var(--gap); height: var(--h); justify-content: center; }
.shots .stack img { height: calc((var(--h) - var(--gap)) / 2); }

.pair.medium { --h: clamp(190px, 19.5vw, 295px); }

/* Home comparison: two long pages, cropped, full view in the lightbox */
.pair.long .panel { flex: 1 1 0; }
.pair.long .shots { justify-content: center; height: clamp(360px, 36vw, 520px); overflow: hidden; align-items: flex-start; }
.pair.long .shots img { height: auto; width: min(250px, 100%); flex: 0 1 auto; border-radius: 26px; box-shadow: none; }
.pair.long .panel { padding-bottom: 0; }
.panel.after.home-after .shots img { border-radius: 26px; }
.pair.long .shots { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }

/* Media options */
.options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.options li { padding: 26px 28px 30px; border-radius: 24px; background: var(--before); }
.options li.picked { background: var(--after); }
.options h3 { font-size: 18.5px; margin-bottom: 10px; }
.options p { font-size: 15px; color: var(--muted); }
.options li.picked p { color: #4a4560; }
.options .pick { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.options li.picked .pick { color: #4a4560; }

.wide-shot { margin-top: 12px; overflow: hidden; border-radius: clamp(20px, 2.4vw, 32px); background: var(--before); }
.wide-shot img { width: 100%; cursor: zoom-in; }
.caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Text columns */
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: 44px;
}
.columns.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.columns h3 { font-size: 18.5px; margin-bottom: 12px; }
.columns p, .columns li { color: var(--muted); }
.columns ul { margin: 0; padding: 0; list-style: none; }
.columns li { padding-block: 9px; border-top: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split-art { border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; background: var(--before); }
.split-art { padding: clamp(20px, 3vw, 44px); background: var(--after); }
.split-art img { width: 100%; border-radius: clamp(16px, 2vw, 28px); cursor: zoom-in; }

.next { display: block; margin-top: clamp(96px, 12vw, 176px); text-decoration: none; }
.next span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.next strong { font-weight: 500; font-size: clamp(23px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.next:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: rgb(251 251 251 / .96);
  cursor: zoom-out;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 48px); width: auto; height: auto; }
.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .pair.medium { --h: 360px; }
  body { font-size: 16px; }
  :root { --h: 360px; --gutter: 24px; }
  .work, .overview, .compare-head, .split, .columns, .columns.three { grid-template-columns: minmax(0, 1fr); }
  .pair { flex-direction: column; }
  .panel.before { flex: 1 1 auto; }
  .panel.after .shots { justify-content: flex-start; }
  .arrow { transform: rotate(90deg); }
  .options { grid-template-columns: minmax(0, 1fr); }
  .pair.long .shots { height: 460px; }
  .pair.long .panel { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-stage img { transition: none; }
  a.card:hover .card-stage img { transform: none; }
}

/* Story sections */
.chapter-head + .pair { margin-top: 44px; }
.panel.wide { flex: 1; }
.panel.wide .shots { justify-content: safe center; }
.flows { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.flows .pair + .pair { margin-top: 0; }
.flows .panel.after:has(.shots img:nth-child(3)) { flex: 3; }
.flows .panel.after { flex: 2; }
.flows .panel .shots { justify-content: safe center; }
.options { margin-top: 0; margin-bottom: 0; }
.statement { margin-top: clamp(96px, 12vw, 176px); }
.statement p { max-width: 22em; font-size: clamp(21px, 2.3vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -0.028em; }

@media (max-width: 900px) {
  .flows .pair { gap: 12px; }
  .flows .panel.after, .flows .panel.after:has(.shots img:nth-child(3)) { flex: 1 1 auto; }
  .panel.wide .shots, .flows .panel .shots { justify-content: flex-start; }
}

/* Shared case study pieces */
[data-tint="sky"] { --after:
  radial-gradient(45% 45% at 14% 62%, #bcdaf3 0%, transparent 100%),
  radial-gradient(60% 50% at 88% 90%, #d9e4f8 0%, transparent 100%),
  radial-gradient(70% 60% at 70% 10%, #f0f6fd 0%, transparent 100%),
  #e4eefa; }
[data-tint="blush"] { --after:
  radial-gradient(45% 45% at 80% 72%, #f1cfd9 0%, transparent 100%),
  radial-gradient(60% 50% at 10% 12%, #fbeef0 0%, transparent 100%),
  radial-gradient(60% 55% at 90% 8%, #f1e1f2 0%, transparent 100%),
  #f7e7ea; }
[data-tint="mint"] { --after:
  radial-gradient(45% 45% at 18% 72%, #c5e6d8 0%, transparent 100%),
  radial-gradient(60% 50% at 90% 12%, #dcedf0 0%, transparent 100%),
  radial-gradient(60% 55% at 70% 92%, #e9f1dc 0%, transparent 100%),
  #e4f1ea; }
[data-tint="orchid"] { --after:
  radial-gradient(45% 45% at 80% 70%, #e6c9ec 0%, transparent 100%),
  radial-gradient(60% 50% at 10% 15%, #f8eef9 0%, transparent 100%),
  radial-gradient(60% 55% at 92% 10%, #e9dcf6 0%, transparent 100%),
  #f1e3f3; }
[data-tint="ice"] { --after:
  radial-gradient(45% 45% at 18% 78%, #c4e6f0 0%, transparent 100%),
  radial-gradient(60% 50% at 88% 14%, #f0fafc 0%, transparent 100%),
  radial-gradient(60% 55% at 85% 90%, #d6eff3 0%, transparent 100%),
  #e2f3f7; }
.card-stage[data-tint] { background: var(--after); }

.chapter-head p + p { margin-top: 14px; }
.chapter-head.narrow { max-width: 46em; }
.hero-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  padding: clamp(28px, 4vw, 60px) clamp(16px, 3vw, 44px);
  background: var(--after);
}
.hero-stage img { flex: 1 1 0; min-width: 0; max-width: 34%; border-radius: clamp(12px, 1.6vw, 22px); cursor: zoom-in; }
.hero-stage.single img { flex: 0 1 auto; max-width: 70%; }
.decision { margin-top: clamp(64px, 8vw, 112px); padding: clamp(28px, 4vw, 52px); border-radius: clamp(20px, 2.4vw, 32px); background: var(--after); }
.decision .label { color: #4a4a58; }
.decision h2 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.028em; }
.decision p:not(.label) { margin-top: 14px; max-width: 40em; color: #4a4a58; }
.screens { margin-top: 44px; padding: clamp(20px, 3vw, 44px); border-radius: clamp(20px, 2.4vw, 32px); background: var(--after); }
.screens.plain { background: var(--before); }
.screens-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px) clamp(14px, 2vw, 28px);
  max-width: var(--grid-max, none);
  margin-inline: auto;
}
.screens figure img { width: 100%; border-radius: clamp(12px, 1.7vw, 24px); cursor: zoom-in; }
.screens.flat figure img { border-radius: 10px; }
.screens figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.35; color: #4a4a58; }
.screens figcaption b { display: block; font-weight: 500; color: var(--ink); }
.note { margin-top: 16px; max-width: 46em; font-size: 14px; color: var(--muted); }
.video-frame { position: relative; margin-top: 44px; overflow: hidden; border-radius: clamp(20px, 2.4vw, 32px); background: var(--before); }
.video-frame video { display: block; width: 100%; }
.video-frame button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgb(255 255 255 / .92);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.text-link { display: inline-block; margin-top: 22px; }
.chapter-head h3.sub { margin-top: 28px; font-size: 19px; }
.steps { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
.columns.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 6vw, 96px); }

@media (max-width: 900px) {
  .screens-grid { --cols: 2 !important; --grid-max: none !important; }
  .columns.two-up { grid-template-columns: minmax(0, 1fr); }
}
[data-tint="lavender"] { --after:
  radial-gradient(45% 40% at 78% 74%, #cfc0f3 0%, transparent 100%),
  radial-gradient(60% 55% at 92% 8%, #dbe6fa 0%, transparent 100%),
  radial-gradient(70% 70% at 10% 30%, #f3eefd 0%, transparent 100%),
  #e8e1fa; }
.overview-copy p + p { margin-top: 12px; }
.card-stage img.crop-phone { aspect-ratio: auto; }
.work { padding-bottom: 8px; }
.video-frame { display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); background: var(--after); }
.video-frame video { width: 100%; max-width: 860px; border-radius: clamp(12px, 1.6vw, 22px); }
.chapter-figure { margin-top: 44px; }
.wide-shot img[src$=".svg"] { width: min(100%, 820px); margin-inline: auto; }
.hero-stage.single img { max-height: 520px; width: auto; }
.split-art img { max-height: 620px; object-fit: contain; }

/* Video previews on the home cards */
.card-screen {
  position: relative;
  width: 39%;
  overflow: hidden;
  /* Sized from the preview itself so it always covers the phone's own rounded corners. */
  border-radius: 15% / 6.9%;
  box-shadow: 0 18px 40px rgb(40 30 90 / .18), 0 2px 6px rgb(40 30 90 / .1);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.card-screen video { position: absolute; display: block; max-width: none; height: auto; }
/* Each recording has a device frame around it; show only the screen. */
.card-screen[data-crop="connected"] { aspect-ratio: 614 / 1337; }
.card-screen[data-crop="connected"] video { width: 143.65%; left: -21.82%; top: -3.14%; }
.card-screen[data-crop="midi"] { aspect-ratio: 506 / 1100; }
.card-screen[data-crop="midi"] video { width: 118.97%; left: -9.49%; top: -3.64%; }
/* The Action Bar recording sits on white; multiply lets the card colour show through. */
.card-motion { display: block; width: 100%; mix-blend-mode: multiply; }
a.card:hover .card-screen { transform: translateY(-8px); }
@media (prefers-reduced-motion: reduce) {
  .card-screen { transition: none; }
  a.card:hover .card-screen { transform: none; }
}

/* Password page */
.gate { display: grid; place-items: center; min-height: 68vh; padding-block: 48px; }
.gate form { width: min(100%, 380px); }
.gate h1 { margin: 0; font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.gate p { margin: 12px 0 0; color: var(--muted); }
.gate label { display: block; margin-top: 28px; font-size: 14px; }
.gate input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid #c9c9cf;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.gate button {
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.gate button:disabled { opacity: .6; cursor: progress; }
.gate .gate-error { margin-top: 12px; color: #a3262a; font-size: 14px; }
.gate .gate-help { margin-top: 20px; font-size: 14px; }

/* Tiles: a smaller video sitting on the card gradient. */
.card-tile {
  overflow: hidden;
  box-shadow: 0 18px 40px rgb(40 30 90 / .14), 0 2px 6px rgb(40 30 90 / .08);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.card-tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-tile[data-tile="care"] { width: 49%; aspect-ratio: 604 / 576; border-radius: 12% / 12.6%; }
/* The slight zoom hides the dark corners in the recording. */
.card-tile[data-tile="care"] video { transform: scale(1.06); }
.card-tile[data-tile="words"] { width: 87%; aspect-ratio: 16 / 9; border-radius: 6.5% / 11.6%; }
.card-tile[data-tile="touch"] { width: 68%; aspect-ratio: 89 / 100; border-radius: 4% / 3.6%; }
.card-stage .card-tile img { display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; transition: none; }
a.card:hover .card-stage .card-tile img { transform: none; }
a.card:hover .card-tile { transform: translateY(-8px); }
@media (prefers-reduced-motion: reduce) {
  .card-tile { transition: none; }
  a.card:hover .card-tile { transform: none; }
}

/* Home grid: cards of different sizes, staggered in two loose columns. */
.card[data-card="connected"] .card-stage { aspect-ratio: 361 / 465; }
.card[data-card="care"] .card-stage { aspect-ratio: 413 / 416; }
.card[data-card="action"] .card-stage { aspect-ratio: 397 / 340; }
.card[data-card="midi"] .card-stage { aspect-ratio: 349 / 459; }
.card[data-card="words"] .card-stage { aspect-ratio: 418 / 348; }
.card[data-card="touch"] .card-stage { aspect-ratio: 445 / 490; }
.card[data-card="connected"] .card-screen { width: 47%; }
.card[data-card="midi"] .card-screen { width: 49%; }

@media (min-width: 901px) {
  .home { --gutter: clamp(24px, 18.6vw, 360px); --max: 1800px; }
  .home main { container-type: inline-size; }
  .work { display: block; position: relative; height: calc(168cqw + 68px); padding: 0; }
  .work .card { position: absolute; }
  .card[data-card="connected"] { top: 0; left: 0; width: 44.96cqw; }
  .card[data-card="care"] { top: 0; right: 0; width: 51.43cqw; }
  .card[data-card="action"] { top: calc(62.76cqw + 18px); left: 0; width: 49.44cqw; }
  .card[data-card="midi"] { top: calc(56.79cqw + 18px); right: 0; width: 43.46cqw; }
  .card[data-card="words"] { top: calc(109.96cqw + 36px); left: 0; width: 52.05cqw; }
  .card[data-card="touch"] { top: calc(118.85cqw + 36px); right: 0; width: 44.5cqw; }
}

/* Header and footer run wide; the content between them keeps the large padding. */
body { container-type: inline-size; }
.site-header, .site-footer {
  box-sizing: border-box;
  width: 100cqw;
  max-width: none;
  margin-inline: calc(50% - 50cqw);
  padding-inline: clamp(24px, 3.4vw, 64px);
}

/* Every page: glass island that stays at the top of the screen. */
@property --island-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.island-dock {
  position: sticky;
  top: 13px;
  z-index: 50;
  display: flex;
  justify-content: center;
  height: 0;
  pointer-events: none;
}
.island {
  position: relative;
  display: flex;
  flex: none;
  gap: 2px;
  height: 46px;
  padding: 4px;
  border-radius: 999px;
  pointer-events: auto;
  background: linear-gradient(180deg, rgb(255 255 255 / .56), rgb(255 255 255 / .2));
  -webkit-backdrop-filter: blur(12px) saturate(190%);
  backdrop-filter: blur(12px) saturate(190%);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / .95),
    inset 0 -5px 9px -6px rgb(255 255 255 / .85),
    inset 0 0 10px rgb(255 255 255 / .35),
    0 12px 30px rgb(110 70 85 / .12),
    0 2px 6px rgb(110 70 85 / .07);
}
/* The pink stroke: a ring cut out of a slowly turning gradient. */
.island::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--island-angle), #D9C1C7, #F2DCE2, #D9C1C7, #F2DCE2, #D9C1C7);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  animation: island-turn 10s linear infinite;
}
@keyframes island-turn { to { --island-angle: 360deg; } }
.island a {
  position: relative;
  display: flex;
  align-items: center;
  padding-inline: 20px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .25s ease;
}
.island a:hover { background: rgb(255 255 255 / .55); }
.island a[aria-current="page"] { background: rgb(255 255 255 / .6); }
.home .work { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  .island::before { animation: none; }
}
/* On phones the island takes the centre, so the name steps aside. */
@media (max-width: 640px) {
  .site-header .name { visibility: hidden; }
}

.site-footer { flex-wrap: nowrap; align-items: center; padding-block: 20px 32px; }
.site-footer > span { min-width: 0; }
.footer-icons { flex: none; }
.site-footer .footer-icons { gap: 4px; margin-right: -10px; }
.footer-icons a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; }

/* About */
.about-intro { padding-block: clamp(88px, 11vw, 150px) clamp(56px, 7vw, 96px); }
.about-intro h1 { max-width: 15ch; font-family: "Manrope", "Inter Tight", system-ui, sans-serif; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.14; letter-spacing: -0.018em; }
.about-copy { max-width: 36em; margin-top: clamp(32px, 4vw, 56px); }
.about-copy p + p { margin-top: 16px; }
.about-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 12px 32px; padding-block: 24px clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.about-list h2 { font-size: 14px; font-weight: 400; line-height: 1.55; letter-spacing: 0; color: var(--muted); }
.about-list ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.about-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 5px; }
.about-list li:first-child { padding-top: 0; }
.about-list em { font-style: normal; color: var(--muted); }
.about-list time { flex: none; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.about-list a { text-underline-offset: 3px; text-decoration-color: var(--line); }
.about-list a:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) {
  .about-list { grid-template-columns: minmax(0, 1fr); }
}
