/* The page transition with the stepped yellow curtain: three pages of Ignite Fund, a climate tech fund, stacked in
   one site. The pages, the nav, the curtain (.veil), the grain and the drawn pointer are layers on top of each other.
   The curtain's fades are 13 steps of the same colour, not a straight gradient, so the edge looks like light. */
:root {
  --paper: #f4f2ec;          /* the light pages */
  --paper-2: #ebe8df;        /* their second tone */
  --card: #fbfaf6;           /* the cards */
  --ink: #15140f;            /* the words */
  --muted: #77746b;          /* the small words */
  --line: rgba(21, 20, 15, 0.11); /* the 1px edges on the light pages */
  --night: #13120e;          /* the dark page and the dark curtain */
  --night-ink: #f1efe7;      /* the words on it */
  --accent: #e3fc5a;         /* the yellow of the curtain and of the figures */
  --veil-rgb: 227 252 90;    /* the same yellow as three numbers, for the 13 step fade */
  --dark-rgb: 19 18 14;      /* the dark curtain as three numbers */
  --pad: clamp(14px, 3.4vw, 44px);
  --nav: clamp(46px, 9vh, 68px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

html {
  touch-action: manipulation;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Geist Variable', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
  transition: background-color 0.5s ease;
}

.site.is-dark {
  background: var(--night);
}

/* the grain over everything, curtain included */
.site::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

.site.is-dark::after {
  mix-blend-mode: screen;
  opacity: 0.05;
  filter: invert(1);
}

/* ---------------------------------------------------------------- the nav */
.nav {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  transition: color 0.4s ease;
}

.nav::after {
  content: '';
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 0;
  height: 1px;
  background: var(--line);
  transition: background-color 0.4s ease;
}

.is-dark .nav {
  color: var(--night-ink);
}

.is-dark .nav::after {
  background: rgba(255, 255, 255, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 560;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__mark {
  width: clamp(18px, 2.2vw, 24px);
  height: auto;
  overflow: visible;
}

.brand__mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 9;
}

.brand__mark path + path {
  opacity: 0.62;
}

.links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(21, 20, 15, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.is-dark .links {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.links__pill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 10px -4px rgba(30, 25, 10, 0.25);
}

.is-dark .links__pill {
  background: #2a2922;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 14px -6px rgba(0, 0, 0, 0.6);
}

.links__item {
  position: relative;
  padding: 6px clamp(9px, 1.4vw, 14px);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  color: inherit;
  opacity: 0.62;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.links__item.is-on,
.links__item.is-hover {
  opacity: 1;
}

.links__item--muted {
  opacity: 0.35;
}

@media (hover: hover) {
  .links__item[data-go]:hover {
    opacity: 1;
  }
}

@media (max-width: 400px) {
  .links__item--muted {
    display: none;
  }
}

/* ---------------------------------------------------------------- pages */
.pages {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page {
  position: absolute;
  inset: 0;
  padding: calc(var(--nav) + clamp(10px, 3vh, 40px)) var(--pad) var(--pad);
  display: flex;
  flex-direction: column;
}

.page[hidden] {
  display: none;
}

.eyebrow {
  margin: 0;
  font-family: 'Geist Mono Variable', ui-monospace, monospace;
  font-size: clamp(9.5px, 1.1vw, 12px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow__soft {
  color: var(--muted);
  margin-left: 0.8em;
}

.eyebrow--dark {
  color: var(--accent);
}

.eyebrow--dark .eyebrow__soft {
  color: rgba(241, 239, 231, 0.5);
}

/* the portfolio */
.page--portfolio {
  background:
    radial-gradient(120% 70% at 85% -10%, rgba(227, 252, 90, 0.22), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}

.pf__head {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.4vh, 14px);
  margin-bottom: clamp(10px, 3vh, 36px);
}

.pf__title {
  margin: 0;
  max-width: 15em;
  font-weight: 500;
  font-size: min(6.4vw, 6.2vh, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
  max-height: 560px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(8px, 1.4vw, 18px);
}

@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  min-height: 0;
}

.card__link {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(4px, 0.6vw, 7px);
  border-radius: clamp(12px, 1.4vw, 18px);
  background: linear-gradient(180deg, #ffffff, var(--card));
  box-shadow:
    0 0 0 1px var(--line),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 1px 2px rgba(30, 25, 10, 0.05),
    0 14px 30px -18px rgba(30, 25, 10, 0.3);
  transition: box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.card__photo {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: clamp(8px, 1vw, 12px);
  overflow: hidden;
  isolation: isolate;
}

/* every photo is a real CC0 photograph of the company's material: it sits on ::before, a little larger than the frame,
   so it can grow on hover without showing its edges; a thin inner rim and a sheen that crosses it on hover */
.card__photo::before {
  content: '';
  position: absolute;
  inset: -6%;
  z-index: -1;
  background: inherit;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%, rgba(0, 0, 0, 0.08));
}

/* battery cells seen from above, for Halcyon Storage */
.card__photo--cells {
  background: #d9dcd6 url('battery-cells.webp') 50% 50% / cover no-repeat;
}

/* bubbles rising in clear water, for Verdant Hydrogen */
.card__photo--water {
  background: #2a5866 url('water-bubbles.webp') 50% 50% / cover no-repeat;
}

/* raw grey concrete, for Calcine Labs */
.card__photo--stone {
  background: #b5ae9f url('concrete.webp') 50% 50% / cover no-repeat;
}

/* the layered walls of a canyon, for Deepwell Thermal */
.card__photo--strata {
  background: #a46d45 url('rock-strata.webp') 50% 60% / cover no-repeat;
}

.card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 48%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: clamp(6px, 1vh, 12px) clamp(4px, 0.6vw, 8px) clamp(3px, 0.6vh, 6px);
}

.card__name {
  font-weight: 560;
  font-size: clamp(12px, 1.35vw, 17px);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(9.5px, 1vw, 12px);
  color: var(--muted);
  white-space: nowrap;
}

.card__tag {
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__fig {
  font-family: 'Geist Mono Variable', ui-monospace, monospace;
  color: var(--ink);
}

.card__go {
  position: absolute;
  top: clamp(9px, 1.2vw, 14px);
  right: clamp(9px, 1.2vw, 14px);
  width: clamp(22px, 2.4vw, 30px);
  height: clamp(22px, 2.4vw, 30px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 4px 10px -4px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.35s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card__go svg {
  width: 52%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(45deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card__link.is-hover {
  box-shadow:
    0 0 0 1px rgba(21, 20, 15, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 2px 4px rgba(30, 25, 10, 0.06),
    0 26px 44px -22px rgba(30, 25, 10, 0.45);
}

.card__link.is-hover .card__photo::before {
  transform: scale(1.06);
}

.card__link.is-hover .card__shine {
  transform: translateX(120%);
}

.card__link.is-hover .card__go {
  background: var(--accent);
  transform: scale(1.08);
}

.card__link.is-hover .card__go svg {
  transform: rotate(0deg);
}

@media (hover: hover) {
  .card__link:hover {
    box-shadow:
      0 0 0 1px rgba(21, 20, 15, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 2px 4px rgba(30, 25, 10, 0.06),
      0 26px 44px -22px rgba(30, 25, 10, 0.45);
  }
  .card__link:hover .card__photo::before {
    transform: scale(1.06);
  }
  .card__link:hover .card__shine {
    transform: translateX(120%);
  }
  .card__link:hover .card__go {
    background: var(--accent);
    transform: scale(1.08);
  }
  .card__link:hover .card__go svg {
    transform: rotate(0deg);
  }
}

/* the company page */
.page--company {
  color: var(--night-ink);
  background:
    radial-gradient(70% 60% at 90% 10%, rgba(227, 252, 90, 0.12), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(120, 140, 120, 0.12), transparent 60%),
    var(--night);
}

.co {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: clamp(10px, 2.6vh, 32px);
}

@media (min-width: 760px) {
  .co {
    grid-template-columns: 1fr min(44vw, 460px);
    grid-template-rows: 1fr;
    align-items: center;
  }
}

.co__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.3vh, 14px);
  align-items: flex-start;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: clamp(0px, 1.5vh, 18px);
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  font-size: clamp(11px, 1.2vw, 13px);
  color: rgba(241, 239, 231, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.back svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back.is-hover {
  color: var(--night-ink);
  background: rgba(255, 255, 255, 0.06);
}

.back.is-hover svg {
  transform: translateX(-2px);
}

@media (hover: hover) {
  .back:hover {
    color: var(--night-ink);
    background: rgba(255, 255, 255, 0.06);
  }
  .back:hover svg {
    transform: translateX(-2px);
  }
}

.co__photo {
  display: none;
  flex: none;
  width: min(100%, 520px);
  height: clamp(110px, 22vh, 230px);
  margin-bottom: clamp(4px, 1.5vh, 16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 50px -24px rgba(0, 0, 0, 0.8);
}

@media (min-width: 760px) and (min-height: 600px) {
  .co__photo {
    display: block;
  }
}

.co__name {
  margin: 0;
  font-weight: 500;
  font-size: min(8vw, 7vh, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.co__line {
  margin: 0;
  max-width: 24em;
  font-size: clamp(12px, 1.4vw, 16px);
  line-height: 1.4;
  color: rgba(241, 239, 231, 0.6);
}

@media (max-height: 520px) and (max-width: 759px) {
  .co__line {
    display: none;
  }
  .back {
    margin-bottom: 0;
  }
}

.panel {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 2vw, 24px);
  border-radius: clamp(14px, 1.6vw, 22px);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(227, 252, 90, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 30px 60px -24px rgba(0, 0, 0, 0.7);
}

@media (min-width: 760px) {
  .panel {
    height: min(100%, 440px);
  }
}

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(11px, 1.2vw, 13px);
  color: rgba(241, 239, 231, 0.6);
}

.panel__chip {
  padding: 2px 8px;
  border-radius: 999px;
  font-family: 'Geist Mono Variable', ui-monospace, monospace;
  font-size: 0.85em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(227, 252, 90, 0.3);
  background: rgba(227, 252, 90, 0.06);
}

.panel__big {
  margin: clamp(4px, 1.2vh, 14px) 0 0;
  font-weight: 500;
  font-size: min(10vw, 9vh, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.panel__unit {
  margin-left: 0.18em;
  font-size: 0.4em;
  letter-spacing: -0.01em;
  color: rgba(241, 239, 231, 0.55);
}

.panel__delta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 0;
  font-size: clamp(10.5px, 1.1vw, 12.5px);
  color: var(--accent);
}

.panel__delta svg {
  width: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart {
  flex: 1;
  min-height: 0;
  width: 100%;
  margin-top: clamp(6px, 1.6vh, 18px);
  overflow: visible;
}

.chart__grid {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2 4;
}

.chart__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(227, 252, 90, 0.5));
}

.chart__end {
  fill: var(--night);
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.panel__years {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: 'Geist Mono Variable', ui-monospace, monospace;
  font-size: clamp(9px, 0.9vw, 11px);
  color: rgba(241, 239, 231, 0.38);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(8px, 1.6vh, 18px) 0 0;
  padding-top: clamp(8px, 1.4vh, 14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats div + div {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stats dt {
  font-size: clamp(9.5px, 1vw, 11.5px);
  color: rgba(241, 239, 231, 0.45);
}

.stats dd {
  margin: 2px 0 0;
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* the impact page */
.page--impact {
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(227, 252, 90, 0.26), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}

.im {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: clamp(12px, 3vh, 36px);
}

@media (min-width: 760px) {
  .im {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    align-items: end;
    gap: clamp(24px, 5vw, 80px);
  }
}

.im__left {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1.2vh, 14px);
}

.im__big {
  margin: 0;
  font-weight: 500;
  font-size: min(17vw, 13vh, 150px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.im__unit {
  margin-left: 0.12em;
  font-size: 0.36em;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.im__line {
  margin: 0;
  max-width: 22em;
  font-size: clamp(12px, 1.4vw, 16px);
  line-height: 1.4;
  color: var(--muted);
}

.bars {
  list-style: none;
  margin: 0;
  padding: clamp(10px, 1.6vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 1.4vh, 14px);
  border-radius: clamp(12px, 1.4vw, 18px);
  background: linear-gradient(180deg, #ffffff, var(--card));
  box-shadow:
    0 0 0 1px var(--line),
    inset 0 1px 0 #ffffff,
    0 18px 36px -22px rgba(30, 25, 10, 0.35);
}

.bar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 1.4fr auto;
  align-items: center;
  gap: 10px;
  font-size: clamp(10.5px, 1.15vw, 13px);
}

.bar__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar__track {
  position: relative;
  height: clamp(6px, 1vh, 9px);
  border-radius: 999px;
  background: rgba(21, 20, 15, 0.06);
  box-shadow: inset 0 1px 1px rgba(21, 20, 15, 0.08);
  overflow: hidden;
}

.bar__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2a2922, var(--ink));
}

.bar__fill--lead {
  background: linear-gradient(90deg, #c9e63f, var(--accent));
  box-shadow: inset 0 0 0 1px rgba(21, 20, 15, 0.12);
}

.bar__val {
  min-width: 3ch;
  text-align: right;
  font-family: 'Geist Mono Variable', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- the curtain */
.veil {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  pointer-events: none;
}

.veil__row,
.veil__col {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  visibility: hidden;
  will-change: transform;
}

.veil__row {
  height: 100%;
}

.veil__col {
  width: 100%;
  flex-direction: column;
}

.veil__row .veil__block {
  flex: none;
  width: var(--w);
  height: 100%;
  background: rgb(var(--veil-rgb));
}

.veil__col .veil__block {
  flex: none;
  height: var(--h);
  width: 100%;
  background: rgb(var(--dark-rgb));
}

.fade {
  flex: none;
}

.veil__row .fade {
  width: var(--gw);
  height: 100%;
  margin: 0 -1px;
}

.veil__col .fade {
  height: var(--gh);
  width: 100%;
  margin: -1px 0;
}

/* the 13 steps of the fade, the same stops as a light falling off */
.veil__row .fade {
  --c: var(--veil-rgb);
}

.veil__col .fade {
  --c: var(--dark-rgb);
}

.fade--l,
.fade--r,
.fade--t,
.fade--b {
  --stops: rgb(var(--c)), rgb(var(--c) / 0.737) 19%, rgb(var(--c) / 0.541) 34%, rgb(var(--c) / 0.38) 47%,
    rgb(var(--c) / 0.278) 56.5%, rgb(var(--c) / 0.192) 65%, rgb(var(--c) / 0.125) 73%, rgb(var(--c) / 0.075) 80.2%,
    rgb(var(--c) / 0.043) 86.1%, rgb(var(--c) / 0.02) 91%, rgb(var(--c) / 0.008) 95.2%, rgb(var(--c) / 0.004) 98.2%,
    rgb(var(--c) / 0);
}

.fade--l {
  background: linear-gradient(to left, var(--stops));
}

.fade--r {
  background: linear-gradient(to right, var(--stops));
}

.fade--t {
  background: linear-gradient(to top, var(--stops));
}

.fade--b {
  background: linear-gradient(to bottom, var(--stops));
}

.veil__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.veil.is-dark .veil__mark {
  color: var(--accent);
}

.rings {
  width: min(46vw, 42vh, 300px);
  height: auto;
  overflow: visible;
  grid-area: 1 / 1;
}

.ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  visibility: hidden;
}

.ring--cut {
  stroke-dasharray: 19.5 5.5;
  stroke-dashoffset: 9.75;
}

.veil__title {
  grid-area: 1 / 1;
  margin: 0;
  position: relative;
  font-weight: 500;
  font-size: clamp(22px, min(6.4vw, 7.5vh), 66px);
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
  visibility: hidden;
}

.veil.is-dark .veil__title {
  color: var(--night-ink);
}

/* ---------------------------------------------------------------- the drawn pointer */
.cursor {
  position: absolute;
  z-index: 12;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  margin: -3px 0 0 -5px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.28));
}

.cursor path {
  fill: var(--ink);
  stroke: #ffffff;
  stroke-width: 1.3;
  stroke-linejoin: round;
}
