/* latent — type on paper. stills only on work. no grain, no void. */
/* self-hosted plex: the printed object carries its own type. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-serif-400-italic.woff2") format("woff2");
}

:root {
  --paper: #FAFAF7;
  --ink: #191714;
  --mute: #6A6560;
  --pad: clamp(1.15rem, 4.2vw, 2.5rem);
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --serif: "IBM Plex Serif", "Times New Roman", Times, serif;
}

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

html {
  color-scheme: light;
  text-transform: lowercase;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.16em;
}
/* print does not fade: hover is binary — the underline appears */
a:hover { text-decoration-line: underline; }

a:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

h1, h2, p { margin: 0; }

ul {
  list-style: none;
  list-style-type: none;
}

/* visually hidden, kept for the document outline */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.75rem;
  z-index: 100;
  text-decoration: none;
  font-size: 0.9rem;
}
.skip:focus { left: 0.75rem; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem var(--pad);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.wordmark::before {
  content: "";
  position: absolute;
  inset: -12px -8px;
}
.wordmark .wm {
  display: block;
  box-sizing: border-box;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 11px;
  letter-spacing: 0;
  color: var(--paper);
  background: var(--ink);
  padding: 2px;
  width: 43px;
  height: 15px;
  /* latent plate: 39×11 glyph + 2px. l and t set height. no g-clip. */
  overflow: visible;
  transition: none;
}
.wordmark:hover,
.wordmark:focus,
.wordmark:focus-visible {
  text-decoration: none;
}
/* ink is on or off: hover inverts the plate */
.wordmark:hover .wm,
.wordmark:focus-visible .wm {
  color: var(--ink);
  background: var(--paper);
}

.site-menu {
  margin-left: auto;
}

.site-menu > summary {
  list-style: none;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 60;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  padding: 0;
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  cursor: pointer;
}

.menu-close {
  display: none;
}

.site-menu[open] .menu-open {
  display: none;
}

.site-menu[open] .menu-close {
  display: inline;
}

.nav-toggle:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--paper);
  color: var(--ink);
  display: none;
  align-items: center;
  padding: 5.5rem var(--pad) 2.5rem;
}

.site-menu[open] .site-nav {
  display: flex;
}

html:has(.site-menu[open]) {
  overflow: hidden;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}
.site-nav a {
  font-family: var(--sans);
  font-size: clamp(2.05rem, 6.4vw, 3.55rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  text-decoration: none;
  color: var(--ink);
}
.site-nav a[aria-current="page"] {
  opacity: 0.55;
}

main { flex: 1; display: flex; flex-direction: column; }


/* footer mark — in flow, not sticky */
.site-mark {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.site-footer {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem var(--pad) 1.35rem;
  position: relative;
  z-index: 2;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 12px;
  color: var(--mute);
}
.foot-nav a {
  color: var(--mute);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.foot-nav a:hover {
  color: var(--ink);
}

/* —— home: one cluster, set low-left like a cover, paper above —— */
.home-sheet {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 5.8rem var(--pad) 3.4rem;
}

.cluster {
  width: max-content;
  max-width: 100%;
  transform: translate(1.05rem, -1.5rem);
}

.sentence {
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
}

.loud {
  font-family: var(--serif);
  font-size: 12vw;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.94;
  white-space: nowrap;
  color: var(--ink);
  margin: 0;
}

.headline-main {
  display: block;
  white-space: nowrap;
}

.work-reveal {
  display: inline-grid;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.work-reveal:hover {
  text-decoration: none;
}

.work-word,
.art-word {
  grid-area: 1 / 1;
}

.work-word {
  transition: color 0s;
}

.art-word {
  z-index: 1;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--paper);
  clip-path: inset(0 100% 0 0);
  font-style: italic;
  text-align: center;
  text-decoration: none;
  transition: clip-path 160ms steps(4, end);
}

@media (hover: hover) and (pointer: fine) {
  .work-reveal:hover .art-word {
    clip-path: inset(0);
  }

  .work-reveal:hover .work-word {
    color: transparent;
    transition-delay: 160ms;
  }
}

.work-reveal:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  opacity: 1;
}

.work-reveal:focus-visible .art-word,
.work-reveal:active .art-word {
  clip-path: inset(0);
}

.work-reveal:focus-visible .work-word,
.work-reveal:active .work-word {
  color: transparent;
  transition-delay: 160ms;
}

.implement {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 2.15vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.28;
  margin: 0.35em 0 0;
  text-align: right;
}

.go {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.go a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.go a:has(.ink-bleed),
.go a:has(.ink-bleed):hover {
  text-decoration: none;
}

.audience {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--mute);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .loud {
    /* rem floor so 390 isn't 12vw≈47px; fill one line, paper left and right */
    font-size: min(4.35rem, calc((100vw - 2 * var(--pad) - 0.4rem) / 5.35));
  }
  .audience {
    white-space: normal;
    max-width: 100%;
  }
}


@keyframes work-wobble {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35% { transform: translate(0.7px, -0.6px) rotate(-0.3deg); }
  70% { transform: translate(-0.6px, 0.5px) rotate(0.25deg); }
}

.work-reveal .work-word,
.work-reveal .art-word {
  position: relative;
  z-index: 1;
}

.work-brush {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: multiply;
}

@media (hover: hover) and (pointer: fine) {
  .work-reveal:hover {
    animation: work-wobble 1.9s ease-in-out infinite;
  }
}

.work-reveal:focus-visible {
  animation: work-wobble 1.9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .work-reveal:hover,
  .work-reveal:focus-visible {
    animation: none;
  }
  .work-brush { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .art-word,
  .work-word {
    transition: none;
  }

  .work-reveal:hover .work-word,
  .work-reveal:focus-visible .work-word,
  .work-reveal:active .work-word {
    transition-delay: 0s;
  }
}

/* —— home: interior cube, glued to the window —— */
html:has(body.home),
body.home {
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

body.home main {
  position: relative;
  z-index: 2;
  min-height: 0;
}

body.home .home-room {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1; /* behind type, plate, menu, lockup, footer, mark */
}

/* —— about: pair, empty sheet, pocket —— */
.about-sheet {
  flex: none;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 5.8rem var(--pad) 3.4rem;
}

.about-space {
  flex: none;
  min-height: 100svh;
  pointer-events: none;
}

.about-pocket {
  flex: none;
  width: min(40rem, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 0 0 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.about-pocket p + p {
  margin-top: 1.5em;
}

.about-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  column-gap: clamp(1.4rem, 3.5vw, 2.6rem);
  width: 100%;
}

.about-a {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.35;
}

.about-b {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.35;
}

/* —— inner sheets —— */
.sheet {
  flex: 1;
  width: min(70rem, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 6.4rem 0 3.6rem;
}

.sheet-narrow {
  width: min(40rem, calc(100% - 2 * var(--pad)));
}

.sheet-mid {
  width: min(70rem, calc(100% - 2 * var(--pad)));
}

.page-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
  margin: 0 0 2.1rem;
  letter-spacing: 0;
}

/* how it works — tariff, four rows */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 3.4rem;
}
.step {
  display: grid;
  grid-template-columns: 6.8rem minmax(0, 1fr);
  column-gap: clamp(1.2rem, 4vw, 3rem);
  align-items: baseline;
}
.step .lab {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}
.step .said {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.4;
  margin: 0;
}

.step .said .said-line {
  display: inline-block;
  margin-top: 0.55em;
}
.step .said .as-pen {
  font-family: var(--mono);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  margin: 0 0.55em;
}
.step .said .as-canvas {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  margin-left: 0.55em;
}


.lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem 4rem;
}
.lists h2 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--mute);
  margin: 0 0 0.65rem;
  letter-spacing: 0;
}
.lists .lines {
  margin: 0;
  padding: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.4;
  color: var(--ink);
}
.lists .lines p {
  display: block;
  padding: 0.12em 0 0.12em 1.15em;
  margin: 0;
  color: var(--ink);
  text-indent: -1.15em;
}

@media (max-width: 640px) {
  .step {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    column-gap: 1rem;
  }
  .lists {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* pricing — wine list, three rows, ~70rem */
.vat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  margin: 0 0 1.6rem;
  letter-spacing: 0;
}

.price-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  column-gap: 1.35rem;
  align-items: baseline;
  padding: 0 0 1.15rem;
  border: 0;
  min-width: 0;
}
.price-row > * { min-width: 0; }
.tariff {
  display: contents;
}
.cad {
  white-space: nowrap;
}
.num {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--ink);
}
.cad {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.3;
}
.why {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.4;
}

.fit {
  margin: 1.8rem 0 0;
  font-size: 1.05rem;
}
.support-note {
  margin: 1.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--mute);
}
.support-note p {
  margin: 0;
}
.support-note p + p {
  margin-top: 0.65rem;
}

@media (max-width: 800px) {
  .price-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.12rem;
    column-gap: 0;
  }
  .tariff {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.85rem;
  }
  .why {
    grid-column: 1;
    overflow-wrap: anywhere;
  }
}

/* legal / 404 */
.legal h1,
.notfound-line {
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.7rem;
}
.legal h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
  margin: 1.6rem 0 0.4rem;
  letter-spacing: 0;
}
.legal p {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.5;
}
.legal-note { color: var(--mute); }
.legal dl { margin: 0.4rem 0 0; }
.legal dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  margin: 0.7rem 0 0.15rem;
  letter-spacing: 0;
}
.legal dd { margin: 0; }

.notfound-sheet {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5.5rem var(--pad) 3rem;
}
.notfound-line {
  font-size: 1.12rem;
  margin: 0;
}

/* work — caption stamp left, 3×3 stills right, shared top */
.work-head,
.work-h {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  letter-spacing: 0;
  color: var(--ink);
}
.work-sheet {
  width: min(72rem, calc(100% - 2 * var(--pad)));
}
.work-spread {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(22rem, 1.7fr);
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 1.4rem;
  align-items: start;
}
.work-copy {
  min-width: 0;
  align-self: start;
}
.mediums,
.work-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: clamp(0.9rem, 2.2vw, 1.6rem);
  row-gap: 0;
  width: 100%;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.22;
  color: var(--ink);
}
.mediums {
  font-family: var(--serif);
}
.mediums p,
.work-list p {
  display: block;
  padding: 0.02em 0 0.02em 1.15em;
  margin: 0;
  text-indent: -1.15em;
  color: var(--ink);
}
.work-close,
.work-closer {
  display: none;
}
.stills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* contact-sheet gap, not instagram grid */
  gap: 3px;
  min-width: 0;
  align-self: start;
}
.stills picture {
  display: block;
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: var(--paper);
}
.stills img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border: 0;
  background: var(--paper);
}

@media (min-width: 801px) {
  .work-page {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  .work-page main,
  .work-page .work-sheet,
  .work-page .work-spread {
    min-height: 0;
  }

  .work-page .work-sheet {
    flex: 1 1 auto;
  }

  .work-page .stills {
    position: relative;
    z-index: 3;
    height: calc(100svh - 6.4rem);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: var(--pad);
    scrollbar-width: none;
  }

  .work-page .stills::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 800px) {
  .work-spread {
    grid-template-columns: 1fr;
  }
  .mediums,
  .work-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    margin-bottom: 0.4rem;
  }
  .stills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* the ninth still closes the sheet full-bleed, a decided ending */
  .stills picture:nth-child(9) {
    grid-column: 1 / -1;
  }
}


/* how-it-works leftover note — margin note, not a closer */
.steps-wrap {
  position: relative;
  margin: 0 0 3.4rem;
}
.steps-wrap .steps {
  margin: 0;
}
.paper-note {
  display: block;
  margin: 1.1rem 0 0 auto;
  max-width: min(20rem, 100%);
  padding: 0;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--mute);
  text-align: right;
}

@media (min-width: 801px) {
  .paper-note {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    max-width: min(20rem, 38%);
  }
}


.team-docs {
  margin: 0 0 2.1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--mute);
}
.team-docs a {
  color: var(--ink);
  text-decoration: none;
}
.team-docs a[aria-current="page"],
.team-docs a:hover,
.team-docs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.team-doc {
  width: min(40rem, 100%);
  outline: none;
  margin: 0 0 1.6rem;
}
.team-doc h1 {
  font-size: 1.0625rem;
  font-weight: 400;
  margin: 0 0 1.1rem;
}
.team-doc h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
  margin: 1.7rem 0 0.55rem;
}
.team-doc p { margin: 0 0 0.8rem; }
.team-doc ul,
.team-doc ol {
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
}
.team-doc li {
  padding: 0.12em 0 0.12em 1.15em;
  text-indent: -1.15em;
}
.team-doc li::before { content: "− "; }
.team-map {
  margin: 0 0 1.4rem;
}
.team-map img {
  display: block;
  width: 100%;
  height: auto;
}

/* —— /team: a sheet, not an admin —— */
.team-gate,
.team-sheet {
  width: min(40rem, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 6.4rem 0 3.6rem;
}

.team-names {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  margin: 0 0 2.1rem;
}

.team-who {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.team-who.is-on,
.team-who:hover,
.team-who:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.team-pw-lab {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  margin: 0 0 1.6rem;
}

.team-pw {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.35rem 0 0.4rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}

.team-pw:focus {
  outline: none;
  border-bottom-width: 1px;
}

.team-enter {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

.team-enter:hover,
.team-enter:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.team-reset,
.team-back {
  display: block;
}

.team-out {
  margin: 0.8rem 0 0;
}

.team-err {
  margin: 1rem 0 0;
  color: var(--ink);
}

.team-group {
  margin: 0 0 2.8rem;
}

.team-lab {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
  margin: 0 0 1.1rem;
}

.team-num {
  color: var(--mute);
}

.team-item {
  margin: 0 0 1.15rem;
}

.team-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 0;
  align-items: start;
  cursor: pointer;
}

.team-native {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.team-box {
  display: block;
  width: 11px;
  height: 11px;
  margin: 0.45rem 0 0 16px;
  box-sizing: border-box;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.team-native:checked + .team-box {
  background: var(--ink);
}

.team-native:focus-visible + .team-box {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.team-line {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  padding: 0.2rem 0;
}

.team-now {
  color: var(--mute);
}
.team-now[contenteditable="true"] {
  outline: none;
  cursor: text;
  border-bottom: 1px solid transparent;
}
.team-now[contenteditable="true"]:focus {
  border-bottom-color: var(--ink);
}

.team-notes {
  margin: 0.35rem 0 0 44px;
  padding: 0;
  list-style: none;
}

.team-notes li {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.team-by {
  color: var(--mute);
}

.team-rule {
  display: block;
  width: calc(100% - 44px);
  margin: 0.35rem 0 0 44px;
  padding: 0.2rem 0 0.3rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}

.team-rule:focus {
  outline: none;
}

.ink-bleed-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  mix-blend-mode: multiply;
}
.ink-bleed {
  text-decoration-line: underline;
  text-underline-offset: 0.16em;
  text-decoration-color: currentColor;
  text-decoration-thickness: calc(1px + var(--ink-fat, 0) * 3px);
  -webkit-text-stroke: min(1.6px, calc(var(--ink-swell, 0) * 0.14em)) currentColor;
  paint-order: stroke fill;
}
.ink-bleed.is-wet {
  text-decoration-line: underline;
}
@media (prefers-reduced-motion: reduce) {
  .ink-bleed-layer { display: none; }
  .ink-bleed {
    -webkit-text-stroke: 0;
  }
}


.about-sun {
  flex: none;
  width: min(40rem, calc(100% - 2 * var(--pad)));
  margin: 4.2rem auto 0;
  padding: 0 0 3.6rem;
}
.about-sun canvas {
  display: block;
  width: 240px;
  height: 240px;
  touch-action: none;
  vertical-align: top;
}
@media (max-width: 720px) {
  .about-sun canvas {
    width: 140px;
    height: 140px;
  }
}
@media (pointer: coarse) {
  .about-sun canvas {
    touch-action: pan-y;
  }
}


/* home: handwriting sheet + chrome */
@font-face {
  font-family: "Nothing You Could Do";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/NothingYouCouldDo-Regular.woff2") format("woff2");
}

html:has(body.home),
body.home {
  height: 100svh;
  overflow: hidden;
}

body.home main {
  flex: 1;
  position: relative;
  z-index: 0;
}

body.home #home {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

body.home .site-header {
  justify-content: flex-end;
}

body.home .site-footer {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  justify-content: flex-start;
  background: transparent;
}

/* ink cursor 12b — site-wide on this preview */
html, body {
  cursor: url("../img/cursor-12b.png?v=3") 2 0, auto;
}
a, button, summary, label[for], [role="button"] {
  cursor: url("../img/cursor-12b.png?v=3") 2 0, pointer;
}

.send-sketches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.8rem;
  margin: 2.4rem 0 0;
  align-items: start;
}
.send-sketches img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}
@media (max-width: 640px) {
  .send-sketches { grid-template-columns: 1fr; }
}
