:root {
  --blue-top: #a0d1f8;
  --blue-bottom: #a2ccf6;
  --ink: #06295e;
  --ink-soft: #155799;
  --red: #e21b2d;
  --white: #fffdf5;
  --yellow: #ffb629;
  --ticker-height: 52px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 13%, rgba(218, 239, 255, 0.56), transparent 27rem),
    linear-gradient(180deg, var(--blue-top), var(--blue-bottom));
  overflow-x: hidden;
  padding-bottom: var(--ticker-height);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  z-index: 50;
  mix-blend-mode: soft-light;
}

[hidden] {
  display: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--blue-top);
  z-index: 100;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-ready .loader {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  place-items: center;
  width: 118px;
  height: 64px;
  color: white;
  background: var(--red);
  border-radius: 7px 7px 14px 14px;
  border: 3px solid white;
  box-shadow: 0 8px 0 rgba(6, 41, 94, 0.16);
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  animation: loader-bob 0.85s ease-in-out infinite alternate;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 25px clamp(20px, 4vw, 68px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-tab {
  padding: 9px 12px 8px;
  color: white;
  background: var(--red);
  border: 2px solid white;
  border-radius: 5px 5px 11px 11px;
  box-shadow: 0 4px 0 rgba(6, 41, 94, 0.18);
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-style: normal;
  letter-spacing: -0.06em;
  text-transform: none;
  transform: rotate(-3deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ca-mini {
  overflow: hidden;
  max-width: 260px;
  padding: 10px 15px;
  color: var(--ink);
  border: 2px solid rgba(6, 41, 94, 0.24);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--ink);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 4px 4px 0 rgba(6, 41, 94, 0.16);
  font-size: 0.95rem;
  font-weight: 950;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.x-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(6, 41, 94, 0.16);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
  align-items: center;
  min-height: 840px;
  padding: 112px clamp(20px, 6vw, 110px) 50px;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 710px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 3px dashed rgba(6, 41, 94, 0.42);
  font-size: clamp(0.72rem, 1.2vw, 0.92rem);
  font-weight: 950;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 8.2vw, 9rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 0.78;
  text-wrap: balance;
}

h1 .hero-tag {
  position: relative;
  display: inline-block;
  padding: 0.08em 0.25em 0.12em;
  color: var(--white);
  background: linear-gradient(145deg, #ee2435, #ca0d1f);
  border: 0.055em solid #a90717;
  border-radius: 0.14em;
  box-shadow:
    0 0.07em 0 #8e0714,
    0 0.12em 0.2em rgba(6, 41, 94, 0.2),
    inset 0 0 0 0.035em rgba(255, 255, 255, 0.18);
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-style: normal;
  letter-spacing: -0.08em;
  line-height: 0.78;
  transform: rotate(-1deg);
}

h1 .hero-tag::after {
  position: absolute;
  inset: 0.07em;
  pointer-events: none;
  content: '';
  border: 0.015em dashed rgba(255, 255, 255, 0.42);
  border-radius: 0.08em;
}

.tagline {
  max-width: 580px;
  margin: 34px 0 0;
  font-size: clamp(1rem, 1.65vw, 1.38rem);
  font-weight: 800;
  line-height: 1.35;
}

.tagline em {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-weight: 650;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: min(58vw, 760px);
  justify-self: center;
}

.hero-art img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: saturate(1.06) drop-shadow(0 30px 28px rgba(6, 41, 94, 0.12));
  -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 49%, #000 55%, rgba(0, 0, 0, 0.98) 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 60% at 50% 49%, #000 55%, rgba(0, 0, 0, 0.98) 75%, transparent 100%);
}

.sunburst {
  position: absolute;
  inset: 16% 11% 13%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 68%);
  filter: blur(18px);
}

.contract-section {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  min-height: 104px;
  padding: 0 20px 24px;
  margin-top: -50px;
}

.contract-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(850px, 100%);
  padding: 17px 22px;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--white);
  border-radius: 11px;
  box-shadow: 8px 8px 0 rgba(6, 41, 94, 0.16);
  cursor: pointer;
  font: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contract-button:not(:disabled):hover {
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 rgba(6, 41, 94, 0.16);
}

.contract-button:disabled {
  cursor: default;
}

.contract-label {
  color: var(--yellow);
  font-weight: 950;
  letter-spacing: 0.06em;
}

.contract-value {
  overflow: hidden;
  flex: 1;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.7rem, 1.5vw, 0.98rem);
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-icon {
  width: 24px;
  height: 24px;
}

.copy-icon svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.copy-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.meme-section {
  display: grid;
  justify-items: center;
  min-height: 880px;
  padding: 110px clamp(20px, 6vw, 110px) 90px;
}

.comment-shot {
  display: block;
  width: min(520px, 92vw);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(6, 41, 94, 0.18));
}

.comment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 9px 16px;
  color: white;
  background: var(--ink);
  border: 2px solid white;
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(6, 41, 94, 0.16);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.comment-link:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(6, 41, 94, 0.16);
}

.comparison {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(150px, 260px) minmax(220px, 360px);
  align-items: center;
  justify-content: center;
  width: min(1160px, 100%);
  margin-top: 55px;
}

.comparison-side,
.levis-side {
  position: relative;
  padding-top: clamp(54px, 6vw, 86px);
}

.value-label {
  position: absolute;
  top: 0;
  left: 50%;
  color: white;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  width: max-content;
  max-width: 130%;
  font-size: clamp(1.25rem, 2.5vw, 2.2rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow:
    0 4px 0 rgba(6, 41, 94, 0.2),
    0 8px 22px rgba(6, 41, 94, 0.16);
  transform: translateX(-50%) rotate(-3deg);
  white-space: nowrap;
}

.market-cap-row {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin: 28px -18px 0;
  color: white;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 3px 0 rgba(6, 41, 94, 0.18);
}

.market-cap-row span {
  font-size: clamp(0.68rem, 1.2vw, 0.86rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-cap-row strong {
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 7px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 17px 0 rgba(6, 41, 94, 0.13), 0 20px 45px rgba(6, 41, 94, 0.16);
}

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

.levi-portrait {
  background: #010b08;
}

.red-cross {
  position: absolute;
  inset: 12%;
  filter: drop-shadow(0 2px 0 white);
}

.red-cross::before,
.red-cross::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: clamp(13px, 2.5vw, 28px);
  content: '';
  background: var(--red);
  border: 3px solid white;
  border-radius: 999px;
}

.red-cross::before {
  transform: translateY(-50%) rotate(45deg);
}

.red-cross::after {
  transform: translateY(-50%) rotate(-45deg);
}

.not-equal {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--red);
}

.not-equal span {
  position: absolute;
  top: -76px;
  z-index: 2;
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 950;
  line-height: 1;
  -webkit-text-stroke: 4px white;
  paint-order: stroke fill;
  transform: rotate(-5deg);
}

.not-equal svg {
  overflow: visible;
  width: 90%;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 11;
  filter: drop-shadow(0 4px 0 white);
}

.levis-portrait img {
  transform: scale(1.03);
}

.heart {
  position: absolute;
  right: -7%;
  bottom: clamp(58px, 6vw, 74px);
  z-index: 4;
  width: 32%;
  overflow: visible;
  fill: var(--red);
  stroke: white;
  stroke-linejoin: round;
  stroke-width: 8;
  filter: drop-shadow(0 8px 0 rgba(6, 41, 94, 0.13));
  animation: heartbeat 1.7s ease-in-out infinite;
}

.chart-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 950;
  letter-spacing: 0.15em;
}

.stitch-line {
  height: 3px;
  border-top: 3px dashed rgba(6, 41, 94, 0.45);
}

.chart-shell {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: #111827;
  border: 7px solid var(--white);
  border-radius: 20px;
  box-shadow: 14px 14px 0 rgba(6, 41, 94, 0.14);
}

.chart-shell iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}

.chart-shell iframe[hidden] {
  display: none;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  color: white;
  text-align: center;
}

.chart-placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
}

.chart-pulse {
  width: 82px;
  height: 82px;
  background: var(--red);
  border: 5px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(226, 27, 45, 0.55);
  animation: chart-pulse 1.8s infinite;
}

.ticker {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  overflow: hidden;
  height: var(--ticker-height);
  color: white;
  background: var(--red);
  border-top: 4px solid white;
  border-bottom: 4px solid white;
  box-shadow: 0 -6px 24px rgba(6, 41, 94, 0.18);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: ticker 22s linear infinite;
  will-change: transform;
}

.ticker span {
  padding: 0 28px;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.ticker i {
  color: var(--yellow);
  font-size: 1.2rem;
  font-style: normal;
}

@keyframes loader-bob {
  to { transform: translateY(-10px) rotate(3deg); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1) rotate(8deg); }
  12% { transform: scale(1.12) rotate(8deg); }
  24% { transform: scale(1) rotate(8deg); }
}

@keyframes chart-pulse {
  70% { box-shadow: 0 0 0 28px rgba(226, 27, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 27, 45, 0); }
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: auto;
    padding-top: 150px;
    text-align: center;
  }

  .hero-copy {
    justify-self: center;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  .tagline {
    margin-inline: auto;
  }

  .hero-art {
    width: min(92vw, 650px);
    margin-top: -12px;
  }

  .contract-section {
    margin-top: -26px;
  }

  .meme-section {
    min-height: auto;
  }

  .comparison {
    grid-template-columns: minmax(160px, 290px) minmax(90px, 160px) minmax(160px, 290px);
  }

  .not-equal span {
    top: -58px;
  }

  .chart-shell,
  .chart-shell iframe {
    min-height: 530px;
    height: 530px;
  }
}

@media (max-width: 640px) {
  :root {
    --ticker-height: 46px;
  }

  .site-header {
    padding: 18px 16px;
  }

  .brand > span:last-child {
    display: none;
  }

  .ca-mini {
    max-width: 150px;
    padding: 8px 11px;
  }

  .header-actions {
    gap: 7px;
  }

  .x-button {
    width: 37px;
    height: 37px;
  }

  .hero {
    padding: 126px 14px 34px;
  }

  h1 {
    font-size: clamp(3.75rem, 20vw, 6.5rem);
    line-height: 0.81;
  }

  .tagline {
    width: 94%;
    margin-top: 25px;
    font-size: 0.98rem;
  }

  .hero-art {
    width: min(105vw, 600px);
    margin-top: -3px;
  }

  .contract-section {
    margin-top: -20px;
  }

  .contract-button {
    gap: 8px;
    padding: 14px 15px;
  }

  .meme-section {
    padding: 75px 18px 65px;
  }

  .comment-shot {
    width: min(100%, 454px);
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(340px, 84vw);
    margin-top: 46px;
  }

  .not-equal {
    height: 155px;
    transform: rotate(90deg);
  }

  .not-equal span {
    top: 50%;
    font-size: 4.4rem;
    transform: translateY(-50%) rotate(-95deg);
  }

  .not-equal svg {
    width: 48%;
    stroke-width: 9;
  }

  .chart-section {
    width: calc(100% - 24px);
    padding: 36px 0 80px;
  }

  .section-heading {
    gap: 13px;
  }

  .section-heading h2 {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  .chart-shell {
    border-width: 4px;
    border-radius: 12px;
    box-shadow: 8px 8px 0 rgba(6, 41, 94, 0.14);
  }

  .chart-shell,
  .chart-shell iframe {
    min-height: 500px;
    height: 500px;
  }

  .ticker span {
    padding-inline: 20px;
    font-size: 0.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
