:root {
  --bg-deep: #070c0a;
  --bg-mid: #0d1512;
  --bg-card: rgba(16, 28, 22, 0.72);
  --bg-card-solid: #101c17;
  --border: rgba(52, 211, 153, 0.14);
  --text: #ecfdf5;
  --muted: rgba(236, 253, 245, 0.58);
  --accent: #34d399;
  --accent-bright: #5eead4;
  --accent-soft: rgba(52, 211, 153, 0.12);
  --gold: #fbbf24;
  --gold-soft: rgba(251, 191, 36, 0.12);
  --orb-a: #14532d;
  --orb-b: #0f766e;
  --glow: rgba(52, 211, 153, 0.35);
  --glow-gold: rgba(251, 191, 36, 0.22);
  --font-sans: "Comic Sans MS", "Comic Sans", "Comic Neue", "Chalkboard SE", "Trebuchet MS", cursive, sans-serif;
  --font-display: "Comic Sans MS", "Comic Sans", "Comic Neue", "Chalkboard SE", "Trebuchet MS", cursive, sans-serif;
  --radius: clamp(14px, 2.5vw, 18px);
  --header-h: clamp(64px, 12vw, 72px);
  --page-pad: clamp(1rem, 4vw, 3rem);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 0.35vw + 0.9rem, 1.05rem);
  line-height: 1.62;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(20, 83, 45, 0.35), transparent 50%),
    radial-gradient(ellipse 90% 60% at -10% 60%, rgba(15, 118, 110, 0.2), transparent 45%);
  overflow-x: clip;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

@media (max-width: 380px) {
  :root {
    --page-pad: 0.85rem;
  }
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  padding-top: max(var(--safe-top), 6px);
  background: linear-gradient(to bottom, rgba(7, 12, 10, 0.94), transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 12, 10, 0.9);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text);
  text-decoration: none;
}

.logo-dot {
  color: var(--gold);
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: var(--gold-soft);
  color: var(--gold) !important;
}

.nav-cta:hover {
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a !important;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 60;
  touch-action: manipulation;
  border-radius: 8px;
}

.menu-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  padding: calc(var(--header-h) + var(--safe-top) + 1rem) var(--page-pad) calc(1.5rem + var(--safe-bottom));
  background: rgba(7, 12, 10, 0.98);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  backdrop-filter: blur(14px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
}

main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

section {
  min-width: 0;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 1.25rem + var(--safe-top)) var(--page-pad) clamp(2rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 599px) {
  .hero {
    min-height: auto;
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  width: 100%;
  max-width: min(1200px, 100%);
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.eyebrow {
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 6.5vw + 0.5rem, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(115deg, #fff 0%, var(--accent-bright) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .sub {
  display: block;
  font-size: clamp(0.42em, 2.2vw + 0.35rem, 0.48em);
  margin-top: 0.4em;
  color: var(--muted);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 38rem;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.5vw, 0.92rem);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s, background 0.2s;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, #047857, var(--accent));
  color: #052e1f;
  border: none;
  box-shadow: 0 0 0 0 var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -10px var(--glow), 0 0 24px -8px var(--glow-gold);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(52, 211, 153, 0.4);
  background: var(--accent-soft);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding: clamp(1rem, 3vw, 1.25rem) 0 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 480px) {
  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero-meta dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.hero-meta dd {
  margin: 0;
  font-weight: 600;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.hero-meta .meta-long {
  display: block;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, clamp(260px, 72vw, 400px));
  max-width: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float-orb 14s ease-in-out infinite;
}

.orb-a {
  width: min(220px, 55vw);
  height: min(220px, 55vw);
  background: var(--orb-a);
  top: -10%;
  left: -15%;
}

.orb-b {
  width: min(180px, 45vw);
  height: min(180px, 45vw);
  background: var(--orb-b);
  bottom: 5%;
  right: -10%;
  animation-delay: -7s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.05);
  }
}

.portrait-frame {
  margin: 0;
  position: relative;
  border-radius: clamp(18px, 3vw, 24px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.22),
    0 24px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 100px -36px rgba(52, 211, 153, 0.2),
    0 0 60px -20px rgba(251, 191, 36, 0.08);
  animation: portrait-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, transparent 40%, rgba(7, 12, 10, 0.4) 100%);
  pointer-events: none;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 560px);
  object-fit: cover;
  object-position: center top;
  vertical-align: middle;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 480px) {
  .portrait-frame img {
    max-height: min(52vh, 420px);
  }
}

.portrait-frame:hover img {
  transform: scale(1.03);
}

@keyframes portrait-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.scroll-hint {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@media (min-width: 960px) {
  .scroll-hint {
    display: flex;
  }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.section {
  padding: clamp(3.25rem, 8vw, 7rem) var(--page-pad);
  width: 100%;
  max-width: min(1100px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 599px) {
  .section {
    padding-block: clamp(2.75rem, 10vw, 4rem);
  }
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.5vw + 0.5rem, 2.65rem);
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.section-desc {
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.about-card:hover {
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-3px);
}

.about-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.about-card p {
  margin: 0.35rem 0;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.checklist li {
  margin: 0.5rem 0;
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.timeline-marker {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--accent), var(--gold));
  margin: 0.25rem auto;
}

.timeline-body header h3 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.company {
  color: var(--accent-bright);
  font-weight: 600;
  margin: 0;
}

.timeline-body ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.timeline-body li {
  margin: 0.5rem 0;
}

.project-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.project-card:hover {
  border-color: rgba(52, 211, 153, 0.38);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6), 0 0 40px -18px rgba(52, 211, 153, 0.12);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 520px) {
  .project-top {
    flex-direction: column;
    align-items: stretch;
  }

  .project-links {
    justify-content: flex-start;
  }
}

.project-icon {
  color: var(--gold);
  font-size: 1.25rem;
  opacity: 0.9;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.project-links a {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: var(--accent-soft);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.project-links a:hover {
  background: rgba(52, 211, 153, 0.18);
  border-color: rgba(94, 234, 212, 0.5);
  color: #ccfbf1;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

.project-tagline {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.35rem 0 0.75rem;
}

.project-card > p:not(.project-tagline):not(.note-small) {
  color: var(--muted);
  font-size: clamp(0.88rem, 1.5vw, 0.92rem);
  flex: 1;
  margin: 0 0 1rem;
}

.note-small {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  opacity: 0.85;
}

.tech-inline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-inline li {
  font-size: 0.68rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.marquee-wrap {
  overflow: hidden;
  margin-bottom: 2rem;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee span {
  font-weight: 700;
  font-size: clamp(0.72rem, 1.5vw, 0.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.32);
}

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

.skill-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .skill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.skill-block {
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}

.skill-block:hover {
  border-color: rgba(52, 211, 153, 0.28);
  background: var(--accent-soft);
}

.skill-block h3 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pills {
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  font-weight: 500;
}

.achievement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.achievement-list li {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1rem);
  align-items: flex-start;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s;
  min-width: 0;
}

.achievement-list li:hover {
  transform: translateX(4px);
  border-color: rgba(52, 211, 153, 0.28);
}

@media (min-width: 720px) {
  .achievement-list li:hover {
    transform: translateX(6px);
  }
}

@media (max-width: 480px) {
  .achievement-list li {
    flex-direction: column;
    gap: 0.35rem;
  }

  .achievement-list li:hover {
    transform: none;
  }
}

.ach-icon {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  min-height: 44px;
  background: linear-gradient(145deg, rgba(20, 83, 45, 0.22), rgba(16, 28, 23, 0.88));
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.42);
  box-shadow: 0 16px 48px -20px rgba(0, 0, 0, 0.5), 0 0 32px -12px rgba(251, 191, 36, 0.08);
}

.cc-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.cc-value {
  font-weight: 600;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 2rem var(--page-pad) calc(2.5rem + var(--safe-bottom));
  text-align: center;
  color: var(--muted);
  font-size: clamp(0.8rem, 1.5vw, 0.85rem);
  border-top: 1px solid var(--border);
  max-width: 100%;
}

.site-footer p {
  margin: 0 auto;
  max-width: 36rem;
  padding: 0 0.5rem;
}

@media (max-width: 420px) {
  .site-footer p {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy > .reveal:nth-child(1) {
  transition-delay: 0s;
}
.hero-copy > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.hero-copy > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.hero-copy > .reveal:nth-child(4) {
  transition-delay: 0.22s;
}
.hero-copy > .reveal:nth-child(5) {
  transition-delay: 0.28s;
}
.hero-visual.reveal {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  #bg-canvas {
    display: none;
  }
}
