@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martian-mono.woff2") format("woff2");
  font-weight: 300 600; font-stretch: 75% 112.5%; font-style: normal; font-display: swap;
}

:root {
  /* Palette: near-black, warm white glass, and one orange (from the brand images the user supplied). */
  --bg: #030202;
  --ink: #f5f3f1;
  --mut: #9d99a3;
  --dim: #5d5960;
  --hair: rgba(255, 244, 238, .12);
  --line: rgba(255, 244, 238, .46);
  --accent: #d65135;     /* buttons and fills */
  --warn: #fd5226;       /* small glowing details: meter, dots */
  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: 16px;
  --wide: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(56% 36% at 50% 32rem, rgba(214, 81, 53, .09), transparent 72%),
    radial-gradient(80% 26% at 85% 0, rgba(58, 34, 20, .55), transparent 72%),
    radial-gradient(70% 30% at 10% 12rem, rgba(50, 28, 17, .45), transparent 72%),
    var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-stretch: 87.5%;
  font-weight: 350;
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.k {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); font-weight: 400;
}

/* top ---------------------------------------------------------------------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto;
  padding: 18px var(--pad) 0;
}
.mark { display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; color: var(--ink); }
.mark span { font-family: var(--display); font-size: 21px; letter-spacing: .01em; line-height: 1; }
.top-nav { display: flex; align-items: center; gap: 24px; }
.top-link { display: none; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); padding: 8px 0; }
.top-link:hover { color: var(--ink); }
.top-x {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  font-size: 12px; letter-spacing: 0; color: var(--ink);
  border: 1px solid var(--hair); border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.top-x:hover { border-color: var(--warn); background: rgba(253, 82, 38, .08); }
@media (min-width: 720px) { .top-link { display: inline-block; } }

/* hero --------------------------------------------------------------------- */
.hero { text-align: center; padding: clamp(34px, 7vw, 64px) var(--pad) 0; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 11.4vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.018em;
  font-optical-sizing: auto;
  max-width: 13.5em; margin: 0 auto;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; letter-spacing: -.01em; }
.sub {
  margin: clamp(16px, 2.6vw, 24px) auto 0;
  max-width: 50em;
  color: var(--mut);
  font-size: clamp(12.5px, 3.3vw, 14.5px);
  text-wrap: balance;
}
.ask {
  display: flex; align-items: center; gap: 6px;
  max-width: 620px; margin: clamp(22px, 3.4vw, 32px) auto 0;
  padding: 5px 5px 5px 8px;
  border: 1px solid rgba(255, 244, 238, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 244, 238, .08), rgba(255, 244, 238, .02) 55%, rgba(214, 81, 53, .07));
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ask:focus-within { border-color: rgba(253, 82, 38, .8); box-shadow: 0 0 0 4px rgba(253, 82, 38, .12); }
.ask input {
  flex: 1; min-width: 0;
  height: 46px; padding: 0 12px;
  background: none; border: 0; outline: 0;
  color: var(--ink);
  font: 400 16px/1 var(--mono); font-stretch: 75%;
  letter-spacing: -.01em;
}
.ask input::placeholder { color: var(--dim); }
.ask button {
  flex: none; height: 46px; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff;
  font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s ease;
}
.ask button:hover { background: #e55d40; }
.ask-note { min-height: 1.6em; margin-top: 10px; font-size: 12px; color: var(--mut); }
.ask-note.bad { color: var(--warn); }

/* the field: glass in the middle, labels around ---------------------------- */
.xray { padding: clamp(6px, 2vw, 20px) 0 0; }
.field {
  --stacked: 1;
  position: relative;
  max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto;
  padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.wires path {
  fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .75s cubic-bezier(.5, 0, .2, 1), opacity .4s ease;
  opacity: 0;
}
.wires path.on { stroke-dashoffset: 0; opacity: 1; }

.stage { position: relative; width: 100%; max-width: 470px; margin: 0 auto; padding-top: 22px; }
.tag {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut);
}
.tag-k { padding: 4px 8px; border: 1px solid var(--hair); border-radius: 999px; color: var(--ink); white-space: nowrap; }
.tag-a { letter-spacing: .04em; text-transform: none; white-space: nowrap; }
.xray[data-busy] .tag-k::after { content: "…"; }

.glass { display: block; width: 100%; height: auto; overflow: visible; }
.sheet { stroke-width: 1.3; }
.sheet-back { fill: rgba(255, 244, 238, .022); stroke: rgba(255, 244, 238, .2); stroke-width: 1; }
.sheet-side { stroke: rgba(255, 244, 238, .26); stroke-width: 1; fill: none; }
.sheet-in { fill: none; stroke: rgba(255, 244, 238, .1); stroke-width: 1; }
.clasp { fill: rgba(255, 244, 238, .05); stroke: rgba(255, 244, 238, .45); stroke-width: 1; }
.clasp-snap { fill: none; stroke: rgba(255, 244, 238, .5); stroke-width: 1; }
.streak { fill: rgba(255, 255, 255, .05); }
.streak.s2 { fill: rgba(255, 255, 255, .035); }
.sweep { animation: sweep 9s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes sweep { 0%, 58% { transform: skewX(-24deg) translateX(0); } 100% { transform: skewX(-24deg) translateX(760px); } }
.scan { opacity: 0; }
.scan line { stroke: rgba(253, 82, 38, .8); stroke-width: 1; }
.xray[data-busy] .scan { opacity: 1; animation: scan 2.4s linear infinite; }
@keyframes scan { from { transform: translateY(25px); } to { transform: translateY(445px); } }

.noring path { fill: none; stroke-width: 1.3; stroke-dasharray: 7 7; stroke-linecap: butt; }
.noring-back { stroke: rgba(255, 244, 238, .22); }
.noring-front { stroke: rgba(255, 244, 238, .62); }
.noring-end { fill: var(--warn); }
.noring-glow { fill: var(--warn); opacity: .85; }
.sheet-glow { fill: none; stroke-width: 6; opacity: .6; }
.noring-k { font: 400 8.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: rgba(255, 244, 238, .42); }

.g-addr { font: 400 10.5px var(--mono); fill: rgba(245, 243, 241, .62); letter-spacing: .02em; }
.g-net { font: 400 7.5px var(--mono); fill: rgba(245, 243, 241, .3); letter-spacing: .2em; }
.g-pocket { stroke: rgba(255, 244, 238, .14); }
.g-num { font: 400 44px var(--display); fill: var(--ink); letter-spacing: -.02em; font-optical-sizing: none; font-variation-settings: "opsz" 28; }
.g-unit, .g-tiny { font: 400 8.5px var(--mono); fill: rgba(245, 243, 241, .55); letter-spacing: .14em; }
.g-tiny { letter-spacing: .02em; }
.g-thread, .g-arrow { fill: none; stroke: rgba(245, 243, 241, .6); stroke-width: 1; stroke-linecap: round; }
.g-node { fill: var(--ink); }
.g-halo { fill: none; stroke: rgba(245, 243, 241, .4); stroke-width: 1; }
.g-disc { fill: rgba(255, 244, 238, .08); stroke: rgba(245, 243, 241, .75); stroke-width: 1; }
.g-tick { stroke: rgba(245, 243, 241, .7); stroke-width: 1; }
.g-spoke { stroke: rgba(245, 243, 241, .45); stroke-linecap: round; }
.g-sat { fill: #0a0706; stroke: rgba(245, 243, 241, .8); stroke-width: 1; }
.g-hub { fill: var(--ink); }
.g-bar { stroke: rgba(245, 243, 241, .85); stroke-width: 2; stroke-linecap: butt; }
.g-ring { fill: none; stroke: rgba(245, 243, 241, .22); stroke-width: 1; }
.g-empty { stroke: rgba(245, 243, 241, .3); stroke-width: 1; stroke-linecap: round; fill: none; }

.item { opacity: 0; transition: opacity .6s ease; }
.item.on { opacity: 1; }
.dots circle { fill: #0a0706; stroke: rgba(245, 243, 241, .4); stroke-width: 1; transition: fill .3s ease, stroke .3s ease; }
.dots text { font: 400 7.5px var(--mono); fill: rgba(245, 243, 241, .38); }
.dots g.on circle { fill: var(--ink); stroke: var(--ink); }
.dots g.pub circle { fill: var(--warn); stroke: var(--warn); }

/* exposure meter ----------------------------------------------------------- */
.meter {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  margin: 6px auto 0; max-width: 400px; padding: 0 4px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut);
}
.cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.cells i { height: 9px; border-radius: 1.5px; background: rgba(255, 244, 238, .1); transition: background .35s ease; }
.cells i.f { background: var(--warn); }
.meter-v { color: var(--mut); white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter-v b { font-weight: 500; color: var(--ink); }
.meter.hot .meter-v, .meter.hot .meter-v b { color: var(--warn); }

/* callouts ----------------------------------------------------------------- */
.callouts { display: grid; gap: 30px; padding: 0 14px; }
.side-l { margin-top: 38px; }
.side-r { margin-top: 30px; }
.co { min-width: 0; opacity: 0; transform: translateY(6px); transition: opacity .5s ease .25s, transform .5s ease .25s; }
.co.on { opacity: 1; transform: none; }
.co-head {
  display: flex; align-items: baseline; gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.co-n { font-size: 10px; color: var(--mut); font-variant-numeric: tabular-nums; }
.co-head h2 { font: inherit; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); font-weight: 400; }
.co-body { margin-top: 8px; }
.big {
  font-family: var(--display); font-size: clamp(30px, 8.4vw, 38px); line-height: 1.08; letter-spacing: -.012em;
  font-optical-sizing: none; font-variation-settings: "opsz" 20;
  font-variant-numeric: lining-nums; overflow-wrap: anywhere;
}
.big small { font: 400 11px var(--mono); letter-spacing: .14em; color: var(--mut); margin-left: 8px; text-transform: uppercase; }
.note { margin-top: 6px; color: var(--mut); font-size: 12px; }
.note b { color: var(--ink); font-weight: 400; }
.miss { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--mut); line-height: 1.2; font-optical-sizing: none; font-variation-settings: "opsz" 18; }
.rows { display: grid; gap: 0; margin-top: 2px; }
.rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--hair);
  font-size: 12px; font-variant-numeric: tabular-nums;
}
.rows li:last-child { border-bottom: 0; }
.rows .a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .a b { font-weight: 500; }
.rows .a span { color: var(--mut); margin-left: 8px; }
.rows .b { text-align: right; white-space: nowrap; }
.rows .b span { color: var(--mut); margin-left: 8px; }
a.w { border-bottom: 1px solid rgba(255, 244, 238, .3); padding-bottom: 1px; transition: border-color .2s ease; }
a.w:hover { border-color: var(--ink); }
.big a.w {
  border-bottom: 0; padding-bottom: 0;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: rgba(255, 244, 238, .35);
}
.big a.w:hover { text-decoration-color: var(--ink); }
.big + .note { margin-top: 9px; }

.dial { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; }
.dial svg { width: 112px; height: 112px; display: block; overflow: visible; }
.dial .d-ring { fill: none; stroke: rgba(255, 244, 238, .2); stroke-width: 1; }
.dial .d-bar { stroke: var(--ink); stroke-width: 3.2; stroke-linecap: butt; }
.dial .d-bar.z { stroke: rgba(255, 244, 238, .2); }
.dial .d-night { fill: none; stroke: rgba(255, 244, 238, .16); stroke-width: 7; }
.dial text { font: 400 7px var(--mono); fill: var(--mut); letter-spacing: .04em; }
.dial .say { font-family: var(--display); font-size: 21px; line-height: 1.2; letter-spacing: -.005em; font-optical-sizing: none; font-variation-settings: "opsz" 16; }

/* calm line ---------------------------------------------------------------- */
.calm {
  margin: clamp(46px, 8vw, 84px) auto 0; padding: 0 var(--pad);
  text-align: center; color: var(--mut);
  font-family: var(--display); font-style: italic; font-size: clamp(19px, 4.8vw, 24px); line-height: 1.3;
  font-optical-sizing: none; font-variation-settings: "opsz" 22;
  text-wrap: balance;
}

/* share, token, footer ----------------------------------------------------- */
.share, .token, .foot {
  max-width: calc(940px + 2 * var(--pad)); margin-left: auto; margin-right: auto;
  padding-left: var(--pad); padding-right: var(--pad);
}
.share { margin-top: clamp(46px, 8vw, 84px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
.share-side { min-width: 0; }
.share-card {
  display: block; border: 1px solid var(--hair); border-radius: 14px; overflow: hidden;
  background: #080504; aspect-ratio: 1200 / 630;
}
.share-card img { display: block; width: 100%; height: auto; }
.share-line { margin-top: 10px; font-family: var(--display); font-size: clamp(22px, 5.6vw, 28px); line-height: 1.18; letter-spacing: -.008em; font-optical-sizing: none; font-variation-settings: "opsz" 20; }
.copyrow {
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px; padding: 5px 5px 5px 14px;
  border: 1px solid var(--hair); border-radius: 13px;
  background: rgba(255, 244, 238, .03);
}
.copyrow code {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 400 12px var(--mono); font-stretch: 80%; color: var(--ink);
}
.copyrow button {
  flex: none; height: 38px; min-width: 96px; padding: 0 16px; cursor: pointer;
  border: 1px solid rgba(255, 244, 238, .3); border-radius: 9px; background: rgba(255, 244, 238, .07);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}
.copyrow button:hover { background: rgba(255, 244, 238, .14); border-color: var(--line); }
.token { margin-top: clamp(40px, 7vw, 64px); min-width: 0; }
.token .copyrow { margin-top: 10px; }
.foot {
  margin-top: clamp(56px, 10vw, 110px);
  padding-top: 20px; padding-bottom: calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  color: var(--mut); font-size: 11.5px;
}
.foot-name { font-family: var(--display); font-size: 18px; color: var(--ink); }
.foot nav { display: flex; gap: 22px; }
.foot a { padding: 6px 0; }
.foot a:hover { color: var(--ink); }

/* word band ----------------------------------------------------------------- */
.band {
  margin-top: clamp(64px, 11vw, 120px);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  overflow: hidden; padding: 18px 0;
}
.band-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: band 46s linear infinite; }
.band-track span {
  font-family: var(--display); font-style: italic; font-size: clamp(24px, 5vw, 38px); line-height: 1.1;
  color: var(--ink); white-space: nowrap; font-optical-sizing: none; font-variation-settings: "opsz" 28;
}
.band-track i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 12px rgba(253, 82, 38, .8); }
@keyframes band { to { transform: translateX(-50%); } }

/* what's public -------------------------------------------------------------- */
.public, .ringless {
  max-width: calc(var(--wide) + 2 * var(--pad));
  margin: clamp(64px, 11vw, 130px) auto 0;
  padding: 0 var(--pad);
}
.sec-h {
  margin-top: 14px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.3rem, 9.4vw, 4.6rem); line-height: 1; letter-spacing: -.02em;
  max-width: 12em; text-wrap: balance;
}
.lede { margin-top: 18px; max-width: 38em; color: var(--mut); font-size: clamp(12.5px, 3.3vw, 14.5px); }
.six { margin-top: clamp(34px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--hair); }
.six li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; padding: 26px 0; border-bottom: 1px solid var(--hair); min-width: 0; }
.six-n { font-family: var(--display); font-size: 30px; line-height: .9; color: var(--warn); font-variant-numeric: lining-nums; }
.six h3 { margin: 0; font: 400 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.six p {
  margin-top: 10px;
  font-family: var(--display); font-size: clamp(19px, 5vw, 24px); line-height: 1.26; letter-spacing: -.006em;
  font-optical-sizing: none; font-variation-settings: "opsz" 18;
}
.six code { display: inline-block; margin-top: 12px; font: 400 11px var(--mono); font-stretch: 80%; color: var(--dim); overflow-wrap: anywhere; }

/* the ring it doesn't have ---------------------------------------------------- */
.ringless { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; }
.ring-art { margin: 0 auto; width: min(100%, 560px); }
.ring-art img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent); mask-image: radial-gradient(closest-side, #000 86%, transparent); }
.ring-copy > p:last-child { margin-top: 18px; max-width: 32em; color: var(--mut); font-size: clamp(12.5px, 3.3vw, 14.5px); }

/* read another ---------------------------------------------------------------- */
.again {
  max-width: calc(760px + 2 * var(--pad));
  margin: clamp(64px, 11vw, 130px) auto 0;
  padding: clamp(40px, 7vw, 64px) var(--pad) 0;
  border-top: 1px solid var(--hair);
  text-align: center;
}
.again .sec-h { margin: 0 auto; }
.again .ask { margin-top: 28px; }

/* not found ---------------------------------------------------------------- */
.lost { min-height: 78svh; display: grid; place-items: center; text-align: center; padding: 40px var(--pad); }
.lost svg { width: min(52vw, 210px); height: auto; margin: 0 auto 30px; display: block; overflow: visible; }
.lost h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 10vw, 4rem); line-height: 1; letter-spacing: -.015em; }
.lost p { margin-top: 14px; color: var(--mut); }
.lost a { display: inline-block; margin-top: 26px; padding: 8px 0 3px; border-bottom: 1px solid var(--line); }

/* wide: labels on both sides of the glass ---------------------------------- */
@media (min-width: 940px) {
  :root { --pad: 32px; }
  body { font-size: 13.5px; }
  .field {
    --stacked: 0;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 96px);
    align-items: stretch;
  }
  .stage { grid-column: 2; grid-row: 1; max-width: none; }
  .callouts { padding: 0; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 34px 0 64px; }
  .side-l { grid-column: 1; grid-row: 1; }
  .side-r { grid-column: 3; grid-row: 1; }
  .co { max-width: 330px; width: 100%; }
  .side-l .co { margin-left: auto; }
  .share { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; }
  .six { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
  .six li { grid-template-columns: 84px minmax(0, 1fr); padding: 36px 0; }
  .six-n { font-size: 46px; }
  .ringless { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; }
}
@media (min-width: 1240px) {
  .field { grid-template-columns: minmax(0, 1fr) 470px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sweep, .scan { display: none; }
  .band-track { transform: none; }
}
