:root {
  --ink: #061532;
  --blue: #1854ff;
  --cyan: #38e7e2;
  --pink: #ff4ba1;
  --yellow: #ffe45c;
  --white: #f7fbff;
  --background: #061532;
  --foreground: #f7fbff;
  --card: #0d2353;
  --card-foreground: #f7fbff;
  --popover: #0d2353;
  --popover-foreground: #f7fbff;
  --primary: #38e7e2;
  --primary-foreground: #061532;
  --secondary: #1854ff;
  --secondary-foreground: #ffffff;
  --muted: #173164;
  --muted-foreground: #b8c8eb;
  --accent: #ff4ba1;
  --accent-foreground: #ffffff;
  --destructive: #ff4b55;
  --border: #2c4b83;
  --input: #2c4b83;
  --ring: #38e7e2;
  --radius: 1.4rem;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --radius-sm: calc(var(--radius) - 8px);
  --radius-md: calc(var(--radius) - 4px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 8px);
  --font-sans: "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

a { color: inherit; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #205f91;
}

.hero-photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 46%;
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 14, 42, 0.9) 0%, rgba(4, 14, 42, 0.65) 38%, rgba(4, 14, 42, 0.06) 72%),
    linear-gradient(0deg, rgba(4, 14, 42, 0.58), transparent 45%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 28px;
}

.wordmark,
.footer-mark {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.wordmark span { color: var(--cyan); }

.site-header p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(560px, calc(100% - 48px));
  transform: translateY(-43%);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker span {
  color: var(--yellow);
  font-size: 1.4em;
  animation: spin-pop 3s ease-in-out infinite;
}

h1 {
  margin: 0;
  color: #ffffff;
  font: 900 clamp(6.8rem, 16vw, 13rem) / 0.74 Arial, sans-serif;
  letter-spacing: -0.1em;
  text-shadow: 10px 12px 0 rgba(24, 84, 255, 0.48);
  transform: translateX(-0.04em);
}

.hero-line {
  margin: clamp(28px, 4vw, 46px) 0 28px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.4;
  text-wrap: balance;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 10px 12px 10px 24px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 7px 7px 0 var(--blue);
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.jump-link span {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
}

.jump-link:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--blue);
}

.jump-link:focus-visible,
.secret summary:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 5px;
}

.hero-badge {
  position: absolute;
  right: 5vw;
  bottom: 7vh;
  display: grid;
  place-content: center;
  width: clamp(115px, 12vw, 150px);
  aspect-ratio: 1;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 18px 45px rgba(3, 13, 44, 0.3);
  text-align: center;
  transform: rotate(9deg);
  animation: bob 4s ease-in-out infinite;
}

.hero-badge strong {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1;
}

.hero-badge span {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.spark {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.spark-one {
  top: 22%;
  right: 5%;
  width: 62px;
  aspect-ratio: 1;
  background: var(--yellow);
  color: var(--blue);
  font-size: 1.8rem;
  animation: bob 3.5s ease-in-out -1s infinite;
}

.spark-two {
  top: 13%;
  right: 18%;
  color: var(--pink);
  font-size: 2rem;
  animation: bob 4.8s ease-in-out -2s infinite;
}

.profile {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(76px, 9vw, 130px) max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 38px 38px;
}

.profile::before {
  content: "IVA";
  position: absolute;
  z-index: -2;
  right: -0.05em;
  bottom: -0.22em;
  color: rgba(56, 231, 226, 0.055);
  font: 900 min(42vw, 570px) / 1 Arial, sans-serif;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.profile-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  top: 8%;
  left: -8%;
  width: 320px;
  aspect-ratio: 1;
  background: rgba(24, 84, 255, 0.26);
}

.orb-two {
  right: 14%;
  bottom: -12%;
  width: 280px;
  aspect-ratio: 1;
  background: rgba(255, 75, 161, 0.16);
}

.cutout-wrap {
  position: relative;
  width: min(100%, 470px);
  justify-self: center;
}

.cutout-card {
  overflow: hidden;
  aspect-ratio: 0.72;
  border: 3px solid var(--cyan);
  border-radius: 48% 48% 34px 34px;
  background: #000;
  box-shadow:
    18px 18px 0 var(--blue),
    -12px -12px 0 rgba(56, 231, 226, 0.22),
    0 35px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
}

.cutout-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hello-tag {
  position: absolute;
  z-index: 2;
  top: 17%;
  left: -48px;
  padding: 14px 20px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--pink);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  transform: rotate(-9deg);
  animation: bob 3.8s ease-in-out infinite;
}

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

.section-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 13px;
  background: var(--pink);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  transform: rotate(-2deg);
}

h2 {
  margin: 0;
  color: #ffffff;
  font: 900 clamp(3.5rem, 7.5vw, 7rem) / 0.85 Arial, sans-serif;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

h2 span { color: var(--cyan); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 38px 0 30px;
}

.facts article {
  min-height: 142px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(10px);
}

.facts article:nth-child(2) { transform: translateY(10px); }
.facts article:nth-child(3) { transform: translateY(-7px); }

.facts span {
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 900;
}

.facts p {
  margin: 19px 0 4px;
  color: #b9c9ec;
  font-size: 0.75rem;
  font-weight: 700;
}

.facts strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.15;
}

.secret summary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 10px 12px 10px 24px;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 7px 7px 0 rgba(56, 231, 226, 0.25);
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  list-style: none;
  transition: transform 180ms ease;
}

.secret summary::-webkit-details-marker { display: none; }
.secret summary:hover { transform: translate(-2px, -2px); }

.secret-icon {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  transition: transform 250ms ease;
}

.secret[open] .secret-icon { transform: rotate(15deg) scale(1.08); }

.secret-note {
  max-width: 520px;
  margin-top: 18px;
  padding: 22px 25px;
  border: 2px solid rgba(56, 231, 226, 0.24);
  border-radius: 22px;
  background: rgba(13, 35, 83, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  animation: reveal 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.secret-note p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.secret-note strong {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-style: italic;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 25px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #030b1c;
  color: #aabde4;
  font-size: 0.82rem;
  font-weight: 700;
}

footer p {
  margin: 0;
  text-align: center;
}

footer span {
  justify-self: end;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
}

@keyframes bob {
  50% { transform: translateY(-10px) rotate(-4deg); }
}

@keyframes spin-pop {
  50% { transform: rotate(22deg) scale(1.15); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 880px) {
  .site-header { width: min(100% - 36px, 760px); }
  .site-header p { max-width: 180px; text-align: right; }

  .hero-photo { object-position: 59% center; }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4, 14, 42, 0.93) 0%, rgba(4, 14, 42, 0.55) 48%, rgba(4, 14, 42, 0.04) 76%),
      linear-gradient(90deg, rgba(4, 14, 42, 0.25), transparent);
  }

  .hero-copy {
    top: auto;
    bottom: 7vh;
    transform: none;
  }

  h1 { font-size: clamp(6.8rem, 28vw, 11rem); }
  .hero-line { margin-block: 25px 23px; }
  .hero-badge { right: 24px; bottom: 23vh; }
  .spark-one { top: 14%; }

  .profile {
    grid-template-columns: 1fr;
    gap: 75px;
    padding-inline: 24px;
  }

  .cutout-wrap { width: min(78vw, 440px); }
  .profile-copy { width: min(620px, 100%); margin-inline: auto; }
}

@media (max-width: 520px) {
  .site-header p { font-size: 0.65rem; max-width: 150px; }
  .hero-copy { left: 20px; width: calc(100% - 40px); bottom: 5vh; }
  .kicker { font-size: 0.82rem; }
  h1 { font-size: 7rem; }
  .hero-line { font-size: 1.1rem; }
  .jump-link { min-height: 52px; padding-left: 18px; font-size: 0.88rem; }
  .jump-link span { width: 34px; }
  .hero-badge { width: 92px; bottom: 28vh; }
  .spark-one { width: 46px; }
  .spark-two { right: 28%; }

  .profile { padding-block: 82px; }
  .hello-tag { left: -13px; font-size: 0.95rem; }
  h2 { font-size: 3.8rem; }

  .facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .facts article {
    min-height: 95px;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
  }

  .facts article:nth-child(2),
  .facts article:nth-child(3) { transform: none; }

  .facts p { margin: 0; }
  .facts strong { grid-column: 2; }
  .secret summary { font-size: 0.9rem; }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p { display: none; }
}

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