@font-face {
  font-family: "Norwester";
  src: url("../assets/fonts/norwester.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08050a;
  --panel: #120b16;
  --panel-bright: #1a1020;
  --purple: #dfa2f0;
  --purple-bright: #f0c5fb;
  --purple-dark: #8f45a6;
  --ink: #fbf7fc;
  --muted: #c7b8ca;
  --line: rgba(223,162,240,.22);
  --shell: min(1120px, calc(100% - 36px));
  --display: "Norwester", Impact, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: radial-gradient(circle at 85% 12%, rgba(143,69,166,.12), transparent 25%), var(--bg); color: var(--ink); font-family: var(--body); font-weight: 700; }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; padding: 9px 13px; transform: translateY(-150%); border-radius: 999px; background: var(--purple); color: #09040b; font-weight: 900; }
.skip-link:focus { transform: none; }

#particles { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header { display: flex; align-items: center; justify-content: space-between; width: var(--shell); min-height: 68px; margin-inline: auto; border-bottom: 1px solid var(--line); animation: header-in .65s ease both; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font: 27px/1 var(--display); letter-spacing: .06em; text-decoration: none; }
.brand > span:last-child > span { color: var(--purple); }
.brand-mark, .verified-mark { position: relative; display: block; overflow: hidden; border-radius: 50%; background: #000; }
.brand-mark { width: 42px; height: 42px; border: 1px solid var(--line); }
.brand-mark img, .verified-mark img { position: absolute; width: 337.5%; max-width: none; left: -111.25%; top: -39.7%; }
.brand-mark { transition: transform .3s ease, box-shadow .3s ease; }
.brand:hover .brand-mark { transform: rotate(8deg); box-shadow: 0 0 22px rgba(223,162,240,.3); }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: var(--muted); font: 1rem/1 var(--display); letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.site-header nav a:hover { color: var(--purple-bright); }
.nav-contact { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; }
.nav-contact:hover { border-color: var(--purple); background: var(--purple); color: #09040b !important; }

.hero { padding-block: 10px 12px; }
.hero-media { position: relative; width: min(100%, 880px); margin-inline: auto; }
.video-wrap { position: relative; width: 100%; aspect-ratio: 1.256 / 1; overflow: hidden; border: 5px solid #000; border-radius: 50%; outline: 1px solid var(--line); background: #000; box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 55px rgba(143,69,166,.12); }
.video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #000; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,2,5,.9) 0%, rgba(4,2,5,.38) 48%, rgba(4,2,5,.12) 72%), linear-gradient(0deg, rgba(4,2,5,.75), transparent 45%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(24px, 6vw, 72px); bottom: clamp(28px, 7vw, 74px); max-width: 760px; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font-size: .72rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 16px var(--purple); animation: pulse 2s ease-in-out infinite; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; }
h1 { font-size: clamp(4.7rem, 9.5vw, 9rem); line-height: .84; letter-spacing: .01em; text-shadow: 0 5px 24px rgba(0,0,0,.75); }
h1 em { display: block; color: var(--purple-bright); font-style: normal; }
.sound-toggle { position: absolute; z-index: 3; top: 18px; right: 18px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font: .82rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(10px); }
.link-stack i, .back-link span, .site-footer a span { font: 900 1rem/1 Arial, Helvetica, sans-serif; }

.story-section { display: grid; grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr); gap: 18px; align-items: center; padding-block: 26px; border-top: 1px solid var(--line); }
.story-heading h2, .section-heading h2, .verified h2 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: .93; }
.story-carousel { min-width: 0; }
.story-copy { display: flex; gap: 10px; overflow: hidden; padding: 4px 2px; scroll-snap-type: x mandatory; }
.story-copy p { flex: 0 0 calc(100% - 4px); min-height: 104px; display: flex; align-items: center; margin: 0; padding: 12px 14px; border-left: 3px solid var(--purple); border-radius: 0 8px 8px 0; background: linear-gradient(100deg, rgba(223,162,240,.1), rgba(223,162,240,.025)); color: var(--muted); font-size: 1rem; line-height: 1.44; scroll-snap-align: start; }
.story-copy p:first-child { color: var(--ink); }
.story-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 7px; color: var(--muted); font: .78rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.story-controls > div { display: flex; gap: 6px; }
.story-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(223,162,240,.06); color: var(--purple); font: 900 1rem/1 Arial, Helvetica, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, opacity .2s ease; }
.story-controls button:hover:not(:disabled) { background: var(--purple); color: #09040b; }
.story-controls button:disabled { opacity: .28; cursor: default; }

.support-section, .gallery-section { padding-block: 28px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: end; margin-bottom: 11px; }
.support-section .section-heading { grid-template-columns: 1fr; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.5; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.link-panel { position: relative; overflow: hidden; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(223,162,240,.075), rgba(18,11,22,.88)); }
.link-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--x, 50%) var(--y, 50%), rgba(223,162,240,.14), transparent 52%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.link-panel:hover::before { opacity: 1; }
.panel-label { position: relative; z-index: 1; margin: 0 0 5px; color: var(--purple); font: .8rem/1 var(--display); letter-spacing: .13em; text-transform: uppercase; }
.link-panel h3 { position: relative; z-index: 1; font-size: clamp(2rem, 3.2vw, 3.15rem); }
.link-stack { position: relative; z-index: 1; display: grid; gap: 5px; margin-top: 9px; }
.link-stack a, .link-stack button { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.24); color: var(--ink); font: .96rem/1 var(--display); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.link-stack a:hover, .link-stack button:hover { transform: translateY(-2px); border-color: var(--purple); background: var(--purple); color: #09040b; }
.link-stack i { color: var(--purple); font-style: normal; }
.link-stack a:hover i, .link-stack button:hover i { color: #09040b; }

.gallery-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.gallery-tools p { margin: 0; color: var(--muted); line-height: 1.4; }
.gallery-buttons { display: flex; gap: 7px; flex: 0 0 auto; }
.gallery-buttons button { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(223,162,240,.06); color: var(--purple); font: 900 1rem/1 Arial, Helvetica, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.gallery-buttons button:hover { transform: scale(1.06); background: var(--purple); color: #09040b; }
.gallery { display: flex; gap: 14px; overflow-x: auto; padding: 13px 12px 17px; scroll-padding-inline: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--purple-dark) transparent; overscroll-behavior-inline: contain; }
.gallery::-webkit-scrollbar { height: 5px; }
.gallery::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--purple-dark); }
.portrait { flex: 0 0 clamp(170px, 20vw, 220px); aspect-ratio: 1; margin: 0; overflow: hidden; border-radius: 50%; scroll-snap-align: center; box-shadow: 0 0 0 1px var(--line), 0 12px 34px rgba(0,0,0,.35); animation: portrait-float 4.8s ease-in-out infinite; }
.portrait:nth-child(even) { animation-delay: -2.4s; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease, box-shadow .55s ease; }
.portrait:hover img { transform: scale(1.055); filter: saturate(1.08); }

.verified { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; margin-block: 24px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(100deg, rgba(143,69,166,.16), rgba(18,11,22,.5)); }
.verified-mark { width: 58px; height: 58px; }
.verified .eyebrow { margin-bottom: 7px; }
.verified h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.verified h2 a { color: var(--purple-bright); text-decoration-color: var(--purple-dark); text-underline-offset: 5px; }
.back-link { display: inline-flex; align-items: center; gap: 14px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; font: .9rem/1 var(--display); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.back-link:hover { border-color: var(--purple); background: var(--purple); color: #09040b; }

.site-footer { padding-block: 16px; border-top: 1px solid var(--line); background: rgba(0,0,0,.35); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 44px; align-items: center; }
.footer-brand { font-size: 24px; }
.footer-grid p { margin: 8px 0 0; color: #796d7b; font-size: .78rem; }
.footer-grid > a { color: var(--muted); font: .9rem/1 var(--display); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.footer-grid > a:hover { color: var(--purple-bright); }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.modal-panel { position: relative; width: min(100%, 610px); padding: 28px; border: 1px solid var(--purple); border-radius: 15px; background: #0d080f; box-shadow: 0 28px 90px rgba(0,0,0,.7), 0 0 42px rgba(223,162,240,.12); text-align: left; }
.modal-panel h2 { max-width: 90%; font-size: clamp(2rem, 5vw, 3.5rem); }
.modal-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--purple); font-size: 1.5rem; cursor: pointer; }
.wallet-label { margin: 22px 0 7px; color: var(--purple); font: .78rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.wallet-address { margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: rgba(223,162,240,.07); color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; overflow-wrap: anywhere; }
.wallet-warning { margin: 13px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.modal-actions { display: flex; gap: 9px; margin-top: 18px; }
.copy-button, .back-button { min-height: 43px; padding: 10px 15px; border: 1px solid var(--purple); border-radius: 7px; font: .9rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.copy-button { background: var(--purple); color: #09040b; }
.back-button { background: transparent; color: var(--purple); }
.copy-status { min-height: 1.2em; margin: 10px 0 0; color: var(--purple-bright); font-size: .82rem; }

.reactive { isolation: isolate; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@keyframes header-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes pulse { 50% { transform: scale(1.25); opacity: .75; } }
@keyframes portrait-float { 50% { transform: translateY(-5px); } }

@media (max-width: 820px) {
  .site-header nav a:not(.nav-contact) { display: none; }
  .story-section { grid-template-columns: 1fr; gap: 9px; }
  .support-grid { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .verified { grid-template-columns: 64px 1fr; }
  .verified-mark { width: 64px; height: 64px; }
  .back-link { grid-column: 1 / -1; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 540px) {
  :root { --shell: min(100% - 20px, 500px); }
  .site-header { min-height: 62px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-contact { padding: 8px 11px; }
  .hero { padding-block: 5px 9px; }
  .video-wrap { width: 100%; border-width: 3px; }
  .video-shade { background: linear-gradient(0deg, rgba(4,2,5,.9), rgba(4,2,5,.06) 70%); }
  .hero-copy { position: static; max-width: none; padding: 9px 4px 2px; text-align: center; }
  .hero-copy .eyebrow { margin-bottom: 6px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .sound-toggle { top: 10px; right: 10px; padding: 8px 10px; }
  .story-section { gap: 7px; padding-block: 15px; }
  .story-copy { gap: 8px; }
  .story-heading h2, .section-heading h2 { font-size: 2.35rem; }
  .story-copy p, .story-copy p:first-child { flex-basis: calc(100% - 4px); min-height: 96px; padding: 10px 11px; font-size: .91rem; line-height: 1.38; }
  .support-section, .gallery-section { padding-block: 16px; }
  .section-heading { margin-bottom: 8px; }
  .link-panel { padding: 10px; }
  .link-panel h3 { font-size: 2rem; }
  .link-stack { margin-top: 7px; }
  .link-stack a, .link-stack button { min-height: 37px; padding: 6px 9px; }
  .gallery-tools { align-items: flex-end; }
  .gallery-tools p { max-width: 180px; font-size: .82rem; }
  .gallery { gap: 12px; padding: 11px 9px 14px; scroll-padding-inline: 9px; }
  .portrait { flex-basis: 148px; }
  .verified { grid-template-columns: 44px 1fr; gap: 9px; margin-block: 14px; padding: 9px; }
  .verified-mark { width: 44px; height: 44px; }
  .verified h2 { font-size: 1.85rem; }
  .site-footer { padding-block: 13px; }
  .modal-panel { padding: 22px 18px 18px; }
}

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