:root {
  --bg: #07131f;
  --bg-deep: #040b12;
  --surface: #0c1b29;
  --surface-2: #102334;
  --surface-3: #153047;
  --line: #223c50;
  --line-bright: #315a72;
  --text: #f3f8fb;
  --muted: #9bb0bf;
  --cyan: #35d9ff;
  --cyan-soft: #8cecff;
  --green: #4bea9a;
  --amber: #ffc857;
  --red: #ff7b8d;
  --purple: #bd8cff;
  --neon-blue: var(--cyan);
  --neon-green: var(--green);
  --neon-pink: #ff63d8;
  --neon-red: #ff7187;
  --neon-orange: #ffb454;
  --neon-purple: var(--purple);
  --neon-yellow: #ffe36e;
  --text-main: var(--text);
  --text-muted: var(--muted);
  --panel-bg: var(--surface);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(53,217,255,.09), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(75,234,154,.06), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(53,217,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,217,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -1;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }

.skip-link { position: fixed; left: 1rem; top: -5rem; background: white; color: #06131d; padding: .7rem 1rem; z-index: 9999; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.site-container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--cyan-soft); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 850; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--cyan); }
.display-title { font-size: clamp(2.8rem, 7vw, 5.9rem); line-height: .98; letter-spacing: -.045em; margin: .7rem 0 1.3rem; max-width: 900px; }
.page-title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; margin: .75rem 0 1rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #c3d2dc; max-width: 720px; }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin: .35rem 0 0; }
.section-heading p { color: var(--muted); max-width: 560px; margin-bottom: .2rem; }
.text-link { color: var(--cyan-soft); text-decoration: none; font-weight: 750; }
.text-link:hover { color: white; }

.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: .72rem 1rem;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 820;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.button:hover, .btn:hover { transform: translateY(-1px); }
.button--primary, .btn-primary { background: var(--cyan); color: #03202a; box-shadow: 0 10px 30px rgba(53,217,255,.16); }
.button--secondary, .btn-secondary { background: rgba(53,217,255,.055); border-color: var(--line-bright); color: var(--cyan-soft); }
.button--quiet { border-color: var(--line); background: rgba(255,255,255,.02); color: #d8e6ee; }
.button--portal { background: #15283a; border-color: #38576f; color: #f5fbff; }
.btn-danger { background: #682232; color: white; border-color: #95384c; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(5,13,21,.88); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(67,103,128,.34); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; gap: 1.2rem; }
.site-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: max-content; }
.site-brand__mark { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(53,217,255,.15)); }
.site-brand__text { line-height: 1; display: grid; gap: .18rem; }
.site-brand__text strong { letter-spacing: .08em; font-size: 1.1rem; }
.site-brand__text small { color: var(--cyan-soft); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: .95rem; margin-left: auto; font-size: .88rem; }
.site-nav > a:not(.button) { color: #b8cad5; text-decoration: none; font-weight: 720; }
.site-nav > a:not(.button):hover { color: white; }
.site-nav__actions { display: flex; align-items: center; gap: .5rem; margin-left: .45rem; }
.site-nav__actions .button { font-size: .8rem; padding: .6rem .78rem; min-height: 39px; }
.site-menu-toggle { display: none; margin-left: auto; color: white; background: #0e2030; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .75rem; gap: .55rem; align-items: center; }
.mobile-community-group { display: none; }

.flash-stack { padding-top: 1rem; }
.flash { border: 1px solid var(--line-bright); background: var(--surface); padding: .85rem 1rem; border-radius: 12px; }
.flash--success { border-color: rgba(75,234,154,.45); color: #bcf8d9; }
.flash--error { border-color: rgba(255,123,141,.55); color: #ffd0d7; }

.hero-section { position: relative; padding: clamp(5rem, 9vw, 8.5rem) 0 5.5rem; overflow: hidden; }
.hero-section::after { content: ""; position: absolute; width: 620px; height: 620px; right: -260px; top: -160px; border-radius: 50%; border: 1px solid rgba(53,217,255,.12); box-shadow: inset 0 0 100px rgba(53,217,255,.035); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: center; }
.hero-copy .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-sidecard { background: linear-gradient(150deg, rgba(16,35,52,.96), rgba(8,21,33,.96)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.hero-sidecard__label { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 850; }
.hero-sidecard h2 { font-size: 1.65rem; margin: .55rem 0 .75rem; }
.hero-sidecard p { color: var(--muted); }
.metric-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.4rem; }
.metric { background: #081522; border: 1px solid #1f3b50; border-radius: 13px; padding: 1rem; }
.metric strong { display: block; color: white; font-size: 1.15rem; }
.metric span { color: var(--muted); font-size: .8rem; }

.content-section { padding: 5rem 0; }
.content-section--surface { background: rgba(4,12,19,.48); border-block: 1px solid rgba(54,82,103,.22); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-card, .path-card, .event-feature, .panel {
  background: linear-gradient(155deg, rgba(15,32,47,.96), rgba(9,22,34,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}
.path-card { padding: 1.5rem; text-decoration: none; transition: transform .18s ease, border-color .18s ease; position: relative; overflow: hidden; }
.path-card:hover { transform: translateY(-3px); border-color: #3d708d; }
.path-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(53,217,255,.09); color: var(--cyan); font-size: 1.15rem; margin-bottom: 1.15rem; }
.path-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.path-card p { color: var(--muted); margin-bottom: 1.3rem; }
.path-card__action { color: var(--cyan-soft); font-weight: 800; font-size: .9rem; }

.community-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card { padding: 1.5rem; }
.info-card h3 { margin: .6rem 0 .45rem; font-size: 1.25rem; }
.info-card p { color: var(--muted); }
.feature-kicker { color: var(--green); font-size: .77rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }

.event-feature { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; }
.event-feature__date { display: grid; place-items: center; align-content: center; text-align: center; min-height: 260px; background: linear-gradient(145deg, rgba(53,217,255,.12), rgba(75,234,154,.06)); border-right: 1px solid var(--line); padding: 2rem; }
.event-feature__date .month { color: var(--cyan-soft); text-transform: uppercase; letter-spacing: .18em; font-weight: 900; }
.event-feature__date .day { font-size: 4rem; line-height: 1; font-weight: 900; }
.event-feature__body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.event-feature__body h3 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .5rem 0; }
.event-feature__meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: #bfd0db; font-size: .9rem; margin: 1rem 0; }
.event-feature__description { color: var(--muted); max-width: 680px; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .65rem; border-radius: 999px; border: 1px solid rgba(75,234,154,.35); color: #aef4cf; background: rgba(75,234,154,.07); font-size: .78rem; font-weight: 800; }
.empty-event { padding: 2rem; text-align: center; }
.empty-event i { font-size: 2rem; color: var(--cyan); margin-bottom: .8rem; }

.conference-preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: stretch; }
.conference-preview__visual { min-height: 390px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(rgba(5,13,21,.35), rgba(5,13,21,.88)), url('pathfinder_bg.jpg') center/cover; display: flex; align-items: end; padding: 2rem; }
.conference-preview__badge { font-family: "Courier New", monospace; color: var(--green); background: rgba(2,10,15,.78); border: 1px solid rgba(75,234,154,.35); border-radius: 9px; padding: .55rem .7rem; }
.conference-preview__copy { display: flex; flex-direction: column; justify-content: center; }
.conference-preview__copy h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.03; margin: .6rem 0 1rem; }
.conference-preview__copy p { color: var(--muted); }

.partner-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; }
.partner-chip { border: 1px solid var(--line); border-radius: 12px; min-height: 76px; display: grid; place-items: center; padding: .75rem; color: #c4d3dc; background: rgba(255,255,255,.015); text-align: center; font-weight: 750; }

.page-hero { padding: 4.7rem 0 3.2rem; border-bottom: 1px solid rgba(54,82,103,.25); }
.page-hero .lede { margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; color: var(--muted); font-size: .82rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--cyan-soft); text-decoration: none; }

/* TEKCON 27 keeps stronger energy inside the shared shell. */
.tekcon-page { --conference-cyan: #00eaff; --conference-green: #55ff8f; --conference-pink: #ff5fde; --conference-orange: #ffb454; }
.tekcon-hero { padding: 5rem 0 4rem; position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(7,19,31,.38), rgba(7,19,31,.96)), url('pathfinder_bg.jpg') center/cover; border-bottom: 1px solid rgba(0,234,255,.28); }
.tekcon-hero__logo { width: min(320px, 65vw); margin-bottom: 1rem; }
.tekcon-hero h1 { font-size: clamp(3.8rem, 10vw, 7rem); line-height: .9; letter-spacing: -.06em; margin: 0; text-shadow: 0 0 38px rgba(0,234,255,.16); }
.tekcon-hero__mantra { color: var(--conference-green); font-family: "Courier New", monospace; font-weight: 800; letter-spacing: .08em; margin: 1.1rem 0; }
.tekcon-meta { display: flex; gap: .7rem; flex-wrap: wrap; color: #d5e5ee; margin: 1rem 0 1.8rem; }
.tekcon-meta span { background: rgba(4,15,23,.72); border: 1px solid #2f5267; border-radius: 999px; padding: .4rem .7rem; }
.journey-grid, .village-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.journey-card, .village-card { background: #0a1926; border: 1px solid var(--line); border-top: 3px solid var(--accent, var(--cyan)); border-radius: 15px; padding: 1.25rem; }
.journey-card h3, .village-card h3 { margin: .65rem 0 .35rem; }
.journey-card p, .village-card p { color: var(--muted); }
.journey-icon { font-size: 1.6rem; }
.journey-tag, .village-tags { color: var(--cyan-soft); font-size: .8rem; font-weight: 750; }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; }
.flow-step { padding: 1rem .65rem; text-align: center; background: #091925; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.flow-step span { display: block; font-size: 1.6rem; margin: .35rem; }
.flow-step strong { color: white; font-size: .72rem; letter-spacing: .08em; }
.levels-grid, .audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: 1.2rem; }
.level-card, .audience-card { border: 1px solid var(--line); border-radius: 14px; background: #0b1a28; padding: 1.2rem; }
.level-card { border-top: 3px solid var(--accent, var(--cyan)); }
.level-card p, .audience-card p { color: var(--muted); }
.level-xp { color: var(--cyan-soft); font-weight: 850; }
.game-grid, .signals-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.game-panel { padding: 1.5rem; background: #0b1a28; border: 1px solid var(--line); border-radius: 15px; }
.game-list { color: #c4d4df; padding-left: 1.2rem; }
.terminal, .mesh-terminal { font-family: "Courier New", monospace; background: #02080d; border: 1px solid #1b5266; border-radius: 15px; padding: 1.5rem; color: #9deeff; box-shadow: inset 0 0 45px rgba(0,234,255,.025); }
.terminal .bright, .mesh-value { color: var(--conference-green); }
.terminal .cyan { color: var(--conference-cyan); }
.terminal .gold { color: #ffd166; }
.activity-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.chip { font-size: .76rem; border: 1px solid #28465a; border-radius: 999px; padding: .28rem .5rem; color: #c0d1dc; }
.village-levels { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; font-size: .72rem; font-weight: 800; }
.village-levels .green { color: #74f9aa; } .village-levels .yellow { color: #ffe58a; } .village-levels .red { color: #ff93a3; } .village-levels .trivia { color: #8ee8ff; }
.signals-feature { padding: 4.5rem 0; background: linear-gradient(100deg, rgba(0,234,255,.075), rgba(75,234,154,.025)); border-block: 1px solid rgba(0,234,255,.2); }
.mesh-row { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 1px dotted #183b4c; }
.mesh-title { color: white; margin-bottom: .8rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #0c1b29; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.partner-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.partner-rule { background: #0c1b29; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.partner-rule__icon { color: var(--cyan); font-size: 1.5rem; }
.partner-rule h3 { margin: .8rem 0 .4rem; }
.partner-rule p { color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.logo-card { min-height: 120px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 15px; padding: 1rem; background: white; }
.logo-card img { max-height: 64px; max-width: 90%; object-fit: contain; }

.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.archive-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: #0b1a28; }
.archive-card__year { font-size: 3rem; font-weight: 900; color: var(--cyan-soft); line-height: 1; }
.archive-card p { color: var(--muted); }

.community-page-shell { padding: 2rem 0 5rem; }
.context-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(54,82,103,.35); padding-bottom: 1rem; margin-bottom: 2rem; }
.context-bar__copy { color: var(--muted); font-size: .85rem; margin-left: .7rem; }
.community-dashboard-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1rem; }
.community-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin: 1.2rem 0 2rem; }
.community-action { text-decoration: none; padding: 1.1rem; border: 1px solid var(--line); background: #0b1a28; border-radius: 14px; }
.community-action i { color: var(--cyan); margin-bottom: .65rem; }
.community-action strong { display: block; }
.community-action span { color: var(--muted); font-size: .85rem; }
.panel { padding: 1.35rem; }
.panel + .panel { margin-top: .8rem; }
.status-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem; }
.status-card { padding: 1rem; border-radius: 12px; background: #071521; border: 1px solid #1c3548; }
.status-card__label { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.status-card strong { display: block; margin-top: .25rem; }

input, select, textarea { width: 100%; background: #06121d !important; border: 1px solid #2d4b60 !important; color: #f5fbff !important; border-radius: 10px !important; padding: .72rem !important; margin-top: .25rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(53,217,255,.35); border-color: var(--cyan) !important; }
input[type=checkbox], input[type=radio] { width: auto; }
label { font-weight: 750; color: #c8ecf7; }
form p { margin-bottom: 1rem; }
.helptext { display: block; color: var(--muted); font-size: .8rem; margin-top: .25rem; }
ul.errorlist { color: #ffc0c8; font-size: .84rem; margin: .25rem 0; }
.directory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .85rem; }
.member-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 15px; background: #0b1a28; }
.member-card h2 { margin: 0; font-size: 1.25rem; }
.member-card__role { color: var(--cyan-soft); font-size: .82rem; font-weight: 800; }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.tag { display: inline-flex; padding: .25rem .5rem; border-radius: 999px; border: 1px solid #2a475c; color: #b9cad5; font-size: .73rem; }
.event-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; }
.event-card { text-decoration: none; padding: 1.3rem; border: 1px solid var(--line); border-radius: 15px; background: #0b1a28; transition: border-color .15s ease, transform .15s ease; }
.event-card:hover { border-color: #3a708d; transform: translateY(-2px); }
.event-card__time { color: var(--cyan-soft); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.event-card p { color: var(--muted); }

.site-footer { margin-top: 4rem; border-top: 1px solid rgba(56,86,107,.38); background: #040b12; padding: 3rem 0 1.2rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; }
.site-footer__brand { font-size: 1.25rem; font-weight: 900; letter-spacing: .05em; margin-bottom: .7rem; }
.site-footer__brand span { color: var(--cyan-soft); font-weight: 700; }
.site-footer p { color: var(--muted); font-size: .9rem; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; color: #e4f1f7; margin-bottom: .7rem; }
.site-footer a:not(.button) { display: block; color: var(--muted); text-decoration: none; margin: .35rem 0; font-size: .9rem; }
.site-footer a:not(.button):hover { color: white; }
.site-footer__muted { color: #718898 !important; }
.site-footer__bottom { border-top: 1px solid #172b3a; margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; color: #6e8797; font-size: .78rem; }


/* Compatibility helpers for reorganized TEKCON content. */
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.text-center { text-align: center; }
.section-alt { background: rgba(4,12,19,.48); border-block: 1px solid rgba(54,82,103,.22); }
.section-title { font-size: clamp(2rem,5vw,3.2rem); line-height: 1.06; margin: .45rem 0 .8rem; }
.section-copy { color: var(--muted); max-width: 800px; margin: 0 auto 2rem; }
.legacy-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:.65rem; }
.legacy-logo { border:1px solid var(--line); border-radius:12px; padding:1rem; color:#c7d5de; background:#0b1a28; }
.sponsor-callout, .archive-box { max-width:900px; margin:0 auto; border:1px solid var(--line); border-radius:18px; background:#0b1a28; padding:2rem; }
.tagline { color: var(--cyan-soft); font-weight:800; }
.btn-disabled { background:#182836; border-color:#2b4458; color:#869baa; cursor:not-allowed; }
.line { margin:.18rem 0; }
.village-mission { color:white; font-weight:800; margin:.35rem 0; }
@media (max-width: 1050px) {
  .site-menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #07131f; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.35rem; flex-direction: column; align-items: stretch; gap: .25rem; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: .7rem .2rem; }
  .site-nav__actions { margin: .7rem 0 0; flex-wrap: wrap; }
  .desktop-community-link { display: none !important; }
  .mobile-community-group { display: block; border-block: 1px solid #173045; padding: .6rem 0; }
  .mobile-community-group summary { cursor: pointer; font-weight: 750; color: #b8cad5; }
  .mobile-community-group div { display: grid; padding: .4rem 0 .2rem .8rem; }
  .mobile-community-group a { padding: .45rem 0; color: var(--muted); text-decoration: none; }
  .hero-grid, .conference-preview, .community-dashboard-grid { grid-template-columns: 1fr; }
  .card-grid, .directory-grid { grid-template-columns: repeat(2,1fr); }
  .journey-grid, .village-grid { grid-template-columns: repeat(2,1fr); }
  .flow { grid-template-columns: repeat(3,1fr); }
  .site-footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .site-container { width: min(100% - 1.4rem, var(--max)); }
  .site-brand__mark { width: 42px; height: 42px; }
  .hero-section { padding-top: 3.7rem; }
  .display-title { font-size: clamp(2.6rem, 14vw, 4.5rem); }
  .card-grid, .community-feature-grid, .directory-grid, .event-list, .partner-rules, .archive-grid, .levels-grid, .audience-grid, .logo-grid, .game-grid, .signals-layout { grid-template-columns: 1fr; }
  .partner-strip { grid-template-columns: repeat(2,1fr); }
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__date { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .journey-grid, .village-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .community-actions { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .context-bar { align-items: flex-start; flex-direction: column; }
  .context-bar__copy { display: block; margin: .2rem 0 0 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

.journey-card.selected { border-color: var(--accent, var(--cyan)); box-shadow: 0 0 0 1px var(--accent, var(--cyan)), 0 18px 45px rgba(0,0,0,.2); transform: translateY(-2px); }

/* SSO + badge-linking UI */
.page-section { padding: 4rem 0; }
.page-section--compact { padding-top: 2.5rem; }
.section-heading--center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }
.section-heading--small { align-items: center; }
.content-grid { display: grid; gap: 1rem; }
.content-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card { background: linear-gradient(155deg, rgba(15,32,47,.96), rgba(9,22,34,.96)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature-card--accent { border-color: rgba(53,217,255,.35); box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.stack-form { display: grid; gap: .9rem; }
.stack-form .btn { width: 100%; }
.btn-lg { min-height: 52px; padding: .9rem 1.1rem; }
.scanner-status { border: 1px dashed var(--line-bright); background: rgba(53,217,255,.035); border-radius: 11px; padding: .85rem 1rem; color: var(--muted); text-align: center; }
.mini-list { display: grid; gap: .8rem; margin-top: 1.2rem; }
.mini-list > div { display: grid; grid-template-columns: 24px 1fr; gap: .65rem; align-items: start; color: var(--muted); }
.mini-list i { color: var(--cyan); margin-top: .22rem; }
.notice { padding: .85rem 1rem; border-radius: 10px; border: 1px solid var(--line); }
.notice--warning { color: #ffe7a8; border-color: rgba(255,200,87,.35); background: rgba(255,200,87,.06); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--cyan-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.data-table small { color: var(--muted); }
.mt-10 { margin-top: 2.5rem; }
.overflow-x-auto { overflow-x: auto; }
@media (max-width: 820px) {
  .content-grid--2 { grid-template-columns: 1fr; }
}
