/* Ungate: dark, with the partnership lime used sparingly */
.ug { --ug-l: #A6F11E; background: #0A0A0A; color: #EEECE6; }
.ug-k { font: 500 12px/1.3 "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: rgb(238 236 230 / .55); }
.ug-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); grid-template-areas: "label vis" "h1 vis" "sub vis"; align-content: start; gap: 18px clamp(30px, 5vw, 80px); padding: calc(var(--hdr, 72px) + clamp(30px, 5vw, 70px)) var(--g) clamp(60px, 8vw, 110px); }
.ug-label { grid-area: label; margin: 0; display: flex; gap: 14px; font: 500 12px/1.3 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: rgb(238 236 230 / .55); }
.ug-label a { color: inherit; }
.ug-hero h1 { grid-area: h1; margin: 0; font-size: clamp(56px, 9vw, 160px); font-weight: 500; line-height: .88; letter-spacing: -.06em; }
.ug-hero h1 i { font-style: normal; color: var(--ug-l); }
.ug-sub { grid-area: sub; margin: 0; max-width: 34ch; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.45; color: rgb(238 236 230 / .72); }
.ug-vis { grid-area: vis; margin: 0; }
.ug-vis img { width: 100%; height: auto; display: block; border-radius: 10px; }
.ug-vis figcaption { margin-top: 10px; font: 500 11px/1.3 "Geist Mono", monospace; letter-spacing: .05em; text-transform: uppercase; color: rgb(238 236 230 / .5); }
.ug-sec { padding: clamp(70px, 9vw, 140px) var(--g); border-top: 1px solid rgb(238 236 230 / .12); }
.ug-sec h2 { margin: 14px 0 0; font-size: clamp(32px, 4vw, 64px); font-weight: 500; line-height: .98; letter-spacing: -.045em; max-width: 16ch; }
.ug-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px clamp(30px, 6vw, 110px); }
.ug-two p { margin: 0 0 18px; max-width: 58ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: rgb(238 236 230 / .82); }
.ug-tl { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 28px; }
.ug-tl li { padding-left: 18px; border-left: 2px solid var(--ug-l); }
.ug-tl blockquote { margin: 8px 0; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -.015em; color: #EEECE6; }
.ug-tl p { font-size: 15px; color: rgb(238 236 230 / .6); margin: 0; }
.ug-pg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); margin-top: clamp(30px, 4vw, 60px); }
.ug-post { margin: 0; padding: clamp(22px, 2.6vw, 36px); border-radius: 12px; border: 1px solid rgb(238 236 230 / .16); background: #121212; }
.ug-post figcaption { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 14px; color: rgb(238 236 230 / .55); }
.ug-post figcaption b { color: #EEECE6; font-weight: 600; }
.ug-post blockquote { margin: 16px 0 0; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -.02em; }
.ug-them { border-color: var(--ug-l); }
.ug-note { font: 500 12px/1.5 "Geist Mono", monospace !important; letter-spacing: .04em; text-transform: uppercase; color: rgb(238 236 230 / .5) !important; }
@media (max-width: 899px) { .ug-hero, .ug-two, .ug-pg { grid-template-columns: 1fr; } .ug-hero { grid-template-areas: "label" "h1" "sub" "vis"; } }
.ug-id-h { display: grid; gap: 14px; max-width: 64ch; margin-bottom: clamp(30px, 4vw, 60px); }
.ug-id-h p { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: rgb(238 236 230 / .72); }
.ug-id figure { margin: 0; }
.ug-id img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ug-id figcaption { margin-top: 10px; font: 500 11px/1.3 "Geist Mono", monospace; letter-spacing: .05em; text-transform: uppercase; color: rgb(238 236 230 / .5); }
.ug-wide { margin-bottom: clamp(16px, 2vw, 30px) !important; }
.ug-idg { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 30px); margin-bottom: clamp(16px, 2vw, 30px); align-items: stretch; }
.ug-mark { display: grid; place-items: center; background: #111; border-radius: 10px; padding: 12%; }
.ug-mark img { width: 70%; border-radius: 0; }
@media (max-width: 899px) { .ug-idg { grid-template-columns: 1fr; } }

/* ---- rebrand concept: same mark, the gate locks when an action is proven ---- */
.ugr { --l: #C4FF00; --k: #080708; --w: #F2F2EC; --lg: #2A2A28; padding: clamp(80px, 10vw, 160px) var(--g); background: var(--k); border-top: 1px solid rgb(196 255 0 / .25); }
.ugr-h { display: grid; gap: 16px; max-width: 64ch; }
.ugr-h h2 { margin: 6px 0 0; font-size: clamp(44px, 6.4vw, 110px); font-weight: 700; line-height: .9; letter-spacing: -.05em; color: var(--l); }
.ugr-h p { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: rgb(242 242 236 / .78); }
.ugr-stage { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "mark state" "mark btn" "mark line"; align-items: center; gap: 18px clamp(30px, 5vw, 90px); padding: clamp(30px, 5vw, 80px); border-radius: 14px; background: radial-gradient(60% 70% at 25% 50%, rgb(196 255 0 / .08), transparent 70%), #0E0D0E; border: 1px solid rgb(242 242 236 / .1); }
.ugr-mark { grid-area: mark; justify-self: center; width: min(60%, 300px); overflow: visible; fill: var(--l); }
.ugr-a, .ugr-b { transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .6s; }
.ugr-stage:not(.is-locked) .ugr-a { transform: translate(-9px, 7px); opacity: .55; }
.ugr-stage:not(.is-locked) .ugr-b { transform: translate(9px, -7px); opacity: .55; }
.ugr-state { grid-area: state; display: grid; gap: 4px; font-family: "Geist Mono", ui-monospace, monospace; }
.ugr-state b { font-size: clamp(26px, 2.6vw, 42px); font-weight: 500; letter-spacing: -.02em; color: var(--w); }
.ugr-state span:last-child { font-size: 13px; color: rgb(242 242 236 / .55); text-transform: uppercase; letter-spacing: .06em; }
.ugr-dot { width: 10px; height: 10px; border-radius: 50%; background: #FF5A3C; margin-bottom: 8px; transition: background .4s; }
.ugr-stage.is-locked .ugr-dot { background: var(--l); box-shadow: 0 0 0 6px rgb(196 255 0 / .15); }
.ugr-btn { grid-area: btn; all: unset; justify-self: start; cursor: pointer; padding: 14px 22px; border-radius: 999px; background: var(--l); color: var(--k); font: 600 14px/1 "Geist", system-ui, sans-serif; letter-spacing: -.01em; transition: transform .2s; }
.ugr-btn:hover { transform: translateY(-2px); } .ugr-btn:focus-visible { outline: 2px solid var(--w); outline-offset: 3px; }
.ugr-stage.is-locked .ugr-btn { background: transparent; color: var(--l); box-shadow: inset 0 0 0 1px var(--l); }
.ugr-line { grid-area: line; margin: 0; font-size: clamp(22px, 2.4vw, 38px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--w); }
.ugr-line em { font-style: normal; color: var(--l); }
.ugr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(14px, 1.6vw, 22px); }
.ugr-tile { position: relative; min-height: 260px; border-radius: 14px; background: #0E0D0E; border: 1px solid rgb(242 242 236 / .1); padding: clamp(20px, 2.4vw, 34px); display: grid; align-content: center; gap: 16px; overflow: hidden; }
.ugr-tile > span:last-child { font: 500 11px/1.3 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: rgb(242 242 236 / .5); }
.ugr-word { background: var(--l); padding-bottom: 0; align-content: end; gap: 0; padding-top: clamp(70px, 9vw, 130px); }
.ugr-word svg { display: block; width: 100%; height: auto; }
.ugr-word svg path { fill: var(--l); }
.ugr-word > span:last-child { margin: 0 calc(-1 * clamp(20px, 2.4vw, 34px)); padding: 18px clamp(20px, 2.4vw, 34px) clamp(20px, 2.4vw, 30px); background: #080708; color: rgb(196 255 0 / .75); }
.ugr-pal { padding: 0; grid-template-rows: repeat(4, 1fr); gap: 0; align-content: stretch; }
.ugr-pal span { background: var(--c); color: var(--t); display: flex; justify-content: space-between; align-items: center; padding: 0 18px; font: 500 12px/1 "Geist Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.ugr-pal i { font-style: normal; opacity: .75; } .ugr-pal span:last-child { font: inherit; color: var(--t); letter-spacing: .05em; }
.ugr-t1 { font-size: clamp(28px, 2.6vw, 42px); font-weight: 700; letter-spacing: -.045em; line-height: .95; color: var(--w); }
.ugr-t2 { font: 500 12px/1.4 "Geist Mono", monospace; color: var(--l); }
.ugr-h3 { margin: clamp(60px, 7vw, 110px) 0 clamp(20px, 2.4vw, 34px); font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.03em; color: var(--w); }
.ugr-ag { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); align-items: start; }
.ugr-ag figure { margin: 0; } .ugr-ag figcaption { margin-top: 10px; font: 500 11px/1.3 "Geist Mono", monospace; letter-spacing: .05em; text-transform: uppercase; color: rgb(242 242 236 / .5); }
.ugr-ag svg { fill: var(--l); }
.ugr-receipt > :not(figcaption) { background: var(--w); color: var(--k); }
.ugr-rh { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; border-radius: 10px 10px 0 0; font: 600 13px/1 "Geist", sans-serif; }
.ugr-rh svg { width: 16px; fill: var(--k) !important; } .ugr-rh span { margin-left: auto; font: 500 11px/1 "Geist Mono", monospace; opacity: .6; }
.ugr-receipt dl { margin: 0; padding: 4px 16px 14px; display: grid; gap: 8px; border-top: 1px dashed rgb(8 7 8 / .25); }
.ugr-receipt dl div { display: flex; justify-content: space-between; gap: 10px; font: 500 12px/1.3 "Geist Mono", monospace; padding-top: 8px; }
.ugr-receipt dt { opacity: .55; } .ugr-receipt dd { margin: 0; text-align: right; }
.ugr-seal { margin: 0; padding: 12px 16px; border-radius: 0 0 10px 10px; background: var(--l) !important; font: 700 13px/1 "Geist Mono", monospace; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.ugr-x { border-radius: 12px; overflow: hidden; background: #000; border: 1px solid rgb(242 242 236 / .12); }
.ugr-x figcaption { padding: 0 14px 14px; }
.ugr-xb { height: 92px; background: var(--l); display: flex; align-items: flex-end; overflow: hidden; }
.ugr-xw { font: 900 64px/.8 "Geist", sans-serif; letter-spacing: -.06em; color: var(--k); white-space: nowrap; transform: translateY(8px); }
.ugr-xa { width: 64px; height: 64px; margin: -32px 0 0 14px; border-radius: 50%; background: var(--k); border: 3px solid #000; display: grid; place-items: center; position: relative; } .ugr-xa svg { width: 26px; }
.ugr-xt { padding: 8px 14px 14px; display: grid; gap: 2px; color: var(--w); } .ugr-xt b { font-size: 15px; } .ugr-xt span { font-size: 13px; opacity: .55; } .ugr-xt p { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }
.ugr-post > div { aspect-ratio: 1 / .5; display: grid; align-content: center; padding: 16px; }
.ugr-pa { background: var(--lg); border-radius: 10px 10px 0 0; color: rgb(242 242 236 / .7); } .ugr-pa span { font-size: 22px; font-weight: 600; letter-spacing: -.03em; text-decoration: line-through; text-decoration-color: #FF5A3C; } .ugr-pa i { font: 500 11px/1.3 "Geist Mono", monospace; margin-top: 8px; }
.ugr-pb { background: var(--l); color: var(--k); border-radius: 0 0 10px 10px; grid-template-columns: 1fr auto; align-items: center; } .ugr-pb span { font-size: 34px; font-weight: 800; letter-spacing: -.05em; } .ugr-pb svg { width: 26px; fill: var(--k) !important; }
.ugr-bd { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 999px; background: #121112; border: 1px solid rgb(196 255 0 / .5); } .ugr-bd svg { width: 22px; flex: none; }
.ugr-bd span { display: grid; gap: 3px; } .ugr-bd b { font-size: 14px; color: var(--w); } .ugr-bd i { font: 500 10.5px/1.3 "Geist Mono", monospace; font-style: normal; color: rgb(242 242 236 / .6); }
@media (max-width: 899px) { .ugr-stage { grid-template-columns: 1fr; grid-template-areas: "mark" "state" "btn" "line"; } .ugr-grid, .ugr-ag { grid-template-columns: 1fr; } .ugr-mark { width: 46%; } }
@media (prefers-reduced-motion: reduce) { .ugr-a, .ugr-b { transition: none; } }

/* ---- god-level pass: 3D mark, construction, iconography, gate field, wordmark motion ---- */
.ugr-3d { grid-area: mark; position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; justify-self: center; cursor: grab; }
.ugr-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ugr-3d .ugr-mark { position: absolute; inset: 18%; width: 64%; transition: opacity .6s; }
.ugr-3d.is-3d .ugr-mark { opacity: 0; }
.ugr-sys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(14px, 1.6vw, 22px); }
.ugr-con { margin: 0; padding: clamp(20px, 2.4vw, 34px); border-radius: 14px; background: #0E0D0E; border: 1px solid rgb(242 242 236 / .1); }
.ugr-con svg { width: 100%; height: auto; display: block; }
.ugr-con .cg line { stroke: rgb(242 242 236 / .07); stroke-width: .3; }
.ugr-con .cha { fill: rgb(196 255 0 / .9); } .ugr-con .chb { fill: none; stroke: var(--l); stroke-width: .6; }
.ugr-con .cl { stroke: #FF5A3C; stroke-width: .4; stroke-dasharray: 2 2; } .ugr-con .cs { fill: none; stroke: rgb(242 242 236 / .3); stroke-width: .3; stroke-dasharray: 1.5 1.5; }
.ugr-con text { font: 500 3.4px "Geist Mono", monospace; fill: rgb(242 242 236 / .6); letter-spacing: .05em; text-transform: uppercase; }
.ugr-con figcaption, .ugr-k2, .ugr-field > span { font: 500 11px/1.3 "Geist Mono", monospace; letter-spacing: .05em; text-transform: uppercase; color: rgb(242 242 236 / .5); }
.ugr-con figcaption { margin-top: 10px; }
.ugr-icons { padding: clamp(20px, 2.4vw, 34px); border-radius: 14px; background: var(--l); color: var(--k); display: grid; align-content: space-between; gap: 20px; }
.ugr-k2 { margin: 0; color: rgb(8 7 8 / .6) !important; }
.ugr-icons ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px; }
.ugr-icons li { display: grid; justify-items: center; gap: 10px; font: 600 12px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.ugr-icons svg { width: clamp(44px, 4.5vw, 66px); height: auto; fill: currentColor; overflow: visible; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.ugr-icons li:hover svg { transform: translateY(-4px) rotate(-6deg); }
.ugr-field { position: relative; margin-top: clamp(14px, 1.6vw, 22px); padding: clamp(18px, 2.4vw, 34px) clamp(18px, 2.4vw, 34px) 54px; border-radius: 14px; background: #0E0D0E; border: 1px solid rgb(242 242 236 / .1); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 22px); cursor: crosshair; }
.ugr-field i { display: grid; place-items: center; aspect-ratio: 1; }
.ugr-field svg { width: 58%; overflow: visible; fill: rgb(196 255 0 / .55); }
.ugr-field .fa, .ugr-field .fb { transition: transform .8s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 14ms), fill .6s; }
.ugr-field .fa { transform: translate(-8px, 6px); } .ugr-field .fb { transform: translate(8px, -6px); }
.ugr-field:hover .fa, .ugr-field:hover .fb, .ugr-field.is-locked .fa, .ugr-field.is-locked .fb { transform: none; }
.ugr-field:hover svg, .ugr-field.is-locked svg { fill: var(--l); }
.ugr-field > span { position: absolute; left: clamp(18px, 2.4vw, 34px); bottom: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .ugr-word svg { clip-path: inset(0 100% 0 0); }
  .ugr-word.in svg { animation: ugr-gates 1.4s steps(6, end) forwards; }
}
@keyframes ugr-gates { to { clip-path: inset(0 0 0 0); } }
@media (max-width: 899px) { .ugr-sys { grid-template-columns: 1fr; } .ugr-field { grid-template-columns: repeat(6, minmax(0, 1fr)); } .ugr-field i:nth-child(n+25) { display: none; } }
/* world, re-imagined: concept visuals built from Ungate's own site images */
.ugw-p { max-width: 62ch; margin: -6px 0 clamp(22px, 2.6vw, 36px); color: rgb(242 242 236 / .66); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; }
.ugw-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.ugw-g figure { margin: 0; overflow: hidden; }
.ugw-g .ugw-wide { grid-column: 1 / -1; }
.ugw-g img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ugw-g figure:hover img { transform: scale(1.03); }
.ugw-g figcaption { margin-top: 10px; font: 500 11px/1.3 "Geist Mono", monospace; letter-spacing: .05em; text-transform: uppercase; color: rgb(242 242 236 / .5); }
@media (max-width: 899px) { .ugw-g { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ugw-g img { transition: none; } }
