@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#06110b;
  --panel:rgba(6,17,11,.88);
  --panel2:rgba(13,27,19,.93);
  --gold:#efb44f;
  --gold2:#ffd37a;
  --cream:#fff0d0;
  --muted:#b9c0b9;
  --green:#2bc66b;
  --line:rgba(239,180,79,.42);
  --shadow:0 16px 55px rgba(0,0,0,.42);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:#fff;
  font-family:Inter,system-ui,sans-serif;
}
a{color:inherit;text-decoration:none}
button{font:inherit}

.hero{
  min-height: calc(100svh + 170px);
  padding-bottom: 170px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#0a1b11;
}
.scene,.scene-bg,.sun-rays,.fog,.particles,.hero-vignette{position:absolute;inset:0}
.scene{z-index:-4;overflow:hidden}
.scene-bg{
  background-image:url('assets/hero.png');
  background-size:cover;
  background-position:center center;
  transform:scale(1.045);
  will-change:transform;
  transition:transform .12s linear;
}
.hero-vignette{
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(1,8,5,.88) 0%,rgba(2,9,6,.6) 26%,rgba(2,8,5,.08) 55%,rgba(2,8,5,.02) 100%),
    linear-gradient(0deg,rgba(3,10,6,.72) 0%,transparent 35%);
  pointer-events:none;
}
.sun-rays{
  opacity:.18;
  mix-blend-mode:screen;
  transform:translateX(-6%);
  background:conic-gradient(from 204deg at 8% 8%,transparent 0 3deg,rgba(255,233,166,.5) 4deg 8deg,transparent 9deg 15deg,rgba(255,236,181,.33) 16deg 20deg,transparent 21deg 100%);
  filter:blur(4px);
  animation:rays 12s ease-in-out infinite alternate;
}
@keyframes rays{to{opacity:.33;transform:translateX(0) rotate(.5deg)}}

.fog{
  height:28%;
  top:auto;
  opacity:.19;
  background:
    radial-gradient(ellipse at 15% 60%,rgba(235,248,238,.75),transparent 48%),
    radial-gradient(ellipse at 62% 50%,rgba(240,248,241,.48),transparent 44%),
    radial-gradient(ellipse at 88% 70%,rgba(238,246,240,.55),transparent 38%);
  filter:blur(22px);
  animation:fogMove 26s linear infinite alternate;
}
.fog-b{opacity:.12;transform:scaleX(-1);animation-duration:36s}
@keyframes fogMove{from{translate:-7% 0}to{translate:8% 0}}

.particles{pointer-events:none}
.particle{
  position:absolute;width:5px;height:5px;border-radius:50%;
  background:rgba(255,221,127,.65);
  box-shadow:0 0 12px rgba(255,218,108,.8);
  animation:floatUp linear infinite;
}
@keyframes floatUp{
  from{transform:translateY(40px) scale(.6);opacity:0}
  15%{opacity:.7}
  to{transform:translateY(-120px) translateX(35px) scale(1.25);opacity:0}
}

.topbar{
  position:absolute;top:0;left:0;right:0;height:72px;z-index:12;
  display:flex;align-items:center;gap:26px;padding:0 4vw;
  background:linear-gradient(180deg,rgba(6,15,11,.95),rgba(6,15,11,.78));
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-family:Cinzel,serif;font-weight:800;font-size:22px;color:var(--gold2);
  margin-right:auto;
}
.brand-mark{font-size:24px}
.nav{display:flex;gap:30px;font-size:13px;font-weight:700;letter-spacing:.12em}
.nav a{opacity:.86}.nav a:hover{color:var(--gold2)}
.top-actions{display:flex;align-items:center;gap:14px}
.icon-btn{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:rgba(2,7,5,.55);border:1px solid rgba(255,255,255,.15);font-size:20px;
}

.hero-copy{
  position:absolute;left:4.5vw;top:21%;z-index:4;
  width:min(610px,46vw);
}
.hero-copy h1{
  font-family:Cinzel,serif;margin:0;color:var(--gold2);
  font-size:clamp(64px,8vw,138px);line-height:.88;letter-spacing:-.045em;
  text-shadow:0 8px 32px rgba(0,0,0,.55),0 0 1px #000;
}
.headline{
  font-family:Georgia,serif;font-size:clamp(23px,2.1vw,36px);line-height:1.22;
  margin:30px 0 18px;color:#fff7e9;text-shadow:0 3px 15px rgba(0,0,0,.8)
}
.subline{letter-spacing:.2em;font-size:14px;color:var(--gold2);line-height:1.7}
.cta-row{display:flex;gap:16px;margin:28px 0}
.btn{
  min-height:54px;padding:0 26px;border-radius:13px;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;font-size:14px;letter-spacing:.02em;border:1px solid transparent;
}
.btn-gold{
  background:linear-gradient(180deg,#ffd174,#eaa947);color:#191107;
  box-shadow:0 10px 28px rgba(202,136,32,.18);
}
.btn-dark{background:rgba(4,9,7,.76);border-color:var(--gold);color:#fff}
.badges{
  display:flex;gap:26px;flex-wrap:wrap;color:#f4dec0;
  font-size:11px;font-weight:700;letter-spacing:.08em
}

.ticker-panel{
  position:absolute;left:3vw;right:3vw;bottom:24px;z-index:8;
  min-height:126px;padding:18px 22px;
  display:grid;grid-template-columns:1.5fr 1fr 2.2fr repeat(4,.8fr) 1fr;
  gap:18px;align-items:center;
  border:1px solid var(--line);border-radius:22px;
  background:linear-gradient(180deg,rgba(10,24,16,.94),rgba(4,15,10,.92));
  box-shadow:var(--shadow),0 0 0 1px rgba(255,204,105,.08) inset;
  backdrop-filter:blur(14px);
}
.token-ident{display:flex;align-items:center;gap:14px}
.token-logo{
  width:58px;height:58px;border-radius:50%;display:grid;place-items:center;
  font-size:26px;color:var(--gold2);border:1px solid var(--gold);
  background:#0d2518;
}
.token-ident strong{font-family:Cinzel,serif;color:var(--gold2);font-size:20px}
.token-ident small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.metric{border-left:1px solid rgba(255,255,255,.09);padding-left:18px}
.metric span{display:block;color:#aeb7b0;font-size:10px;letter-spacing:.08em;margin-bottom:8px}
.metric strong{font-size:18px}.metric.price strong{font-size:28px}
.metric em{display:block;font-style:normal;color:var(--green);font-size:11px;margin-top:4px}
.positive{color:var(--green)}
.mini-chart{min-width:210px}
.chart-tabs{display:flex;gap:7px;margin-bottom:5px}
.chart-tabs button{
  background:transparent;color:#aaa;border:1px solid rgba(255,255,255,.08);
  border-radius:8px;padding:4px 9px;font-size:10px;cursor:pointer
}
.chart-tabs .active{color:var(--gold2);border-color:var(--gold)}
#chart{display:block;width:100%;height:76px}
.chart-link{
  min-height:46px;border:1px solid var(--gold);border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  color:var(--gold2);font-size:11px;font-weight:800
}
.scroll-cue{
  position:absolute;
  z-index:9;
  left:50%;
  bottom:150px;
  transform:translateX(-50%);
  text-align:center;
  font-size:9px;
  letter-spacing:.08em;
  color:#ddd;
}
.scroll-cue span{font-size:24px;color:var(--gold2)}

.arrow-event{
  position:absolute;z-index:3;left:42%;top:34%;width:64%;height:220px;
  pointer-events:none;opacity:0
}
.arrow{
  position:absolute;width:160px;height:5px;border-radius:4px;
  background:linear-gradient(90deg,#3a2b1c 0 76%,#d9e4d0 77% 91%,#f8f2e2 92%);
  box-shadow:0 0 10px rgba(255,255,255,.12);
}
.arrow::before{
  content:"";position:absolute;right:-16px;top:-5px;
  border-left:18px solid #b9bdc4;border-top:7px solid transparent;border-bottom:7px solid transparent
}
.a1{top:72px}.a2{top:101px}.a3{top:130px}
.arrow-event.fire{animation:eventFade 1.55s ease-out both}
.arrow-event.fire .arrow{animation:arrowFly 1.1s cubic-bezier(.1,.72,.22,1) both}
.arrow-event.fire .a2{animation-delay:.08s}.arrow-event.fire .a3{animation-delay:.16s}
@keyframes eventFade{0%{opacity:0}7%{opacity:1}85%{opacity:1}100%{opacity:0}}
@keyframes arrowFly{from{transform:translateX(0);filter:blur(0)}to{transform:translateX(65vw);filter:blur(.7px)}}

.content-section{
  min-height:70vh;display:grid;place-items:center;padding:100px 6vw;
  background:
    radial-gradient(circle at 20% 10%,rgba(51,92,55,.16),transparent 38%),
    #07130d;
}
.content-section.alt{background:#0a1a11}
.content-card{width:min(1100px,100%);padding:50px;border:1px solid rgba(239,180,79,.18);border-radius:24px;background:rgba(12,28,18,.66)}
.eyebrow{color:var(--gold);letter-spacing:.22em;font-size:12px;font-weight:800}
.content-card h2{font-family:Cinzel,serif;font-size:clamp(36px,5vw,74px);max-width:900px;margin:16px 0 24px}
.content-card p{font-size:20px;line-height:1.75;color:#dbe1da;max-width:880px}
.plan-grid,.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:35px}
.plan-grid div,.stats-grid div{background:#10251a;border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:24px}
.plan-grid b{display:block;color:var(--gold);font-size:30px;margin-bottom:18px}
.plan-grid span,.stats-grid span{display:block;color:#b8c0b9;font-size:12px;margin-top:9px}
.stats-grid{grid-template-columns:repeat(4,1fr)}
.stats-grid strong{font-size:24px;color:#fff3d8}
.muted{opacity:.7;font-size:14px!important}

@media (max-width:1100px){
  .nav{display:none}
  .hero-copy{top:16%;width:min(620px,58vw)}
  .ticker-panel{
    grid-template-columns:1.4fr 1fr 2fr repeat(2,.8fr);
    overflow:hidden;
  }
  .ticker-panel .metric:nth-of-type(n+4){display:none}
  .chart-link{display:none}
  .plan-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .hero{
    min-height: calc(100svh + 210px);
    padding-bottom: 210px;
  }
  .topbar{height:64px;padding:0 18px}
  .brand{font-size:18px}.top-actions .btn{display:none}
  .scene-bg{background-position:62% center;transform:scale(1.08)}
  .hero-vignette{background:linear-gradient(180deg,rgba(2,8,5,.18),rgba(2,8,5,.38) 35%,rgba(2,8,5,.92) 82%)}
  .hero-copy{left:20px;right:20px;top:auto;bottom:230px;width:auto}
  .hero-copy h1{font-size:56px}
  .headline{font-size:23px;margin:16px 0 10px}
  .subline{font-size:10px}
  .cta-row{margin:18px 0}.btn{min-height:48px;padding:0 16px}
  .badges{display:none}
  .ticker-panel{
    left:12px;right:12px;bottom:18px;}
  .token-ident{grid-column:1/2}.metric.price{grid-column:2/3}
  .mini-chart{grid-column:1/-1}.ticker-panel>.metric:not(.price),.chart-link{display:none}
  #chart{height:55px}
  .scroll-cue{display:none}
  .content-card{padding:28px 22px}.content-card p{font-size:17px}
  .plan-grid,.stats-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
  .scene-bg{transition:none!important}
}

/* === HERO / TOOLBAR FIX v3 === */

.hero {
    min-height: 100svh;
    height: 100svh;
    padding-bottom: 155px;
}

.ticker-panel {
    bottom: 18px;
}

.hero-copy {
    top: 18%;
    bottom: 170px;
}

.scroll-cue {
    display: none;
}

@media (max-height: 850px) and (min-width: 761px) {
    .hero-copy {
        top: 14%;
    }

    .hero-copy h1 {
        font-size: clamp(58px, 7vw, 105px);
    }

    .headline {
        font-size: clamp(20px, 1.8vw, 30px);
        margin: 20px 0 12px;
    }

    .cta-row {
        margin: 18px 0;
    }

    .ticker-panel {
        min-height: 118px;
        padding-top: 14px;
        padding-bottom: 14px;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 100svh;
        height: 100svh;
        padding-bottom: 170px;
    }

    .hero-copy {
        top: auto;
        bottom: 185px;
    }

    .ticker-panel {
        bottom: 12px;
    }
}

/* === TICKER GLASS + SCROLL CUE v4 === */

.ticker-panel {
    background:
        linear-gradient(
            180deg,
            rgba(6, 20, 12, 0.56),
            rgba(3, 14, 8, 0.52)
        );

    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);

    border: 1px solid rgba(239, 180, 79, 0.55);

    box-shadow:
        0 16px 55px rgba(0, 0, 0, 0.32),
        inset 0 0 0 1px rgba(255, 204, 105, 0.08);
}

/* Возвращаем SCROLL FOR THE STORY */
.scroll-cue {
    display: block !important;

    position: absolute;
    z-index: 20;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    text-align: center;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;

    color: rgba(255,255,255,0.92);

    text-shadow:
        0 2px 8px rgba(0,0,0,0.9);

    white-space: nowrap;
}

.scroll-cue span {
    display: block;
    margin-top: 1px;

    font-size: 25px;
    line-height: 18px;

    color: var(--gold2);

    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* === TICKER GLASS + SCROLL POSITION v5 === */

/* Более прозрачный glass-toolbar */
.ticker-panel {
    bottom: 48px !important;

    background:
        linear-gradient(
            180deg,
            rgba(6, 20, 12, 0.30),
            rgba(3, 14, 8, 0.26)
        ) !important;

    backdrop-filter: blur(18px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(125%) !important;

    border: 1px solid rgba(239, 180, 79, 0.48);

    box-shadow:
        0 14px 45px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 204, 105, 0.06);
}


/* SCROLL теперь находится ПОД toolbar */
.scroll-cue {
    display: block !important;

    position: absolute !important;
    z-index: 20;

    left: 50% !important;
    bottom: 5px !important;

    transform: translateX(-50%) !important;

    text-align: center;
    white-space: nowrap;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;

    color: rgba(255,255,255,0.92);

    text-shadow:
        0 2px 5px rgba(0,0,0,1),
        0 0 10px rgba(0,0,0,0.75);

    pointer-events: auto;
}

.scroll-cue span {
    display: block;

    margin-top: -2px;

    font-size: 23px;
    line-height: 18px;

    color: var(--gold2);

    text-shadow:
        0 2px 5px rgba(0,0,0,1);

    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}


/* На небольших desktop-экранах */
@media (max-height: 850px) and (min-width: 761px) {

    .ticker-panel {
        bottom: 45px !important;
    }

    .scroll-cue {
        bottom: 3px !important;
    }
}


/* Mobile */
@media (max-width: 760px) {

    .ticker-panel {
        bottom: 42px !important;

        background:
            linear-gradient(
                180deg,
                rgba(6, 20, 12, 0.38),
                rgba(3, 14, 8, 0.34)
            ) !important;
    }

    .scroll-cue {
        bottom: 3px !important;
        font-size: 8px;
    }

    .scroll-cue span {
        font-size: 20px;
    }
}


/* === FINAL GLASS + SCROLL TUNE v6 === */

.ticker-panel {
    background:
        linear-gradient(
            180deg,
            rgba(6, 20, 12, 0.21),
            rgba(3, 14, 8, 0.18)
        ) !important;

    backdrop-filter: blur(18px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(125%) !important;

    border: 1px solid rgba(239, 180, 79, 0.46);

    box-shadow:
        0 14px 42px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 204, 105, 0.05);
}

/* Чуть выше, чтобы стрелка полностью помещалась */
.scroll-cue {
    bottom: 9px !important;
}

/* Уменьшаем расстояние между текстом и стрелкой */
.scroll-cue span {
    margin-top: -6px !important;
    font-size: 21px !important;
    line-height: 14px !important;
}

@media (max-height: 850px) and (min-width: 761px) {
    .scroll-cue {
        bottom: 8px !important;
    }
}

@media (max-width: 760px) {

    .ticker-panel {
        background:
            linear-gradient(
                180deg,
                rgba(6, 20, 12, 0.28),
                rgba(3, 14, 8, 0.24)
            ) !important;
    }

    .scroll-cue {
        bottom: 7px !important;
    }

    .scroll-cue span {
        margin-top: -5px !important;
        font-size: 19px !important;
        line-height: 13px !important;
    }
}


/* =========================================================
   TIGHTS AMBIENT WORLD v7
   ========================================================= */

/* Ещё ~25% прозрачнее предыдущей версии */
.ticker-panel {
    background:
        linear-gradient(
            180deg,
            rgba(6, 20, 12, 0.15),
            rgba(3, 14, 8, 0.13)
        ) !important;

    backdrop-filter: blur(19px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(19px) saturate(130%) !important;

    border: 1px solid rgba(239, 180, 79, 0.45);

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.19),
        inset 0 0 0 1px rgba(255, 204, 105, 0.045);
}


/* SCROLL ближе к toolbar */
.scroll-cue {
    bottom: 16px !important;

    text-shadow:
        0 2px 5px rgba(0,0,0,1),
        0 0 12px rgba(0,0,0,.85);
}

.scroll-cue span {
    margin-top: -9px !important;
    font-size: 20px !important;
    line-height: 12px !important;
}


/* ---------------------------------------------------------
   Медленное "дыхание" всей сцены
   --------------------------------------------------------- */

.scene-bg {
    animation: sceneBreath 22s ease-in-out infinite alternate;
}

@keyframes sceneBreath {

    0% {
        background-position: 50% 50%;
        filter:
            saturate(1.02)
            brightness(1);
    }

    100% {
        background-position: 50.8% 49.4%;
        filter:
            saturate(1.07)
            brightness(1.025);
    }
}


/* ---------------------------------------------------------
   Дополнительная воздушная дымка / псевдо-облака
   --------------------------------------------------------- */

.cloud-veil {
    position: absolute;
    inset: 3% -20% auto -20%;

    height: 42%;

    pointer-events: none;

    opacity: 0.10;

    filter: blur(28px);

    background:
        radial-gradient(
            ellipse at 15% 45%,
            rgba(255,255,255,.70),
            transparent 31%
        ),
        radial-gradient(
            ellipse at 47% 24%,
            rgba(255,255,255,.53),
            transparent 28%
        ),
        radial-gradient(
            ellipse at 77% 50%,
            rgba(255,255,255,.58),
            transparent 35%
        );

    animation: cloudVeilMove 48s ease-in-out infinite alternate;
}

.cloud-veil.cloud-two {
    opacity: .065;
    top: 17%;

    animation-duration: 67s;
    animation-direction: alternate-reverse;
}

@keyframes cloudVeilMove {

    from {
        transform: translateX(-5%) translateY(0);
    }

    to {
        transform: translateX(8%) translateY(-8px);
    }
}


/* ---------------------------------------------------------
   Более яркие светлячки / золотые частицы
   --------------------------------------------------------- */

.particle.vivid {
    box-shadow:
        0 0 6px rgba(255,225,120,.95),
        0 0 15px rgba(255,205,72,.72),
        0 0 26px rgba(255,188,48,.32);

    animation-name: vividFloat;
}

@keyframes vividFloat {

    0% {
        transform:
            translateY(45px)
            translateX(0)
            scale(.55);

        opacity: 0;
    }

    15% {
        opacity: .8;
    }

    50% {
        transform:
            translateY(-40px)
            translateX(14px)
            scale(1.15);

        opacity: .92;
    }

    100% {
        transform:
            translateY(-155px)
            translateX(42px)
            scale(.7);

        opacity: 0;
    }
}


/* ---------------------------------------------------------
   Падающие / летящие листья
   --------------------------------------------------------- */

.ambient-leaf {
    position: absolute;

    width: 11px;
    height: 6px;

    pointer-events: none;

    border-radius:
        90% 10%
        90% 10%;

    background:
        linear-gradient(
            135deg,
            #a7b84c,
            #596b27
        );

    opacity: .68;

    filter: drop-shadow(
        0 2px 2px rgba(0,0,0,.25)
    );

    animation:
        driftingLeaf linear infinite;
}

@keyframes driftingLeaf {

    0% {
        transform:
            translate3d(0,-8vh,0)
            rotate(0deg);

        opacity: 0;
    }

    10% {
        opacity: .72;
    }

    55% {
        transform:
            translate3d(50px,48vh,0)
            rotate(260deg);
    }

    100% {
        transform:
            translate3d(-18px,108vh,0)
            rotate(620deg);

        opacity: 0;
    }
}


/* ---------------------------------------------------------
   Птицы вдалеке
   --------------------------------------------------------- */

.ambient-bird {
    position: absolute;

    left: -70px;

    width: 30px;
    height: 15px;

    pointer-events: none;

    opacity: .54;

    filter:
        drop-shadow(
            0 1px 1px rgba(0,0,0,.3)
        );

    animation:
        birdAcross linear infinite;
}

.ambient-bird::before,
.ambient-bird::after {

    content: "";

    position: absolute;

    top: 5px;

    width: 16px;
    height: 8px;

    border-top:
        2px solid
        rgba(18,24,20,.8);

    border-radius: 50%;
}

.ambient-bird::before {
    left: 0;
    transform: rotate(10deg);
}

.ambient-bird::after {
    right: 0;
    transform: rotate(-10deg);
}

@keyframes birdAcross {

    0% {
        transform:
            translateX(-8vw)
            translateY(0)
            scale(.55);

        opacity: 0;
    }

    8% {
        opacity: .52;
    }

    50% {
        transform:
            translateX(58vw)
            translateY(-18px)
            scale(.75);
    }

    92% {
        opacity: .48;
    }

    100% {
        transform:
            translateX(118vw)
            translateY(10px)
            scale(.62);

        opacity: 0;
    }
}


/* ---------------------------------------------------------
   Немного более живой существующий туман
   --------------------------------------------------------- */

.fog {
    opacity: .24 !important;

    animation-duration: 22s !important;
}

.fog-b {
    opacity: .16 !important;

    animation-duration: 33s !important;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .ticker-panel {

        background:
            linear-gradient(
                180deg,
                rgba(6,20,12,.22),
                rgba(3,14,8,.19)
            ) !important;
    }

    .scroll-cue {
        bottom: 13px !important;
    }

    .scroll-cue span {
        margin-top: -8px !important;
    }

    .ambient-bird {
        opacity: .36;
    }

    .cloud-veil {
        opacity: .075;
    }
}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .ambient-leaf,
    .ambient-bird,
    .cloud-veil {

        display: none !important;
    }
}



/* =====================================================
   TIGHTS — THE STORY v1
   ===================================================== */

.story-section {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        120px 6vw
        80px;

    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(3,11,7,.97) 0%,
            rgba(5,16,10,.91) 34%,
            rgba(5,15,10,.72) 62%,
            rgba(3,10,7,.88) 100%
        ),
        url('assets/hero.png');

    background-size: cover;

    background-position:
        center 58%;

    background-attachment: fixed;

}


/* subtle connection from hero */

.story-section::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 150px;

    background:
        linear-gradient(
            180deg,
            rgba(3,11,7,.86),
            rgba(3,11,7,0)
        );

    pointer-events: none;

}


.story-shade {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 73% 45%,
            rgba(239,180,79,.09),
            transparent 34%
        ),

        radial-gradient(
            circle at 20% 70%,
            rgba(41,102,57,.12),
            transparent 36%
        );

}


.story-inner {

    position: relative;

    z-index: 2;

    width: min(1320px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    gap: clamp(
        70px,
        9vw,
        160px
    );

    align-items: center;

}


/* LEFT SIDE */

.story-left {

    max-width: 640px;

}


.story-kicker {

    display: block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .32em;

}


.story-left h2 {

    margin: 0;

    font-family:
        Cinzel,
        Georgia,
        serif;

    color: var(--gold2);

    font-size:
        clamp(
            70px,
            8.2vw,
            142px
        );

    line-height: .78;

    letter-spacing: -.055em;

    text-shadow:
        0 12px 30px
        rgba(0,0,0,.55);

}


.story-rule {

    width: 130px;

    height: 2px;

    margin:
        34px 0
        28px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );

}


.story-left p {

    max-width: 580px;

    margin:
        0 0
        17px;

    color:
        rgba(
            239,
            238,
            223,
            .84
        );

    font-size:
        17px;

    line-height:
        1.72;

}


.story-left .story-lead {

    color: #fff8e9;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            24px,
            2.1vw,
            34px
        );

    line-height:
        1.25;

}


/* PARCHMENT */

.story-parchment {

    position: relative;

    width: 100%;

    max-width: 540px;

    justify-self: end;

    padding:
        55px
        54px
        48px;

    color: #302113;

    transform:
        rotate(1.1deg);

    border-radius:
        5px
        11px
        7px
        9px;

    background:

        radial-gradient(
            circle at 22% 13%,
            rgba(255,255,255,.35),
            transparent 18%
        ),

        radial-gradient(
            circle at 84% 82%,
            rgba(122,79,30,.11),
            transparent 28%
        ),

        linear-gradient(
            145deg,
            #ead7aa,
            #d8bb7d 70%,
            #cda866
        );

    box-shadow:

        0 26px 65px
        rgba(0,0,0,.55),

        inset 0 0 55px
        rgba(102,61,21,.13);

}


.story-parchment::before {

    content: "";

    position: absolute;

    inset: 10px;

    pointer-events: none;

    border:

        1px solid

        rgba(
            90,
            53,
            16,
            .18
        );

}


.parchment-pin {

    position: absolute;

    top: 19px;

    width: 15px;

    height: 15px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #f5d279,
            #7f561f
        );

    box-shadow:
        0 2px 5px
        rgba(0,0,0,.45);

}


.parchment-pin-left {
    left: 21px;
}

.parchment-pin-right {
    right: 21px;
}


.parchment-small {

    display: block;

    margin-bottom:
        13px;

    color: #725327;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .19em;

}


.story-parchment h3 {

    margin:
        0 0
        20px;

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        clamp(
            30px,
            3vw,
            47px
        );

    line-height: 1.08;

}


.parchment-line {

    height: 1px;

    margin:
        23px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(78,47,18,.55),
            transparent
        );

}


.story-parchment p {

    margin:
        8px 0;

    font-family:
        Georgia,
        serif;

    font-size:
        17px;

    line-height: 1.55;

}


.parchment-quote {

    margin-top:
        32px;

    padding:
        24px
        24px
        20px;

    border-left:
        3px solid
        rgba(
            77,
            48,
            19,
            .48
        );

    background:
        rgba(
            104,
            67,
            25,
            .08
        );

    font-family:
        Georgia,
        serif;

    font-size:
        22px;

    font-style:
        italic;

    line-height:
        1.4;

}


.parchment-sign {

    margin-top:
        17px;

    text-align: right;

    font-family:
        Georgia,
        serif;

    font-style:
        italic;

    font-size:
        16px;

}


/* BOTTOM LINE */

.story-bottom {

    position: relative;

    z-index: 2;

    margin:
        90px auto
        0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    color:
        rgba(
            239,
            180,
            79,
            .75
        );

    font-size:
        10px;

    font-weight: 700;

    letter-spacing:
        .26em;

}


.story-bottom b {

    color:
        rgba(
            255,
           255,
           255,
            .25
        );

}


/* MOBILE */

@media (max-width: 850px) {

    .story-section {

        min-height: auto;

        padding:
            100px
            22px
            70px;

        background-attachment:
            scroll;

        background-position:
            58% center;

    }


    .story-inner {

        grid-template-columns:
            1fr;

        gap:
            65px;

    }


    .story-left {

        max-width:
            none;

    }


    .story-left h2 {

        font-size:
            clamp(
                64px,
                19vw,
                105px
            );

    }


    .story-parchment {

        justify-self:
            center;

        padding:
            44px
            30px
            38px;

        transform:
            rotate(.6deg);

    }


    .story-bottom {

        margin-top:
            65px;

        gap:
            10px;

        flex-wrap:
            wrap;

        font-size:
            8px;

    }

}




/* =========================================================
   HERO — MEN IN TIGHTS NOD
   ========================================================= */

.hero-film-nod {

    display: inline-block;

    margin-top: 5px;

    color: var(--gold2);

    font-style: italic;

    font-size: .80em;

    letter-spacing: .015em;

    text-shadow:
        0 3px 14px
        rgba(0,0,0,.75);

}



/* =========================================================
   TIGHTS — THE PLAN v1
   ========================================================= */

.plan-section {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    padding:
        110px 5vw
        90px;

    background:

        linear-gradient(
            180deg,
            rgba(3,11,7,.91),
            rgba(5,18,11,.77)
        ),

        url('assets/hero.png');

    background-size: cover;

    background-position:
        center 72%;

    background-attachment:
        fixed;

    color: #fff;

}


/* transition from story */

.plan-section::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 160px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(3,10,7,.92),
            rgba(3,10,7,0)
        );

}


.plan-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 50% 34%,
            rgba(239,180,79,.10),
            transparent 31%
        ),

        radial-gradient(
            circle at 17% 65%,
            rgba(51,111,64,.13),
            transparent 29%
        ),

        radial-gradient(
            circle at 85% 66%,
            rgba(71,100,57,.11),
            transparent 30%
        );

}



/* HEADER */

.plan-header {

    position: relative;

    z-index: 3;

    width:
        min(
            1100px,
            100%
        );

    margin:
        0 auto
        80px;

    text-align: center;

}


.plan-kicker {

    color:
        var(--gold);

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        .32em;

}


.plan-header h2 {

    margin:
        10px 0
        15px;

    font-family:
        Cinzel,
        Georgia,
        serif;

    color:
        var(--gold2);

    font-size:
        clamp(
            65px,
            7vw,
            120px
        );

    line-height:
        .95;

    letter-spacing:
        -.045em;

    text-shadow:
        0 14px 34px
        rgba(0,0,0,.55);

}


.plan-header p {

    margin: 0;

    color:
        rgba(
            244,
            239,
            220,
            .82
        );

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            19px,
            1.7vw,
            27px
        );

    line-height:
        1.45;

}



/* =========================================================
   QUEST ROAD
   ========================================================= */

.quest-road {

    position: relative;

    z-index: 4;

    width:
        min(
            1450px,
            100%
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        repeat(
            5,
            1fr
        );

    gap:
        clamp(
            20px,
            2.7vw,
            46px
        );

    align-items: start;

}


/* dotted journey line */

.quest-line {

    position: absolute;

    z-index: -1;

    top: 43px;

    left: 8%;

    right: 8%;

    height: 2px;

    background:

        repeating-linear-gradient(
            90deg,
            rgba(239,180,79,.72)
            0 13px,

            transparent
            13px 25px
        );

    filter:
        drop-shadow(
            0 2px 3px
            rgba(0,0,0,.5)
        );

}



/* STEP */

.quest-step {

    position: relative;

    text-align: center;

}


.quest-step:nth-child(even) {

    margin-top:
        38px;

}


.quest-number {

    width:
        66px;

    height:
        66px;

    margin:
        0 auto
        21px;

    display: grid;

    place-items: center;

    border-radius:
        50%;

    border:
        2px solid
        rgba(
            239,
            180,
            79,
            .75
        );

    background:
        linear-gradient(
            145deg,
            #172b1d,
            #08150d
        );

    color:
        var(--gold2);

    font-family:
        Cinzel,
        serif;

    font-size:
        23px;

    font-weight:
        800;

    box-shadow:

        0 12px 25px
        rgba(0,0,0,.45),

        inset
        0 0 0 5px
        rgba(
            239,
            180,
            79,
            .045
        );

}



/* =========================================================
   WOOD SIGN
   ========================================================= */

.wood-sign {

    position: relative;

    min-height:
        300px;

    padding:
        37px
        25px
        30px;

    display: flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    color:
        #ead39d;

    border:
        2px solid
        rgba(
            102,
            66,
            30,
            .86
        );

    border-radius:
        13px
        6px
        11px
        7px;

    background:

        linear-gradient(
            90deg,
            rgba(255,255,255,.025),
            transparent 20% 80%,
            rgba(0,0,0,.08)
        ),

        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.018)
            0 2px,
            transparent
            2px 19px
        ),

        linear-gradient(
            145deg,
            #60401f,
            #382416
        );

    box-shadow:

        0 28px 50px
        rgba(0,0,0,.44),

        inset
        0 0 35px
        rgba(0,0,0,.22);

    transform:
        rotate(-1deg);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.quest-step:nth-child(even)
.wood-sign {

    transform:
        rotate(1.2deg);

}


.wood-sign:hover {

    transform:
        translateY(-7px)
        rotate(0deg);

    box-shadow:

        0 35px 60px
        rgba(0,0,0,.55),

        0 0 28px
        rgba(
            239,
            180,
            79,
            .12
        );

}


/* wooden nails */

.wood-sign::before,
.wood-sign::after {

    content: "";

    position:
        absolute;

    top:
        12px;

    width:
        10px;

    height:
        10px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #d9b065,
            #493018
        );

    box-shadow:
        0 2px 4px
        rgba(0,0,0,.55);

}


.wood-sign::before {
    left: 13px;
}

.wood-sign::after {
    right: 13px;
}



.sign-small {

    display: block;

    margin-bottom:
        18px;

    color:
        #c39a5e;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .17em;

}


.wood-sign strong {

    display: block;

    color:
        #ffe0a2;

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        clamp(
            24px,
            2vw,
            34px
        );

    line-height:
        1.03;

    text-shadow:
        0 3px 5px
        rgba(0,0,0,.65);

}


.wood-sign small {

    display: block;

    margin-top:
        22px;

    color:
        rgba(
            244,
            224,
            185,
            .69
        );

    font-family:
        Georgia,
        serif;

    font-size:
        13px;

    line-height:
        1.45;

}



/* =========================================================
   FOOTER
   ========================================================= */

.plan-footer {

    position: relative;

    z-index: 4;

    margin:
        90px auto
        0;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        23px;

    color:
        rgba(
            239,
            180,
            79,
            .72
        );

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .28em;

}


.plan-footer b {

    color:
        rgba(
            255,
            255,
            255,
            .22
        );

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1000px) {

    .quest-road {

        grid-template-columns:
            1fr;

        width:
            min(
                570px,
                100%
            );

        gap:
            30px;

    }


    .quest-line {

        top: 20px;

        bottom: 20px;

        left: 32px;

        right: auto;

        width: 2px;

        height: auto;

        background:

            repeating-linear-gradient(
                180deg,
                rgba(239,180,79,.65)
                0 13px,

                transparent
                13px 25px
            );

    }


    .quest-step,
    .quest-step:nth-child(even) {

        margin-top: 0;

        display: grid;

        grid-template-columns:
            68px
            1fr;

        gap:
            22px;

        align-items:
            center;

    }


    .quest-number {

        margin: 0;

    }


    .wood-sign {

        min-height:
            210px;

        text-align:
            left;

        align-items:
            flex-start;

        padding:
            30px;

    }


    .wood-sign strong {

        font-size:
            30px;

    }

}



@media (max-width: 600px) {

    .plan-section {

        min-height:
            auto;

        padding:
            90px
            20px
            70px;

        background-attachment:
            scroll;

        background-position:
            60%
            center;

    }


    .plan-header {

        margin-bottom:
            60px;

    }


    .plan-header h2 {

        font-size:
            63px;

    }


    .plan-header p {

        font-size:
            18px;

    }


    .quest-step,
    .quest-step:nth-child(even) {

        grid-template-columns:
            54px
            1fr;

        gap:
            14px;

    }


    .quest-number {

        width:
            52px;

        height:
            52px;

        font-size:
            18px;

    }


    .quest-line {

        left:
            25px;

    }


    .wood-sign {

        min-height:
            185px;

        padding:
            26px
            21px;

    }


    .wood-sign strong {

        font-size:
            26px;

    }


    .plan-footer {

        gap:
            9px;

        flex-wrap:
            wrap;

        font-size:
            8px;

        margin-top:
            60px;

    }

}




/* =========================================================
   TIGHTS — THE TREASURY v1
   ========================================================= */

.treasury-section {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    padding:
        110px 5vw
        90px;

    color: #fff;

    background:

        linear-gradient(
            180deg,
            rgba(3,10,7,.95),
            rgba(8,18,11,.82)
        ),

        url('assets/hero.png');

    background-size: cover;

    background-position:
        center 38%;

    background-attachment:
        fixed;

}


.treasury-section::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 160px;

    background:
        linear-gradient(
            180deg,
            rgba(3,10,7,.96),
            transparent
        );

    pointer-events: none;

}


.treasury-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 23% 52%,
            rgba(239,180,79,.12),
            transparent 32%
        ),

        radial-gradient(
            circle at 78% 45%,
            rgba(40,102,57,.12),
            transparent 34%
        );

}



/* =========================================================
   HEADER
   ========================================================= */

.treasury-header {

    position: relative;

    z-index: 3;

    width:
        min(
            1100px,
            100%
        );

    margin:
        0 auto
        75px;

    text-align: center;

}


.treasury-kicker {

    color: var(--gold);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .32em;

}


.treasury-header h2 {

    margin:
        10px 0
        14px;

    font-family:
        Cinzel,
        Georgia,
        serif;

    color: var(--gold2);

    font-size:
        clamp(
            60px,
            7vw,
            116px
        );

    line-height: .96;

    letter-spacing: -.045em;

    text-shadow:
        0 14px 35px
        rgba(0,0,0,.55);

}


.treasury-header p {

    margin: 0;

    color:
        rgba(
            244,
            238,
            218,
            .82
        );

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            18px,
            1.6vw,
            26px
        );

    line-height: 1.45;

}



/* =========================================================
   LAYOUT
   ========================================================= */

.treasury-layout {

    position: relative;

    z-index: 3;

    width:
        min(
            1350px,
            100%
        );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    gap:
        clamp(
            45px,
            7vw,
            100px
        );

    align-items: center;

}



/* =========================================================
   ROYAL LEDGER
   ========================================================= */

.royal-ledger {

    position: relative;

    padding:
        50px
        45px
        42px;

    color:
        #342315;

    transform:
        rotate(-1deg);

    border-radius:
        9px
        4px
        10px
        5px;

    background:

        radial-gradient(
            circle at 20% 15%,
            rgba(255,255,255,.34),
            transparent 18%
        ),

        linear-gradient(
            145deg,
            #ead4a0,
            #d3b272
        );

    box-shadow:

        0 30px 65px
        rgba(0,0,0,.55),

        inset 0 0 65px
        rgba(91,56,21,.12);

}


.royal-ledger::before {

    content: "";

    position: absolute;

    inset: 11px;

    border:
        1px solid
        rgba(92,55,20,.18);

    pointer-events: none;

}


.ledger-corner {

    position: absolute;

    width: 17px;

    height: 17px;

    top: 20px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #f6d47a,
            #79501f
        );

    box-shadow:
        0 3px 5px
        rgba(0,0,0,.42);

}


.corner-a {
    left: 22px;
}

.corner-b {
    right: 22px;
}


.ledger-label {

    display: block;

    margin-bottom:
        8px;

    color:
        #775326;

    font-size:
        11px;

    font-weight: 800;

    letter-spacing:
        .22em;

}


.royal-ledger h3 {

    margin:
        0;

    font-family:
        Cinzel,
        Georgia,
        serif;

    color:
        #3b2815;

    font-size:
        clamp(
            52px,
            5vw,
            82px
        );

    line-height: 1;

}


.ledger-divider {

    height: 1px;

    margin:
        27px 0
        13px;

    background:
        rgba(73,46,20,.24);

}


.ledger-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    padding:
        16px 0;

    border-bottom:
        1px solid
        rgba(74,47,21,.14);

}


.ledger-row span {

    color:
        #775b37;

    font-size: 10px;

    font-weight: 800;

    letter-spacing:
        .12em;

}


.ledger-row strong {

    text-align: right;

    color:
        #382616;

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        18px;

}


.ledger-row
.ledger-green {

    color:
        #346b3e;

}


.ledger-stamp {

    position: absolute;

    right: 38px;

    bottom: 42px;

    width: 92px;

    height: 92px;

    display: grid;

    place-items: center;

    text-align: center;

    border:
        4px double
        rgba(116,48,33,.42);

    border-radius: 50%;

    color:
        rgba(116,48,33,.46);

    font-family:
        Cinzel,
        serif;

    font-size:
        15px;

    font-weight:
        900;

    line-height: 1.05;

    transform:
        rotate(-13deg);

}



/* =========================================================
   RIGHT SIDE
   ========================================================= */

.treasury-right {

    display: flex;

    flex-direction: column;

    gap: 22px;

}


.treasury-card {

    border:
        1px solid
        rgba(239,180,79,.28);

    border-radius:
        19px;

    background:
        linear-gradient(
            145deg,
            rgba(13,30,19,.82),
            rgba(4,16,10,.78)
        );

    backdrop-filter:
        blur(13px);

    -webkit-backdrop-filter:
        blur(13px);

    box-shadow:
        0 22px 48px
        rgba(0,0,0,.32);

}


.contract-card {

    padding:
        38px
        38px
        32px;

}


.card-eyebrow {

    display: block;

    color:
        var(--gold);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .2em;

}


.contract-card h3 {

    margin:
        9px 0
        13px;

    color:
        #fff2d5;

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        clamp(
            31px,
            3vw,
            48px
        );

}


.contract-card p {

    margin:
        0 0
        25px;

    max-width:
        650px;

    color:
        rgba(235,239,232,.72);

    font-size:
        15px;

    line-height:
        1.6;

}


.contract-box {

    min-height:
        66px;

    padding:
        8px 9px
        8px 20px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap:
        20px;

    border:
        1px solid
        rgba(239,180,79,.22);

    border-radius:
        12px;

    background:
        rgba(2,10,6,.52);

}


.contract-box code {

    overflow: hidden;

    color:
        var(--gold2);

    font-size:
        14px;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

}


.copy-ca {

    min-width:
        90px;

    height:
        46px;

    border:
        1px solid
        rgba(239,180,79,.28);

    border-radius:
        10px;

    background:
        rgba(239,180,79,.08);

    color:
        rgba(255,221,155,.45);

    font-weight:
        800;

    cursor:
        not-allowed;

}


.contract-card small {

    display: block;

    margin-top:
        13px;

    color:
        rgba(235,239,232,.43);

    font-size:
        11px;

}



/* MINI GRID */

.treasury-mini-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 18px;

}


.mini-card {

    min-height:
        215px;

    padding:
        28px;

}


.mini-icon {

    display: block;

    margin-bottom:
        19px;

    font-size:
        28px;

}


.mini-card strong {

    display: block;

    margin:
        9px 0
        10px;

    color:
        #fff0d0;

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        19px;

}


.mini-card p {

    margin: 0;

    color:
        rgba(231,237,230,.66);

    font-size:
        13px;

    line-height:
        1.55;

}



/* =========================================================
   BOTTOM
   ========================================================= */

.treasury-bottom {

    position: relative;

    z-index: 3;

    margin:
        80px auto
        0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    color:
        rgba(239,180,79,.72);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .22em;

}


.treasury-bottom b {

    color:
        rgba(255,255,255,.2);

}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .treasury-layout {

        grid-template-columns:
            1fr;

        width:
            min(
                720px,
                100%
            );

    }


    .royal-ledger {

        transform:
            rotate(-.4deg);

    }

}


@media (max-width: 650px) {

    .treasury-section {

        min-height: auto;

        padding:
            90px
            20px
            70px;

        background-attachment:
            scroll;

    }


    .treasury-header {

        margin-bottom:
            55px;

    }


    .treasury-header h2 {

        font-size:
            56px;

    }


    .royal-ledger {

        padding:
            42px
            25px
            32px;

    }


    .ledger-row {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            7px;

    }


    .ledger-row strong {

        text-align:
            left;

    }


    .ledger-stamp {

        position:
            relative;

        right:
            auto;

        bottom:
            auto;

        margin:
            30px auto
            0;

    }


    .contract-card {

        padding:
            30px
            22px;

    }


    .contract-box {

        align-items:
            stretch;

        flex-direction:
            column;

        padding:
            14px;

    }


    .copy-ca {

        width: 100%;

    }


    .treasury-mini-grid {

        grid-template-columns:
            1fr;

    }


    .treasury-bottom {

        gap:
            9px;

        flex-wrap:
            wrap;

        margin-top:
            60px;

        font-size:
            8px;

    }

}




/* =========================================================
   TIGHTS — THE MEME WALL v1
   ========================================================= */

.memewall-section {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    padding:
        110px 5vw
        100px;

    color: #fff;

    background:

        linear-gradient(
            180deg,
            rgba(4,12,8,.95),
            rgba(6,16,10,.83)
        ),

        url('assets/hero.png');

    background-size: cover;

    background-position:
        center 65%;

    background-attachment:
        fixed;

}


/* darker edges */

.memewall-section::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            ellipse at center,
            transparent 25%,
            rgba(1,7,4,.38) 75%,
            rgba(1,6,3,.72)
        );

}


.memewall-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 47% 38%,
            rgba(239,180,79,.09),
            transparent 30%
        );

}



/* =========================================================
   HEADER
   ========================================================= */

.memewall-header {

    position: relative;

    z-index: 3;

    width:
        min(
            1050px,
            100%
        );

    margin:
        0 auto
        75px;

    text-align: center;

}


.memewall-kicker {

    color:
        var(--gold);

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        .32em;

}


.memewall-header h2 {

    margin:
        10px 0
        15px;

    font-family:
        Cinzel,
        Georgia,
        serif;

    color:
        var(--gold2);

    font-size:
        clamp(
            58px,
            7vw,
            112px
        );

    line-height:
        .95;

    letter-spacing:
        -.045em;

    text-shadow:
        0 14px 34px
        rgba(0,0,0,.58);

}


.memewall-header p {

    margin: 0;

    font-family:
        Georgia,
        serif;

    color:
        rgba(
            241,
            235,
            216,
            .81
        );

    font-size:
        clamp(
            18px,
            1.6vw,
            25px
        );

    line-height:
        1.45;

}



/* =========================================================
   WALL GRID
   ========================================================= */

.meme-wall {

    position: relative;

    z-index: 3;

    width:
        min(
            1450px,
            100%
        );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:
        clamp(
            25px,
            3vw,
            45px
        );

    align-items: start;

}



/* =========================================================
   POSTER BASE
   ========================================================= */

.meme-poster {

    position: relative;

    min-height:
        430px;

    padding:
        45px
        35px
        35px;

    display: flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    color:
        #342415;

    background:

        radial-gradient(
            circle at 20% 13%,
            rgba(255,255,255,.31),
            transparent 18%
        ),

        linear-gradient(
            145deg,
            #ead5a5,
            #cfaf73
        );

    border-radius:
        4px
        9px
        5px
        8px;

    box-shadow:

        0 28px 55px
        rgba(0,0,0,.48),

        inset
        0 0 55px
        rgba(87,53,20,.13);

    transform:
        rotate(-1.4deg);

    transition:
        transform .32s ease,
        box-shadow .32s ease;

}


.meme-poster:nth-child(even) {

    transform:
        rotate(1.4deg);

}


.meme-poster:nth-child(3n) {

    transform:
        rotate(-.6deg);

}


.meme-poster:hover {

    z-index: 10;

    transform:
        translateY(-10px)
        scale(1.025)
        rotate(0deg);

    box-shadow:

        0 38px 70px
        rgba(0,0,0,.60),

        0 0 35px
        rgba(
            239,
            180,
            79,
            .13
        );

}


/* nail */

.poster-pin {

    position: absolute;

    top: 17px;

    left: 50%;

    width: 15px;

    height: 15px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 32% 28%,
            #f1cf77,
            #6e491c
        );

    box-shadow:
        0 3px 5px
        rgba(0,0,0,.4);

}


.poster-top {

    display: block;

    margin-bottom:
        25px;

    color:
        rgba(84,55,27,.67);

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        .22em;

}


.meme-poster h3 {

    margin:
        10px 0
        15px;

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        clamp(
            28px,
            2.6vw,
            44px
        );

    line-height:
        1.03;

}


.meme-poster p {

    margin:
        8px 0
        18px;

    max-width:
        320px;

    font-family:
        Georgia,
        serif;

    font-size:
        16px;

    line-height:
        1.55;

}


.meme-poster strong {

    margin-top:
        16px;

    color:
        #73522c;

    font-size:
        11px;

    letter-spacing:
        .13em;

}


.poster-symbol {

    font-size:
        56px;

    line-height: 1;

}


.wanted-face {

    width:
        105px;

    height:
        105px;

    display: grid;

    place-items:
        center;

    margin-bottom:
        10px;

    border:
        3px solid
        rgba(67,42,20,.58);

    border-radius:
        5px;

    font-size:
        60px;

    background:
        rgba(78,48,20,.07);

}


.big-quote {

    margin:
        13px 0;

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        clamp(
            32px,
            3vw,
            52px
        );

    font-weight:
        900;

    line-height:
        1.05;

}


.three-arrows {

    margin:
        10px 0;

    color:
        #516633;

    font-size:
        31px;

    letter-spacing:
        .12em;

}



/* =========================================================
   POSTER VARIANTS
   ========================================================= */

.poster-dark {

    color:
        #e8d6ac;

    background:

        radial-gradient(
            circle at 20% 15%,
            rgba(255,255,255,.07),
            transparent 20%
        ),

        linear-gradient(
            145deg,
            #33281c,
            #18130e
        );

}


.poster-dark
.poster-top,
.poster-dark strong {

    color:
        #c49c58;

}


.poster-green {

    color:
        #eadfb8;

    background:

        linear-gradient(
            145deg,
            #405a2f,
            #172717
        );

}


.poster-green
.poster-top,
.poster-green strong {

    color:
        #e5be69;

}


.poster-beer {

    background:

        radial-gradient(
            circle at center,
            rgba(255,226,148,.18),
            transparent 45%
        ),

        linear-gradient(
            145deg,
            #e7c781,
            #bf914e
        );

}


.poster-red {

    color:
        #f1dfbd;

    background:

        linear-gradient(
            145deg,
            #703b30,
            #341b18
        );

}


.poster-red
.poster-top,
.poster-red strong {

    color:
        #e5b86d;

}


.poster-night {

    color:
        #d8dfd5;

    background:

        radial-gradient(
            circle at 50% 40%,
            rgba(85,129,96,.15),
            transparent 45%
        ),

        linear-gradient(
            145deg,
            #15231b,
            #090e0b
        );

}


.poster-night
.poster-top,
.poster-night strong {

    color:
        var(--gold);

}



/* =========================================================
   CENTER SIGN
   ========================================================= */

.meme-center-sign {

    grid-column:
        1 / -1;

    width:
        min(
            760px,
            90%
        );

    margin:
        30px auto
        5px;

    padding:
        45px
        35px;

    text-align:
        center;

    color:
        #ffe1a7;

    border:
        2px solid
        rgba(
            113,
            72,
            31,
            .88
        );

    border-radius:
        10px
        6px
        12px
        7px;

    background:

        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.018)
            0 2px,

            transparent
            2px 20px
        ),

        linear-gradient(
            145deg,
            #624020,
            #2f1d11
        );

    box-shadow:
        0 28px 60px
        rgba(0,0,0,.55);

    transform:
        rotate(.4deg);

}


.meme-center-sign span {

    color:
        #c99f61;

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        .24em;

}


.meme-center-sign h3 {

    margin:
        16px 0
        17px;

    font-family:
        Cinzel,
        serif;

    font-size:
        clamp(
            31px,
            3.5vw,
            54px
        );

    line-height:
        1.05;

}


.meme-center-arrow {

    color:
        var(--gold);

    font-size:
        31px;

    animation:
        memeArrow
        1.8s
        ease-in-out
        infinite;

}


@keyframes memeArrow {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(5px);
    }

}


.meme-center-sign small {

    color:
        rgba(
            245,
            218,
            170,
            .57
        );

    font-size:
        9px;

    letter-spacing:
        .17em;

}



/* =========================================================
   BOTTOM
   ========================================================= */

.memewall-bottom {

    position: relative;

    z-index: 3;

    margin:
        80px auto
        0;

    display: flex;

    justify-content:
        center;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        18px;

    color:
        rgba(
            239,
            180,
            79,
            .70
        );

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .22em;

}


.memewall-bottom b {

    color:
        rgba(
            255,
            255,
            255,
            .22
        );

}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .meme-wall {

        grid-template-columns:
            repeat(
                2,
                1fr
            );

    }

}


@media (max-width: 680px) {

    .memewall-section {

        min-height: auto;

        padding:
            90px
            20px
            70px;

        background-attachment:
            scroll;

    }


    .memewall-header {

        margin-bottom:
            55px;

    }


    .memewall-header h2 {

        font-size:
            54px;

    }


    .meme-wall {

        grid-template-columns:
            1fr;

        gap:
            25px;

    }


    .meme-poster {

        min-height:
            360px;

        transform:
            rotate(-.5deg);

    }


    .meme-poster:nth-child(even),
    .meme-poster:nth-child(3n) {

        transform:
            rotate(.5deg);

    }


    .meme-center-sign {

        width: 100%;

        padding:
            35px
            23px;

    }


    .memewall-bottom {

        margin-top:
            60px;

        gap:
            8px;

        font-size:
            8px;

    }

}




/* =========================================================
   TIGHTS — CHAPTER V / THE FOREST IS OPEN
   ========================================================= */

.forest-final {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    padding:
        130px 5vw
        0;

    color: #fff;

    background:

        linear-gradient(
            180deg,
            rgba(2,9,6,.82),
            rgba(2,8,5,.92) 66%,
            #020805 100%
        ),

        url('assets/hero.png');

    background-size: cover;

    background-position:
        center 48%;

    background-attachment:
        fixed;

}


/* fade from previous chapter */

.forest-final::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 190px;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(3,10,7,.98),
            rgba(3,10,7,0)
        );

}


/* deep cinematic vignette */

.forest-final-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 50% 38%,
            rgba(239,180,79,.13),
            transparent 30%
        ),

        radial-gradient(
            circle at 50% 58%,
            transparent 15%,
            rgba(1,6,4,.22) 58%,
            rgba(1,5,3,.71) 100%
        );

}


/* tiny artificial stars / fireflies */

.forest-stars {

    position: absolute;

    inset: 0;

    opacity: .55;

    pointer-events: none;

    background-image:

        radial-gradient(
            circle,
            rgba(255,215,117,.8) 0 1px,
            transparent 2px
        ),

        radial-gradient(
            circle,
            rgba(255,238,180,.55) 0 1px,
            transparent 2px
        );

    background-size:
        137px 137px,
        211px 211px;

    background-position:
        12px 35px,
        77px 19px;

    animation:
        finalStars
        6s
        ease-in-out
        infinite alternate;

}


@keyframes finalStars {

    from {
        opacity: .30;
    }

    to {
        opacity: .67;
    }

}



/* =========================================================
   CENTER CONTENT
   ========================================================= */

.forest-final-inner {

    position: relative;

    z-index: 3;

    width:
        min(
            1100px,
            100%
        );

    margin:
        0 auto;

    text-align: center;

}


.final-kicker {

    display: block;

    color:
        var(--gold);

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        .34em;

}


.forest-final h2 {

    margin:
        14px 0
        25px;

    font-family:
        Cinzel,
        Georgia,
        serif;

    color:
        var(--gold2);

    font-size:
        clamp(
            68px,
            9vw,
            150px
        );

    line-height:
        .83;

    letter-spacing:
        -.06em;

    text-shadow:

        0 17px 45px
        rgba(0,0,0,.75),

        0 0 35px
        rgba(239,180,79,.08);

}


.final-lead {

    margin:
        0 auto;

    color:
        rgba(
            248,
            241,
            222,
            .92
        );

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            23px,
            2vw,
            34px
        );

    line-height:
        1.42;

}


.final-rule {

    width:
        min(
            480px,
            70%
        );

    height: 1px;

    margin:
        38px auto
        27px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(239,180,79,.75),
            transparent
        );

}



/* =========================================================
   MANTRA
   ========================================================= */

.final-mantra {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    color:
        rgba(
            241,
            193,
            102,
            .85
        );

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        .25em;

}


.final-mantra b {

    color:
        rgba(
            255,
            255,
            255,
            .27
        );

}



/* =========================================================
   FINAL BUTTONS
   ========================================================= */

.final-actions {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

    margin:
        42px 0
        42px;

}


.final-btn {

    min-width:
        230px;

    min-height:
        62px;

    padding:
        0 30px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius:
        13px;

    font-size:
        14px;

    font-weight:
        900;

    letter-spacing:
        .035em;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;

}


.final-btn:hover {

    transform:
        translateY(-3px);

}


.final-btn-gold {

    color:
        #1a1209;

    background:
        linear-gradient(
            180deg,
            #ffd178,
            #e9a842
        );

    box-shadow:
        0 16px 35px
        rgba(222,151,49,.20);

}


.final-btn-gold:hover {

    box-shadow:
        0 20px 43px
        rgba(222,151,49,.32);

}


.final-btn-dark {

    color: #fff;

    border:
        1px solid
        rgba(239,180,79,.60);

    background:
        rgba(
            3,
            12,
            7,
            .60
        );

    backdrop-filter:
        blur(10px);

}



/* =========================================================
   FINAL CONTRACT
   ========================================================= */

.final-ca {

    width:
        min(
            700px,
            100%
        );

    margin:
        0 auto
        52px;

}


.final-ca > span {

    display: block;

    margin-bottom:
        11px;

    color:
        rgba(
            239,
            180,
            79,
            .68
        );

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        .25em;

}


.final-ca-box {

    min-height:
        64px;

    padding:
        7px
        8px
        7px
        22px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 18px;

    border:
        1px solid
        rgba(239,180,79,.30);

    border-radius:
        13px;

    background:
        rgba(
            2,
            10,
            6,
            .56
        );

    backdrop-filter:
        blur(12px);

    box-shadow:
        0 15px 38px
        rgba(0,0,0,.28);

}


.final-ca-box code {

    overflow: hidden;

    color:
        rgba(
            255,
            219,
            150,
            .75
        );

    font-size:
        13px;

    white-space: nowrap;

    text-overflow:
        ellipsis;

}


.final-ca-box button {

    min-width:
        94px;

    height:
        48px;

    border:
        1px solid
        rgba(239,180,79,.23);

    border-radius:
        10px;

    color:
        rgba(
            255,
            222,
            158,
            .42
        );

    background:
        rgba(
            239,
            180,
            79,
            .07
        );

    font-weight:
        900;

    cursor:
        not-allowed;

}



/* =========================================================
   SIGNATURE
   ========================================================= */

.final-signature {

    margin:
        55px 0
        115px;

}


.signature-main {

    display: block;

    color:
        var(--gold2);

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        clamp(
            34px,
            4vw,
            62px
        );

    font-weight:
        800;

    letter-spacing:
        .04em;

}


.signature-sub {

    display: block;

    margin-top:
        12px;

    color:
        rgba(
            236,
            225,
            199,
            .59
        );

    font-family:
        Georgia,
        serif;

    font-size:
        16px;

    font-style:
        italic;

}



/* =========================================================
   FOOTER
   ========================================================= */

.forest-footer {

    position: relative;

    z-index: 4;

    width:
        calc(
            100% + 10vw
        );

    margin-left:
        -5vw;

    padding:
        35px 5vw
        30px;

    display: grid;

    grid-template-columns:
        1fr auto;

    gap:
        25px 60px;

    align-items: center;

    border-top:
        1px solid
        rgba(
            239,
            180,
            79,
            .13
        );

    background:
        rgba(
            1,
            7,
            4,
            .90
        );

    backdrop-filter:
        blur(14px);

}


.footer-brand {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.footer-brand strong {

    color:
        var(--gold2);

    font-family:
        Cinzel,
        Georgia,
        serif;

    font-size:
        22px;

}


.footer-brand span {

    color:
        rgba(
            223,
            227,
            220,
            .54
        );

    font-size:
        11px;

}


.footer-links {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap:
        25px;

}


.footer-links a {

    color:
        rgba(
            237,
            224,
            195,
            .72
        );

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .13em;

}


.footer-links a:hover {

    color:
        var(--gold2);

}


.footer-note {

    grid-column:
        1 / -1;

    padding-top:
        20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .055
        );

    color:
        rgba(
            211,
            216,
            209,
            .38
        );

    font-size:
        9px;

    line-height:
        1.55;

    letter-spacing:
        .025em;

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .forest-final {

        min-height: auto;

        padding:
            105px
            20px
            0;

        background-attachment:
            scroll;

        background-position:
            61%
            center;

    }


    .forest-final h2 {

        font-size:
            clamp(
                59px,
                18vw,
                90px
            );

    }


    .final-lead {

        font-size:
            20px;

    }


    .final-actions {

        flex-direction:
            column;

    }


    .final-btn {

        width:
            min(
                390px,
                100%
            );

    }


    .final-ca-box {

        align-items:
            stretch;

        flex-direction:
            column;

        padding:
            14px;

    }


    .final-ca-box button {

        width: 100%;

    }


    .final-signature {

        margin-bottom:
            80px;

    }


    .forest-footer {

        grid-template-columns:
            1fr;

        text-align:
            center;

    }


    .footer-brand {

        align-items:
            center;

    }


    .footer-links {

        justify-content:
            center;

        gap:
            15px;

    }

}




/* =========================================================
   TIGHTS — PRELAUNCH / LIVE RUNTIME
   ========================================================= */


.runtime-disabled {

    opacity: .58 !important;

    cursor:
        default !important;

    filter:
        saturate(.65);

}


.runtime-enabled {

    cursor:
        pointer !important;

    color:
        var(--gold2) !important;

}



/* ---------------------------------------------------------
   PRE-LAUNCH BADGE
   --------------------------------------------------------- */

.launch-status {

    position:
        absolute;

    z-index:
        18;

    top:
        92px;

    right:
        4vw;

    min-height:
        36px;

    padding:
        0 15px;

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    border:
        1px solid
        rgba(
            239,
            180,
            79,
            .40
        );

    border-radius:
        999px;

    background:
        rgba(
            3,
            13,
            8,
            .66
        );

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    color:
        rgba(
            255,
            220,
            151,
            .85
        );

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        .16em;

    box-shadow:
        0 8px 24px
        rgba(
            0,
            0,
            0,
            .20
        );

}


.launch-status i {

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        #d69a3d;

    box-shadow:
        0 0 10px
        rgba(
            214,
            154,
            61,
            .70
        );

}


.launch-status-live {

    color:
        #baf0cb;

    border-color:
        rgba(
            65,
            211,
            119,
            .45
        );

}


.launch-status-live i {

    background:
        #35d675;

    box-shadow:
        0 0 12px
        rgba(
            53,
            214,
            117,
            .90
        );

    animation:
        livePulse
        1.7s
        ease-in-out
        infinite;

}


@keyframes livePulse {

    0%,
    100% {

        transform:
            scale(1);

        opacity:
            .72;

    }

    50% {

        transform:
            scale(1.38);

        opacity:
            1;

    }

}



@media (max-width:760px) {

    .launch-status {

        top:
            75px;

        right:
            15px;

        min-height:
            31px;

        padding:
            0 11px;

        font-size:
            8px;

    }

}


