/*
Theme Name: StressOFF – TechON
Theme URI: https://www.somenso.com/stress-off-tech-on/
Author: Somenso EAD
Author URI: https://www.somenso.com
Description: Тема за форума StressOFF – TechON: едностранична начална страница с брояч, направления, програма, лектори, партньори по нива, място и регистрация. Всички текстове се редактират от Външен вид → Персонализиране → StressOFF – TechON; лектори, сесии и партньори — от собствени менюта в админ панела. Локално вградени шрифтове (без заявки към Google), карта, която се зарежда само при клик.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stressoff
Tags: one-column, custom-logo, custom-menu, custom-colors, translation-ready, event
*/

/* ---------- Fonts (SIL Open Font License, bundled locally) ---------- */
@font-face {
	font-family: "Unbounded";
	src: url("assets/fonts/unbounded.woff2") format("woff2");
	font-weight: 200 900;
	font-display: swap;
}
@font-face {
	font-family: "Manrope";
	src: url("assets/fonts/manrope.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #021b42;
	--on: #a5e443;
	--off: #0a84ff;
	--calm: #19e6d7;
	--ink-2: color-mix(in srgb, var(--ink) 86%, #ffffff);
	--ink-3: color-mix(in srgb, var(--ink) 72%, #ffffff);
	--paper: #f4f2ec;
	--white: #ffffff;
	--text: #14202f;
	--muted: #5d6877;
	--line: rgba(11, 22, 38, .12);
	--line-dark: rgba(255, 255, 255, .12);
	--on-soft: color-mix(in srgb, var(--on) 16%, transparent);
	--off-soft: color-mix(in srgb, var(--off) 16%, transparent);

	--f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 10vw, 128px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--on); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--on); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--on); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.muted { color: var(--muted); }
.t-on { color: var(--on); }
.t-off { color: var(--off); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--on); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--on); --fg: var(--ink);
	display: inline-flex; align-items: center; gap: .55em;
	padding: .95em 1.55em;
	border-radius: 999px; border: 1.5px solid transparent;
	background: var(--bg); color: var(--fg);
	font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1;
	text-decoration: none; cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--bg) 70%, transparent); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--on { --bg: var(--on); --fg: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; color: inherit; }
.btn--ghost:hover { --fg: var(--ink); background: var(--on); border-color: var(--on); }
.btn--sm { padding: .7em 1.15em; font-size: .92rem; }
.btn--lg { padding: 1.15em 1.9em; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	color: #fff;
	transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, body:not(.is-landing) .site-header {
	background: color-mix(in srgb, var(--ink) 88%, transparent);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 1px 0 var(--line-dark);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__logo { max-height: 48px; width: auto; }
.brand__text { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__text b { font-weight: 800; }
.brand__dash { opacity: .5; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; flex: none; box-shadow: 0 0 18px -4px color-mix(in srgb, var(--on) 70%, transparent); transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav__list a { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .82; transition: opacity .2s, color .2s; }
.nav__list a:hover, .nav__list .current-menu-item > a { opacity: 1; color: var(--on); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle__bar + .nav-toggle__bar { margin-top: 7px; }
.nav-open .nav-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: block; z-index: 2; }
	.nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; justify-content: center; gap: 36px;
		background: var(--ink);
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: center; gap: 22px; }
	.nav__list a { font-family: var(--f-display); font-size: 1.5rem; opacity: 1; }
	.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--ink); color: #fff;
	padding: clamp(132px, 18vw, 190px) 0 0;
}
.hero__grid-bg {
	position: absolute; inset: 0; z-index: -1;
	background-image:
		radial-gradient(60% 55% at 85% 20%, color-mix(in srgb, var(--calm) 18%, transparent) 0%, transparent 70%),
		radial-gradient(45% 45% at 5% 85%, color-mix(in srgb, var(--off) 22%, transparent) 0%, transparent 70%),
		linear-gradient(var(--line-dark) 1px, transparent 1px),
		linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
	background-size: auto, auto, 64px 64px, 64px 64px;
	mask-image: linear-gradient(to bottom, #000 55%, transparent);
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero__inner { position: relative; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 16px 8px 12px; border: 1px solid var(--line-dark); border-radius: 99px;
	font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.82);
	background: rgba(255,255,255,.04);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on); box-shadow: 0 0 0 0 var(--on); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--on) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }

.hero__title {
	font-size: clamp(2.9rem, 9.6vw, 7.6rem);
	font-weight: 800; line-height: .98; letter-spacing: -.035em;
	margin: 28px 0 28px;
}
.hero__line { display: flex; align-items: center; flex-wrap: wrap; gap: .18em; }
.switch {
	position: relative; display: inline-flex; align-items: center; gap: .14em;
	padding: .06em .2em .08em; border-radius: 999px;
	font-size: .78em; letter-spacing: -.02em;
	transition: transform .5s var(--ease);
}
.switch__knob { width: .62em; height: .62em; border-radius: 50%; flex: none; }
.switch--off { color: var(--off); border: .06em solid var(--off); padding-left: .14em; }
.switch--off .switch__knob { background: var(--off); opacity: .9; }
.switch--on { background: linear-gradient(135deg, color-mix(in srgb, var(--on) 75%, #f0ff9a), var(--on)); color: var(--ink); padding-right: .14em; box-shadow: 0 0 60px -10px var(--on); }
.switch--on .switch__knob { background: var(--ink); animation: knob 3.6s var(--ease) infinite; }
@keyframes knob { 0%, 100% { transform: scale(1); } 50% { transform: scale(.86); } }

.hero__subtitle { max-width: 640px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); }
.hero__meta { list-style: none; padding: 0; margin: 28px 0 34px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; }
.hero__meta li { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta .icon { width: 20px; height: 20px; color: var(--on); }
.badge { padding: 4px 12px; border-radius: 99px; background: var(--off-soft); color: var(--off); font-size: .88rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.countdown { display: flex; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.countdown__cell {
	min-width: 92px; padding: 14px 16px 12px; border-radius: var(--r);
	background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
	display: flex; flex-direction: column; align-items: flex-start;
}
.countdown__num { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-top: 6px; }
.countdown__live { font-family: var(--f-display); font-size: 1.4rem; color: var(--on); margin: 0; }

.hero__band { position: relative; margin-top: clamp(24px, 4vw, 48px); line-height: 0;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%); }
.hero__band img { width: 100%; height: auto; min-height: 150px; object-fit: cover; object-position: 58% 50%; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px 34px 0; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stat__value { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; color: var(--on); }
.stat__label { color: rgba(255,255,255,.7); font-size: .95rem; }
@media (max-width: 760px) {
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat, .stat + .stat { padding: 24px 16px; border-left: 0; }
	.stat:nth-child(even) { border-left: 1px solid var(--line-dark); }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Section heads ---------- */
.kicker { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.kicker--dark { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }

/* ---------- About & tracks ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text { font-size: 1.15rem; color: #2a3646; }
.about__text p:first-child::first-line { font-weight: 700; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

.tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 88px); }
.track {
	position: relative; padding: 28px 24px 26px; border-radius: var(--r);
	background: var(--white); border: 1px solid var(--line);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.track:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(11,22,38,.45); border-color: transparent; }
.track__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--on); margin-bottom: 22px; }
.track:nth-child(1) .track__icon { color: var(--off); }
.track__num { position: absolute; top: 24px; right: 24px; font-family: var(--f-display); font-weight: 700; color: var(--line); font-size: 1.5rem; }
.track__title { font-size: 1.12rem; margin-bottom: 10px; }
.track__text { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 1000px) { .tracks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tracks { grid-template-columns: 1fr; } }
.front-content { margin-top: clamp(48px, 7vw, 88px); }

/* ---------- Program ---------- */
.program { background: var(--white); }
.agenda { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.agenda__item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.agenda__item:hover { background: linear-gradient(90deg, var(--on-soft), transparent 60%); }
.agenda__time { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; display: flex; flex-direction: column; line-height: 1.2; padding-left: 8px; }
.agenda__end { font-size: .9rem; color: var(--muted); font-weight: 500; }
.agenda__end::before { content: "до "; }
.agenda__tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.agenda__title { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 6px; }
.agenda__who { font-weight: 600; color: #2a3646; margin: 0 0 6px; }
.agenda__desc { color: var(--muted); }
.agenda__desc p:last-child { margin: 0; }
.agenda__item--break { background: var(--paper); }
.agenda__item--break .agenda__title { font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; color: var(--muted); }
@media (max-width: 640px) { .agenda__item { grid-template-columns: 1fr; gap: 8px; } .agenda__time { flex-direction: row; gap: 10px; align-items: baseline; padding: 0; } }

.tag { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; background: var(--paper); color: var(--ink); }
.tag--keynote { background: var(--ink); color: #fff; }
.tag--panel { background: var(--on-soft); color: color-mix(in srgb, var(--on) 45%, var(--ink)); }
.tag--workshop { background: var(--off-soft); color: color-mix(in srgb, var(--off) 70%, var(--ink)); }
.tag--demo { background: #e9e6ff; color: #3b2fa0; }
.tag--plain { background: transparent; border: 1px solid var(--line); }

.placeholder-card {
	position: relative; overflow: hidden;
	padding: clamp(36px, 6vw, 64px); border-radius: var(--r-lg);
	border: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent);
	text-align: center; font-size: 1.2rem; font-weight: 600;
}
.placeholder-card__pulse { display: block; width: 14px; height: 14px; margin: 0 auto 18px; border-radius: 50%; background: var(--on); animation: ping 2s infinite; }
.placeholder-card__formats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Speakers ---------- */
.speakers { background: var(--ink); color: #fff; }
.speakers .kicker { color: rgba(255,255,255,.55); }
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.speaker__photo {
	position: relative; aspect-ratio: 5 / 6; border-radius: var(--r); overflow: hidden; margin-bottom: 16px;
	background: linear-gradient(150deg, var(--ink-3), var(--ink-2));
	display: grid; place-items: center;
}
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .6s var(--ease); }
.speaker:hover .speaker__photo img { filter: grayscale(0); transform: scale(1.04); }
.speaker__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--on); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.speaker:hover .speaker__photo::after { transform: scaleX(1); }
.speaker__initials { font-family: var(--f-display); font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.18); }
.speaker__country { position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(11,22,38,.7); font-size: .78rem; font-weight: 700; }
.speaker__name { font-size: 1.08rem; margin-bottom: 4px; }
.speaker__name a { text-decoration: none; }
.speaker__role { color: rgba(255,255,255,.72); margin: 0; font-size: .95rem; }
.speaker__org { color: var(--on); margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.speaker__bio { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.75); }
.speaker__bio summary { cursor: pointer; font-weight: 700; color: #fff; }
.speaker--soon .speaker__photo { border: 1.5px dashed var(--line-dark); background: transparent; }
.speaker--soon .speaker__name { color: rgba(255,255,255,.75); }
@media (max-width: 1000px) { .speaker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .speaker-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } }

/* ---------- Partners ---------- */
.partners { background: var(--paper); }
.tier { padding: 32px 0; border-top: 1px solid var(--line); }
.tier__title { font-family: var(--f-body); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tier--lg .logos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tier--md .logos { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tier--sm .logos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logos__item a, .logos__item > img, .logos__item > .logos__name {
	display: grid; place-items: center; height: 100%;
}
.logos__item {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
	aspect-ratio: 16 / 9; padding: 22px; display: grid; place-items: center;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tier--lg .logos__item { aspect-ratio: 2 / 1; padding: 34px; }
.logos__item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(11,22,38,.4); }
.logos__item img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.logos__item:hover img { filter: none; opacity: 1; }
.logos__name { font-family: var(--f-display); font-weight: 700; text-align: center; }

.partner-cta {
	margin-top: 40px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg);
	background: var(--ink); color: #fff;
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
	position: relative; overflow: hidden;
}
.partner-cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--on) 30%, transparent), transparent 70%); }
.partner-cta h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.partner-cta p { color: rgba(255,255,255,.78); }
.partner-cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; }
.tier-ladder { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tier-ladder li { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line-dark); font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.tier-ladder li:first-child { background: var(--on); color: var(--ink); border-color: var(--on); }
.partner-cta--solo { grid-template-columns: 1fr; }
.partner-cta--solo .partner-cta__text { max-width: 760px; }
@media (max-width: 820px) { .partner-cta { grid-template-columns: 1fr; } }

/* ---------- Venue ---------- */
.venue { background: var(--white); }
.venue__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.venue .section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.venue__address { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-bottom: 10px; }
.venue__address .icon { color: var(--off); flex: none; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--on); padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; }
.map { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); position: relative; }
.map::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
	background-size: 36px 36px;
}
.map iframe { position: relative; width: 100%; height: 100%; border: 0; }
.map__load {
	position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: #fff; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font: inherit;
}
.map__load .icon { width: 42px; height: 42px; color: var(--on); transition: transform .3s var(--ease); }
.map__load:hover .icon { transform: translateY(-6px); }
.map__load span { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.map__load small { color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .venue__grid { grid-template-columns: 1fr; } }

/* ---------- Register ---------- */
.register { background: var(--paper); }
.register__box {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
	padding: clamp(32px, 6vw, 72px); border-radius: var(--r-lg);
	background: var(--on); color: var(--ink);
	position: relative; overflow: hidden;
}
.register__box::after {
	content: "ON"; position: absolute; right: -10px; bottom: -.28em;
	font-family: var(--f-display); font-weight: 800; font-size: clamp(8rem, 20vw, 16rem); line-height: 1;
	color: color-mix(in srgb, var(--ink) 8%, transparent); pointer-events: none;
}
.register__text p { font-size: 1.12rem; max-width: 560px; }
.register__action { position: relative; z-index: 1; }
.register__soon { font-weight: 700; font-size: 1.1rem; }
.register__form { background: var(--white); border-radius: var(--r); padding: 24px; }
@media (max-width: 820px) { .register__box { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding-top: clamp(56px, 8vw, 96px); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 14px; }
.footer-logo__mark { width: 44px; height: 44px; border-radius: 50%; }
.site-footer .muted { color: rgba(255,255,255,.55); }
.footer-title { font-family: var(--f-body); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: center; }
.footer-list .icon { width: 18px; height: 18px; color: var(--on); flex: none; }
.site-footer a { text-decoration: none; }
.socials { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background .2s, color .2s; }
.socials a:hover { background: var(--on); color: var(--ink); border-color: var(--on); }
.socials .icon { width: 19px; height: 19px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .9rem; color: rgba(255,255,255,.5); }
.to-top { margin-left: auto; }
.footer-widget { margin-top: 20px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 150px 0 64px; }
.page-hero .kicker { color: var(--on); }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }
.page-hero--404 .page-hero__title { font-size: clamp(3rem, 10vw, 7rem); margin-bottom: 20px; }
.page-hero--404 p { color: rgba(255,255,255,.75); }

.entry-content { font-size: 1.08rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.8rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.entry-content a { color: color-mix(in srgb, var(--on) 50%, var(--ink)); font-weight: 600; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--on); font-size: 1.2rem; font-weight: 600; }
.entry-content img { border-radius: var(--r); }
.entry-content .wp-block-button__link { background: var(--ink); color: #fff; border-radius: 999px; font-weight: 700; }
.entry-thumb { margin: 0 0 32px; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11,22,38,.35); }
.post-card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px; }
.post-card__date { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-size: 1.2rem; }
.post-card__title a { text-decoration: none; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--ink); color: #fff; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.tracks .reveal:nth-child(2), .speaker-grid .reveal:nth-child(4n+2) { transition-delay: .08s; }
.tracks .reveal:nth-child(3), .speaker-grid .reveal:nth-child(4n+3) { transition-delay: .16s; }
.tracks .reveal:nth-child(4), .speaker-grid .reveal:nth-child(4n+4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- WP core ---------- */
.wp-caption, .wp-block-image figcaption { font-size: .9rem; color: var(--muted); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.sticky, .bypostauthor, .gallery-caption { }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 520px) {
	.countdown { gap: 8px; flex-wrap: nowrap; }
	.countdown__cell { min-width: 0; flex: 1; padding: 12px 10px 10px; }
	.countdown__num { font-size: 1.55rem; }
	.countdown__label { font-size: .68rem; letter-spacing: .04em; }
	.hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}
