:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8c8c8c;
  --faint: #5a5a5a;
  --line: #1e1e1e;
  --card: #0a0a0a;
  --card-2: #121212;
  --inv-bg: #fff;
  --inv-fg: #000;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Google Sans', 'Product Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Google Sans Code', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fff;
  --fg: #000;
  --muted: #666;
  --faint: #9a9a9a;
  --line: #e8e8e8;
  --card: #f7f7f7;
  --card-2: #efefef;
  --inv-bg: #000;
  --inv-fg: #fff;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

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

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

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  transition: top .2s;
}

.skip:focus {
  top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}

.nav--scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
}

.brand__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform-origin: 50% 85%;
  transition: transform .5s var(--ease);
}

.brand:hover .brand__logo {
  transform: rotate(-12deg) scale(1.12);
}

.nav__links {
  display: flex;
  gap: 4px;
}

.nav__links i {
  display: none;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s, background-color .2s;
}

.nav__links a.is-active,
.nav__links a:hover {
  color: var(--fg);
  background: var(--card-2);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--fg);
  transition: transform .5s var(--ease), border-color .2s;
}

.icon-btn:hover {
  border-color: var(--fg);
  transform: rotate(180deg);
}

.pill {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

.pill button {
  position: relative;
  z-index: 1;
  min-width: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  transition: color .35s var(--ease);
}

.pill button[aria-checked="true"] {
  color: var(--bg);
}

.pill__knob {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--fg);
  transition: transform .45s var(--ease);
}

.pill[data-active="en"] .pill__knob {
  transform: translateX(100%);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 56px;
  min-height: calc(100svh - 72px - 64px);
  padding: 56px 0 72px;
}

.hero__title {
  margin-top: 0;
  font-size: clamp(48px, 8.4vw, 104px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
}

.hero__title span {
  display: block;
}

.hero__title-muted {
  color: var(--faint);
}

.hero__lead {
  max-width: 34ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero__lead strong {
  color: var(--fg);
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  transition: transform .3s var(--ease), background-color .2s, color .2s, border-color .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--fg);
  color: var(--bg);
}

.btn--solid i {
  transition: transform .3s var(--ease);
}

.btn--solid:hover i {
  transform: translateY(3px);
}

.btn--ghost {
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--fg);
}

.code {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--fg) 25%, transparent);
  transform: rotate(1.2deg);
  transition: transform .6s var(--ease);
}

@media (hover: hover) {
  .code:hover {
    transform: rotate(0deg) scale(1.01);
  }
}

.code__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.code__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--faint);
}

.code__bar span:first-child {
  background: var(--fg);
  border-color: var(--fg);
}

.code__bar em {
  margin-left: auto;
  color: var(--faint);
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
}

.code pre {
  margin: 0;
  padding: 22px 22px 26px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.code .k {
  color: var(--fg);
  font-weight: 500;
}

.code .s {
  color: var(--fg);
}

.code .n {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: -3px;
  background: var(--fg);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.stripe {
  overflow: hidden;
  border-block: 1px solid var(--fg);
  background: repeating-linear-gradient(90deg, var(--fg) 0 64px, var(--bg) 64px 128px);
  padding: 4px 0;
}

.stripe__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  background: var(--bg);
  animation: marquee 38s linear infinite;
}

.stripe span {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.stripe img {
  flex: none;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  padding: 120px 0 40px;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section__num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--faint);
}

.section__head h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

.about {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.avatar {
  position: relative;
  margin: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.avatar img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32px;
  filter: grayscale(1) contrast(1.08);
  transition: filter .6s var(--ease), border-radius .6s var(--ease), transform .6s var(--ease);
}

.avatar:hover img {
  filter: grayscale(0);
  border-radius: 50%;
}

.avatar.is-poked img {
  animation: wobble .5s var(--ease);
}

@keyframes wobble {
  25% { transform: rotate(-5deg) scale(.97); }
  60% { transform: rotate(4deg) scale(1.02); }
}

.avatar__bubble {
  position: absolute;
  left: 50%;
  top: -14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.9);
  transition: opacity .3s, transform .4s var(--ease);
}

.avatar.is-talking .avatar__bubble {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.about__text p {
  color: var(--muted);
  max-width: 62ch;
}

.about__text p + p {
  margin-top: 18px;
}

.about__text .about__big {
  color: var(--fg);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 500;
}

.facts {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.facts li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts__k {
  color: var(--faint);
  font-size: 14px;
}

.facts__v {
  font-weight: 500;
}

.bjk {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  margin-top: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.bjk__stripes {
  background: repeating-linear-gradient(90deg, var(--fg) 0 20px, var(--bg) 20px 40px);
  border-right: 1px solid var(--line);
}

.bjk__body {
  position: relative;
  z-index: 1;
  padding: 40px 300px 40px 44px;
}

.bjk__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.bjk h3 {
  margin-top: 18px;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.bjk p {
  margin-top: 12px;
  max-width: 52ch;
  color: var(--muted);
}

.bjk .bjk__motto {
  margin-top: 22px;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: .02em;
}

.bjk__crest {
  position: absolute;
  top: 50%;
  right: 48px;
  width: 210px;
  height: auto;
  transform: translateY(-50%) rotate(-14deg);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
  transition: transform .8s var(--ease);
}

.bjk:hover .bjk__crest {
  transform: translateY(-50%) rotate(-20deg) scale(1.05);
}

.projects {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 32px 20px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-radius .35s var(--ease);
}

@media (hover: hover) {
  .project:hover {
    background: var(--inv-bg);
    color: var(--inv-fg);
    border-radius: var(--radius);
  }
}

.project__idx {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--faint);
  padding-top: 8px;
}

.project h3 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.project p {
  margin-top: 8px;
  max-width: 60ch;
  color: var(--muted);
  transition: color .35s;
}

@media (hover: hover) {
  .project:hover p,
  .project:hover .project__idx {
    color: color-mix(in srgb, var(--inv-fg) 62%, var(--inv-bg));
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.tags li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-family: var(--mono);
  transition: border-color .35s;
}

@media (hover: hover) {
  .project:hover .tags li {
    border-color: color-mix(in srgb, var(--inv-fg) 22%, var(--inv-bg));
  }
}

.project__links {
  display: flex;
  gap: 8px;
}

.project__links a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  transition: transform .3s var(--ease), background-color .2s, color .2s, border-color .2s;
}

@media (hover: hover) {
  .project:hover .project__links a {
    border-color: var(--inv-fg);
  }
}

.project__links a:hover {
  background: var(--inv-fg);
  color: var(--inv-bg);
  transform: rotate(-12deg) scale(1.06);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-weight: 500;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 2px;
}

.more i {
  transition: transform .3s var(--ease);
}

.more:hover i {
  transform: translateX(5px);
}

.stack {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.stack > .stack__item {
  grid-column: span 2;
}

.stack > .stack__item--fav,
.stack > .stack__item:nth-last-child(-n+2) {
  grid-column: span 3;
}

.stack__item {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .4s var(--ease), border-color .3s;
}

@media (hover: hover) {
  .stack__item:hover {
    transform: translateY(-4px);
    border-color: var(--fg);
  }
}

.stack__item i {
  font-size: 30px;
}

.stack__item svg {
  width: 27px;
  height: 27px;
  margin-block: 4px;
}

.stack__item h3 {
  margin-top: 22px;
  font-size: 20px;
  letter-spacing: -.015em;
}

.stack__item p {
  margin-top: 4px;
  color: var(--faint);
  font-size: 14px;
}

.stack__item--fav {
  background: var(--inv-bg);
  color: var(--inv-fg);
  border-color: var(--inv-bg);
}

.stack__item--fav p {
  color: color-mix(in srgb, var(--inv-fg) 55%, var(--inv-bg));
}

.stack__item--fav::after {
  content: '★';
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 18px;
}

.contact {
  padding-bottom: 100px;
}

.contact__big {
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.contact__big span {
  color: var(--faint);
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}

.chip:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: translateY(-2px);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.footer__star {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: color .2s, background-color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}

.footer__star:hover {
  color: var(--fg);
  background: var(--card-2);
}

.footer__star:active {
  transform: scale(.92);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  max-width: calc(100% - 32px);
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .3s, transform .45s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.goal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .82) 0 60px, rgba(18, 18, 18, .82) 60px 120px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}

.goal.is-open {
  opacity: 1;
  visibility: visible;
}

.goal canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.goal__card {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 32px;
  background: #fff;
  color: #000;
  text-align: center;
  transform: scale(.85) rotate(-3deg);
  transition: transform .6s var(--ease);
}

.goal.is-open .goal__card {
  transform: scale(1) rotate(0deg);
}

.goal__title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 4px 0 16px;
}

.goal video {
  width: 100%;
  border-radius: 20px;
  background: #000;
}

.goal__sub {
  margin-top: 14px;
  font-weight: 700;
}

.goal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: #fff;
}

.eagle-mode .brand__logo {
  animation: hop .7s var(--ease) infinite;
}

@keyframes hop {
  50% { transform: translateY(-6px) rotate(-8deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 48px;
    padding-top: 40px;
  }

  .code {
    transform: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .avatar {
    width: min(260px, 70%);
  }

  .stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack > .stack__item,
  .stack > .stack__item--fav,
  .stack > .stack__item:nth-last-child(-n+2) {
    grid-column: span 1;
  }

  .stack > .stack__item:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 24px;
  }

  body {
    font-size: 16px;
  }

  .nav,
  .nav--scrolled {
    position: fixed;
    top: auto;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: max-content;
    max-width: calc(100% - 24px);
    transform: translateX(-50%);
    border: 1px solid color-mix(in srgb, var(--fg) 16%, transparent);
    border-radius: 999px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--fg) 14%, transparent), color-mix(in srgb, var(--fg) 4%, transparent) 55%, color-mix(in srgb, var(--fg) 10%, transparent)), color-mix(in srgb, var(--bg) 42%, transparent);
    backdrop-filter: blur(22px) saturate(180%) contrast(1.05);
    -webkit-backdrop-filter: blur(22px) saturate(180%) contrast(1.05);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fg) 28%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--bg) 40%, transparent), 0 18px 40px -12px rgba(0, 0, 0, .55);
    overflow: hidden;
  }

  .nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 90% at 20% -30%, color-mix(in srgb, var(--fg) 22%, transparent), transparent 60%);
    pointer-events: none;
  }

  .nav__inner {
    position: relative;
    width: auto;
    height: auto;
    gap: 6px;
    padding: 6px;
  }

  .brand {
    display: none;
  }

  .nav__links {
    display: flex;
    gap: 2px;
  }

  .nav__links span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav__links i {
    display: block;
    font-size: 16px;
  }

  .nav__links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--fg);
    opacity: .7;
    transition: background-color .3s, color .3s, opacity .3s, transform .2s;
  }

  .nav__links a:hover {
    background: none;
  }

  .nav__links a.is-active {
    opacity: 1;
    background: var(--fg);
    color: var(--bg);
  }

  .nav__links a:active,
  .icon-btn:active {
    transform: scale(.9);
  }

  .nav__actions {
    gap: 6px;
    padding-left: 8px;
    border-left: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
  }

  .icon-btn {
    width: 44px;
    height: 44px;
    border: 0;
  }

  .icon-btn:hover {
    transform: none;
  }

  .pill {
    background: color-mix(in srgb, var(--bg) 35%, transparent);
    border-color: color-mix(in srgb, var(--fg) 12%, transparent);
  }

  .pill button {
    min-width: 38px;
    padding: 9px 8px;
  }

  .hero {
    padding: 48px 0 56px;
    gap: 40px;
  }

  .hero__title {
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero__lead {
    margin-top: 22px;
  }

  .hero__cta {
    margin-top: 28px;
  }

  .hero__cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .code pre {
    padding: 16px 16px 20px;
    font-size: 12px;
  }

  .stripe span {
    font-size: 22px;
  }

  .stripe img {
    width: 24px;
    height: 24px;
  }

  .section {
    padding-top: 80px;
  }

  .section__head {
    margin-bottom: 36px;
  }

  .about {
    gap: 32px;
  }

  .facts li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .bjk {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .bjk__stripes {
    height: 56px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bjk__body {
    padding: 30px 24px 150px;
  }

  .bjk__crest {
    top: auto;
    bottom: 20px;
    right: 24px;
    width: 120px;
    transform: rotate(-14deg);
  }

  .bjk:hover .bjk__crest {
    transform: rotate(-20deg) scale(1.05);
  }

  .project {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 4px;
  }

  .project__idx {
    padding-top: 0;
  }

  .stack {
    grid-template-columns: 1fr;
  }

  .stack > .stack__item:last-child {
    grid-column: span 1;
  }

  .stack__item {
    padding: 24px 22px;
  }

  .contact {
    padding-bottom: 72px;
  }

  .contact__links .chip {
    flex: 1 1 100%;
    justify-content: center;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .toast {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .nav__links a,
  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .pill button {
    min-width: 32px;
    padding: 8px 6px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
