@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;0,800;1,700&display=swap');

:root {
  --ink: #050505;
  --paper: #f7f4ed;
  --white: #ffffff;
  --gold: #e69b37;
  --gold-light: #ffc66d;
  --muted: #b8b4aa;
  --line: rgba(255,255,255,.18);
  --display: "Anton", Impact, sans-serif;
  --body: "Barlow Condensed", Arial Narrow, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 20%, rgba(230,155,55,.16), transparent 28rem),
    var(--ink);
  font-family: var(--body);
  font-size: 18px;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.cursor-glow {
  position: fixed;
  width: 26rem;
  aspect-ratio: 1;
  border-radius: 50%;
  left: var(--pointer-x, 75%);
  top: var(--pointer-y, 20%);
  transform: translate(-50%, -50%);
  background: rgba(230,155,55,.10);
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.mini-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .08em; }
.mini-brand img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); }
nav { display: flex; gap: clamp(18px, 3vw, 44px); }
nav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: .84rem; letter-spacing: .16em; transition: color .2s; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }

.hero {
  min-height: calc(100svh - 84px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 118px) clamp(22px, 5vw, 72px) 72px;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
}

.eyebrow { margin: 0 0 18px; color: var(--gold-light); font-size: .84rem; font-weight: 800; letter-spacing: .24em; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(5.8rem, 11.7vw, 11rem); line-height: .75; letter-spacing: -.045em; }
h1 span { display: block; }
.gold { color: var(--gold); -webkit-text-stroke: 1px var(--gold-light); text-shadow: 7px 7px 0 #2c1808; }
.ticker { display: inline-block; margin: 30px 0 18px; padding: 8px 14px; color: var(--ink); background: var(--white); font-weight: 800; letter-spacing: .17em; transform: rotate(-1deg); box-shadow: 6px 6px 0 var(--gold); }
.lead { max-width: 560px; margin: 8px 0 30px; color: #d0ccc4; font-size: clamp(1.16rem, 2vw, 1.45rem); line-height: 1.48; }

.actions { display: flex; flex-wrap: wrap; gap: 15px; }
.brush-button {
  position: relative;
  min-height: 56px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 2px solid var(--white);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .09em;
  clip-path: polygon(2% 7%, 98% 0, 100% 88%, 5% 100%, 0 70%);
  box-shadow: inset 0 0 0 2px var(--ink);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.brush-button::after { content: ""; position: absolute; inset: 5px -7px -7px 8px; border: 2px solid var(--gold); z-index: -1; transform: rotate(-1deg); }
.brush-button:hover, .brush-button:focus-visible { transform: translateY(-4px) rotate(-1deg); background: var(--gold); }
.brush-button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 5px; }
.x-button { color: var(--white); background: #151515; }
.x-button:hover { color: var(--ink); }

.contract-wrap { margin-top: 34px; max-width: 630px; }
.contract-label { display: block; margin-bottom: 9px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
.contract {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(255,255,255,.045);
  cursor: pointer;
  text-align: left;
}
.contract:hover, .contract:focus-visible { border-color: var(--gold); background: rgba(230,155,55,.08); }
.contract:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.contract code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.copy-state { flex: none; color: var(--gold-light); font-weight: 800; font-size: .76rem; letter-spacing: .12em; }
.copy-feedback { min-height: 20px; margin: 7px 0 0; color: var(--gold-light); font-size: .82rem; }

.portrait-stage { position: relative; min-height: min(700px, 67vw); display: grid; place-items: center; isolation: isolate; }
.portrait-frame { position: relative; width: min(600px, 100%); aspect-ratio: 1; border: 1px solid rgba(230,155,55,.34); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,255,255,.018), 0 40px 100px rgba(0,0,0,.5); overflow: hidden; transform: rotate(1.5deg); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .55s ease; }
.portrait-stage:hover .portrait-frame img { transform: scale(1.055) rotate(-1deg); }
.halo { position: absolute; width: 76%; aspect-ratio: 1; border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 0 80px rgba(230,155,55,.28); z-index: -1; }
.halo::before, .halo::after { content: ""; position: absolute; inset: -12%; border: 1px dashed rgba(255,255,255,.35); border-radius: 50%; animation: orbit 34s linear infinite; }
.halo::after { inset: 10%; animation-direction: reverse; animation-duration: 24s; }
.scratch { position: absolute; height: 10px; background: var(--gold); transform: rotate(-16deg); clip-path: polygon(0 35%, 100% 0, 96% 100%, 3% 72%); z-index: -1; }
.scratch-one { width: 46%; top: 25%; right: -2%; }
.scratch-two { width: 38%; bottom: 25%; left: -2%; background: var(--white); }
.stamp { position: absolute; right: 0; bottom: 10%; width: 100px; aspect-ratio: 1; display: grid; place-items: center; margin: 0; border: 3px solid var(--gold); border-radius: 50%; color: var(--gold-light); background: var(--ink); text-align: center; font-family: var(--display); font-size: 1.15rem; line-height: 1.1; transform: rotate(9deg); box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px var(--gold); }

.statement { max-width: 1296px; margin: 0 auto; padding: clamp(70px, 10vw, 140px) clamp(22px, 5vw, 72px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 80px 1.2fr .8fr; gap: clamp(25px, 5vw, 74px); align-items: end; }
.statement-number { align-self: start; color: var(--gold); font-family: var(--display); font-size: 1.4rem; }
.statement h2 { margin: 0; font-size: clamp(3.2rem, 7.6vw, 7.6rem); line-height: .9; }
.statement h2 em { color: var(--gold); font-style: normal; }
.statement > p { margin: 0 0 10px; color: #c9c5bd; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; }

.banner { max-width: 1296px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 72px); }
.banner img { width: 100%; border: 1px solid var(--line); box-shadow: 14px 14px 0 rgba(230,155,55,.15); }

.final-cta { padding: clamp(100px, 14vw, 190px) 22px; text-align: center; }
.final-cta h2 { margin: 0 0 42px; font-size: clamp(4.4rem, 13vw, 12rem); line-height: .9; color: var(--white); text-shadow: 7px 7px 0 var(--gold); }
.centered { justify-content: center; }

footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1296px; margin: 0 auto; padding: 25px clamp(22px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .portrait-stage { min-height: 560px; grid-row: 1; }
  .portrait-frame { width: min(520px, 88vw); }
  .hero-copy { text-align: center; }
  .hero-copy .lead, .contract-wrap { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .statement { grid-template-columns: 48px 1fr; }
  .statement > p { grid-column: 2; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .mini-brand span { display: none; }
  nav { gap: 18px; }
  .hero { padding-top: 42px; }
  .portrait-stage { min-height: 410px; }
  .stamp { width: 78px; right: 2%; font-size: .9rem; }
  h1 { font-size: clamp(5rem, 28vw, 7.2rem); }
  .brush-button { width: 100%; }
  .contract { align-items: flex-start; flex-direction: column; gap: 7px; }
  .contract code { width: 100%; }
  .statement { grid-template-columns: 1fr; }
  .statement-number, .statement > p { grid-column: 1; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
