:root {
  color-scheme: light;
  --pink: #ff00cc;
  --lime: #b6ff00;
  --cyan: #00f5ff;
  --yellow: #fff200;
  --purple: #7900ff;
  --ink: #16001d;
  --paper: #fff9d9;
  --danger: #ff3300;
  --blue: #001dff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", cursive;
  background-color: #ff00cc;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 0, 0.6) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 245, 255, 0.5) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(182, 255, 0, 0.55) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 51, 0, 0.45) 75%);
  background-position: 0 0, 0 16px, 16px -16px, -16px 0;
  background-size: 32px 32px;
  min-height: 100vh;
  animation: wallpaper-drift 2.8s linear infinite;
}

body::before {
  content: "UNDER CONSTRUCTION • PLEASE HOLD • UNDER CONSTRUCTION • PLEASE HOLD •";
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  padding: 0.38rem;
  color: #000;
  background: repeating-linear-gradient(90deg, #ffea00 0 18px, #000 18px 36px);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(0.65rem, 2vw, 1rem);
  text-align: center;
  text-shadow: 1px 1px #fff;
  border-top: 5px ridge var(--pink);
}

a {
  color: inherit;
}

.cursor-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 25;
  overflow: hidden;
}

.cursor-trail span {
  position: absolute;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  text-shadow: 2px 2px #fff, 4px 4px #000;
  animation: orbit 4s linear infinite;
}

.cursor-trail span:nth-child(1) {
  left: 9%;
  top: 16%;
}

.cursor-trail span:nth-child(2) {
  left: 83%;
  top: 22%;
  animation-delay: -1s;
}

.cursor-trail span:nth-child(3) {
  left: 91%;
  top: 72%;
  animation-delay: -2s;
}

.cursor-trail span:nth-child(4) {
  left: 4%;
  top: 78%;
  animation-delay: -3s;
}

.cursor-trail span:nth-child(5) {
  left: 48%;
  top: 8%;
  animation-delay: -1.8s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem clamp(0.65rem, 3vw, 1.5rem);
  background:
    repeating-linear-gradient(90deg, #fff200 0 12px, #00f5ff 12px 24px, #ff00cc 24px 36px),
    #fff200;
  border-bottom: 8px groove var(--blue);
  box-shadow: 0 6px 0 var(--danger), 0 12px 0 #000;
}

.logo,
nav a,
.btn,
button,
.browser-badges span,
.tiny-row span,
.footer-badges span {
  text-decoration: none;
  border: 4px outset #fff;
  background: linear-gradient(180deg, #ffffff, #ffea00 42%, #ff00cc);
  color: #050005;
  box-shadow: 4px 4px 0 #000;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1rem, 4vw, 1.55rem);
  letter-spacing: 0;
  animation: logo-panic 1s steps(2, end) infinite;
}

.logo-icon {
  animation: ring-ring 0.35s steps(2, end) infinite;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

nav a {
  padding: 0.35rem 0.55rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(0.75rem, 2.4vw, 0.95rem);
  animation: nav-glow 1.4s linear infinite;
}

.ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-bottom: 5px ridge #fff;
  border-top: 5px ridge #000;
  background: #000;
  color: var(--lime);
  font-family: "Courier New", monospace;
  font-weight: 900;
  text-shadow: 0 0 8px var(--lime);
  white-space: nowrap;
}

.ticker p {
  display: inline-block;
  min-width: max-content;
  margin: 0;
  padding: 0.45rem 0;
  animation: scroll-left 10s linear infinite;
}

main {
  width: min(1120px, calc(100% - 1rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: center;
  min-height: clamp(660px, calc(100vh - 5rem), 920px);
  padding: clamp(1rem, 4vw, 2rem) 0;
}

.hero-copy,
.hero-card,
.panel,
.review,
.status-strip > div,
.contact-card,
.fake-form,
.widget {
  border: 7px ridge var(--blue);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.78) 0 8px, rgba(255, 255, 0, 0.35) 8px 16px),
    var(--paper);
  box-shadow: 8px 8px 0 #000, 13px 13px 0 var(--lime), 17px 17px 0 var(--pink);
}

.hero-copy {
  padding: clamp(1rem, 4vw, 1.5rem);
  transform: rotate(-0.8deg);
}

.tiny-row,
.hero-actions,
.badges,
.browser-badges,
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.tiny-row {
  margin-bottom: 0.8rem;
}

.tiny-row span,
.browser-badges span,
.footer-badges span {
  padding: 0.25rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 900;
  animation: blink 0.65s steps(2, end) infinite;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background: var(--danger);
  border: 3px dashed var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  text-shadow: 2px 2px #000;
  animation: warning-wobble 0.8s steps(2, end) infinite;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  color: #00ff66;
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  line-height: 0.87;
  text-shadow:
    4px 4px #000,
    8px 8px var(--pink),
    12px 12px var(--yellow);
  animation: rainbow-title 0.9s linear infinite;
}

h2 {
  color: var(--yellow);
  font-size: clamp(2.05rem, 6.5vw, 4.1rem);
  line-height: 0.9;
  text-shadow: 3px 3px #000, 6px 6px var(--pink);
}

h3 {
  font-size: 1.55rem;
  line-height: 0.95;
}

.tagline {
  margin: 1.1rem 0;
  max-width: 44rem;
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  font-weight: 900;
  line-height: 1.32;
  background: #fff;
  border: 4px dotted var(--danger);
  padding: 0.75rem;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 0.95rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  animation: button-pulse 0.85s ease-in-out infinite alternate;
}

.btn:hover,
button:hover,
nav a:hover {
  transform: rotate(4deg) scale(1.08);
  filter: hue-rotate(140deg) saturate(1.8);
}

.secondary {
  background: linear-gradient(180deg, #00f5ff, #fff, var(--lime));
}

.danger {
  background: linear-gradient(180deg, #fff, #ff3300, #ff00cc);
}

.badges {
  margin-top: 1rem;
}

.badges span {
  padding: 0.45rem 0.65rem;
  background: #000;
  color: var(--yellow);
  border: 3px double var(--pink);
  font-size: 0.88rem;
  font-weight: 900;
  animation: blink 0.5s steps(2, end) infinite;
}

.hero-card {
  margin: 0;
  padding: 0.7rem;
  background: var(--cyan);
  transform: rotate(1.1deg);
  animation: floaty 1.8s ease-in-out infinite alternate;
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 8px inset var(--pink);
}

figcaption {
  margin-top: 0.45rem;
  color: #000;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  background: var(--yellow);
  animation: blink 0.8s steps(2, end) infinite;
}

.status-strip,
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.status-strip > div,
.widget {
  padding: 0.8rem;
  text-align: center;
  background: #000;
  color: #fff;
}

.counter {
  display: block;
  color: var(--lime);
  font-family: "Courier New", monospace;
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 900;
  text-shadow: 0 0 8px var(--lime);
  animation: counter-flicker 0.35s steps(2, end) infinite;
}

.widget {
  min-height: 11rem;
  text-shadow: 2px 2px #000;
}

.widget h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.widget p {
  font-weight: 900;
}

.under-construction {
  background: repeating-linear-gradient(45deg, #ffea00 0 18px, #000 18px 36px);
}

.best-viewed {
  background: repeating-linear-gradient(90deg, #0000ff 0 18px, #00f5ff 18px 36px);
}

.webring {
  background: repeating-radial-gradient(circle, #ff00cc 0 12px, #7900ff 12px 24px);
}

.cones {
  color: var(--danger);
  font-size: 1.6rem;
  text-shadow: 2px 2px #fff;
  animation: cone-hop 0.5s steps(2, end) infinite;
}

.tiny {
  font-size: 0.82rem;
}

.panel,
.reviews {
  margin: 1.5rem 0;
  padding: clamp(1rem, 4vw, 1.5rem);
}

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

.service-grid,
.review-grid,
.contact-layout,
.guestbook-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service {
  min-height: 13rem;
  padding: 0.85rem;
  border: 5px dashed #000;
  color: #000;
}

.service p,
.review blockquote,
.contact-card p,
.guestbook p {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.7rem;
  border: 4px outset #fff;
  border-radius: 50%;
  color: #fff;
  background: #000;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.35rem;
  animation: spin-ish 0.95s steps(4, end) infinite;
}

.physics {
  background: linear-gradient(160deg, var(--yellow), var(--cyan));
}

.maths {
  background: linear-gradient(160deg, var(--pink), #fff);
}

.further {
  background: linear-gradient(160deg, var(--lime), var(--yellow));
}

.cs {
  background: linear-gradient(160deg, var(--cyan), var(--danger));
}

.reviews {
  border: 8px dotted var(--yellow);
  background: repeating-linear-gradient(-8deg, var(--purple) 0 18px, var(--pink) 18px 36px);
}

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

.review {
  min-height: 15rem;
  padding: 1rem;
  background: #fff;
}

.review.loud {
  transform: rotate(-1deg);
  background: var(--lime);
}

.stars {
  color: var(--danger);
  font-size: 1.7rem;
  text-shadow: 2px 2px #000;
  animation: star-attack 0.6s steps(2, end) infinite;
}

blockquote {
  margin: 0.8rem 0;
}

.reviewer {
  margin: 0;
  color: var(--purple);
  font-weight: 900;
}

.guestbook-grid,
.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.guestbook article,
.contact-card,
.fake-form {
  padding: 1rem;
}

.guestbook article {
  border: 5px inset var(--pink);
  background: #fff;
  box-shadow: 5px 5px 0 #000;
}

.fake-form {
  display: grid;
  gap: 0.55rem;
  background: var(--yellow);
}

label {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.15rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.7rem;
  border: 4px inset var(--cyan);
  background: #fff;
  color: #000;
  font: 900 1rem "Comic Sans MS", "Comic Sans", cursive;
}

textarea {
  min-height: 5rem;
  resize: vertical;
}

footer {
  padding: 1.2rem 1rem 3.4rem;
  color: #fff;
  background: #000;
  border-top: 8px ridge var(--pink);
  text-align: center;
  font-weight: 900;
}

footer p {
  margin: 0.25rem 0;
}

.footer-badges {
  justify-content: center;
  margin-bottom: 0.8rem;
}

@keyframes wallpaper-drift {
  to {
    background-position: 32px 32px, 32px 48px, 48px 16px, 16px 32px;
  }
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ring-ring {
  0%,
  100% {
    transform: rotate(-18deg);
  }
  50% {
    transform: rotate(18deg);
  }
}

@keyframes logo-panic {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(180deg);
  }
}

@keyframes nav-glow {
  0%,
  100% {
    box-shadow: 4px 4px 0 #000;
  }
  50% {
    box-shadow: 4px 4px 0 #000, 0 0 16px #fff;
  }
}

@keyframes rainbow-title {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes warning-wobble {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

@keyframes button-pulse {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(2.2) contrast(1.15);
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.35;
  }
}

@keyframes floaty {
  from {
    transform: rotate(1.1deg) translateY(0);
  }
  to {
    transform: rotate(-0.6deg) translateY(-8px);
  }
}

@keyframes counter-flicker {
  50% {
    opacity: 0.55;
  }
}

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

@keyframes spin-ish {
  to {
    transform: rotate(360deg);
  }
}

@keyframes star-attack {
  50% {
    letter-spacing: 0.1rem;
    color: var(--pink);
  }
}

@keyframes orbit {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(16px, -16px) rotate(90deg);
  }
  50% {
    transform: translate(0, -28px) rotate(180deg);
  }
  75% {
    transform: translate(-16px, -16px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .contact-layout,
  .guestbook-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .status-strip,
  .review-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  main {
    width: min(100% - 0.75rem, 1120px);
  }

  .hero-copy,
  .hero-card,
  .review.loud {
    transform: none;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.85rem, 12vw, 2.8rem);
  }

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

  .btn,
  button {
    width: 100%;
  }

  .cursor-trail span {
    opacity: 0.45;
  }
}

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

