@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;500&family=Inter:wght@300;400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #0b0b0d;
  --bone: #f5eee8;
  --muted: rgba(245, 238, 232, 0.62);
  --dim: rgba(245, 238, 232, 0.38);
  --line: rgba(245, 238, 232, 0.16);
  --solar: #ff9b82;
  --rose: #f4b0aa;
  --violet: #b7b4ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

html {
  background: var(--ink);
  color: var(--bone);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 56% 44%, rgba(255, 155, 130, 0.09), transparent 24rem),
    radial-gradient(circle at 80% 10%, rgba(183, 180, 255, 0.1), transparent 30rem),
    #0b0b0d;
}

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

button {
  font: inherit;
}

code {
  font-family: "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.46;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.68'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: clamp(18px, 3.4vh, 28px) clamp(20px, 5vw, 58px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Caveat, "Bradley Hand", "Segoe Print", cursive;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(245, 238, 232, 0.92);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(244, 176, 170, 0.22);
}

.one-page,
.hero {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(74px, 12vh, 110px) clamp(18px, 4vw, 56px) clamp(24px, 5vh, 42px);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  background-image: url("assets/banner.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  animation: breathe 18s ease-in-out infinite alternate;
}

.hero-scrim {
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(11, 11, 13, 0.12), rgba(11, 11, 13, 0.48) 44%, rgba(11, 11, 13, 0.88) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.5), rgba(11, 11, 13, 0.92));
}

.hero::after {
  content: "";
  position: absolute;
  width: min(56vw, 720px);
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  z-index: -1;
  border: 1px solid rgba(244, 176, 170, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-19deg) scaleX(1.92);
  opacity: 0.76;
  animation: orbit 24s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  justify-items: center;
  width: min(820px, 100%);
  min-width: 0;
  text-align: center;
  animation: arrive 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow,
.lead,
.safety-line,
h1,
p,
pre {
  margin: 0;
}

.eyebrow {
  color: var(--rose);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-family: Caveat, "Bradley Hand", "Segoe Print", cursive;
  font-size: clamp(92px, 16vw, 188px);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(255, 155, 130, 0.08);
}

.lead {
  margin-top: clamp(14px, 2.5vh, 24px);
  max-width: 500px;
  color: rgba(245, 238, 232, 0.78);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.25;
}

.command-shell {
  position: relative;
  width: min(780px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-top: clamp(24px, 4.5vh, 40px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 10, 12, 0.55);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.32),
    0 0 80px rgba(255, 155, 130, 0.06);
  backdrop-filter: blur(18px);
}

.command-shell button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(245, 238, 232, 0.16);
  border-radius: 8px;
  color: rgba(245, 238, 232, 0.82);
  background: rgba(245, 238, 232, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.command-shell button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 155, 130, 0.5);
  background: rgba(255, 155, 130, 0.11);
}

.command-shell svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.command-shell pre {
  overflow-x: auto;
  padding: 58px 58px 28px;
  color: rgba(245, 238, 232, 0.86);
  font-size: clamp(10px, 1.15vw, 13px);
  line-height: 1.72;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-width: none;
}

.command-shell pre::-webkit-scrollbar {
  display: none;
}

.safety-line {
  margin-top: clamp(14px, 2.1vh, 22px);
  color: var(--dim);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
}

@keyframes breathe {
  from {
    transform: scale(1.035) translate3d(-0.3%, -0.2%, 0);
    filter: saturate(0.84) contrast(1.02) brightness(0.84);
  }

  to {
    transform: scale(1.075) translate3d(0.5%, 0.3%, 0);
    filter: saturate(0.98) contrast(1.04) brightness(0.9);
  }
}

@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(-19deg) scaleX(1.92);
  }

  to {
    transform: translate(-50%, -50%) rotate(341deg) scaleX(1.92);
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .site-header {
    justify-content: center;
    padding-top: 18px;
  }

  .hero {
    padding: 72px 16px 26px;
  }

  .hero-image {
    background-position: 63% center;
  }

  .hero::after {
    width: 92vw;
    top: 46%;
    opacity: 0.54;
  }

  h1 {
    font-size: clamp(86px, 31vw, 128px);
  }

  .lead {
    max-width: 300px;
  }

  .command-shell {
    width: min(100%, 360px);
  }

  .command-shell button {
    top: 8px;
    right: 8px;
    min-height: 31px;
    padding: 0 10px;
    font-size: 12px;
  }

  .command-shell pre {
    padding: 52px 18px 23px;
    font-size: 9px;
    text-align: center;
  }

  .safety-line {
    max-width: 270px;
    line-height: 1.45;
  }
}

@media (max-height: 660px) {
  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding-top: 68px;
    padding-bottom: 20px;
  }

  h1 {
    font-size: clamp(78px, 15vw, 140px);
  }

  .lead {
    margin-top: 12px;
    font-size: clamp(15px, 1.8vw, 19px);
  }

  .command-shell {
    margin-top: 20px;
  }

  .command-shell pre {
    padding-top: 50px;
    padding-bottom: 22px;
  }
}

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