@font-face { font-family: 'Saira'; src: url('../fonts/Saira-ExpandedItalic-Var.woff2') format('woff2'); font-weight: 800 900; font-stretch: 125%; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/HankenGrotesk-Var.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/HankenGrotesk-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --sky: #9cbfc0;          /* top of the daylight sky */
  --paper: #f4ead6;        /* tags and the ticket */
  --ground: #ead6b2;       /* the flats */
  --ink: #1e1b18;          /* text and silhouettes */
  --signal: #e8572a;       /* one meaning: something you can do, or something hostile */
  --signal-deep: #a83a15;
  --mustard: #e3a33b;      /* stripe */
  --teal: #1f5859;         /* stripe, the mark */
  --muted: #6e5e46;        /* small print on the flats */
  --display: 'Saira', 'Arial Black', Impact, sans-serif;
  --text: 'Hanken Grotesk', 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;
  --gutter: clamp(20px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.bar { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: italic 900 19px/1 var(--display); font-stretch: 125%; letter-spacing: -.01em; text-transform: uppercase; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.bar-links { display: flex; gap: 22px; font-size: 16px; font-weight: 500; }
.bar-links a { text-decoration: none; border-bottom: 1.5px solid rgba(30, 27, 24, .35); padding-bottom: 1px; }
.bar-links a:hover { border-color: var(--ink); }

/* the poster */
.hero { position: relative; min-height: max(100svh, 780px); background: #86afb4; overflow: hidden; color: var(--ink); }
.scene { position: absolute; bottom: 0; left: 50%; width: max(100%, 1180px); height: auto; transform: translateX(-50%); display: block; }
.rise { animation: rise 2.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { transform: translateY(70px); } }
.hud-text { font: 600 13.5px/1 var(--text); letter-spacing: .01em; }
.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .14; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-copy { position: relative; z-index: 2; max-width: calc(640px + var(--gutter)); padding: clamp(112px, 16vh, 164px) 0 56px var(--gutter); }
.kicker { margin: 0 0 16px; font-size: 19px; font-weight: 600; }
.wordmark { margin: 0; font: italic 900 clamp(54px, 8.2vw, 118px)/.9 var(--display); font-stretch: 125%; letter-spacing: -.015em; text-transform: uppercase; color: var(--ink); text-shadow: .04em .04em 0 rgba(232, 87, 42, .9); }
.stripes { display: grid; gap: 5px; width: calc(100% + var(--gutter)); max-width: 760px; margin: 22px 0 0 calc(-1 * var(--gutter)); }
.stripes i { display: block; height: 9px; }
.stripes i:nth-child(1) { background: var(--signal); }
.stripes i:nth-child(2) { background: var(--mustard); }
.stripes i:nth-child(3) { background: var(--teal); }
.lede { margin: 24px 0 0; max-width: 32em; font-size: 19px; line-height: 1.55; color: rgba(30, 27, 24, .88); }
.lede strong { font-weight: 600; color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 8px; font: 600 17px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; }
.btn-buy { background: var(--signal); color: #1c0f08; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22), 0 3px 0 var(--signal-deep); }
.btn-buy:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3), 0 4px 0 var(--signal-deep); }
.btn-buy:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22), 0 1px 0 var(--signal-deep); }
.btn-buy[aria-disabled="true"] { background: rgba(244, 234, 214, .55); color: var(--ink); box-shadow: inset 0 0 0 2px var(--signal); cursor: default; transform: none; }
.soon { font-size: 13px; padding: 4px 8px; border-radius: 5px; background: var(--signal); color: #1c0f08; }
.btn-ghost { background: rgba(244, 234, 214, .55); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(30, 27, 24, .55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }

/* the ticket: contract address, under a scanner lock */
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 18px; max-width: 560px; margin-top: 36px; padding: 22px 20px 18px 34px; border-radius: 6px; background: var(--paper); color: var(--ink);
  background-image: linear-gradient(var(--signal) 0 5px, var(--mustard) 5px 10px, var(--teal) 10px 15px, transparent 15px);
  background-size: 100% 15px; background-repeat: no-repeat;
  box-shadow: 0 2px 0 rgba(30, 27, 24, .25), 0 22px 44px -24px rgba(30, 27, 24, .6); }
.ticket::before { content: ''; position: absolute; top: 26px; bottom: 12px; left: 18px; border-left: 1.5px dashed rgba(30, 27, 24, .3); }
.bracket { position: absolute; inset: -10px; pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) top left / 16px 2px, linear-gradient(var(--ink), var(--ink)) top left / 2px 16px,
    linear-gradient(var(--ink), var(--ink)) top right / 16px 2px, linear-gradient(var(--ink), var(--ink)) top right / 2px 16px,
    linear-gradient(var(--ink), var(--ink)) bottom left / 16px 2px, linear-gradient(var(--ink), var(--ink)) bottom left / 2px 16px,
    linear-gradient(var(--ink), var(--ink)) bottom right / 16px 2px, linear-gradient(var(--ink), var(--ink)) bottom right / 2px 16px;
  background-repeat: no-repeat; }
.ticket-body { min-width: 0; }
.ticket-label { margin: 0 0 4px; font-size: 14px; font-weight: 500; color: rgba(30, 27, 24, .66); }
.ticket-ca { margin: 0; font: italic 400 19px/1.3 var(--text); }
.ticket.is-live .ticket-ca { font: 500 15px/1.45 var(--mono); font-style: normal; word-break: break-all; }
.ticket-meta { margin: 6px 0 0; font-size: 14px; color: rgba(30, 27, 24, .7); }
.btn-copy { min-height: 44px; padding: 0 16px; font-size: 15px; background: var(--ink); color: var(--paper); }
.btn-copy:hover:not(:disabled) { background: #000; }
.btn-copy:disabled { opacity: .3; cursor: not-allowed; }
.stamp { position: absolute; top: 50%; right: 172px; padding: 4px 12px 2px; border: 3px solid currentColor; border-radius: 6px; color: var(--signal); font: italic 900 22px/1 var(--display); font-stretch: 125%; text-transform: uppercase; transform: translateY(-40%) rotate(-9deg); opacity: .9; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ticket.is-live .stamp { display: none; }

/* caches on the flats */
.notes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--ground); }
.notes::before { content: ''; position: absolute; inset: 0 0 auto; height: 15px; background: linear-gradient(var(--signal) 0 5px, var(--mustard) 5px 10px, var(--teal) 10px 15px); }
.notes article { padding: 46px var(--gutter) 46px; }
.notes article + article { border-left: 1.5px solid rgba(30, 27, 24, .16); }
.notes article:not(:first-child) { padding-left: clamp(24px, 3.4vw, 52px); }
.notes article:not(:last-child) { padding-right: clamp(24px, 3.4vw, 52px); }
.tag { position: relative; display: inline-block; margin-bottom: 14px; padding: 5px 12px 5px 22px; border-radius: 3px 7px 7px 3px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.tag::before { content: ''; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ground); }
.notes h2 { margin: 0 0 10px; font: italic 900 28px/1.05 var(--display); font-stretch: 125%; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.notes p { margin: 0; max-width: 30em; font-size: 17.5px; color: rgba(30, 27, 24, .86); }

.foot { display: flex; align-items: center; gap: 10px; padding: 18px var(--gutter) 26px; background: var(--ground); border-top: 1.5px solid rgba(30, 27, 24, .14); }
.foot p { margin: 0; font-size: 11px; color: var(--muted); }
.foot-mark { width: 18px; height: 18px; border-radius: 5px; flex: none; }

/* between phone and wide desktop a centred scene puts the planet under the blurb: anchor it right instead */
@media (min-width: 1001px) and (max-width: 1299px) {
  .scene { left: auto; right: -260px; width: max(1180px, calc(100% + 260px)); transform: none; }
}

/* up to 1000px the text column fills the width: stack it, sky behind the words, the scene below */
@media (max-width: 1000px) {
  .scene { left: auto; right: -47px; width: 1100px; transform: none; }
  .patrol { transform: translate(150px, 320px); }
  .scouts, .trails { display: none; }
  .hero-copy { padding-bottom: 360px; }
}

@media (max-width: 900px) {
  .notes { grid-template-columns: minmax(0, 1fr); }
  .notes article { padding: 34px var(--gutter) 30px !important; }
  .notes article + article { border-left: 0; border-top: 1.5px solid rgba(30, 27, 24, .16); }
}

@media (max-width: 640px) {
  .bar { padding-top: 18px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .bar-links { gap: 16px; font-size: 15px; }
  .hero-copy { padding: 104px var(--gutter) 360px; }
  .kicker { font-size: 17px; }
  .lede { font-size: 17.5px; }
  .ticket { grid-template-columns: minmax(0, 1fr); padding: 24px 18px 18px 32px; }
  .btn-copy { justify-self: start; }
  .stamp { top: 28px; right: 16px; font-size: 18px; transform: rotate(-9deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  .btn { transition: none; }
}
