:root {
  --ink: #0d0d0b;
  --paper: #f3ead7;
  --paper-soft: #e6dac2;
  --orange: #f08b26;
  --orange-hot: #ffac3d;
  --white: #fffaf0;
  --line: rgba(255, 250, 240, 0.14);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(240, 139, 38, 0.12), transparent 22%),
    linear-gradient(180deg, #11100d 0%, #090907 100%);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

::selection {
  background: var(--orange-hot);
  color: var(--ink);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.055;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.sun-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.17;
  z-index: -1;
}

.glow-one {
  width: 460px;
  height: 460px;
  top: 10vh;
  right: -160px;
  background: var(--orange-hot);
}

.glow-two {
  width: 360px;
  height: 360px;
  bottom: 6vh;
  left: -140px;
  background: #8f451b;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 18px;
  background: rgba(9, 9, 7, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.ticker,
.mini-link,
.buy-link,
.cta,
#copyCa {
  font-family: "DM Mono", monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ticker {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  background: var(--orange);
  color: var(--ink);
  border: 1px solid var(--orange-hot);
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 #4d260e;
}

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

.mini-link,
.buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: 0.2s ease;
}

.mini-link {
  width: 42px;
  font-size: 18px;
}

.buy-link {
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
}

.mini-link:hover,
.buy-link:hover,
.cta:hover,
.resource-card:hover {
  transform: translateY(-3px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 84px 0 78px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange-hot);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.hero h1,
.manifesto h2,
.section-heading h2,
.final-content h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(84px, 11vw, 176px);
  line-height: 0.74;
  letter-spacing: -0.03em;
}

.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  transform: translateX(28px);
}

.hero-text {
  max-width: 560px;
  margin-top: 42px;
  color: rgba(255, 250, 240, 0.72);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-text strong {
  color: var(--orange-hot);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: 0.2s ease;
}

.cta.primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange-hot);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.03);
}

.status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 250, 240, 0.5);
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-hot);
  box-shadow: 0 0 18px var(--orange-hot);
}

.slash {
  color: rgba(255, 255, 255, 0.2);
}

.hero-art-wrap {
  position: relative;
  width: min(100%, 590px);
  margin-left: auto;
  transform: rotate(1.2deg);
}

.hero-art-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  clip-path: polygon(4% 0, 96% 0, 100% 6%, 98% 93%, 91% 100%, 6% 97%, 0 90%, 1% 8%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 5, 5, 0.18));
  pointer-events: none;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.hero-art-wrap:hover .hero-art {
  transform: scale(1.055);
}

.corner-tag,
.floating-note {
  position: absolute;
  z-index: 3;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
}

.corner-tag {
  top: -16px;
  right: 22px;
  padding: 9px 12px;
  transform: rotate(4deg);
}

.floating-note {
  padding: 8px 10px;
}

.note-a {
  left: -28px;
  bottom: 74px;
  transform: rotate(-5deg);
}

.note-b {
  right: -22px;
  bottom: 28px;
  background: var(--orange-hot);
  transform: rotate(5deg);
}

.mood-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0b09;
}

.mood-item {
  min-height: 114px;
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mood-item:last-child {
  border-right: 0;
}

.mood-item span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 250, 240, 0.42);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.mood-item strong {
  font-size: clamp(18px, 2vw, 28px);
}

.manifesto {
  padding: 130px 0;
}

.manifesto-label {
  display: inline-block;
  margin-bottom: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 250, 240, 0.56);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: end;
}

.manifesto h2 {
  font-size: clamp(64px, 8vw, 118px);
  line-height: 0.87;
  letter-spacing: -0.025em;
}

.manifesto h2 span,
.section-heading h2 span {
  color: var(--orange-hot);
}

.manifesto-copy {
  padding-bottom: 7px;
}

.manifesto-copy p {
  color: rgba(255, 250, 240, 0.72);
  font-size: 19px;
  line-height: 1.65;
}

.manifesto-copy .small-copy {
  margin-top: 22px;
  color: rgba(255, 250, 240, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.links-section {
  padding: 40px 0 120px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.9;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 128px;
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.resource-card:hover {
  background: rgba(240, 139, 38, 0.08);
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-index {
  color: rgba(255, 250, 240, 0.28);
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.resource-name {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.01em;
}

.resource-arrow {
  color: var(--orange-hot);
  font-size: 34px;
}

.ca-section {
  padding: 0 0 130px;
}

.ca-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  color: rgba(255, 250, 240, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.025);
}

.ca-box code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: rgba(255, 250, 240, 0.74);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#copyCa {
  min-width: 88px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--orange-hot);
  border-radius: 0;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
}

.final-hero {
  padding-bottom: 100px;
}

.final-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.final-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
  filter: saturate(0.9) contrast(1.03);
}

.final-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 6, 0.9) 0%, rgba(8, 8, 6, 0.46) 52%, rgba(8, 8, 6, 0.08) 100%);
}

.final-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  max-width: 640px;
  padding: 58px;
}

.final-content p {
  margin-bottom: 16px;
  color: var(--orange-hot);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.13em;
}

.final-content h2 {
  font-size: clamp(64px, 9vw, 116px);
  line-height: 0.82;
}

.final-buy {
  align-self: flex-start;
  margin-top: 30px;
  background: var(--white);
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 250, 240, 0.45);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.footer div {
  display: flex;
  gap: 12px;
}

.footer strong {
  color: var(--white);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art-wrap {
    width: min(100%, 680px);
    margin: 0 auto;
  }

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

  .mood-item:nth-child(2) {
    border-right: 0;
  }

  .mood-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    min-height: 60px;
    padding: 9px 12px;
  }

  .ticker,
  .mini-link,
  .buy-link {
    height: 38px;
    min-height: 38px;
  }

  .buy-link {
    padding: 0 12px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 70px;
  }

  .hero h1 {
    font-size: clamp(70px, 24vw, 114px);
  }

  .hero h1 .outline {
    transform: translateX(12px);
    -webkit-text-stroke: 1.4px var(--white);
  }

  .hero-text {
    margin-top: 32px;
  }

  .note-a {
    left: 6px;
    bottom: 58px;
  }

  .note-b {
    right: 6px;
  }

  .mood-item {
    min-height: 100px;
    padding: 20px 16px;
  }

  .manifesto,
  .links-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-heading {
    display: block;
  }

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

  .resource-card {
    min-height: 104px;
    padding: 20px 18px;
  }

  .ca-section {
    padding-bottom: 90px;
  }

  .ca-box {
    align-items: stretch;
    flex-direction: column;
  }

  .ca-box code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #copyCa {
    width: 100%;
  }

  .final-card,
  .final-content {
    min-height: 500px;
  }

  .final-card > img {
    object-position: 62% 50%;
  }

  .final-overlay {
    background: linear-gradient(180deg, rgba(8, 8, 6, 0.2) 0%, rgba(8, 8, 6, 0.82) 62%, rgba(8, 8, 6, 0.97) 100%);
  }

  .final-content {
    justify-content: flex-end;
    padding: 26px;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
