:root {
	--bg: #0f1320;
	--panel: #12182a;
	--ink: #f3f5ff;
	--muted: #a9b1d6;
	--accent: #6ee7ff;
	--accent-2: #ffd166;
	--radius: 16px;
	--shadow: 0 6px 30px rgba(0, 0, 0, .35);
}

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;	
	font-family: "tekton-pro", sans-serif;
	font-weight: 400;
	font-style: normal;
	background: radial-gradient(1200px 800px at 20% -10%, #1b2350 0%, var(--bg) 60%), var(--bg);
	background-attachment: fixed;
	color: var(--ink);
	
	font-size: 17px;
	line-height: 1.6;
	letter-spacing: 0.01em;
}
a, 
a:link,
a:visited {
	color: inherit;
}
a:hover {
	color: var(--accent-2);
}

header {
	padding: clamp(20px, 4vw, 48px) 20px 12px;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.title {
	margin: 0 0 .3rem;
	letter-spacing: .5px;
	font-size: clamp(3.8rem, 4vw, 5.2rem);
	font-family: "live", sans-serif;
	font-weight: 400;
	font-style: normal;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Heading lines left & right */
.lined {
  display: flex;
  align-items: center;
  gap: .75rem;              /* space between text and lines */
  white-space: nowrap;      /* keep the title on one line if possible */
}
.lined::before,
.lined::after {
  content: "";
  flex: 1 1 auto;           /* lines stretch to edges */
  border-top: 1px solid color-mix(in oklab, var(--muted) 80%, transparent);
  opacity: .8;
}
.lined > span {             /* wrap the text in a span */
  display: inline-block;
}

.script{
  font-family: "live", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  margin: clamp(10px, 2vw, 20px) auto 8px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--accent-2);
}
  
.tagline {
	color: var(--muted);
	font-size: clamp(1.5rem, 1.6vw, 2rem);
	margin-bottom: 1.2rem;
	font-family: "copperplate", serif;
	font-weight: 300;
	font-style: normal;
}

.intro {
	color: var(--ink);
	font-size: 1.05rem;
	line-height: 1.55;
	margin: 0 auto 1.8rem;
	max-width: 700px;
	font-weight: 400;
}

.toolbar {
	position: sticky;
	top: 0;
	z-index: 5;
	backdrop-filter: blur(8px);
	background: color-mix(in oklab, var(--panel) 80%, transparent);
	border-top: 1px solid rgba(255, 255, 255, .06);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	padding: 10px 16px;
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.filter {
	border: 1px solid rgba(255, 255, 255, .14);
	color: var(--ink);
	background: rgba(255, 255, 255, .03);
	padding: 8px 12px;
	border-radius: 999px;
	cursor: pointer;
	user-select: none;
	transition: transform .12s ease, background .2s ease, border-color .2s ease;
	font-weight: 600;
	font-size: .9rem;
}

.filter:hover {
	transform: translateY(-1px);
}

.filter.active {
	background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
	color: #0b1024;
	border-color: transparent;
}

main {
	padding: 18px 18px 60px;
	max-width: 1200px;
	margin: 0 auto;
}

.grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: #0b1024;
	box-shadow: var(--shadow);
	aspect-ratio: 4/3;
	border: 1px solid rgba(255, 255, 255, .08);
	transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
	cursor: zoom-in;
}

.card:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, .16);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.05) contrast(1.03);
}

.badge {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 1;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: .75rem;
	border: 1px solid rgba(255, 255, 255, .16)
}

/* Optional: colored badges for status tags */
.badge-available{
  background: linear-gradient(90deg, #34d399, #6ee7b7); /* green mint */
  color:#0b1024; border-color: transparent;
}
.badge-wip{
  background: linear-gradient(90deg, #ffd166, #ffe29a); /* warm yellow */
  color:#0b1024; border-color: transparent;
}
/* Put a checkmark before Available badges */
.badge-available::before {
  content: "✓";
  font-weight: 900;
  margin-right: 6px;
  font-size: 0.9em;       /* slightly smaller than the label */
  line-height: 1;
}



.caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 10px 12px;
	font-size: .9rem;
	background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%);
}
/* one-line teaser under each thumbnail title */
.caption .cap-title {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 2px;
}
.caption .teaser {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.25;
  display: -webkit-box;     /* clamp + ellipsis */
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lightbox story block */
.story{
  padding: 12px 14px;
  color: var(--muted);
  line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,.1);
}
.story::before{
  content: "Story";
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-2);
  margin-bottom: 4px;
}

/* Optional: ensure image + story fit nicely */
.lightbox-inner{ 
	display: flex;
	flex-direction: column; 
}
.lightbox img{ 
	max-height: 70vh; 
	object-fit: contain; 
}
.story{ 
	max-height: 22vh; 
	overflow: auto; 
}

.faq {
	max-width: 900px;
	margin: 3rem auto;
	padding: 0 1rem;
}

.faq h2 {
	font-family: "live", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--accent-2);
}

.faq-item {
	margin-bottom: 1.4rem;
}

.faq-item h3 {
	margin: 0 0 .4rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ink);
}

.faq-item p {
	margin: 0;
	line-height: 1.55;
	color: var(--muted);
}

.lightbox[hidden] {
	display: none;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: grid;
	place-items: center;
	background: color-mix(in oklab, black 75%, transparent);
	backdrop-filter: blur(2px);
}

.lightbox-inner {
	position: relative;
	width: min(92vw, 1200px);
	max-height: 86vh;
	background: var(--panel);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: calc(var(--radius) + 4px);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.lightbox img {
	width: 100%;
	height: auto;
	display: block;
}

.lightbox .meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	color: var(--muted);
	font-size: .95rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.controls {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.ctrl {
	pointer-events: auto;
	appearance: none;
	border: none;
	background: rgba(255, 255, 255, .12);
	color: var(--ink);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	margin: 0 8px;
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: 22px;
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, .2);
}

.ctrl:hover {
	background: rgba(255, 255, 255, .2);
}

.close {
	position: absolute;
	top: 10px;
	right: 10px;
}

footer {
	text-align: center;
	color: var(--muted);
	padding: 26px 18px 60px;
}

footer h3 {
	font-family: "live", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--accent-2);
}

.cta-btn {
	display: inline-block;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	color: #0b1024 !important;
	font-weight: 700;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 999px;
	box-shadow: var(--shadow);
	transition: transform .15s ease;
}

.cta-btn:hover {
	transform: translateY(-2px);
}