:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #626262;
  --line: #e4e4e4;
  --paper: #fff;
  --font:
    "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
::selection {
  background: #222;
  color: #fff;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 6px;
  border-radius: 2px;
}
.shell {
  width: min(1080px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 108px;
}
.brand {
  display: block;
  padding-block: 9px;
  flex: none;
}
.brand img {
  width: 193px;
  filter: grayscale(1) invert(1) contrast(1.5);
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 500;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: center;
  gap: 55px;
  padding-block: 86px 103px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.7px;
  color: #656565;
  margin: 0 0 23px;
  line-height: 1.6;
}
.hero h1 {
  font-size: clamp(46px, 5.2vw, 67px);
  line-height: 1.08;
  letter-spacing: -3.4px;
  font-weight: 550;
  margin: 0 0 27px;
}
.hero h1 span {
  color: #767676;
}
.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: #565656;
  margin: 0 0 31px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
}
.text-link span {
  font-size: 18px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mascot {
  position: relative;
  width: 265px;
  justify-self: center;
}
.mascot-button {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 44%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mascot-button:focus-visible {
  border-radius: 44%;
}
.mascot-art {
  width: 100%;
  transform-origin: 50% 75%;
  user-select: none;
}
.mascot-effects {
  position: absolute;
  inset: -24px;
  overflow: clip;
  contain: layout paint;
  pointer-events: none;
}
.magic-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2);
  background: var(--color);
  border-radius: 50%;
  opacity: 0;
  animation: magic-spark 740ms cubic-bezier(0.18, 0.65, 0.3, 1) both;
}
.magic-particle:nth-child(3n + 1) {
  border-radius: 0;
  clip-path: polygon(
    50% 0,
    62% 38%,
    100% 50%,
    62% 62%,
    50% 100%,
    38% 62%,
    0 50%,
    38% 38%
  );
}
.mascot.is-playing .mascot-art {
  animation: mascot-hop 560ms ease-out;
}
.mascot-button::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 44%;
  pointer-events: none;
}
.mascot.is-accented .mascot-button::after {
  box-shadow:
    0 0 0 2px #b0a1dc,
    0 0 0 7px #f4eefb;
}
@keyframes mascot-hop {
  0%,
  100% {
    transform: none;
  }
  22% {
    transform: translateY(-11px) rotate(-3deg) scale(1.015);
  }
  55% {
    transform: rotate(2deg);
  }
  80% {
    transform: translateY(-3px);
  }
}
@keyframes magic-spark {
  0% {
    opacity: 0;
    transform: translate(var(--start-x), var(--start-y)) scale(0.35)
      rotate(0deg);
  }
  16% {
    opacity: 0.95;
  }
  65% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate(var(--end-x), var(--end-y)) scale(0.65)
      rotate(var(--turn));
  }
}
.projects {
  padding-block: 20px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 25px;
}
.section-heading h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.7px;
  margin: 0;
}
.section-note {
  font-size: 10px;
  color: #707070;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 31px 32px 29px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.project-number {
  font-size: 11px;
  color: #737373;
  font-variant-numeric: tabular-nums;
}
.status {
  font-size: 9px;
  line-height: 1.5;
  color: #5c5c5c;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 5px 10px;
}
.project-card h3 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.project-type {
  font-size: 11px;
  line-height: 1.6;
  color: #686868;
  margin: 0 0 23px;
}
.project-description {
  font-size: 13px;
  line-height: 1.9;
  color: #5e5e5e;
  margin: 0 0 29px;
  max-width: 390px;
}
.project-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  min-height: 46px;
  font-size: 12px;
  font-weight: 600;
}
.project-link span {
  font-size: 19px;
  line-height: 1;
  transition: transform 0.18s;
}
.project-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.project-link:hover span {
  transform: translate(2px, -2px);
}
.launch-note {
  font-size: 10px;
  line-height: 1.8;
  color: #707070;
  margin: 19px 0 0;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 80px;
  padding-block: 96px 88px;
}
.about h2 {
  font-size: 29px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0;
}
.about-copy {
  max-width: 530px;
}
.about-copy p {
  font-size: 14px;
  line-height: 1.9;
  color: #626262;
  margin: 0 0 14px;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-block: 22px 28px;
  color: #747474;
  font-size: 10px;
}
.site-footer p {
  margin: 0;
  line-height: 1.7;
}
.site-footer a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #262626;
  font-size: 20px;
  margin-right: -12px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 14px 20px;
  background: #171717;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.skip-link:focus {
  top: 20px;
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 30px;
    padding-block: 66px 82px;
  }
  .hero h1 {
    font-size: 56px;
    letter-spacing: -2.7px;
  }
  .mascot {
    width: 235px;
  }
  .project-card {
    padding: 28px;
  }
  .project-card h3 {
    font-size: 23px;
  }
  .about {
    gap: 55px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 48px);
  }
  .site-header {
    height: 94px;
  }
  .brand img {
    width: 175px;
  }
  .site-header nav {
    gap: 22px;
    font-size: 12px;
  }
  .hero {
    padding-block: 50px 68px;
    grid-template-columns: 1fr 0.65fr;
    gap: 20px;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .mascot {
    width: 185px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-note {
    display: none;
  }
  .project-grid {
    gap: 16px;
  }
  .project-card {
    padding: 24px 21px;
  }
  .project-card h3 {
    font-size: 21px;
  }
  .card-top {
    margin-bottom: 29px;
  }
  .project-description {
    font-size: 12px;
  }
  .project-link {
    font-size: 11px;
  }
  .about {
    gap: 35px;
    padding-block: 70px 65px;
  }
  .about h2 {
    font-size: 26px;
  }
  .about-copy p {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  html {
    scroll-padding-top: 24px;
  }
  .shell {
    width: calc(100% - 44px);
  }
  .site-header {
    height: 88px;
    gap: 20px;
  }
  .brand img {
    width: 162px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 48px 58px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -2.3px;
    margin-bottom: 22px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .hero-link {
    font-size: 11px;
    gap: 24px;
  }
  .mascot {
    width: 180px;
    justify-self: center;
    margin-block: 0 6px;
  }
  .projects {
    padding-top: 0;
  }
  .section-heading {
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 21px;
    letter-spacing: -0.7px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-card {
    padding: 25px 24px;
    border-radius: 7px;
  }
  .card-top {
    margin-bottom: 30px;
  }
  .project-number {
    font-size: 10px;
  }
  .status {
    font-size: 9px;
  }
  .project-card h3 {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .project-type {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .project-description {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 24px;
  }
  .project-link {
    font-size: 11px;
    padding-top: 19px;
    min-height: 44px;
  }
  .launch-note {
    font-size: 10px;
    line-height: 1.9;
    margin-top: 18px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 64px 57px;
  }
  .about h2 {
    font-size: 28px;
  }
  .about-copy p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 13px;
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
    padding-block: 23px 27px;
    font-size: 9px;
  }
  .site-footer p {
    grid-column: 1;
  }
  .site-footer a {
    grid-column: 2;
    grid-row: 1/3;
  }
}
@media (max-width: 359px) {
  .brand img {
    width: 143px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 10px;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  .project-card {
    padding-inline: 21px;
  }
  .project-card h3 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
