:root {
  --bg: #06131a;
  --bg-soft: #0d1e26;
  --panel: rgba(10, 28, 37, 0.72);
  --panel-strong: rgba(12, 34, 45, 0.92);
  --line: rgba(146, 226, 208, 0.16);
  --text: #f4f7f3;
  --muted: #a6c5c3;
  --accent: #8cf3c9;
  --accent-strong: #f5b85d;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 184, 93, 0.14), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(140, 243, 201, 0.16), transparent 28%),
    linear-gradient(160deg, #041017 0%, #09212b 48%, #030b10 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.page-shell {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  z-index: -3;
  animation: drift 16s ease-in-out infinite;
}

.ambient-a {
  top: -10rem;
  left: -8rem;
  background: rgba(140, 243, 201, 0.18);
}

.ambient-b {
  right: -10rem;
  top: 18rem;
  background: rgba(245, 184, 93, 0.18);
  animation-duration: 22s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 92%);
  pointer-events: none;
  z-index: -2;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.2rem, 2vw, 2.5rem);
  backdrop-filter: blur(18px);
  background: rgba(3, 12, 16, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Sora", sans-serif;
}

.brand-mark {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #4ad1ff);
  color: #051216;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
}

.topnav a {
  position: relative;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: transform 220ms ease;
}

.topnav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  position: relative;

  margin: 0 auto;
  padding: calc(100vh - 4rem) 0 5rem;
}

.hero,
.strip,
.projects,
.process,
.team,
.contact,
.catalog-section {
  margin-top: 2rem;
}

  
.catalog-section {
  width: min(1180px, calc(100% - 2rem));
  margin: auto;
}

.hero {
  min-height: calc(100vh - 6rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  position: absolute;
  top: 2rem;
  left: 0;
  width: 100%;
  grid-auto-flow: column;
  overflow: hidden;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  line-height: 0.96;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  max-width: 12ch;
}

.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #071116;
  background: linear-gradient(120deg, var(--accent), #f0ff8c);
  box-shadow: 0 18px 40px rgba(140, 243, 201, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
}

.hero-stats li,
.project-card,
.timeline-step,
.team-card,
.contact-panel,
.main-card,
.orbit-card,
.strip {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.contact-panel {
    margin: auto;
        width: min(1180px, calc(100% - 2rem));
}
.hero-stats li {
  min-width: 10rem;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  font-family: "Sora", sans-serif;
}

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

.hero-visual {
  position: relative;
  min-height: 36rem;
  display: grid;
  place-items: center;
  z-index: 2;
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin: auto;
}

.hero-poster-field {
  position: absolute;
  inset: -3rem -4rem -3rem -4rem;
  z-index: 1;
  pointer-events: none;
  mask-image:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.96) 22%, rgba(0, 0, 0, 0.78) 52%, rgba(0, 0, 0, 0.28) 78%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 6%, rgba(0, 0, 0, 0.45) 14%, rgba(0, 0, 0, 0.82) 24%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.82) 76%, rgba(0, 0, 0, 0.45) 86%, rgba(0, 0, 0, 0.1) 94%, transparent 100%);
}

.hero-poster-wall {
  position: absolute;
  inset: -8% -18%;
  display: grid;
  gap: 1rem;
  align-content: center;
  transform: rotate(-13deg) scale(1.08);
  transform-origin: center;
  opacity: 0.26;
}

.hero-poster-row {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.hero-poster-row-a {
  animation: hero-marquee-left 34s linear infinite;
}

.hero-poster-row-b {
  margin-left: -7rem;
  animation: hero-marquee-right 38s linear infinite;
}

.hero-poster-row-c {
  margin-left: -15rem;
  animation: hero-marquee-left 42s linear infinite;
}

.hero-poster-row-d {
  margin-left: -4rem;
  animation: hero-marquee-right 36s linear infinite;
}

.hero-poster-tile {
  flex: 0 0 auto;
  width: clamp(10rem, 16vw, 15rem);
  aspect-ratio: 16 / 9;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.hero-poster-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-logo-float {
  position: absolute;

  transform: translate(-50%, -50%);
  z-index: 3;
}

.hero-logo-core {
  display: grid;
  place-items: center;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(160deg, rgba(140, 243, 201, 0.16), rgba(74, 209, 255, 0.12)),
    rgba(9, 27, 35, 0.94);
  border: 1px solid rgba(140, 243, 201, 0.24);
  box-shadow:
    0 0 0 22px rgba(140, 243, 201, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.45);
}

.hero-logo-core img {
  width: 74%;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(140, 243, 201, 0.22));
}

.core-card {
  position: absolute;
  border-radius: 1.6rem;
}

.main-card {
  width: min(28rem, 100%);
  padding: 2rem;
  transform: rotate(-7deg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.main-card h2 {
  margin: 0.4rem 0 0.8rem;
  font-size: 2rem;
  font-family: "Sora", sans-serif;
}

.main-card p,
.orbit-card p,
.project-card p,
.timeline-step p,
.team-card p {
  color: var(--muted);
  line-height: 1.7;
}

.card-label,
.project-tag,
.mini-title {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
}

.orbit-card {
  width: 15rem;
  padding: 1.1rem 1rem;
}

.orbit-one {
  top: 8%;
  right: 2%;
}

.orbit-two {
  bottom: 12%;
  left: 3%;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(140, 243, 201, 0.22);
  border-radius: 50%;
  animation: pulse 6s linear infinite;
}

.ring-one {
  width: 18rem;
  height: 18rem;
}

.ring-two {
  width: 28rem;
  height: 28rem;
  animation-delay: 1.5s;
}

.ring-three {
  width: 38rem;
  height: 38rem;
  animation-delay: 3s;
}

.strip {
  padding: 1.1rem 1.4rem;
  border-radius: 1.2rem;
  overflow: hidden;
  position: relative;
}

.strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(140, 243, 201, 0.12), transparent);
  transform: translateX(-100%);
  animation: shine 5s linear infinite;
}

.strip p {
  margin: 0;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 12ch;
}

.section-split {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-note {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: right;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
}

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

.websites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.addons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 100%;
  width: 100%;
  text-align: left;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

button.catalog-card {
  appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.09), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.catalog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(140, 243, 201, 0.38);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.catalog-art {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
}

.catalog-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.catalog-card:hover .catalog-art img {
  transform: scale(1.06);
}

.app-card {
  grid-template-columns: 7.5rem 1fr;
  align-items: center;
}

.app-art {
  aspect-ratio: 1 / 1;
  padding: 0.65rem;
}

.app-art img {
  border-radius: 1.2rem;
}

.addon-card-tile {
  padding: 0.8rem;
}

.addon-art {
  aspect-ratio: 16 / 8;
}

.catalog-copy {
  position: relative;
  z-index: 1;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.catalog-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-strong);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.catalog-copy h3 {
  margin: 0 0 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.catalog-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.website-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  --cursor-x: 0px;
  --cursor-y: 0px;
  overflow: hidden;
  min-height: 34rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 46%),
    var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.website-card::before {
  content: "";
  position: absolute;
  inset: auto -8rem -9rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.32;
  pointer-events: none;
}

.website-card-mint::before {
  background: rgba(140, 243, 201, 0.75);
}

.website-card-coral::before {
  background: rgba(255, 118, 88, 0.75);
}

.website-card:hover {
  transform: translateY(-8px);
  border-color: rgba(140, 243, 201, 0.38);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.website-preview {
  position: relative;
  height: 220px;
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.website-shot {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transform: translate(var(--cursor-x), var(--cursor-y)) scale(1.08);
  transition: transform 180ms ease-out;
}

.website-card:hover .website-shot {
  transform: translate(var(--cursor-x), var(--cursor-y)) scale(1.12);
}

.website-logo {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  padding: 0.75rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(5, 15, 20, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
}

.website-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.website-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.25rem 0.25rem 0.25rem;
}

.website-copy h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.website-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.website-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 19rem;
}

.website-tags .project-tag {
  width: fit-content;
}

.source-popover {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.source-popover[hidden] {
  display: none;
}

.source-popover__panel {
  position: fixed;
  width: auto;
  padding: 0.7rem;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
  border: 1px solid rgba(140, 243, 201, 0.2);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.source-popover__buttons {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.source-link {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.source-link img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  display: block;
}

.source-link:hover {
  transform: translateY(-3px);
}

.source-link-mcpedl {
  background: rgba(255, 145, 77, 0.12);
  border-color: rgba(255, 145, 77, 0.25);
}

.source-link-curseforge {
  background: rgba(243, 93, 93, 0.12);
  border-color: rgba(243, 93, 93, 0.26);
}

.source-link-trmc {
  background: rgba(140, 243, 201, 0.12);
  border-color: rgba(140, 243, 201, 0.24);
}

.project-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 14rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.project-card.large {
  grid-column: span 6;
  grid-row: span 2;
}

.project-card:not(.large) {
  grid-column: span 3;
}

.project-card h3,
.timeline-step h3,
.team-card h3 {
  margin: 1rem 0 0.65rem;
  font-family: "Sora", sans-serif;
}

.project-card::after,
.team-card::after,
.timeline-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 600ms ease;
}

.project-card:hover,
.team-card:hover,
.timeline-step:hover {
  transform: translateY(-6px);
  border-color: rgba(140, 243, 201, 0.34);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.project-card:hover::after,
.team-card:hover::after,
.timeline-step:hover::after {
  transform: translateX(130%);
}

.project-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.project-glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(245, 184, 93, 0.35), transparent 70%);
  filter: blur(12px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline-step,
.team-card {
  border-radius: 1.4rem;
  padding: 1.4rem;
}

.timeline-step span {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: var(--accent-strong);
}

.team-card {
  grid-column: span 3;
}

.team-card.accent {
  background:
    linear-gradient(145deg, rgba(245, 184, 93, 0.15), rgba(255, 107, 107, 0.1)),
    var(--panel);
}

.contact-panel {
  padding: 2rem;
  border-radius: 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
}

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

.float {
  animation: float 6s ease-in-out infinite;
}

.float-delayed {
  animation: float 7.5s ease-in-out infinite;
}

.float-slow {
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.88);
    opacity: 0.2;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(40px, 25px, 0);
  }
}

@keyframes shine {
  to {
    transform: translateX(100%);
  }
}

@keyframes hero-marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-20%);
  }
}

@keyframes hero-marquee-right {
  from {
    transform: translateX(-20%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes travel-1 {
  0% {
    left: 4%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes travel-2 {
  0% {
    left: 12%;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .topbar,
  .contact-panel,
  .hero {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    width: 100%;
    min-height: 30rem;
  }

  .hero-poster-field {
    inset: -2rem -3rem;
  }

  .hero-poster-wall {
    inset: -10% -30%;
    gap: 0.85rem;
  }

  .hero-poster-row {
    gap: 0.85rem;
  }

  .hero-poster-tile {
    width: clamp(8.5rem, 20vw, 12rem);
  }

  .hero-logo-core {
    width: 11.5rem;
    height: 11.5rem;
  }

  .project-card.large,
  .project-card:not(.large),
  .team-card,
  .apps-grid,
  .websites-grid,
  .addons-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-column: span 12;
  }

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

  .topnav {
    flex-wrap: wrap;
  }

  .section-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-note {
    text-align: left;
  }

  main {
    padding: calc(50vh - 1rem) 0 1rem;

  }

  .hero-visual {
    display: none;
  }

}

@media (max-width: 640px) {

    .hero-copy {
            padding: 0px 20px;
    }

    .hero {
        padding-top: 0rem;
    }

  main {
    padding: 800px 0 1rem;

  }

  .topbar {
    align-items: flex-start;
    padding: 1rem;
          display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .hero-actions,
  .hero-stats,
  .contact-panel {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 24rem;
  }

  .hero-poster-field {
    inset: -1rem -1rem -2rem -1rem;
    mask-image:
      radial-gradient(circle at center, rgba(0, 0, 0, 0.92) 20%, rgba(0, 0, 0, 0.62) 46%, rgba(0, 0, 0, 0.2) 72%, transparent 92%),
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 8%, rgba(0, 0, 0, 0.58) 18%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.58) 82%, rgba(0, 0, 0, 0.16) 92%, transparent 100%);
  }

  .hero-poster-wall {
    inset: -8% -45%;
    gap: 0.6rem;
  }

  .hero-poster-row {
    gap: 0.6rem;
  }

  .hero-poster-tile {
    width: clamp(6.3rem, 28vw, 8rem);
    border-radius: 0.9rem;
  }

  .hero-logo-core {
    width: 9.2rem;
    height: 9.2rem;
    box-shadow:
      0 0 0 14px rgba(140, 243, 201, 0.05),
      0 20px 48px rgba(0, 0, 0, 0.42);
  }

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

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-art {
    max-width: 7rem;
  }

  .website-card {
    min-height: auto;
  }

  .website-preview,
  .website-shot {
    height: 300px;
  }

  .website-logo {
    width: 3.8rem;
    height: 3.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

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


.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 2.5rem auto 0;
  padding: 1.2rem 0 2rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__links a {
  color: var(--text);
  opacity: 0.86;
  transition: opacity 200ms ease;
}

.site-footer__links a:hover {
  opacity: 1;
}
