/* Fonts — self-hosted (SIL Open Font License) */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/bricolage-grotesque-latin-ext-37500abe.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/bricolage-grotesque-latin-16ac37c9.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/dm-mono-400-latin-ext-c908ed67.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/dm-mono-400-latin-bf792450.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Yellowtail";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/yellowtail-latin-ext-a83706f1.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Yellowtail";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/yellowtail-latin-c9348cd6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/chakra-petch-700-latin-ext-eb6943f2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/chakra-petch-700-latin-f687eae2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */

:root {
  --night: #1d1530;
  --night-deep: #150d27;
  --plum: #2c2244;
  --ember: #f24b2e;
  --cream: #fff2de;
  --lilac: #bfb3c4;
  --rule: rgba(255, 242, 222, 0.12);

  --sans: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --statement: "Chakra Petch", "Bricolage Grotesque", "Avenir Next", sans-serif;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Layout: 80px gutters on desktop, 20px on phones, content capped at 1280px */
  --gutter: max(clamp(20px, 5.5vw, 80px), 50% - 640px);
  --header-height: 96px;
  --logo-size: clamp(300px, 30.5vw, 440px);
  --card-width: 400px;
  --card-height: 480px;
  --card-gap: 32px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  min-width: 18rem;
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--cream);
}

a:hover {
  color: var(--ember);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--night);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-200%);
}

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

.site-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

/* Spotlight beam that falls on the logo */

.spotlight {
  position: absolute;
  z-index: 0;
  top: 0;
  right: calc(var(--gutter) + var(--logo-size) / 2 - 350px);
  width: 700px;
  height: 760px;
  filter: blur(22px);
  pointer-events: none;
}

.spotlight::before {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 242, 222, 0.12) 0%, rgba(255, 242, 222, 0.16) 35%, rgba(255, 242, 222, 0.05) 75%, rgba(255, 242, 222, 0) 100%);
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  content: "";
}

/* Header */

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: var(--gutter);
}

.wordmark {
  display: flex;
  align-items: baseline;
  color: var(--cream);
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--cream);
}

.wordmark__mic {
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: 0.01em;
}

.wordmark__script {
  margin-left: 1px;
  color: var(--ember);
  font-family: var(--script);
  font-weight: 400;
}

.wordmark--small {
  font-size: 26px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__link {
  display: flex;
  min-height: 44px;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button--outline {
  height: 48px;
  padding: 0 22px;
  border: 1.5px solid rgba(255, 242, 222, 0.45);
  font-size: 17px;
  font-weight: 600;
}

.button--outline:hover {
  border-color: var(--ember);
}

.button--solid {
  height: 60px;
  padding: 0 32px;
  background: var(--ember);
  color: var(--night);
  font-size: 19px;
  font-weight: 650;
}

.button--solid:hover {
  background: var(--cream);
  color: var(--night);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 7px;
}

.text-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 64px var(--gutter) 0;
}

.hero__copy {
  min-width: 0;
  flex: 1 1 auto;
  container-type: inline-size;
}

.hero__title {
  margin: 0;
  color: var(--cream);
  /* 96px when the copy column is its full 760px */
  font-size: min(96px, 12.6cqi);
  font-weight: 700;
  font-stretch: 82%;
  letter-spacing: -0.025em;
  line-height: 1;
}

.hero__line {
  display: block;
}

.hero__line--nowrap {
  white-space: nowrap;
}

/* The proofreader's caret and the handwritten insertion above it */
.hero__aside {
  position: relative;
  display: inline-block;
  width: 0.417em;
  height: 1px;
}

.hero__caret {
  position: absolute;
  top: 0.02em;
  left: 0.104em;
  width: 0.3125em;
  height: 0.25em;
  color: var(--ember);
}

.hero__scribble {
  position: absolute;
  /* Offsets are in the scribble's own (smaller) ems */
  right: -0.107em;
  bottom: 1.43em;
  color: var(--ember);
  font-family: var(--script);
  font-size: 0.583em;
  font-stretch: 100%;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-3deg);
  transform-origin: 70% 80%;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
  margin-top: 56px;
}

.hero__logo {
  position: relative;
  width: var(--logo-size);
  flex-shrink: 0;
}

/* Inner-page hero extras */

.hero__eyebrow {
  margin-bottom: 24px;
}

/* Leaves room for a handwritten insertion above the first line */
.hero__title--aside-first {
  margin-top: 0.6em;
}

.hero__lede {
  max-width: 34em;
  margin-top: 32px;
  color: var(--lilac);
  font-size: clamp(17px, 0.3vw + 16px, 20px);
  line-height: 1.55;
}

/* A bold, angular pull-line, for taglines that need to land */
.hero__lede--statement {
  max-width: 24em;
  color: var(--ember);
  font-family: var(--statement);
  font-size: clamp(22px, 1.1vw + 17px, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.28;
  text-wrap: pretty;
}

.hero__lede + .hero__actions {
  margin-top: 40px;
}

/* A round stage for illustrations, matching the logo's treatment */
.art-plate {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #3a2d5c 0%, var(--plum) 45%, var(--night-deep) 100%);
  box-shadow: 0 32px 70px rgba(8, 4, 20, 0.55), 0 0 0 1px rgba(255, 242, 222, 0.1);
}

.art-plate__art {
  width: 80%;
  height: auto;
}

/* Soft pool of light under the logo */
.hero__logo::before {
  position: absolute;
  right: -11%;
  bottom: -14%;
  left: -11%;
  height: 22%;
  background: radial-gradient(closest-side, rgba(255, 242, 222, 0.2), rgba(255, 242, 222, 0));
  content: "";
}

.hero__logo-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 32px 70px rgba(8, 4, 20, 0.55), 0 0 0 1px rgba(255, 242, 222, 0.1);
}

/* Signal divider */

.signal {
  position: relative;
  height: 88px;
  margin: 76px var(--gutter) 0;
  color: var(--cream);
  transition: color 200ms ease;
}

/* While someone hovers or focuses the speech, the line lights up and says its phrase */
.signal:has(.signal__speech:hover, .signal__speech:focus-visible) {
  color: var(--ember);
}

.signal__speech {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--burst-start);
  width: var(--burst-width);
  border-radius: 12px;
}

.signal__speech:focus-visible {
  outline-offset: 2px;
}

.signal__tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  padding: 8px 18px 12px;
  border: 1px solid rgba(255, 242, 222, 0.14);
  border-radius: 16px;
  background: var(--plum);
  box-shadow: 0 16px 32px rgba(8, 4, 20, 0.45);
  color: var(--ember);
  font-family: var(--script);
  font-size: 28px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

/* The bubble's tail, pointing down at the speech */
.signal__tooltip::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 242, 222, 0.14);
  border-bottom: 1px solid rgba(255, 242, 222, 0.14);
  background: var(--plum);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.signal__speech:hover .signal__tooltip,
.signal__speech:focus .signal__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.signal__line {
  display: block;
  width: 100%;
  height: 100%;
}

.signal__line--narrow {
  display: none;
}

/* Projects */

.projects {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) auto auto var(--gutter);
  grid-template-areas:
    ". intro counter buttons ."
    "viewport viewport viewport viewport viewport"
    ". progress progress progress .";
  align-items: end;
  padding: 48px 0 96px;
}

.projects__intro {
  display: flex;
  grid-area: intro;
  flex-direction: column;
  gap: 14px;
}

.eyebrow {
  color: var(--ember);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.projects__title,
.section-title {
  margin: 0;
  color: var(--cream);
  font-size: clamp(40px, 2.3vw + 31px, 64px);
  font-weight: 700;
  font-stretch: 82%;
  letter-spacing: -0.02em;
  line-height: 1;
}

.projects__lede,
.section-lede {
  max-width: 720px;
  margin-top: 4px;
  color: var(--lilac);
  font-size: clamp(17px, 0.3vw + 16px, 20px);
  line-height: 1.5;
}

.projects__viewport {
  position: relative;
  grid-area: viewport;
  margin-top: 48px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.projects__viewport::-webkit-scrollbar {
  display: none;
}

.projects__viewport:focus-visible {
  outline-offset: -3px;
}

.projects__track {
  display: flex;
  width: max-content;
  gap: var(--card-gap);
  padding-inline: var(--gutter);
}

.projects__controls {
  display: contents;
}

.projects__controls[hidden] {
  display: none;
}

.projects__counter {
  grid-area: counter;
  align-self: end;
  margin: 0 24px 0 40px;
  color: var(--lilac);
  font-family: var(--mono);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  line-height: 56px;
  white-space: nowrap;
}

.projects__buttons {
  display: flex;
  grid-area: buttons;
  gap: 12px;
}

.round-button {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid rgba(255, 242, 222, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease;
}

.round-button svg {
  width: 22px;
  height: 22px;
}

.round-button:not(:disabled):hover {
  background: rgba(255, 242, 222, 0.1);
}

.round-button:disabled {
  cursor: default;
  opacity: 0.3;
}

.progress {
  position: relative;
  grid-area: progress;
  height: 3px;
  margin-top: 40px;
  border-radius: 3px;
  background: rgba(255, 242, 222, 0.16);
}

.progress__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 3px;
  border-radius: 3px;
  background: var(--cream);
}

/* Project cards */

.project-card {
  position: relative;
  display: flex;
  width: var(--card-width);
  height: var(--card-height);
  flex: 0 0 var(--card-width);
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px 34px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ember);
  color: var(--night);
  scroll-snap-align: start;
}

.project-card--cream {
  background: var(--cream);
}

.project-card--plum {
  border: 1px solid rgba(255, 242, 222, 0.1);
  background: var(--plum);
  color: var(--cream);
}

.project-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-card__name,
.status-pill {
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* "01. Spindrift": the number sits back a little so the name leads */
.project-card__name {
  display: flex;
  gap: 0.6em;
  margin: 0;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.project-card__number {
  flex-shrink: 0;
  opacity: 0.6;
}

.status-pill {
  display: flex;
  height: 30px;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1.5px solid rgba(29, 21, 48, 0.4);
  border-radius: 999px;
  font-size: 12px;
}

.project-card--plum .status-pill {
  border-color: rgba(255, 242, 222, 0.4);
}

.status-pill__dot {
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.project-card__art {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  align-self: center;
  aspect-ratio: 4 / 3;
}

.project-card__title {
  margin: 0;
  font-size: 32px;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-wrap: balance;
}

.project-card.project-card--active { padding-bottom: 44px; }
.project-card--active .project-card__art { width: 276px; }
.project-activity { position: absolute; right: 0; bottom: 10px; left: 0; height: 22px; overflow: hidden; font: 12px/22px var(--mono); letter-spacing: .01em; }
.project-activity[hidden], .projects__activity-toggle[hidden] { display: none; }
.project-activity__track { display: flex; width: max-content; padding-right: 105px; animation: project-activity-crawl 24s linear infinite backwards; }
.project-activity__group { flex-shrink: 0; white-space: nowrap; }
.project-activity:hover .project-activity__track, .project-activity:focus-within .project-activity__track, .project-activity[data-paused="true"] .project-activity__track { animation-play-state: paused; }
.project-activity__accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.projects__activity-toggle { align-self: flex-start; margin-top: 4px; padding: 8px 0; border: 0; background: transparent; color: var(--lilac); font: 12px var(--mono); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@keyframes project-activity-crawl { from { transform: translateX(var(--activity-start, var(--card-width))); } to { transform: translateX(-100%); } }
@media (max-width: 680px) { .project-card--active .project-card__art { width: 220px; } }
@media (prefers-reduced-motion: reduce) {
  .project-activity { overflow-x: auto; }
  .project-activity__track { animation: none; padding-right: 0; }
}

/* Inner-page sections */

.page-section {
  padding: 56px var(--gutter);
}

main > .page-section:last-child {
  padding-bottom: 128px;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.page-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 80px;
}

.split__column {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.prose {
  max-width: 38em;
  padding-top: 38px;
  font-size: clamp(17px, 0.3vw + 16px, 20px);
  line-height: 1.6;
}

.prose p + p {
  margin-top: 1em;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--card-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px 34px;
  border-radius: 28px;
  background: var(--ember);
  color: var(--night);
}

.tile--cream {
  background: var(--cream);
}

.tile--plum {
  border: 1px solid rgba(255, 242, 222, 0.1);
  background: var(--plum);
  color: var(--cream);
}

.tile__number {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tile__title {
  margin: 0;
  padding-top: 56px;
  font-size: 32px;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-wrap: balance;
}

.tile__text {
  font-size: 18px;
  line-height: 1.45;
}

.tile a,
.tile a:hover {
  color: inherit;
}

.tile__link {
  text-decoration: none;
}

.tile__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* The whole tile is clickable; links inside the text stay on top */
.tile__link::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.tile__text a {
  position: relative;
  z-index: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 242, 222, 0.4);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 36px;
  font-size: clamp(17px, 0.2vw + 16px, 19px);
  line-height: 1.45;
}

.checklist li::before {
  position: absolute;
  top: 0.3em;
  left: 4px;
  width: 16px;
  height: 9px;
  border-bottom: 3px solid var(--ember);
  border-left: 3px solid var(--ember);
  content: "";
  transform: rotate(-45deg);
}

.fine-print {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  margin: 0;
}

.fine-print__item {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.fine-print dt {
  font-size: 24px;
  font-weight: 650;
  font-stretch: 90%;
  line-height: 1.2;
}

.fine-print dd {
  margin: 8px 0 0;
  color: var(--lilac);
  font-size: 18px;
  line-height: 1.5;
}

/* Support channels */

.channel {
  min-height: 0;
}

.channel__ways {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.channel__ways li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.4;
}

.channel__ways li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.channel__ways a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.channel__summary {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 14px;
}

.channel__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  margin-top: auto;
  padding-top: 18px;
}

.channel__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.channel__action svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.channel__action:hover svg {
  transform: translateX(4px);
}

.channel__elaborate {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

/* An opened channel takes the whole row: summary on the left, elaboration on the right */
.channels:has(.channel--expanded) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.channel--expanded {
  order: -1;
  grid-column: 1 / -1;
  scroll-margin-top: 24px;
}

.channel--expanded,
.channel--page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 32px 56px;
}

.channel__more {
  max-width: none;
  padding-top: 0;
}

.channel--expanded .channel__more,
.channel--page .channel__more {
  padding-left: 56px;
  border-left: 1.5px solid color-mix(in srgb, currentColor 25%, transparent);
}

/* The written pitch: a lead-in paragraph, a readable measure, and emphasis that glints now and then */
.channel__more {
  --ink: var(--night);
  --glint: var(--ember);
  font-size: clamp(17px, 0.2vw + 16px, 19px);
  line-height: 1.65;
}

.tile--plum .channel__more {
  --ink: var(--cream);
}

.tile--ember .channel__more {
  --glint: var(--cream);
}

.channel__pitch {
  max-width: 36em;
  opacity: 0.88;
  text-wrap: pretty;
}

.channel__pitch:empty {
  display: none;
}

.channel__pitch + .channel__pitch {
  margin-top: 1em;
}

.channel__pitch:first-child {
  margin-bottom: 0.4em;
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.45;
  opacity: 1;
}

.channel__pitch strong {
  background: linear-gradient(100deg, var(--ink) 0 42%, var(--glint) 50%, var(--ink) 58% 100%) 100% 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
  /* Room for the italic overhang, which background-clip would otherwise cut off */
  margin-right: -0.12em;
  padding-right: 0.12em;
  animation: glint 15s ease-in-out infinite;
}

/* Each paragraph's glint comes a couple of beats after the one before it */
.channel__pitch:nth-child(2) strong { animation-delay: 2.5s; }
.channel__pitch:nth-child(3) strong { animation-delay: 5s; }
.channel__pitch:nth-child(4) strong { animation-delay: 7.5s; }
.channel__pitch:nth-child(5) strong { animation-delay: 10s; }
.channel__pitch:nth-child(6) strong { animation-delay: 12.5s; }

@keyframes glint {
  0% { background-position: 100% 0; }
  8%, 100% { background-position: 0 0; }
}

.channel-page {
  padding-top: 32px;
}

.channel--page {
  min-height: 0;
  margin-top: 24px;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.back-link svg {
  width: 20px;
  height: 20px;
}

.channels__note {
  max-width: 44em;
  margin-top: 28px;
  color: var(--lilac);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* "Want in?" call to action */

.want-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  margin: 0 var(--gutter) 112px;
  padding: 48px 56px;
  border: 1px solid rgba(255, 242, 222, 0.1);
  border-radius: 28px;
  background: var(--plum);
}

.want-in__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.want-in__title {
  max-width: 22em;
  margin: 0;
  font-size: clamp(26px, 1vw + 22px, 36px);
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.want-in__button {
  flex-shrink: 0;
  gap: 10px;
}

.want-in__button svg {
  width: 20px;
  height: 20px;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding: 64px var(--gutter) 56px;
  border-top: 1px solid var(--rule);
  background: var(--night-deep);
}

.site-footer__hello,
.site-footer__pages,
.site-footer__social {
  display: flex;
  flex-direction: column;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-footer__pages {
  gap: 10px;
}

.site-footer__hello {
  gap: 14px;
}

.site-footer__social {
  gap: 10px;
}

.site-footer__sign-off {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-label {
  color: var(--lilac);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.email-link {
  align-self: flex-start;
  font-size: clamp(26px, 1.715vw + 19.3px, 44px);
  font-weight: 600;
  font-stretch: 90%;
  letter-spacing: -0.01em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.23em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.social-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.social-links svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.social-links a:hover svg {
  transform: translate(2px, -2px);
}

.copyright {
  color: var(--lilac);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Tablet: logo moves above the headline */

@media (max-width: 1099px) {
  :root {
    --logo-size: clamp(232px, 40vw, 360px);
  }

  .spotlight {
    right: auto;
    left: 50%;
    width: calc(var(--logo-size) * 1.8);
    height: calc(var(--header-height) + var(--logo-size) + 76px);
    filter: blur(16px);
    transform: translateX(-50%);
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 60px;
    padding-top: 24px;
  }

  .hero__logo {
    order: -1;
    align-self: center;
  }

  .hero__logo-image {
    box-shadow: 0 20px 44px rgba(8, 4, 20, 0.55), 0 0 0 1px rgba(255, 242, 222, 0.1);
  }

  .site-nav {
    gap: 24px;
  }

  .page-section--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose {
    padding-top: 0;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-footer__hello {
    grid-column: 1 / -1;
  }
}

/* Small tablet: the header drops Projects (it's in the footer and on the homepage) */

@media (max-width: 899px) {
  .site-nav__link--projects {
    display: none;
  }

  /* Channel pages stack the elaboration under the summary */
  .channel--page {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel--page .channel__more {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1.5px solid color-mix(in srgb, currentColor 25%, transparent);
    border-left: 0;
  }
}

/* Phone */

@media (max-width: 719px) {
  :root {
    --header-height: 72px;
    --card-width: 300px;
    --card-height: 420px;
    --card-gap: 16px;
  }

  .wordmark {
    font-size: 25px;
  }

  .wordmark--small {
    font-size: 22px;
  }

  .site-nav__link {
    display: none;
  }

  .button--outline {
    height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }

  .button--solid {
    height: 52px;
    padding: 0 24px;
    font-size: 17px;
  }

  .text-link {
    gap: 8px;
    font-size: 17px;
    text-underline-offset: 6px;
  }

  .text-link svg {
    width: 18px;
    height: 18px;
  }

  .hero__title {
    /* 40px across a 350px column */
    font-size: min(56px, 11.4cqi);
    font-stretch: 78%;
    line-height: 1.08;
  }

  .hero__aside {
    width: 0.7em;
  }

  .hero__caret {
    left: 0.175em;
    width: 0.45em;
    height: 0.35em;
  }

  .hero__scribble {
    right: -0.143em;
    bottom: 1.32em;
    font-size: 0.7em;
  }

  .hero__actions {
    gap: 12px 20px;
    margin-top: 28px;
  }

  .signal {
    height: 56px;
    margin-top: 52px;
  }

  .signal__line--wide {
    display: none;
  }

  .signal__line--narrow {
    display: block;
  }

  .signal__speech {
    left: var(--burst-start-narrow);
    width: var(--burst-width-narrow);
  }

  .signal__tooltip {
    font-size: 24px;
  }

  .projects {
    grid-template-columns: var(--gutter) minmax(0, 1fr) auto auto var(--gutter);
    grid-template-areas:
      ". intro intro intro ."
      "viewport viewport viewport viewport viewport"
      ". progress counter buttons .";
    align-items: center;
    padding: 36px 0 72px;
  }

  .projects__intro {
    gap: 10px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .projects__viewport {
    margin-top: 28px;
  }

  .progress,
  .projects__counter,
  .projects__buttons {
    margin-top: 24px;
  }

  .projects__counter {
    margin-inline: 14px;
    font-size: 13px;
    line-height: 48px;
  }

  .projects__buttons {
    gap: 10px;
  }

  .round-button {
    width: 48px;
    height: 48px;
  }

  .round-button svg {
    width: 20px;
    height: 20px;
  }

  .project-card {
    padding: 24px 24px 28px;
    border-radius: 24px;
  }

  .project-card__name {
    padding-top: 5px;
    font-size: 13px;
  }

  .status-pill {
    height: 28px;
    gap: 7px;
    padding: 0 11px;
    font-size: 11px;
  }

  .project-card__art {
    width: 252px;
  }

  .project-card__title {
    font-size: 26px;
    line-height: 1.1;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 44px var(--gutter) 40px;
  }

  .site-footer__hello {
    gap: 10px;
  }

  .site-footer__social {
    gap: 6px;
  }

  .footer-label {
    font-size: 12px;
  }

  .social-links {
    gap: 0 24px;
  }

  .social-links a {
    gap: 5px;
    font-size: 17px;
  }

  .social-links svg {
    width: 13px;
    height: 13px;
  }

  .site-footer__sign-off {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
  }

  .copyright {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

/* Phone: inner pages and the "Want in?" band */

@media (max-width: 719px) {
  .hero__eyebrow {
    margin-bottom: 16px;
  }

  .hero__lede {
    margin-top: 20px;
  }

  .hero__lede + .hero__actions {
    margin-top: 28px;
  }

  .art-plate {
    box-shadow: 0 20px 44px rgba(8, 4, 20, 0.55), 0 0 0 1px rgba(255, 242, 222, 0.1);
  }

  .page-section {
    padding: 36px var(--gutter);
  }

  main > .page-section:last-child {
    padding-bottom: 72px;
  }

  .section-intro {
    gap: 10px;
    margin-bottom: 28px;
  }

  .tile {
    min-height: 0;
    padding: 24px 24px 28px;
    border-radius: 24px;
  }

  .tile__number {
    font-size: 13px;
  }

  .tile__title {
    padding-top: 24px;
    font-size: 26px;
    line-height: 1.1;
  }

  .tile__text {
    font-size: 17px;
  }

  .chips li {
    padding: 8px 14px;
    font-size: 15px;
  }

  .fine-print {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .fine-print dt {
    font-size: 21px;
  }

  .fine-print dd {
    font-size: 17px;
  }

  .want-in {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 72px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .footer-links {
    gap: 0 20px;
  }

  .footer-links a {
    font-size: 17px;
  }
}

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

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

@media (forced-colors: active) {
  .channel__pitch strong {
    background: none;
    color: CanvasText;
  }

  .spotlight,
  .hero__logo::before {
    display: none;
  }

  .project-card,
  .round-button {
    border: 1px solid CanvasText;
  }

  .progress__thumb {
    background: CanvasText;
  }
}
