/* ==========================================================================
   ISQA Conference theme
   ========================================================================== */

:root {
	--ink: #0d0e1f;
	--ink-2: #16172e;
	--ink-3: #24264a;
	--violet: #6b4aff;
	--violet-600: #5534f0;
	--violet-50: #f1edff;
	--cyan: #00d9ff;
	--pink: #ff4a8b;
	--amber: #ffc107;
	--green: #22c55e;

	--text: #15162b;
	--muted: #5d6080;
	--line: #e6e6f0;
	--bg: #ffffff;
	--tint: #f6f6fb;

	--on-dark: #f4f4ff;
	--on-dark-muted: #b4b6d6;
	--line-dark: rgba(255, 255, 255, .12);

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(13, 14, 31, .06), 0 8px 24px rgba(13, 14, 31, .06);
	--shadow-lg: 0 24px 60px rgba(13, 14, 31, .25);

	--font-head: "Montserrat", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--container: 1180px;
	--gutter: 24px;
	--header-h: 72px;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-600); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.icon { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--muted); }

/* ---------- buttons & chips ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1em; height: 1em; }
.btn-sm { padding: .55em 1em; font-size: 14px; }
.btn-lg { padding: .95em 1.5em; font-size: 16px; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-600); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .08); color: var(--on-dark); border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet-600); }
.btn-ghost-dark { background: #fff; color: var(--text); border-color: var(--line); }

.pill {
	display: inline-flex; align-items: center; gap: .4em; padding: .35em .85em; border-radius: 999px;
	font: 600 13px/1.2 var(--font-body); background: rgba(0, 217, 255, .14); color: var(--cyan);
}
.pill-muted { background: rgba(255, 255, 255, .1); color: var(--on-dark-muted); }
.pill-outline { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: var(--on-dark); }

.eyebrow {
	margin: 0 0 .75em; font: 700 13px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-600);
}

/* ---------- archive bar & header ---------- */

.archive-bar { background: var(--amber); color: #2b2100; font-size: 14px; }
.archive-bar .container { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.archive-bar a { color: inherit; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(13, 14, 31, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line-dark); color: var(--on-dark);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.brand-logo { height: 36px; width: auto; }
.brand-text { font: 500 17px/1 var(--font-head); white-space: nowrap; }
.brand-text strong { font-weight: 800; }
.brand-year { color: var(--cyan); font-weight: 800; }
@media (max-width: 380px) { .brand-logo { height: 30px; } .brand-text { font-size: 15px; } }

.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a, .nav-editions summary {
	display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 8px;
	color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer;
}
.nav-links a:hover, .nav-editions summary:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-editions { position: relative; }
.nav-editions summary { list-style: none; }
.nav-editions summary::-webkit-details-marker { display: none; }
.nav-editions summary .icon { width: 14px; height: 14px; transition: transform .15s; }
.nav-editions details[open] summary .icon { transform: rotate(180deg); }
.nav-editions ul {
	position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; list-style: none; padding: 6px;
	background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.nav-editions ul a { display: flex; justify-content: space-between; width: 100%; color: var(--on-dark); }
.nav-editions ul a[aria-current] { background: rgba(255, 255, 255, .08); }
.tag { font-size: 11px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.nav-cta { display: flex; gap: 8px; }
.nav-cta .btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .25); }
.nav-cta .btn-ghost:hover { color: #fff; border-color: #fff; }

.nav-toggle { display: none; background: none; border: 0; color: var(--on-dark); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1040px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px; padding: 12px var(--gutter) 20px;
		background: var(--ink); border-bottom: 1px solid var(--line-dark); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.site-header.is-open .site-nav { display: flex; }
	.site-header.is-open .icon-open { display: none; }
	.site-header.is-open .icon-close { display: block; }
	.nav-links { flex-direction: column; align-items: stretch; }
	.nav-links a, .nav-editions summary { padding: 12px 8px; font-size: 16px; }
	.nav-editions ul { position: static; box-shadow: none; margin-top: 4px; }
	.nav-cta { flex-direction: column; }
	.nav-cta .btn { width: 100%; }
}

/* ---------- hero ---------- */

.hero, .page-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(60% 70% at 85% 10%, rgba(107, 74, 255, .45), transparent 70%),
		radial-gradient(40% 50% at 10% 90%, rgba(0, 217, 255, .22), transparent 70%),
		var(--ink);
	color: var(--on-dark);
}
.hero::before, .page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.hero-year {
	display: block;
	background: linear-gradient(90deg, var(--cyan), #9b86ff 55%, var(--pink));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tagline { font: 700 clamp(18px, 2.2vw, 22px)/1.35 var(--font-head); color: #fff; margin-bottom: 12px; }
.hero-lead { font-size: 18px; color: var(--on-dark-muted); max-width: 60ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 24px 0 32px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 500; }
.hero-facts .icon { color: var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--on-dark-muted); font-size: 14px; }
.hero-note .icon { color: var(--amber); }

.hero-card {
	background: linear-gradient(180deg, rgba(36, 38, 74, .85), rgba(22, 23, 46, .9));
	border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	font-family: var(--font-mono); font-size: 14px; overflow: hidden;
	transform: rotate(1.2deg);
}
.run-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 13px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.run-body { padding: 18px 20px 20px; }
.run-suite { color: var(--on-dark); font-weight: 700; margin-bottom: 10px; }
.run-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; padding-left: 12px; color: var(--on-dark-muted); animation: run-in .4s ease both; animation-delay: calc(.35s + var(--d) * .25s); }
.run-line .ok { color: var(--green); margin-top: 3px; }
.run-line .ok .icon { width: 15px; height: 15px; stroke-width: 3; }
.run-sum { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-dark); }
.run-sum .pass { color: var(--green); font-weight: 700; }
.run-sum .muted { color: var(--on-dark-muted); }
@keyframes run-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
	.hero-card { transform: none; }
}

.page-hero .container { padding-top: 56px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.02em; max-width: 18ch; }
.page-hero .eyebrow { color: var(--cyan); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--on-dark-muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: #fff; }

/* ---------- stats ---------- */

.stats-band { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; padding: 28px 20px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0 0 4px; font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--font-head); color: #fff; }
.stat dt { color: var(--on-dark-muted); font-size: 14px; }
.stats-note { margin: 0; padding: 0 0 20px; color: var(--on-dark-muted); font-size: 13px; }
@media (max-width: 700px) {
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
	.stat:nth-child(-n+2) { border-top: 0; }
}

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark .eyebrow { color: var(--cyan); }
.section-dark .lead { color: var(--on-dark-muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.section-head .lead { font-size: 18px; color: var(--muted); margin: 0; }
.h3 { font-size: 20px; font-weight: 700; margin-top: 32px; }
.h3:first-child { margin-top: 0; }
.group-title { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; display: flex; align-items: center; gap: 16px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* checks list */
.checks { list-style: none; display: grid; gap: 10px; margin: 0 0 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: 4px; width: 17px; height: 17px; stroke-width: 2.5; }
.checks-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 32px; }

/* ---------- involve ---------- */

.involve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.involve-card { position: relative; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.involve-card.is-cfp { background: linear-gradient(160deg, var(--violet-50), #fff 60%); }
.involve-card.is-sponsor { background: linear-gradient(160deg, #e6fbff, #fff 60%); }
.involve-card h3 { font-size: 26px; font-weight: 800; }
.involve-card p { color: var(--muted); }
.involve-card .btn { margin-top: auto; }
.involve-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--violet); color: #fff; margin-bottom: 20px; }
.involve-card.is-sponsor .involve-icon { background: var(--ink); color: var(--cyan); }
.involve-icon .icon { width: 26px; height: 26px; }
.deadline { display: flex; align-items: center; gap: 8px; color: var(--text) !important; }
.deadline .icon { color: var(--violet); }
@media (max-width: 420px) { .involve-grid { grid-template-columns: 1fr; } .involve-card { padding: 28px 22px; } }

/* ---------- program ---------- */

.program-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.program-card { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.program-label { display: inline-block; margin-bottom: 14px; padding: .3em .8em; border-radius: 999px; background: var(--ink); color: var(--cyan); font-size: 13px; font-weight: 700; }
.program-card h3 { font-size: 24px; font-weight: 800; }
.program-card > p:not(.program-label) { color: var(--muted); }

/* ---------- topics ---------- */

.topic-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.topic { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.topic:hover { border-color: var(--violet); transform: translateY(-2px); }
.topic h3 { font-size: 19px; font-weight: 700; }
.topic p { color: var(--muted); margin: 0; font-size: 15px; }
.topic-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--violet-50); color: var(--violet); margin-bottom: 18px; }
.topic-icon .icon { width: 24px; height: 24px; }
.topic-icon.sm { width: 40px; height: 40px; margin: 0; flex: none; }
.topic-icon.sm .icon { width: 20px; height: 20px; }

/* ---------- speakers ---------- */

.speaker-group + .speaker-group { margin-top: 56px; }
.speaker-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.speaker-grid.is-keynotes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.speaker { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.speaker-photo { aspect-ratio: 1; background: linear-gradient(135deg, var(--violet), var(--cyan)); display: grid; place-items: center; overflow: hidden; }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.initials { font: 800 48px/1 var(--font-head); color: rgba(255, 255, 255, .9); }
.speaker-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.speaker-role { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-600); }
.speaker-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; padding-right: 28px; }
.speaker-job { margin: 0; padding-right: 26px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.speaker-company { display: block; color: var(--text); font-weight: 600; }
.speaker-li { position: absolute; right: 16px; bottom: 18px; color: #0a66c2; }
.speaker-li .icon { width: 20px; height: 20px; }
.speaker-grid:not(.is-keynotes) .speaker-li { top: auto; }
.speaker-more { margin-top: 12px; font-size: 14px; }
.speaker-more summary { cursor: pointer; color: var(--violet-600); font-weight: 600; width: max-content; }
.speaker-more p { margin: 8px 0 0; color: var(--muted); }
.speaker.is-big { flex-direction: row; }
.speaker.is-big .speaker-photo { width: 42%; aspect-ratio: auto; min-height: 100%; flex: none; }
.speaker.is-big .speaker-body { padding: 28px; }
.speaker.is-big .speaker-name { font-size: 24px; }
.speaker-bio { margin: 14px 0 28px; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) {
	.speaker.is-big { flex-direction: column; }
	.speaker.is-big .speaker-photo { width: 100%; aspect-ratio: 1; }
	.speaker-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
	.speaker-body { padding: 14px 14px 16px; }
	.speaker-name { font-size: 16px; }
}

/* ---------- agenda ---------- */

.day-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 32px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); flex-wrap: wrap; }
.day-tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: 600 15px var(--font-body); color: var(--muted); cursor: pointer; }
.day-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.js .day-panel[hidden] { display: none; }
.js .day-tabs ~ .day-panel .day-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.day-panel + .day-panel { margin-top: 48px; }
.js .day-panel + .day-panel { margin-top: 0; }
.day-title { font-size: 22px; font-weight: 800; }

.sessions { list-style: none; border-top: 1px solid var(--line); }
.session { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0 20px 16px; border-bottom: 1px solid var(--line); position: relative; }
.session::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--line); }
.session-time { font-family: var(--font-mono); font-size: 14px; color: var(--muted); display: flex; flex-direction: column; }
.session-time time { font-size: 17px; font-weight: 700; color: var(--text); }
.session-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.session-title { font: 700 18px/1.35 var(--font-head); margin: 0 0 6px; }
.session-meta { margin: 0; color: var(--muted); font-size: 14px; }
.session-desc { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.session.type-break, .session.type-general { background: var(--tint); }
.session.type-break .session-title, .session.type-general .session-title { font-weight: 600; font-size: 16px; }

.badge { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--tint); color: var(--muted); border: 1px solid var(--line); }
.badge-keynote { background: #fff1d6; color: #8a5a00; border-color: #ffe0a3; }
.badge-talk { background: var(--violet-50); color: var(--violet-600); border-color: #ddd4ff; }
.badge-panel { background: #ffe4ef; color: #b0185a; border-color: #ffc7dc; }
.badge-workshop, .badge-testathon { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.badge-lightning { background: #e0f9ff; color: #006b80; border-color: #b3f0ff; }
.badge-sponsor { background: #eef0f6; color: #3c4060; border-color: #dcdfeb; }
.badge-track { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge-lang { background: #fff; }
.type-keynote::before { background: var(--amber); }
.type-talk::before { background: var(--violet); }
.type-panel::before { background: var(--pink); }
.type-workshop::before, .type-testathon::before { background: var(--green); }
.type-lightning::before { background: var(--cyan); }
.type-sponsor::before { background: #8b90b0; }
@media (max-width: 600px) {
	.session { grid-template-columns: 1fr; gap: 6px; }
	.session-time { flex-direction: row; gap: 6px; }
	.session-time span::before { content: "– "; }
}

/* ---------- tickets ---------- */

.ticket-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ticket { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.ticket h3 { font-size: 18px; }
.ticket-price { font: 800 28px/1.1 var(--font-head); color: var(--cyan); margin-bottom: 8px; }
.ticket-note { color: var(--on-dark-muted); font-size: 14px; margin: 0; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- partners ---------- */

.tier + .tier { margin-top: 48px; }
.tier-title { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.logo-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tier-platinum .logo-grid, .tier-venue .logo-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.logo-grid li > a, .logo-grid li > img, .logo-grid li > .logo-text {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 120px; padding: 16px 20px; border-radius: var(--radius-sm);
	background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.tier-platinum .logo-grid li > a, .tier-venue .logo-grid li > a,
.tier-platinum .logo-grid li > img, .tier-venue .logo-grid li > img { height: 160px; }
.logo-grid li > a:hover { border-color: var(--violet); box-shadow: var(--shadow); }
/* Fixed pixel caps: a percentage max-height does not resolve inside these boxes. */
.logo-grid li > a img { width: auto; height: auto; max-width: 100%; max-height: 86px; object-fit: contain; }
.tier-platinum .logo-grid li > a img, .tier-venue .logo-grid li > a img { max-height: 126px; }
.logo-grid li > img { object-fit: contain; }
.logo-text { font-weight: 700; color: var(--text); text-align: center; }
.partners-cta { margin: 40px 0 0; text-align: center; color: var(--muted); }
.partners-cta a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* ---------- audience ---------- */

.audience-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.audience-col { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.audience-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.audience-col h3 .icon { color: var(--violet); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
@media (max-width: 420px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- about & timeline ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.about-grid.is-single { grid-template-columns: minmax(0, 760px); }
.prose { font-size: 17px; }
.prose p { color: var(--muted); }
.prose h1 { font-size: clamp(32px, 4vw, 44px); }
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--violet), var(--cyan)); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--violet); }
.timeline li:last-child::before { background: var(--cyan); border-color: var(--cyan); }
.timeline-year { font: 800 16px/1.3 var(--font-head); color: var(--violet-600); }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font: 600 17px/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--violet); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .prose { padding: 0 22px 6px; font-size: 16px; }
.faq-more { margin-top: 28px; text-align: center; color: var(--muted); }

/* ---------- editions ---------- */

.edition-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.edition-card {
	display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); text-decoration: none;
	background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--on-dark); transition: border-color .2s, transform .2s;
}
.edition-card:hover { border-color: var(--cyan); color: var(--on-dark); transform: translateY(-2px); }
.edition-year { font: 800 48px/1 var(--font-head); background: linear-gradient(90deg, var(--cyan), #9b86ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.edition-meta { color: var(--on-dark-muted); font-size: 14px; }
.edition-tag { font-weight: 600; margin-top: 6px; }
.edition-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--cyan); font-weight: 600; font-size: 14px; }

/* ---------- CFP & sponsor pages ---------- */

.format-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.format-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.format-card h3 { font-size: 21px; font-weight: 800; }
.format-card p { color: var(--muted); margin: 0; }
.format-duration { display: inline-flex !important; align-items: center; gap: 6px; margin-bottom: 14px !important; padding: .3em .8em; border-radius: 999px; background: var(--violet-50); color: var(--violet-600) !important; font-weight: 700; font-size: 13px; }
.cfp-info { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.topic-list { list-style: none; display: grid; gap: 18px; }
.topic-list li { display: flex; gap: 14px; align-items: flex-start; }
.topic-list strong { display: block; }
.topic-list span span, .topic-list li > span:last-child { color: var(--muted); }
.topic-list strong { color: var(--text); }
.key-dates { display: grid; gap: 0; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.key-dates div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.key-dates div:first-child { border-top: 0; }
.key-dates dt { color: var(--muted); }
.key-dates dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 860px) { .cfp-info { grid-template-columns: 1fr; gap: 40px; } }

.callout { padding: 36px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); text-align: center; }
.callout p { color: var(--muted); }

.package-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.package { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.package.is-featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.package.is-featured .package-price { color: #fff; }
.package.is-featured .package-desc, .package.is-featured .package-slots, .package.is-featured .package-usd { color: var(--on-dark-muted); }
.package-flag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--violet)); color: #fff; font-size: 12px; font-weight: 700; }
.package-name { font-size: 22px; font-weight: 800; }
.package-price { font: 800 26px/1.15 var(--font-head); color: var(--text); margin-bottom: 10px; }
.package-usd { display: block; margin-top: 4px; font: 500 14px var(--font-body); color: var(--muted); }
.package-slots { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.package-slots .icon { color: var(--violet); }
.package-desc { font-size: 15px; color: var(--muted); }
.package .checks { font-size: 15px; margin-top: 6px; }
.package-grid.is-compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.package.is-compact { padding: 22px; }
.package.is-compact .package-name { font-size: 18px; }
.package.is-compact .package-price { font-size: 21px; }
.packages-sub { margin-top: 56px; margin-bottom: 4px; }
.packages-sub + .muted { margin-bottom: 24px; }

.inquiry-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.inquiry-grid .section-head { margin-bottom: 20px; }
.contact-line { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.contact-line .icon { color: var(--violet); }
@media (max-width: 900px) { .inquiry-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- forms ---------- */

.form-card { padding: 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 22px 18px; } }
.isqa-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.isqa-form legend { font: 700 18px var(--font-head); margin-bottom: 16px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field.is-wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.req { color: var(--pink); }
.field input, .field select, .field textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
	font: 400 16px/1.4 var(--font-body); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(107, 74, 255, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.help { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .help { margin: 0; }
.form-notice { padding: 16px 18px; border-radius: 10px; margin-bottom: 24px; }
.form-notice.is-success { background: #dcfce7; color: #14532d; border: 1px solid #bbf7d0; }
.form-notice.is-error { background: #fee2e2; color: #7f1d1d; border: 1px solid #fecaca; }

/* ---------- plain pages ---------- */

.page-plain { padding-top: 80px; padding-bottom: 96px; }
.page-plain .prose { max-width: 720px; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-title { font: 500 20px var(--font-head); color: #fff; }
.footer-title strong { font-weight: 800; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 16px !important; }
.social a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 13px; }
.social a:hover { border-color: #fff; text-decoration: none; }
.footer-bottom { margin-top: 56px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
