:root {
  --ink: #101820;
  --line: #101820;
  --paper: #ffffff;
  --water: #91e8ff;
  --deep: #0a6c8f;
  --foam: #e7fbff;
  --sun: #ffd34d;
  --coral: #ff7a59;
  --green: #2fce88;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(16, 24, 32, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(255, 211, 77, 0.78), transparent 15%),
    linear-gradient(180deg, #ffffff 0%, #f7fdff 47%, #dff8ff 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

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

.page {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  width: min(1160px, calc(100% - 30px));
  min-height: 74px;
  margin: 18px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 5;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 0 rgba(16, 24, 32, 0.12);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
  text-transform: lowercase;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 2px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  background: var(--foam);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav nav a,
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 5px 0 var(--line);
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav nav a:hover,
.actions a:hover {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--line);
}

.hero {
  width: min(1160px, calc(100% - 30px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  align-items: center;
  gap: 42px;
  padding: 48px 0 34px;
}

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

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 9px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--sun);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  display: grid;
  gap: 0;
  font-size: clamp(4.1rem, 12vw, 10.5rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: lowercase;
}

h1 span {
  display: block;
  width: fit-content;
  transform-origin: left center;
  animation: swimword 2.8s ease-in-out infinite;
}

h1 span:nth-child(2) {
  color: var(--deep);
  animation-delay: 0.14s;
}

h1 span:nth-child(3) {
  color: var(--coral);
  animation-delay: 0.28s;
}

.ticker {
  width: fit-content;
  margin: 22px 0 0;
  padding: 10px 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 6px 0 var(--line);
  color: #062616;
  font-size: 1.35rem;
  font-weight: 950;
}

.thesis {
  max-width: 590px;
  margin: 26px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.36;
  font-weight: 950;
}

.bio {
  max-width: 585px;
  margin: 14px 0 0;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.52;
  font-weight: 720;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.actions .primary {
  background: var(--water);
}

.actions .secondary {
  background: #fff;
}

.scene {
  min-height: 570px;
  position: relative;
  display: grid;
  place-items: center;
}

.scene::before {
  content: "";
  width: min(82vw, 560px);
  aspect-ratio: 1;
  position: absolute;
  border: 2px solid var(--line);
  border-radius: 46% 54% 60% 40%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.9), transparent 11%),
    linear-gradient(135deg, var(--foam), var(--water));
  box-shadow: 18px 18px 0 var(--line);
  animation: blob 7s ease-in-out infinite;
}

.scene img {
  width: min(84vw, 560px);
  max-height: 560px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 16px rgba(16, 24, 32, 0.18));
  animation: floatfish 3.6s ease-in-out infinite;
}

.phone {
  position: absolute;
  z-index: 3;
  top: 72px;
  left: 38px;
  width: 92px;
  height: 154px;
  border: 3px solid var(--line);
  border-radius: 24px;
  background: #111;
  box-shadow: 8px 8px 0 rgba(16, 24, 32, 0.22);
  transform: rotate(-10deg);
}

.phone span {
  display: block;
  width: 58px;
  height: 8px;
  margin: 18px auto;
  border-radius: 999px;
  background: var(--water);
  animation: blink 1.35s steps(2) infinite;
}

.phone span:nth-child(2) {
  width: 42px;
  animation-delay: 0.18s;
}

.phone span:nth-child(3) {
  width: 64px;
  animation-delay: 0.36s;
}

.bubble {
  position: absolute;
  z-index: 1;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  animation: rise 4.5s ease-in-out infinite;
}

.bubble-a {
  width: 38px;
  height: 38px;
  right: 80px;
  bottom: 118px;
}

.bubble-b {
  width: 22px;
  height: 22px;
  right: 154px;
  bottom: 72px;
  animation-delay: 0.55s;
}

.bubble-c {
  width: 56px;
  height: 56px;
  left: 82px;
  bottom: 118px;
  animation-delay: 1s;
}

.callout {
  position: absolute;
  z-index: 4;
  right: 2px;
  bottom: 76px;
  width: 210px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 8px 0 var(--line);
  transform: rotate(4deg);
}

.callout small {
  display: block;
  font-size: 0.72rem;
  font-weight: 950;
  opacity: 0.62;
  text-transform: uppercase;
}

.callout strong {
  display: block;
  margin-top: 5px;
  color: var(--deep);
  font-size: 1.42rem;
  text-transform: lowercase;
}

.tape {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.tape div {
  display: flex;
  width: max-content;
  animation: tape 17s linear infinite;
}

.tape span {
  padding: 16px 27px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.lore {
  width: min(1160px, calc(100% - 30px));
  margin: 42px auto 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lore article {
  min-height: 215px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 0 rgba(16, 24, 32, 0.12);
}

.lore span {
  display: inline-flex;
  margin-bottom: 28px;
  font-weight: 950;
  color: var(--coral);
}

.lore h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.lore p {
  margin: 0;
  line-height: 1.45;
  font-weight: 760;
}

@keyframes swimword {
  0%, 100% {
    transform: translateX(0) skewX(0deg);
  }
  50% {
    transform: translateX(12px) skewX(-4deg);
  }
}

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

@keyframes blob {
  0%, 100% {
    border-radius: 46% 54% 60% 40%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 58% 42% 44% 56%;
    transform: rotate(5deg);
  }
}

@keyframes rise {
  0%, 100% {
    transform: translateY(16px) scale(0.92);
    opacity: 0.58;
  }
  50% {
    transform: translateY(-30px) scale(1.05);
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    background: var(--green);
  }
}

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

@media (max-width: 840px) {
  .nav {
    border-radius: 28px;
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .nav nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav nav a {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .scene {
    min-height: 410px;
    order: -1;
  }

  .phone {
    top: 24px;
    left: 8px;
    transform: scale(0.75) rotate(-10deg);
    transform-origin: top left;
  }

  .callout {
    right: 6px;
    bottom: 32px;
    width: 172px;
  }

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