@font-face {
    font-family: "Karst";
    src:
    url("../fonts/Karst-Light.woff2") format("woff2"),
    url("../fonts/Karst-Light.woff") format("woff"),
    url("../fonts/Karst-Light.otf")  format("opentype");
    font-weight: 300; /* Light */
    font-style: normal;
    font-display: swap;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}
#main_page, #role_page {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

html, body { margin: 0; padding: 0; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html, body, .scroll-area {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.scroll-area::-webkit-scrollbar {
    display: none;
}

#main_page {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}
#main_page > video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 100vh;
    height: 100vw;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    transition: filter 220ms ease;
}

#bgvid.is-blurred {
    filter: blur(6px);
}

#arrow {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: end center;
    z-index: 1;
}
.chevrons { margin-bottom: 15vh; }
.chevrons path { fill: none; stroke-linecap: round; stroke-width: 2; }
.chevrons .top { stroke: #222222; }
.chevrons .mid { stroke: #353535; }
.chevrons .bot { stroke: #595959; }

#name_log{
	position: absolute;
	top: 8vh;
	left: 0;
	right: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: max-content;
	justify-content: center;
	align-items: end;
	column-gap: clamp(12px, 3.5vw, 22px);
	z-index: 2;

	--brand: min(13.5vh, calc((100vw - 32px) / 4.8));
	--tag-r: 0.093333;		/* 1.26 / 13.5 */
	--gap-r: 0.062222;		/* 0.84 / 13.5 */
	--tag: calc(var(--brand) * var(--tag-r));
	--gap: calc(var(--brand) * var(--gap-r));
	--logo-h: calc(var(--brand) + var(--tag) + var(--gap));
}

.logo{
	display: block;
	margin-top: 0;
	width: var(--logo-h);
	height: var(--logo-h);
}
.logo path { fill: #FBFBFB; }

.wordmark{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#name_log .brand-text{
	font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: var(--brand);
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: #FBFBFB;
	white-space: nowrap;
}

#name_log .tagline{
	margin-top: var(--gap);
	font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: var(--tag);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.9);
	white-space: nowrap;
	text-shadow: 0 0 10px rgba(0,0,0,.35);
}

#mid_copy{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1;
    pointer-events: none;
    padding-inline: 2.89vh;
}

#mid_copy .copy{
    margin: 0;
    text-align: center;
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 3.164vh;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: #FBFBFB;
    text-shadow: 0 0 14px rgba(0,0,0,.45);
}

#main_page, .page {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.page{
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: transparent;
    display: grid;
    place-items: center;
    z-index: 2;
}

.page h1{
    margin: 0;
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: clamp(28px, 7vw, 96px);
    color: #FBFBFB;
    text-shadow: 0 0 14px rgba(0,0,0,.45);
}

#blur-overlay{
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 220ms ease;
}
#blur-overlay.on { opacity: 1; }

.test_h {
    font-color: white;
}

#page_menu .menu_text {
    transition: color 160ms ease, transform 160ms ease;
}
#page_menu .menu_text .text_line {
    transition: width 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

@media (hover: hover) {
    #page_menu .menu_text:hover {
        color: #e3e3e3;
        transform: translateX(0.422vh);
    }
    #page_menu .menu_text:hover .text_line {
        width: 24.5px;
        background: #e3e3e3;
        opacity: 0.9;
    }
}

#page_menu {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

#page_menu .menu_text {
    color: #828282;
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.32vh;
}

#page_menu .menu_text_selected {
    color: white;
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.74vh;
}

#page_menu .text_line {
	display: inline-block;
	width: 1.2vw;
	height: 3.5px;
	background: #828282;
	margin-bottom: 4.375px;
	margin-right: 35px;
}

#page_menu .text_line_selected {
	display: inline-block;
	width: 2.28vw;
	height: 0.422vh;
	background: white;
	margin-bottom: 0.527vh;
	margin-right: 2.4vw;
}

#page_menu.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#page_menu .menu_text,
#page_menu .menu_text_selected {
  cursor: pointer;
}

#page_menu .menu_text * ,
#page_menu .menu_text_selected * {
  cursor: pointer;
}

.role_icon {
    fill: white;
    opacity: 0.8;
    margin-top: 5vh;
}

#roles_div {
    gap:9vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 15vw;
}

.role {
    width: 32vw;
    height: 72vh;
    display: grid;
    place-items: center;
    gap: 0;
    transition: transform 160ms ease;
}

@media (hover: hover){
  .role:hover{
    transform: scale(1.035);
  }
}

.role_text {
    grid-area: 2 / 1;
    color: white;
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 4vh;
}

#content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70vw;
	height: 95vh;
	z-index: 3;
	font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#content * {
	font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#content h1 {
	font-size: 4vh;
	color: white;
	position: fixed;
	top: 0%;
	left: 50%;
	z-index: 3;
	transform: translate(-50%, -50%);
	margin-top: 5vh;
}

.role_icon {
    width: 21.6vw;
}

.form-wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(70.0vw, 132.2vh);
	height: min(50.3vw, 95.0vh);
}
.form-card {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: visible;
}

.form-card .card-bg{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
}

.field-label {
	position: absolute;
	font-size: min(1.7vw, 3.2vh);
	line-height: 1.2;
	user-select: none;
	color: white;
}
.field-label--amount { top: min(9.2vw, 17.4vh); left: min(4.0vw, 7.5vh); }
.field-label--maxprice { top: min(13.2vw, 24.9vh); left: min(4.0vw, 7.5vh); }
.field-label--category { top: min(20.1vw, 38.0vh); left: min(4.0vw, 7.5vh); }
.field-label--security { top: min(26.0vw, 49.1vh); left: min(4.0vw, 7.5vh); }
.field-label--duration { top: min(39.4vw, 74.4vh); left: min(4.0vw, 7.5vh); }
.security-hint {
	position: absolute;
	top: min(28.9vw, 54.6vh);
	left: min(4.0vw, 7.5vh);
	font-size: min(0.9vw, 1.8vh);
	line-height: 1.2;
	opacity: 0.9;
	color: #777777;
}
.input-field {
	position: absolute;
	width: min(28.1vw, 53.0vh);
	height: min(2.9vw, 5.5vh);
	border: none;
	border-radius: min(1.4vw, 2.6vh);
	background: rgba(255,255,255,0.2);
	color: #fff;
	padding: 0 min(1.3vw, 2.4vh);
	font-size: min(1.3vw, 2.4vh);
	line-height: min(2.9vw, 5.5vh);
	outline: none;
	box-shadow: none;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.input-field:focus,
.input-field:hover,
.input-field:active {
	border: none;
	outline: none;
	box-shadow: none;
}
#input-amount { top: min(8.8vw, 16.6vh); left: min(30.6vw, 57.8vh); }
#input-maxprice { top: min(13.0vw, 24.5vh); left: min(30.6vw, 57.8vh); }
.requirement-item {
	position: absolute;
	left: min(30.6vw, 57.8vh);
	display: flex;
	align-items: center;
	gap: min(1.7vw, 3.2vh);
	font-size: min(1.4vw, 2.6vh);
	line-height: 1.2;
}
.requirement-item--a { top: min(26.6vw, 50.3vh); }
.requirement-item--b { top: min(29.1vw, 55.0vh); }
.requirement-item--c { top: min(31.6vw, 59.8vh); }
.requirement-item input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: min(1.7vw, 3.2vh);
	height: min(1.7vw, 3.2vh);
	margin: 0;
	border: min(0.2vw, 0.4vh) solid rgba(255,255,255,0.85);
	background: transparent;
	border-radius: 4px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 0% 0%;
	transition: background-size 120ms ease;
}
.requirement-item input[type="checkbox"]:checked {
	background-image: radial-gradient(#ffffff 0 60%, transparent 61%);
	background-size: 60% 60%;
}
.requirement-text {
	display: inline-block;
	width: min(22.0vw, 41.6vh);
	color: white;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type="number"] {
	-moz-appearance: textfield;
}
.input-field::placeholder {
	color: rgba(255,255,255,0.8);
	opacity: 1;
}
.dropdown {
	position: absolute;
	width: min(28.1vw, 53.0vh);
	z-index: 4;
}
.dropdown--category {
	top: min(19.7vw, 37.2vh);
	left: min(30.6vw, 57.8vh);
}
.dropdown--duration {
	top: min(39.2vw, 74.0vh);
	left: min(30.6vw, 57.8vh);
}
.dropdown-btn {
	width: 100%;
	height: min(2.9vw, 5.5vh);
	border: none;
	border-radius: min(1.4vw, 2.6vh);
	background: rgba(255,255,255,0.2);
	color: #fff;
	padding: 0 min(1.3vw, 2.4vh);
	font-size: min(1.3vw, 2.4vh);
	line-height: min(2.9vw, 5.5vh);
	text-align: left;
	cursor: pointer;
}
.dropdown-btn.placeholder {
	color: rgba(255,255,255,0.8);
}
.dropdown-menu {
	position: absolute;
	top: calc(min(2.9vw, 5.5vh) + min(0.6vw, 1.1vh));
	left: 0;
	right: 0;
	background: rgba(255,255,255,0.2);
	backdrop-filter: blur(4px);
	border-radius: min(1.4vw, 2.6vh);
	padding: min(0.6vw, 1.1vh) 0;
	margin: 0;
	list-style: none;
	display: none;
	max-height: none;
	overflow: visible;
}

.dropdown.open .dropdown-menu {
	display: block;
}

.dropdown-menu li {
	position: relative;
	padding: min(0.5vw, 0.9vh) min(1.1vw, 2vh);
	color: #fff;
	cursor: pointer;
	font-size: min(1.3vw, 2.4vh);
	line-height: min(1.5vw, 2.8vh);
}
.dropdown-menu li + li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 3.25%;
	width: 93.5%;
	height: 1px;
	background: #4B4B4B;
}
.dropdown-menu li:hover {
	background: rgba(255,255,255,0.28);
}

.glow-btn{
	--glow-rgb: 255,58,58;
	background: transparent;
	color: #fff;
	border: 0;
	border-radius: 100vmax;
	padding: clamp(1.2vh, 2.4vh, 3.25vh) 4.5vw;
	font-weight: 600;
	font-size: clamp(2.2vh, 3.2vh, 4vh);
	line-height: 1;
	font-family: "Rajdhani", system-ui, sans-serif;
	letter-spacing: .02em;
	cursor: pointer;
	position: absolute;
	left: 50%;
	bottom: min(3.2vw, 6vh);
	transform: translateX(-50%);
	transform-origin: center;
	transition: transform .16s ease, box-shadow .16s ease;
	box-shadow:
		inset 0 0 9.25vh 2.75vh rgba(var(--glow-rgb), .40),
		inset 0 0 18.5vh 8.25vh rgba(var(--glow-rgb), 0);
	z-index: 1;
}

.glow-btn{
  position: fixed;
  left: 50%;
  bottom: min(3.2vw, 6vh);
  transform: translateX(-50%);
  z-index: 6;
}

.glow-btn:hover:not([disabled]):not(.is-disabled){
	transform: translateX(-50%) scale(1.012);
}
.glow-btn:active:not([disabled]):not(.is-disabled){
	transform: translateX(-50%) scale(1.006);
}
.glow-btn:focus-visible{
	outline: 0.5vh solid rgba(var(--glow-rgb), .9);
	outline-offset: 1vh;
}
.glow-btn[disabled],
.glow-btn.is-disabled{
	--glow-rgb: 170,170,170;
	cursor: not-allowed;
	box-shadow:
		inset 0 0 9.25vh 2.75vh rgba(var(--glow-rgb), .40),
		inset 0 0 18.5vh 8.25vh rgba(var(--glow-rgb), 0);
}
.glow-btn[disabled]:hover,
.glow-btn.is-disabled:hover{
	transform: translateX(-50%);
}
.glow-btn[disabled]:active,
.glow-btn.is-disabled:active{
	transform: translateX(-50%);
}
.glow-btn[disabled]:focus-visible,
.glow-btn.is-disabled:focus-visible{
	outline-color: rgba(var(--glow-rgb), .6);
}

.field-label--category-top { top: min(9.2vw, 17.4vh); left: min(4.0vw, 7.5vh); }
.field-label--tokens-amount { top: min(13.2vw, 24.9vh); left: min(4.0vw, 7.5vh); }
.field-label--token-price { top: min(17.2vw, 32.4vh); left: min(4.0vw, 7.5vh); }
.field-label--min-cap { top: min(21.2vw, 39.9vh); left: min(4.0vw, 7.5vh); }
.field-label--trust-security { top: min(27.1vw, 49vh); left: min(4.0vw, 7.5vh); }
.field-label--duration { top: min(39.4vw, 74.4vh); left: min(4.0vw, 7.5vh); }

.dropdown--category-top {
    top: min(8.8vw, 16.6vh);
    left: min(30.6vw, 57.8vh)
}

#input-amount-tokens { top: min(13.0vw, 24.5vh); left: min(30.6vw, 57.8vh); }
#input-token-price { top: min(17.2vw, 32.4vh); left: min(30.6vw, 57.8vh); }
#input-min-cap { top: min(21.4vw, 40.3vh); left: min(30.6vw, 57.8vh); }

#content{
	--content-w:70vw;
	--peek:6vw
}
#content .carousel{
	position:absolute;
	inset:0;
	overflow:visible;
	z-index:3
}
#content .carousel-track{
	position:absolute;
	inset:0
}
#content .carousel .form-card{
	position:absolute;
	inset:0;
	transform-origin:center;
	transform:none;
	transition:transform 350ms ease,opacity 350ms ease;
	opacity:0;
	pointer-events:none;
	z-index:1
}
#content .carousel .form-card.is-center{
	transform:none;
	opacity:1;
	pointer-events:auto;
	z-index:5
}
#content .carousel .form-card.is-left{
	transform:translateX(calc(-1*((100vw - var(--content-w))/2 + (var(--content-w) - var(--peek))))) scale(0.88);
	opacity:0.95;
	z-index:3
}
#content .carousel .form-card.is-right{
	transform:translateX(calc((100vw - var(--content-w))/2 + (var(--content-w) - var(--peek)))) scale(0.88);
	opacity:0.95;
	z-index:3
}
#content .carousel .form-card.is-off-left{
	transform:translateX(-120vw) scale(0.82);
	opacity:0;
	z-index:2
}
#content .carousel .form-card.is-off-right{
	transform:translateX(120vw) scale(0.82);
	opacity:0;
	z-index:2
}
#content .carousel .form-card .card-bg{
	position:absolute;
	inset:0;
	transform:none;
	width:100%;
	height:100%;
	pointer-events:none;
	user-select:none;
}
#content .carousel .form-card .card-bg img{
	width:100%;
	height:100%;
	object-fit:cover;
}
.form-card .carousel-prev,
.form-card .carousel-next{
	position:absolute;
	bottom:min(6vw,10vh);
	width:calc(min(2.4vw,4.4vh) * 1.3 * 16 / 9);
	height:calc(min(2.4vw,4.4vh) * 1.3);
	background-color:transparent;
	background-repeat:no-repeat;
	background-position:center;
	background-size:contain;
	border-radius:0;
	opacity:0.9;
	cursor:pointer;
	z-index:6;
}
.form-card .carousel-prev{
	background-image:url("../img/PreviousButton.svg");
	left:3.5vw;
}
.form-card .carousel-next{
	background-image:url("../img/NextButton.svg");
	right:3.5vw;
}
.form-card .carousel-prev:focus-visible,
.form-card .carousel-next:focus-visible{
	outline:3px solid #1ad11a;
	outline-offset:3px;
}

/* keep only the center card's controls visible */
#content .carousel .form-card:not(.is-center) .carousel-prev,
#content .carousel .form-card:not(.is-center) .carousel-next{
	opacity:0;
}
#content .carousel img{
	-webkit-user-drag:none;
	user-drag:none
}
.glow-btn--green{--glow-rgb:24,140,110}
.glow-btn--confirm{bottom:min(10vw,19vh)}

.glow-btn.glow-btn--green{
	box-shadow:
		inset 0 0 3.2vh 0.9vh rgba(var(--glow-rgb), .55),
		inset 0 0 6.2vh 2.0vh rgba(var(--glow-rgb), .22),
		inset 0 0 12vh 4.5vh rgba(var(--glow-rgb), 0)
}

.glow-btn--inline{
	position: static;
	left: auto;
	bottom: auto;
	transform: none;
}

.glow-btn--inline:hover:not([disabled]):not(.is-disabled){
	transform: scale(1.012);
}

.glow-btn--inline:active:not([disabled]):not(.is-disabled){
	transform: scale(1.006);
}

.glow-btn--white{
	--glow-rgb: 255,255,255;
	color: #fff;
	box-shadow:
		inset 0 0 2.4vh 0.7vh rgba(var(--glow-rgb), .45),
		inset 0 0 4.8vh 1.4vh rgba(var(--glow-rgb), .20),
		inset 0 0 9vh 3vh rgba(var(--glow-rgb), 0);
}

.glow-btn--sm{
	padding: 1.2vh 2vw;
	font-size: 2.1vh;
}

.counter {
	position: fixed;
	top: 5.5vh;
	left: 3.5vw;
	font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 3.5vh;
	color: #8B8A8A;
}

.tech-data-container {
    margin-top: 16.5vh;
    margin-left: 30vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.form-card h3 {
    margin: 0;
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.5vh;
    color: #8B8A8A;
}

.tech-data-container h2 {
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 4vh;
    color: white;
    margin-top: 0;
}

.tech-data-container > div {
    height: 12.5vh;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.left-col{
	position: fixed;
	top: 16vh;
	left: 3.5vw;
	width: 30vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2vh;
}

.proj-banner{
	background: white;
	border-radius: 26px;
	height: 20vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.proj-banner img {
    display: block;
    max-width: 80%;
    max-height: 100%;
    height: auto;
    width: auto;
}

.proj-desc{
	width: 100%;
	margin: 0;
	text-align: center;
	line-height: 1.4;
}

#pros-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 90vw;
    height: 80vh;
}

#pros-list > div{
	position: relative;
	width: 60vw;
	height: 15vh;
	border-radius: 3vh;
	background: rgba(255,255,255,0.04);
	-webkit-backdrop-filter: blur(0.8vh);
	backdrop-filter: blur(0.8vh);
	overflow: hidden;
	box-shadow:
		inset 0 0 1.6vh 0.5vh rgba(255,255,255,0.16),
		inset 0 0 3.2vh 1.0vh rgba(255,255,255,0.08);
	border: 0.10vh solid rgba(255,255,255,0.16);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}

#pros-list > div::before{
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: radial-gradient(closest-side, rgba(255,255,255,0) 65%, rgba(255,255,255,0.07) 100%);
	opacity: 0.6;
}

#pros-list h3 {
    margin: 0;
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.5vh;
    color: #8B8A8A;
}

#pros-list h2 {
    font-family: "Karst", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 4vh;
    color: white;
    margin: 0 0 1vh 0;
}

#x-cards{
	width:75vw;
	height:85vh;
	margin: 0 0 0 20vw;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:6vh;
}

#x-cards .top-row,
#x-cards .bottom-row{
	display:flex;
	justify-content:center;
	gap:4vw;
}

#x-cards .top-row > div,
#x-cards .bottom-row > div{
	position:relative;
	width:17vw;
	height:37vh;
	border-radius:3vh;
	background:rgba(255,255,255,0.04);
	-webkit-backdrop-filter:blur(0.8vh);
	backdrop-filter:blur(0.8vh);
	overflow:hidden;
	box-shadow:
		inset 0 0 1.6vh 0.5vh rgba(255,255,255,0.16),
		inset 0 0 3.2vh 1.0vh rgba(255,255,255,0.08);
	border:0.10vh solid rgba(255,255,255,0.16);
	display:flex;
	align-items:center;
	justify-content:center;
	flex-direction:column;
	text-align:center;
}

#x-cards .top-row > div::before,
#x-cards .bottom-row > div::before{
	content:"";
	position:absolute;
	inset:0;
	border-radius:inherit;
	pointer-events:none;
	background:radial-gradient(closest-side, rgba(255,255,255,0) 65%, rgba(255,255,255,0.07) 100%);
	opacity:0.6;
}

#x-cards .avatar{
	width:min(10.8vw,21.6vh);
	height:min(10.8vw,21.6vh);
	border-radius:50%;
	object-fit:cover;
	display:block;
	border:0.5vh solid rgba(255,255,255,.5);
	box-shadow:0 0 2vh rgba(255,255,255,.35), inset 0 0 6vh rgba(255,255,255,.12);
}
#x-cards .card-role{
	position:absolute;
	top:1.6vh;
	inset-inline:1.4vw;
	left:auto;
	right:auto;
	transform:none;
	margin:0;
	font-family:"Karst",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	font-size:2vh;
	width:auto;
	max-width:calc(100% - 2.8vw);
	text-align:center;
	white-space:normal;
	word-break:keep-all;
	overflow-wrap:break-word;
	hyphens:auto;
	color:#fff;
}

#x-cards .card-btn{
	bottom:1.6vh;
	padding:1.0vh 1.8vw;
	font-size:clamp(1.5vh, 2.2vw, 1.9vh);
	max-width:calc(100% - 2.8vw);
	display:inline-block;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
#x-cards .card-btn:hover{ transform:translateX(-50%) scale(1.01); }
#x-cards .card-btn:active{ transform:translateX(-50%) scale(1.005); }

#role_page .role{position:relative}

#role_page .role::before { content: none !important; }

#role_page .role{
    position: relative;
    border-radius: var(--r);
    --r: 55px; --b: 1px;
}

#role_page .role .card-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
#role_page .role .card-bg,
#role_page .role .card-bg .background{ border-radius: var(--r); }

/* lift the entire form block a bit closer to the title */
#content {
	--form-y-shift: -4vh;	/* tweak this: -3vh .. -6vh */
}

.field-label,
.security-hint,
.input-field,
.dropdown,
.requirement-item {
	transform: translateY(var(--form-y-shift));
}

#brand_header{position:fixed;top:3.5vh;left:3.5vw;z-index:4;display:flex;align-items:center;gap:min(1.2vw,2.2vh)}
#brand_header .logo{width:min(7.2vh,7.2vw);height:min(7.2vh,7.2vw)}
#brand_header .logo path{fill:#FBFBFB}
#brand_header a{display:flex;align-items:center;text-decoration:none;color:inherit}
#brand_header .brand-placeholder{display:block;width:16ch;height:1px;opacity:0}

:root{
	--safe-b: env(safe-area-inset-bottom, 0px);
	--safe-t: env(safe-area-inset-top, 0px);
}

@supports (height: 100dvh){
	#main_page, .page{ height: 100dvh; }
	#main_page > video{ width: 100dvh; height: 100dvw; }
}

@media (max-width: 1200px){
	#roles_div{ margin-left: 0; gap: 6vw; }
	#pros-list{ width: 94vw; }
	#pros-list > div{ width: 78vw; }
}

@media (max-width: 1100px){

	#mid_copy{ padding-inline: 3.5vw; }
	#mid_copy .copy{ font-size: clamp(16px, 2.6vh, 26px); }

	.page{ padding-bottom: calc(10vh + var(--safe-b)); }

	#page_menu{
		left: 50%;
		top: auto;
		bottom: 0;
		transform: translateX(-50%);
		position: fixed;
		width: 100vw;
		justify-content: center;
		display: flex;
		gap: 5vw;
		padding: 1.2vh 5vw calc(1.2vh + var(--safe-b));
		background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0));
		border-radius: 1.2vh 1.2vh 0 0;
		align-items: center;
		z-index: 50;
	}
	#page_menu .text_line,
	#page_menu .text_line_selected{ display: none; }
	#page_menu .menu_text,
	#page_menu .menu_text_selected{ font-size: 1.9vh; }

    :root{ --dock-h: 14vh; }

	#role_page{ --roles-top: 4vh; --roles-gap: 2.6vh; }

	#roles_div{
		flex-direction: column;
		align-items: center;
		gap: var(--roles-gap);
		margin-left: 0;
	}

	.role{
		width: 60vw;
		height: clamp(30vh, calc((100dvh - var(--dock-h) - var(--roles-top) - var(--roles-gap)) / 2), 36vh);
		grid-template-rows: 1fr auto;
		padding: 3vh 2vw;
	}

	.role_icon{
		width: min(34vw, 30vh);
		max-height: 44%;
		margin-top: 0;
		justify-self: center;
		align-self: center;
	}

	.role_text{
		margin: 0;
		text-align: center;
		font-size: clamp(20px, 3.2vh, 3.6vh);
		line-height: 1.1;
		padding-bottom: 1.4vh;
	}

	#pros-list{
		align-items: center;
		width: 100vw;
	}
	#pros-list > div{
		width: 78vw;
		min-height: 16vh;
	}

	#x-cards{
		width: 100vw;
		margin: 0;
		gap: 6vh;
	}
	#x-cards .top-row,
	#x-cards .bottom-row{
		justify-content: center;
		gap: 3vw;
	}
	#x-cards .top-row > div,
	#x-cards .bottom-row > div{
		width: 24vw;
		height: 40vh;
	}

    #role_page,
	#team_page{
		place-items: start center;
		padding-top: 4vh;
		padding-bottom: calc(var(--dock-h) + var(--safe-b));
	}

	#roles_div{
		margin-bottom: 8vh;
	}

	#x-cards{
		padding-bottom: 8vh;
	}

    #content{
		--form-y-shift: 18vh;
		--group-w: 60vw;
		--label-col-w: 24vw;
		--gap: 2.4vw;
		width: 90vw;
	}


    #content h1{
		position: fixed;
		top: 15vh;
		left: 50%;
		transform: translateX(-50%);
		margin: 0;
		font-size: 4.4vh;
		width: 84vw;
		text-align: center;
		white-space: nowrap;
	}

	.input-field{
		width: min(33.5vw, 62vh);
		height: min(3.6vw, 6.4vh);
		border-radius: min(1.8vw, 3.2vh);
		padding: 0 min(1.6vw, 2.8vh);
		font-size: min(1.6vw, 2.8vh);
		line-height: min(3.6vw, 6.4vh);
	}

	.dropdown{
		width: min(33.5vw, 62vh);
	}
	.dropdown-btn{
		height: min(3.6vw, 6.4vh);
		border-radius: min(1.8vw, 3.2vh);
		padding: 0 min(1.6vw, 2.8vh);
		font-size: min(1.6vw, 2.8vh);
		line-height: min(3.6vw, 6.4vh);
	}
	.dropdown-menu{
		top: calc(min(3.6vw, 6.4vh) + min(0.8vw, 1.4vh));
		border-radius: min(1.8vw, 3.2vh);
		padding: min(0.8vw, 1.4vh) 0;
	}

	.requirement-item{
		gap: min(1.9vw, 3.6vh);
		font-size: min(1.6vw, 3.0vh);
		line-height: 1.25;
	}
	.requirement-item input[type="checkbox"]{
		width: min(2.0vw, 3.6vh);
		height: min(2.0vw, 3.6vh);
		border-width: min(0.24vw, 0.48vh);
	}
	.requirement-text{
		width: min(26.0vw, 49.0vh);
	}

	#create-btn{
		min-width: min(40vw, 54rem);
		white-space: nowrap;
		padding-inline: 6vw;
	}

	.field-label,
	.security-hint{
		left: calc(50% - var(--group-w) / 2) !important;
	}

	.input-field,
	.dropdown,
	.requirement-item{
		left: calc(50% - var(--group-w) / 2 + var(--label-col-w) + var(--gap)) !important;
	}

	.input-field,
	.dropdown{
		width: calc(var(--group-w) - var(--label-col-w) - var(--gap));
	}

	.requirement-text{
		width: calc(var(--group-w) - var(--label-col-w) - var(--gap));
	}

	.dropdown-menu{ left: 0; right: 0; }
}

@media (max-width: 720px){
	#name_log{ top: calc(4vh + var(--safe-t)); gap: 14px; }
    #role_page,
	#team_page{
		place-items: start center;
		padding-top: 4vh;
		padding-bottom: calc(var(--dock-h) + var(--safe-b));
	}

	#roles_div{
		margin-bottom: 10vh;
	}

	#x-cards{
		padding-bottom: 10vh;
	}

    :root{ --dock-h: 16vh; }

	#role_page{ --roles-top: 4vh; --roles-gap: 2.8vh; }

	#roles_div{
		flex-direction: column;
		align-items: center;
		gap: var(--roles-gap);
		margin-left: 0;
	}

	.role{
		width: 86vw;
		height: clamp(28vh, calc((100dvh - var(--dock-h) - var(--roles-top) - var(--roles-gap)) / 2), 34vh);
		grid-template-rows: 1fr auto;
		padding: 3.5vh 3vw;
	}

	.role_icon{
		width: min(56vw, 28vh);
		max-height: 42%;
		margin-top: 0;
		justify-self: center;
		align-self: center;
	}

	.role_text{
		margin: 0;
		text-align: center;
		font-size: clamp(18px, 4.8vw, 3.8vh);
		line-height: 1.1;
		padding-bottom: 1.6vh;
	}

	#pros-list{
		align-items: center;
		width: 100vw;
		height: auto;
		gap: 2.4vh;
	}
	#pros-list > div{
		width: 96vw;
		height: auto;
		min-height: 16vh;
	}

	#x-cards{
        width: 100vw;
        margin: 0;
        padding: 0 4vw 10vh;
        gap: 6vh;
    }
    #x-cards .top-row,
    #x-cards .bottom-row{
        justify-content: center;
        gap: 3vw;
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }
    #x-cards .top-row > div,
    #x-cards .bottom-row > div{
        width: 24vw;
        height: 40vh;
    }
    #x-cards .avatar{
        width: min(10.8vw, 21.6vh);
        height: min(10.8vw, 21.6vh);
    }
    #x-cards .card-role{
        inset-inline:3vw;
        left:auto;
        right:auto;
        transform:none;
        width:auto;
        max-width:calc(100% - 6vw);
        font-size:2vh;
    }
    #x-cards .card-btn{
        max-width:calc(100% - 6vw);
        padding:0.9vh 1.6vw;
        font-size:clamp(1.4vh, 3.8vw, 1.9vh);
    }

	#content{
        position: fixed;
        inset: 0;
        transform: none;
        width: 100%;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .6vh;
        padding: calc(1.2vh + var(--safe-t)) 6vw calc(1.6vh + var(--safe-b));
        padding-left: max(6vw, env(safe-area-inset-left));
        padding-right: max(6vw, env(safe-area-inset-right));
        box-sizing: border-box;
        z-index: 3;
    }

	#content h1{
        position: static;
        transform: none;
        margin: 0;
        text-align: center;
        font-size: clamp(18px, 2.4vh, 22px);
    }

	.form-card{
        position: absolute;
        inset: 1.6vh 6vw 1.6vh 6vw;
    }

	.form-card .card-bg{
		min-width: 100%;
		min-height: 100%;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.form-stack{
        width: min(440px, calc(100% - 16vw));
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1vh;
        margin: 0 auto;
    }

	.field-label,
    .security-hint,
    .input-field,
    .requirement-item,
    .glow-btn{
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100%;
    }

	.field-label{
		font-size: 14px;
		line-height: 1.25;
		color: #fff;
	}

	.security-hint{
		font-size: 12px;
		line-height: 1.2;
		opacity: .9;
		color: #777;
		margin-top: -0.4vh;
	}

	.input-field{
        height: 36px;
        line-height: 36px;
        border-radius: 18px;
        font-size: 15px;
        padding: 0 12px;
        background: rgba(255,255,255,.2);
    }

	.dropdown{
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100%;
        z-index: 4;
    }

	.dropdown-btn{
        width: 100%;
        height: 36px;
        line-height: 36px;
        border-radius: 18px;
        font-size: 15px;
        padding: 0 12px;
        text-align: left;
    }

	.dropdown-menu{
        top: calc(36px + 6px);
        left: 0;
        right: 0;
        max-height: 36vh;
        overflow: auto;
    }

	.requirement-item{
        display: grid;
        grid-template-columns: 18px 1fr;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

	.requirement-item input[type="checkbox"]{
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }

	.requirement-text{
		width: auto;
		color: #fff;
	}

	.glow-btn{
        position: static;
        transform: none;
        margin-top: 1.2vh;
        width: min(260px, 100%);
        padding: 10px 16px;
        font-size: 15px;
    }

	.field-label--amount{order:1}
	#input-amount{order:2}
	.field-label--maxprice{order:3}
	#input-maxprice{order:4}
	.field-label--category{order:5}
	.dropdown--category{order:6}
	.field-label--security{order:7}
	.security-hint{order:8}
	.requirement-item--a{order:9}
	.requirement-item--b{order:10}
	.requirement-item--c{order:11}
	.field-label--duration{order:12}
	.dropdown--duration{order:13}
	#create-btn{
        order:14;
        justify-self:center;
        width:min(260px,100%);
        margin-top:1.2vh;
    }
	.dropdown-menu{
		left:0;
		right:0;
		max-width:100%;
		max-height:36vh;
		overflow:auto;
	}
	#content{overflow-y:auto}
	#brand_header .logo{
        width:min(10.5vh,16vw);
        height:min(10.5vh,16vw);
    }

    .field-label--category-top { order: 1;  }
    .dropdown--category-top    { order: 2;  }

    .field-label--tokens-amount { order: 3; }
    #input-amount-tokens        { order: 4; }

    .field-label--token-price { order: 5; }
    #input-token-price        { order: 6; }

    .field-label--min-cap { order: 7; }
    #input-min-cap        { order: 8; }

    .field-label--trust-security { order: 9; }
    .security-hint               { order: 10; }

    .requirement-item--a { order: 11; }
    .requirement-item--b { order: 12; }
    .requirement-item--c { order: 13; }

    .field-label--duration { order: 14; }
    .dropdown--duration    { order: 15; }

    #create-btn { order: 16; }

    .dropdown--category-top,
    .dropdown--duration{
        top: auto !important;
        left: auto !important;
    }

   .dropdown-menu li{
        height: 36px;
        line-height: 36px;
        padding: 0 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px){
	#mid_copy .copy{ font-size: clamp(15px, 2.3vh, 22px); }
	#page_menu{ gap: 4vw; }
	#page_menu .menu_text,
	#page_menu .menu_text_selected{ font-size: 1.7vh; }
}

#content .form-card{
	z-index: 1;
	pointer-events: none;
}
#content .form-stack{
	position: relative;
	z-index: 2;
	pointer-events: auto;
}

@media (max-width: 1100px){
	#content{ --content-w: 90vw; --peek: 2vw; }

	.left-col{
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		margin: 0;
		align-items: center;
		gap: 2vh;
	}

	.proj-banner{
		height: 18vh;
		width: 100%;
	}

	.tech-data-container{
		margin: 2vh 0 0 0;
		height: auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0,1fr));
		column-gap: 4vw;
		row-gap: 2vh;
		justify-items: center;
		align-items: start;
		text-align: center;
	}
	.tech-data-container > div{ height: auto; }
	.tech-data-container h2{ font-size: 3.2vh; }

	.counter{
		position: absolute;
		top: 3.5vh;
		left: 6vw;
	}

	.glow-btn.glow-btn--green{
		position: relative;
		left: auto;
		bottom: auto;
		transform: none;
		margin-top: 2vh;
	}
}

@media (max-width: 720px){
	#content{ --content-w: 100vw; --peek: 0vw; }

	.left-col{ align-items: center; }
	.tech-data-container{
		grid-template-columns: 1fr;
		row-gap: 2.2vh;
	}
	.tech-data-container h2{ font-size: 2.8vh; }

	.form-card .carousel-prev{ left: 6vw; bottom: calc(1.6vh + var(--safe-b)); }
	.form-card .carousel-next{ right: 6vw; bottom: calc(1.6vh + var(--safe-b)); }

	#content .carousel .form-card.is-left{
		transform: translateX(-120vw) scale(.88);
		opacity: 0;
	}
	#content .carousel .form-card.is-right{
		transform: translateX(120vw) scale(.88);
		opacity: 0;
	}

	.counter{
		top: 2.8vh;
		left: 7vw;
	}
}

@media (max-width:1100px){

  .form-card .left-col{ order:1; }
  .form-card .tech-data-container{ order:2; }
  .form-card .glow-btn.glow-btn--green{ order:3; align-self:center; margin-top:2.2vh; }

  .counter{ position:absolute; top:3.5vh; left:6vw; }
}

@media (max-width:720px){
  .form-card{
    left:max(6vw, env(safe-area-inset-left));
    right:max(6vw, env(safe-area-inset-right));
    padding:9vh 4vw 3.2vh;
  }
}

:root{ --card-h: 80vh; }

@media (max-width:1100px){
    .left-col{
        position: relative;
        top: auto;
        left: auto;
        width: 80%;
        margin: 0 auto;
        align-items: center;
    }
    .proj-banner{ height: 14vh; border-radius: 20px; }
    .proj-desc{ font-size: 2vh !important; line-height: 1.35; }

    .counter{ font-size: 2.2vh; }

    .tech-data-container{
        margin-top: 1.6vh;
        row-gap: 1.4vh;
        column-gap: 3vw;
    }
    .tech-data-container h3{ font-size: 1.9vh !important; }
    .tech-data-container h2{ font-size: 2.2vh !important; }

    .glow-btn.glow-btn--green{
        position: relative;
        font-size: 1.9vh;
        padding: 1.6vh 6vw;
        display: block;
        margin: 1.8vh auto 0;
    }

    .carousel-track .form-card .tech-data-container{
        margin-top: 12vh;
    }

    .form-card .carousel-prev,
	.form-card .carousel-next{
		width:calc(min(4.8vw,8.8vh) * 1.3 * 16 / 9);
	    height:calc(min(4.8vw,8.8vh) * 1.3);
		bottom: calc(2.4vh + var(--safe-b));
	}
	.form-card .carousel-prev{ left: 12vw; }
	.form-card .carousel-next{ right: 12vw; }
}

@media (max-width:720px){
    .form-card{
        left: max(4vw, env(safe-area-inset-left));
        right: max(4vw, env(safe-area-inset-right));
        height: var(--card-h);
        top: calc((100dvh - var(--card-h))/2 + var(--safe-t));
        padding: 7vh 4vw 2.8vh;
    }

    .proj-banner{ height: 12vh; border-radius: 18px; }
    .proj-desc{ font-size: 1.9vh; line-height: 1.33; }

    .counter{ font-size: 2.0vh; }

    .tech-data-container{ row-gap: 1.2vh; }
    .tech-data-container h3{ font-size: 1.8vh; }
    .tech-data-container h2{ font-size: 2.3vh; }

    .glow-btn.glow-btn--green{
        font-size: 1.7vh;
        padding: 1.1vh 5vw;
    }

    .form-card .carousel-prev,
	.form-card .carousel-next{
		width:calc(min(4.8vw,8.8vh) * 1.3 * 16 / 9);
	    height:calc(min(4.8vw,8.8vh) * 1.3);
		bottom: calc(2.4vh + var(--safe-b));
	}
	.form-card .carousel-prev{ left: 12vw; }
	.form-card .carousel-next{ right: 12vw; }
}

#content .carousel .form-card .card-bg{ inset:0; }
#content .carousel .form-card .card-bg img{ width:100%; height:100%; object-fit:cover; }

.form-card.tight-1 .proj-banner{ height: 10.5vh; }
.form-card.tight-1 .proj-desc{ font-size: 1.8vh; }
.form-card.tight-1 .tech-data-container h2{ font-size: 2.1vh; }
.form-card.tight-1 .tech-data-container h3,
.form-card.tight-1 .counter{ font-size: 1.7vh; }

.form-card.tight-2 .proj-banner{ height: 9vh; }
.form-card.tight-2 .proj-desc{ font-size: 1.65vh; }
.form-card.tight-2 .tech-data-container h2{ font-size: 1.95vh; }

.form-card{
    --r: 55px;
    --b: 1px;
}

@supports (width: 1cqi){
    .form-card{
        container-type: size;
        --r: min(16.467cqi, 22.917cqb);
        --b: max(min(0.299cqi, 0.417cqb), 1px);
    }

    #role_page .role{
        container-type: size;
        --r: min(16.467cqi, 22.917cqb);
        --b: max(min(0.299cqi, 0.417cqb), 1px);
    }
}

.form-card .card-bg{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
}

.form-card .card-bg,
.form-card .card-bg .background{
	border-radius: var(--r)
}

.background{
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.bg-h { display: block; }
.bg-v { display: none; }

@media (max-aspect-ratio: 1/1){
	.bg-h { display: none !important; }
	.bg-v { display: block !important; }
}

.card-bg .bg-h { display: none; }
.card-bg .bg-v { display: block; }

.figma-rect{
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--r);
	box-sizing: border-box;
}
.layer1{ border: var(--b) solid rgba(255,201,201,0.1);  box-sizing: border-box;}
.layer2{
	background: linear-gradient(to left,
		rgba(255,63,63,0) 0%,
		rgba(255,63,63,0.09) 80%,
		rgba(255,63,63,0.10) 96%,
		rgba(255,0,0,0.20) 100%);
	width: 50%;
	left: 0;
}
.layer3{
	background: linear-gradient(to right,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.03) 100%);
	width: 50%;
	right: 0;
}
.layer4{
	width: 24%;
	right: 0;
	border-radius: 0 var(--r) var(--r) 0;
	background: linear-gradient(to right,
		rgba(255,201,201,0) 0%,
		rgba(255,255,255,0.56) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	padding: var(--b);
	background-clip: border-box;
}
.layer5{
	width: 24%;
	left: 0;
	border-radius: var(--r) 0 0 var(--r);
	background: linear-gradient(to left,
		rgba(255,201,201,0) 0%,
		rgba(255,0,0,0.63) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	padding: var(--b);
	background-clip: border-box;
}

.figma-rect-vertical{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--r);
	box-sizing: border-box;
}
.layer1-vertical{ border: var(--b) solid rgba(255,201,201,0.1); box-sizing: border-box; }
.layer2-vertical{
	background: linear-gradient(to bottom,
		rgba(255,63,63,0) 0%,
		rgba(255,63,63,0.09) 80%,
		rgba(255,63,63,0.10) 96%,
		rgba(255,0,0,0.20) 100%);
	height: 50%;
	bottom: 0;
	top: auto;
}
.layer3-vertical{
	background: linear-gradient(to top,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.03) 100%);
	height: 50%;
	top: 0;
	bottom: auto;
}
.layer4-vertical{
	height: 24%;
	top: 0;
	bottom: auto;
	border-radius: var(--r) var(--r) 0 0;
	background: linear-gradient(to top,
		rgba(255,201,201,0) 0%,
		rgba(255,255,255,0.56) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	padding: var(--b);
	background-clip: border-box;
}
.layer5-vertical{
	height: 24%;
	bottom: 0;
	top: auto;
	border-radius: 0 0 var(--r) var(--r);
	background: linear-gradient(to bottom,
		rgba(255,201,201,0) 0%,
		rgba(255,0,0,0.63) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	padding: var(--b);
	background-clip: border-box;
}
