:root {
  --paper: #fbfcfd;
  --paper-blue: #eef5ff;
  --paper-green: #f1faf7;
  --ink: #07090f;
  --text: #1f2732;
  --muted: #6d7581;
  --line: rgba(7, 9, 15, 0.13);
  --line-soft: rgba(7, 9, 15, 0.08);
  --blue: #135bff;
  --teal: #008878;
  --cyan: #1298aa;
  --rose: #d43c62;
  --red: #e0312a;
  --display: "Cormorant Garamond", "Bodoni 72", "Didot", Georgia, serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --page: min(760px, calc(100vw - 104px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.45;
  background:
    radial-gradient(circle at 11% 99%, rgba(41, 111, 255, 0.09), transparent 25%),
    radial-gradient(circle at 91% 92%, rgba(0, 136, 120, 0.08), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 33%, #f9fbfd 73%, #f7fbfa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.92), transparent 56%),
    linear-gradient(90deg, rgba(18, 91, 255, 0.045), transparent 24%, transparent 75%, rgba(0, 136, 120, 0.035));
}

body::selection {
  color: #fff;
  background: var(--blue);
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header,
.site-footer {
  width: var(--page);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 51px;
  border-bottom: 1px solid var(--line);
}

.mark {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.brand {
  justify-self: center;
  margin-left: 68px;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 29px;
}

.site-nav a {
  position: relative;
  color: var(--text);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

main {
  width: 100%;
  padding-bottom: 0;
  overflow: hidden;
}

section {
  scroll-margin-top: 36px;
}

.hero {
  display: grid;
  justify-items: center;
  padding-top: 39px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #818894;
  font-family: var(--mono);
  font-size: 0.46rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(19, 91, 255, 0.38);
}

.hero h1 {
  max-width: 650px;
  margin-top: 0;
  font-family: var(--display);
  font-size: 3.08rem;
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hero h1 .line {
  display: block;
}

.mobile-title {
  display: none;
}

.hero-line {
  max-width: 410px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.55;
}

.proof-shelf {
  --edge-card: clamp(330px, 21.5vw, 420px);
  --commerce-card: clamp(332px, 21.8vw, 420px);
  --teach-card: clamp(282px, 18vw, 350px);
  --shelf-gap: clamp(24px, 1.45vw, 30px);
  position: relative;
  display: grid;
  grid-template-columns: var(--edge-card) var(--commerce-card) var(--teach-card) var(--edge-card);
  gap: var(--shelf-gap);
  width: max-content;
  margin-top: 50px;
  padding-bottom: 48px;
  isolation: isolate;
  perspective: none;
  perspective-origin: center 44%;
  transform-style: preserve-3d;
}

.proof-shelf::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 32px;
  left: 6%;
  z-index: -1;
  height: 34px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(35, 76, 160, 0.13), transparent 68%);
  filter: blur(22px);
  opacity: 0.34;
}

.proof-shelf::after {
  content: "";
  position: absolute;
  top: 156px;
  left: -12%;
  z-index: 3;
  width: 38%;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.42) 47%, transparent 78%);
  filter: blur(10px);
  opacity: 0.09;
  mix-blend-mode: screen;
  animation: reflection-sheen 8.6s ease-in-out infinite;
}

.proof-tile {
  position: relative;
  display: block;
  overflow: visible;
  height: 150px;
  text-decoration: none;
  transform:
    translateX(var(--shift, 0))
    translateY(var(--lift, 0))
    translateZ(var(--depth, 0))
    rotateY(var(--yaw, 0deg))
    rotateZ(var(--roll, 0deg))
    scale(var(--scale, 1));
  transform-origin: var(--origin, center center);
  transform-style: preserve-3d;
  z-index: var(--z, 1);
}

.proof-tile:nth-child(1) {
  --shift: 0px;
  --lift: 0px;
  --depth: 0px;
  --yaw: 10deg;
  --roll: -0.35deg;
  --scale: 1;
  --origin: right center;
  --z: 3;
}

.proof-tile:nth-child(2) {
  --shift: 0px;
  --lift: 0px;
  --depth: 0px;
  --yaw: 0deg;
  --roll: 0deg;
  --scale: 1;
  --z: 2;
}

.proof-tile:nth-child(3) {
  --shift: 0px;
  --lift: 0px;
  --depth: 0px;
  --yaw: 0deg;
  --roll: 0deg;
  --scale: 1;
  --z: 2;
}

.proof-tile:nth-child(4) {
  --shift: 0px;
  --lift: 0px;
  --depth: 0px;
  --yaw: -10deg;
  --roll: 0.35deg;
  --scale: 1;
  --origin: left center;
  --z: 3;
}

.proof-frame,
.proof-mirror {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.proof-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  height: 150px;
  border: 1px solid rgba(7, 9, 15, 0.08);
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 26, 42, 0.09);
}

.proof-frame img,
.proof-mirror img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-mirror {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  overflow: hidden;
  height: 78px;
  opacity: 0.34;
  filter: blur(0.35px) saturate(0.7) contrast(0.86);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.2) 38%, transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.2) 38%, transparent 82%);
}

.proof-tile:nth-child(1) .proof-mirror,
.proof-tile:nth-child(4) .proof-mirror {
  opacity: 0.37;
}

.proof-tile:nth-child(2) .proof-mirror,
.proof-tile:nth-child(3) .proof-mirror {
  opacity: 0.29;
}

.proof-mirror::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.24) 40%, rgba(255, 255, 255, 0.96));
  mix-blend-mode: screen;
}

.proof-mirror img {
  height: 150px;
  transform: scaleY(-1);
}

.proof-narra img {
  object-position: center center;
}

.proof-getclouds img {
  object-position: center top;
}

.proof-getclouds .proof-frame img {
  width: 114%;
  max-width: none;
  transform: translateX(-6%);
}

.proof-getclouds .proof-mirror img {
  width: 114%;
  max-width: none;
  transform: translateX(-6%) scaleY(-1);
}

.proof-swiftnotes img {
  object-position: center center;
}

.proof-portal img {
  object-position: center top;
}

.metrics {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: var(--page);
  margin: 0 auto;
}

.metric {
  display: grid;
  min-height: 116px;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 9px 0 16px;
  border-right: 1px solid rgba(7, 9, 15, 0.09);
  text-align: center;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  --metric-a: var(--blue);
  --metric-b: #02040a;
  --metric-c: #8aa2ff;
  font-family: "Bodoni 72", "Didot", var(--display);
  font-size: 5.12rem;
  font-weight: 300;
  display: block;
  padding-bottom: 13px;
  line-height: 0.78;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(114deg, var(--metric-a), var(--metric-b) 50%, var(--metric-c) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.metric[data-tone="teal"] strong {
  --metric-a: #05070c;
  --metric-b: #060910;
  --metric-c: #7da1ff;
}

.metric[data-tone="cyan"] strong {
  --metric-a: #0d7f79;
  --metric-b: #1b3146;
  --metric-c: #44b3aa;
}

.metric[data-tone="wine"] strong {
  --metric-a: #c4375c;
  --metric-b: #2a131c;
  --metric-c: #a67482;
}

.metric span {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.49rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.project-section {
  width: var(--page);
  margin: 31px auto 0;
  border-top: 1px solid var(--line);
}

.section-title {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-top: 28px;
  text-align: center;
}

.section-title h2 {
  max-width: 540px;
  font-family: var(--display);
  font-size: 2.34rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-title > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.project-list {
  position: relative;
  display: grid;
  margin-top: 30px;
}

.project-rail {
  display: none;
}

.rail-line,
.rail-progress {
  position: absolute;
  inset: 0;
  width: 1px;
}

.rail-line {
  background: var(--line);
}

.rail-progress {
  height: var(--rail-progress, 0%);
  background: linear-gradient(180deg, var(--red), var(--teal), var(--rose), var(--blue));
  transition: height 280ms ease;
}

.project-row {
  --accent: var(--blue);
  display: grid;
  grid-template-columns: 58px 222px 404px;
  gap: 24px;
  align-items: center;
  min-height: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.project-row[data-project="getclouds"] {
  --accent: var(--teal);
}

.project-row[data-project="teach"] {
  --accent: var(--rose);
}

.project-row[data-project="narra"] {
  --accent: var(--red);
}

.project-index {
  display: grid;
  grid-template-columns: 25px;
  align-items: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1;
}

.project-index i {
  display: none;
}

.project-row.is-active .project-index i,
.project-row:hover .project-index i {
  display: none;
}

.project-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.project-copy h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.project-copy p {
  max-width: 28ch;
  color: var(--text);
  font-size: 0.68rem;
  line-height: 1.62;
}

.project-copy p:not(.project-lede) {
  color: #313946;
  font-weight: 400;
}

.project-lede {
  font-weight: 600;
}

.project-copy a,
.contact-actions a {
  width: fit-content;
  color: var(--accent, var(--blue));
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.project-copy a span,
.contact-actions a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.project-copy a:hover span,
.contact-actions a:hover span {
  transform: translateX(3px);
}

.project-visual {
  position: relative;
  overflow: visible;
  margin: 0;
  text-decoration: none;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.project-visual::before {
  inset: -1px;
  z-index: 2;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 0 28px color-mix(in srgb, var(--accent) 11%, transparent);
  transition: opacity 420ms ease;
}

.project-visual::after {
  top: 1px;
  bottom: 1px;
  left: 1px;
  right: 1px;
  z-index: 3;
  border-radius: 5px;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 255, 255, 0.34) 46%, transparent 74%);
  background-size: 260% 100%;
  background-position: 140% 0;
  filter: blur(12px);
  mix-blend-mode: screen;
  clip-path: inset(0 round 5px);
  transition: opacity 520ms ease, background-position 880ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-visual img {
  width: 100%;
  aspect-ratio: 404 / 160;
  border: 1px solid rgba(7, 9, 15, 0.1);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(16, 24, 38, 0.08);
  object-fit: cover;
  transition: border-color 420ms ease, filter 420ms ease, box-shadow 420ms ease;
}

.project-row[data-project="portal"] .project-visual img {
  aspect-ratio: 404 / 180;
  object-position: left 15%;
}

.project-row[data-project="getclouds"] .project-visual img {
  aspect-ratio: 404 / 154;
  object-position: center top;
}

.project-row[data-project="teach"] .project-visual img {
  aspect-ratio: 404 / 154;
  object-position: center center;
}

.project-row[data-project="narra"] .project-visual img {
  aspect-ratio: 404 / 150;
  object-position: center center;
}

.open-mark {
  position: absolute;
  right: -16px;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #07090f;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-50%);
  transition: background 220ms ease, transform 220ms ease;
}

.open-mark::before,
.open-mark::after {
  content: "";
  position: absolute;
  display: block;
  color: #fff;
}

.open-mark::before {
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(-1px, 1px);
}

.open-mark::after {
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg) translate(-1px, 1px);
  transform-origin: center;
}

.project-visual:hover img,
.project-row.is-active .project-visual img {
  border-color: color-mix(in srgb, var(--accent) 20%, rgba(7, 9, 15, 0.1));
  filter: saturate(1.03) contrast(1.02);
  box-shadow: 0 16px 46px rgba(16, 24, 38, 0.12), 0 0 0 1px color-mix(in srgb, var(--accent) 9%, transparent);
}

.project-visual:hover::before,
.project-row.is-active .project-visual::before {
  opacity: 1;
}

.project-visual:hover::after {
  opacity: 0.36;
  background-position: -70% 0;
}

.project-visual:hover .open-mark {
  background: var(--accent);
  transform: translateY(-50%) translate(2px, -2px);
}

.about {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 40px;
  width: var(--page);
  margin: 18px auto 0;
  padding: 31px 72px 29px 74px;
  border-top: 1px solid var(--line);
}

.about h2 {
  max-width: 270px;
  font-family: var(--display);
  font-size: 2.18rem;
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.about p {
  max-width: 360px;
  color: var(--text);
  font-size: 0.75rem;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  margin-top: 25px;
}

.contact-actions a {
  color: var(--ink);
}

.primary-action {
  min-height: 34px;
  padding: 11px 14px 10px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff !important;
  box-shadow: 0 15px 34px rgba(7, 9, 15, 0.16);
}

.site-footer {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 0;
  padding: 14px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1;
}

@keyframes metric-color-drift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes reflection-sheen {
  0%,
  42% {
    opacity: 0;
    transform: translateX(0);
  }

  55% {
    opacity: 0.18;
  }

  88%,
  100% {
    opacity: 0;
    transform: translateX(360%);
  }
}

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

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

@media (max-width: 760px) {
  :root {
    --page: min(100vw - 30px, 100%);
  }

  .site-header {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 72px;
    align-content: center;
    row-gap: 10px;
  }

  .brand {
    justify-self: end;
    margin-left: 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding-bottom: 2px;
  }

  .site-nav a {
    font-size: 0.67rem;
  }

  .site-nav a::after {
    bottom: -8px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    max-width: 12ch;
    margin-top: 16px;
    font-size: clamp(3.2rem, 15vw, 4.4rem);
    line-height: 0.88;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
  }

  .hero-line {
    max-width: 31ch;
    margin-top: 20px;
    font-size: 0.82rem;
  }

  .proof-shelf {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    width: calc(100vw - 15px);
    margin-top: 32px;
    margin-left: calc((100vw - var(--page)) / -2);
    padding: 0 15px 56px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .proof-shelf::-webkit-scrollbar {
    display: none;
  }

  .proof-shelf::after {
    display: none;
  }

  .proof-tile {
    flex: 0 0 74vw;
    height: 212px;
    scroll-snap-align: center;
    transform: none;
  }

  .proof-frame {
    height: 212px;
  }

  .proof-mirror {
    height: 76px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .metric {
    min-height: 128px;
    border-right: 0;
  }

  .metric:nth-child(odd) {
    border-right: 1px solid rgba(7, 9, 15, 0.08);
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(7, 9, 15, 0.06);
  }

  .metric strong {
    font-size: 4.2rem;
  }

  .project-section {
    margin-top: 38px;
  }

  .section-title {
    padding-top: 31px;
  }

  .section-title h2 {
    max-width: 330px;
    font-size: 2.85rem;
  }

  .project-rail {
    display: none;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 31px 0;
  }

  .project-index {
    grid-template-columns: 36px;
  }

  .project-index i {
    width: 100%;
    height: 2px;
    border: 0;
    border-radius: 999px;
    background: currentColor;
    box-shadow: none;
  }

  .project-row.is-active .project-index i,
  .project-row:hover .project-index i {
    background: currentColor;
    box-shadow: none;
  }

  .project-copy {
    gap: 11px;
  }

  .project-copy h3 {
    max-width: 10ch;
    font-size: 2.42rem;
    line-height: 0.92;
  }

  .project-copy p {
    max-width: 34ch;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .project-copy a,
  .contact-actions a {
    font-size: 0.82rem;
  }

  .project-visual img {
    aspect-ratio: 16 / 10.4;
    border-radius: 6px;
  }

  .open-mark {
    top: auto;
    right: 11px;
    bottom: 11px;
    width: 34px;
    height: 34px;
    transform: none;
  }

  .project-visual:hover .open-mark {
    transform: translate(2px, -2px);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 34px;
    padding: 39px 0 44px;
  }

  .about h2 {
    max-width: 310px;
    font-size: 2.8rem;
  }

  .about p {
    font-size: 0.86rem;
  }

  .contact-actions {
    gap: 19px;
    margin-top: 22px;
  }

  .site-footer {
    padding-bottom: 30px;
  }
}

@media (max-width: 440px) {
  :root {
    --page: min(100vw - 24px, 100%);
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 3.8rem);
  }

  .proof-tile {
    flex-basis: 82vw;
    height: 196px;
  }

  .metric strong {
    font-size: 3.85rem;
  }

  .section-title h2,
  .about h2 {
    font-size: 2.55rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
  }
}
