:root {
  --navy: #0a1628;
  --navy-2: #12263f;
  --navy-3: #1b3352;
  --gold: #c9a227;
  --gold-2: #e8c86a;
  --cream: #f6f1e6;
  --ivory: #fbf8f1;
  --ink: #1a1c1e;
  --muted: #5a636e;
  --teal: #1b7a78;
  --wine: #8b2e2e;
  --sand: #e8dfc8;
  --white: #fff;
  --max: 82rem;
  --font-t: Georgia, "Times New Roman", serif;
  --font-b: "Segoe UI", Calibri, system-ui, sans-serif;
  --band-cream: #f3ebda;
  --band-sand: #ebe3cf;
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 38C180 38 240 8 400 8C560 8 620 54 800 54C980 54 1040 14 1200 14C1320 14 1380 38 1440 38V0H0Z'/%3E%3C/svg%3E");
  --header-h: 4.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 17px/1.55 var(--font-b);
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: var(--gold);
  color: var(--navy);
  padding: .4rem .8rem;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.narrow { max-width: 40rem; }
h1, h2, h3 { font-family: var(--font-t); font-weight: 500; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: none; }
.muted { color: var(--muted); }
.kicker { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.kicker a { color: inherit; }
.code { color: var(--teal); font-weight: 700; font-size: .85rem; }

.site-header {
  background: rgba(10, 22, 40, .96);
  color: var(--cream);
  border-bottom: 1px solid rgba(201, 162, 39, .38);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.1rem;
  padding: .85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  display: block;
  height: 2.9rem;
  width: 2.9rem;
  flex: 0 0 auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.brand strong {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  font-size: 1.05rem;
  letter-spacing: .08em;
  line-height: 1;
}
.brand-kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-2);
}
.brand em {
  display: block;
  font-style: normal;
  color: var(--gold-2);
  font-size: .7rem;
  line-height: 1.3;
  max-width: 17.5rem;
  letter-spacing: .01em;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; }
.site-nav a, .nav-group summary {
  color: #ece6d8;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .03em;
  list-style: none;
  cursor: pointer;
  border: 0;
  border-radius: .55rem;
  padding: .42rem .72rem;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.nav-group summary {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after {
  content: "";
  width: .32rem;
  height: .32rem;
  margin-top: -.12rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-group[open] summary::after { transform: rotate(225deg); margin-top: .12rem; opacity: .9; }
.nav-group { position: relative; }
.nav-drop {
  display: none;
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  min-width: 14.2rem;
  background: #10233c;
  border: 1px solid rgba(201, 162, 39, .22);
  border-radius: .8rem;
  padding: .4rem;
  z-index: 12;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.nav-drop a {
  display: block;
  padding: .52rem .7rem;
  font-size: .84rem;
  border-radius: .5rem;
}
.nav-group[open] .nav-drop, .nav-group:hover .nav-drop { display: block; }
.site-nav a:hover, .site-nav a:focus-visible, .nav-group summary:hover, .nav-group[open] summary {
  background: rgba(201, 162, 39, .12);
  color: var(--gold-2);
}
.nav-drop a:hover, .nav-drop a:focus-visible {
  background: rgba(201, 162, 39, .14);
}
.site-nav a.nav-ext {
  color: var(--gold-2);
  padding: .38rem .85rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, .1);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .55);
}
.site-nav a.nav-ext::after {
  content: "↗";
  font-size: .68em;
  margin-left: .28em;
  opacity: .7;
}
.site-nav a.nav-ext:hover,
.site-nav a.nav-ext:focus-visible {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(201, 162, 39, .28);
}
.site-nav a.nav-ext:hover::after,
.site-nav a.nav-ext:focus-visible::after { opacity: 1; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: .16rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.lang {
  color: #c9c3b4;
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .28rem .55rem;
  border-radius: 999px;
}
.lang.is-on {
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 700;
}
.who { font-size: .78rem; color: var(--sand); }
.logout-form { display: inline; margin: 0; }
.nav-toggle { display: none; }

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: .6rem 1.15rem;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--navy);
  border-radius: .7rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { box-shadow: 0 10px 24px #c9a22755; transform: translateY(-2px); }
.btn-ghost { color: inherit; }
.btn-ghost:hover { background: #c9a2271a; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

.hero, .event-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(10,22,40,.88), rgba(18,38,63,.62)),
    var(--hero) center/cover no-repeat,
    var(--navy);
  color: var(--cream);
  padding: 4.4rem 0 0;
}
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 20rem;
  padding: 3.6rem 0 0;
  background: var(--navy);
  color: var(--cream);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero) center / cover no-repeat;
  transform: scale(1.05);
}
.page-hero.is-fit::before {
  background-size: contain;
  background-position: center;
  transform: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, #0a1628 0%, rgba(10, 22, 40, .92) 34%, rgba(10, 22, 40, .58) 58%, rgba(10, 22, 40, .22) 100%),
    linear-gradient(180deg, rgba(10, 22, 40, .12) 0%, rgba(10, 22, 40, .42) 100%);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 2.2rem;
}
.page-hero .lead {
  max-width: 36rem;
  color: #e7edf4;
  text-shadow: 0 1px 14px rgba(10, 22, 40, .7);
}
.page-hero h1 {
  text-shadow: 0 2px 22px rgba(10, 22, 40, .45);
}
.hero-bg {
  position: absolute;
  inset: -10% -6% 8%;
  background:
    linear-gradient(160deg, rgba(10,22,40,.86), rgba(18,38,63,.5)),
    var(--hero) center/cover no-repeat;
  z-index: 0;
}
.hero-bg.is-fit {
  background-size: auto, contain;
}
.is-home .hero-bg { animation: ken 26s ease-in-out infinite alternate; }
.is-home .hero {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}
.is-home .hero > .wave { flex: 0 0 auto; }
.hero-inner { position: relative; z-index: 1; padding-bottom: 2.4rem; }
.is-home .hero-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2.2rem;
  padding-bottom: 1.4rem;
  animation: riseIn 1s cubic-bezier(.22, 1, .36, 1) both;
}
.hero h1, .page-hero h1, .event-hero h1 { color: var(--white); white-space: pre-line; }
.hero .lead, .page-hero .lead, .event-hero .lead { color: var(--cream); }
.hero .btn-ghost, .page-hero .btn-ghost { color: var(--gold-2); border-color: var(--gold-2); }
.event-hero { padding: 3.2rem 0 0; }
.event-hero-inner { position: relative; z-index: 1; padding-inline: .4rem; padding-bottom: 2rem; }
.event-hero.is-session {
  background:
    radial-gradient(circle at 88% 18%, #c9a22726, transparent 26%),
    linear-gradient(160deg, #0a1628, #12263f 64%, #1b3352);
}
.event-hero.is-session::after {
  content: "";
  position: absolute;
  inset: .85rem 1rem 5.6rem;
  border: 1px solid #c9a22740;
  box-shadow: inset 0 0 0 5px #0a1628, inset 0 0 0 6px #c9a22724;
  pointer-events: none;
}
.event-hero.is-photo { background: var(--navy); min-height: 18rem; }
.event-hero.is-photo::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: var(--hero) center / cover no-repeat;
  filter: blur(6px) saturate(.85) brightness(.62);
  transform: scale(1.04);
}
.event-hero.is-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 22, 40, .82), rgba(18, 38, 63, .48));
}
.event-hero.is-photo.is-fit::before {
  inset: 0;
  filter: saturate(.9) brightness(.7);
  transform: none;
  background-size: contain;
  background-position: center;
}

.official-band { background: var(--navy-2); color: var(--cream); padding: .4rem 0 0; }
.official-inner { display: flex; justify-content: space-between; gap: 1.3rem 1.8rem; align-items: center; flex-wrap: wrap; padding: 1.2rem 0 .4rem; }
.official-inner > div:first-of-type { flex: 1 1 16rem; min-width: 12rem; }
.official-band h2 { color: var(--white); margin: .2rem 0 .4rem; }
.official-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.official-band .btn-ghost { color: var(--gold-2); border-color: var(--gold-2); }
.dccec-lockup {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  max-width: 22rem;
  min-width: 0;
}
.dccec-lockup .dccec-mark {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
}
.dccec-lockup-copy {
  display: flex;
  flex-direction: column;
  gap: .22rem;
  min-width: 0;
}
.dccec-lockup-copy strong {
  font-family: var(--font-b);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
}
.dccec-lockup-copy em {
  font-style: normal;
  font-size: .78rem;
  line-height: 1.35;
}
.dccec-lockup-dark strong { color: #fff; }
.dccec-lockup-dark em { color: var(--sand); }
.dccec-lockup-light strong { color: var(--navy); }
.dccec-lockup-light em { color: var(--muted); }
.dccec-logo-band { flex: 0 1 20rem; }
.dccec-logo-footer { margin: 0 0 1rem; }
.dccec-logo-footer .dccec-mark { width: 3.9rem; height: 3.9rem; }
.logo-plate { margin: 1.15rem 0 1.7rem; }
.dccec-logo-about .dccec-mark { width: 5.4rem; height: 5.4rem; }
.dccec-mark {
  position: relative;
  display: block;
  overflow: visible;
}
.dccec-mark img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: dccecBreathe 7s ease-in-out infinite;
}
.dccec-halo {
  position: absolute;
  inset: -22%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 224, 207, .34), rgba(232, 200, 106, .1) 42%, transparent 70%);
  animation: dccecPulse 4.8s ease-in-out infinite;
}
.dccec-fx {
  position: absolute;
  inset: -8%;
  z-index: 3;
  width: 116%;
  height: 116%;
  overflow: visible;
  pointer-events: none;
}
.dccec-orbit-ring {
  stroke: rgba(232, 200, 106, .42);
  stroke-width: .7;
  stroke-dasharray: 2.4 4.6;
}
.dccec-orbit-spin,
.dccec-stars-spin {
  transform-origin: 0 0;
  animation: dccecSpin 36s linear infinite;
}
.dccec-stars-spin { animation-duration: 22s; }
.dccec-spark {
  fill: #fff6c2;
  transform-box: fill-box;
  transform-origin: center;
  animation: dccecTwinkle 2.4s ease-in-out infinite;
  animation-delay: calc(var(--s, 0) * .2s);
  filter: drop-shadow(0 0 1.2px #f0d24a);
}
.dccec-bit {
  transform-box: fill-box;
  transform-origin: center;
  animation: dccecDrift 5.2s ease-in-out infinite;
  animation-delay: var(--s, 0s);
}
.brand:hover .dccec-stars-spin,
.dccec-lockup:hover .dccec-stars-spin { animation-duration: 8s; }
.brand:hover .dccec-orbit-spin,
.dccec-lockup:hover .dccec-orbit-spin { animation-duration: 12s; }
.brand:hover .dccec-halo,
.dccec-lockup:hover .dccec-halo { animation-duration: 2s; }
.site-header .dccec-mark { filter: drop-shadow(0 0 10px rgba(232, 200, 106, .22)); }
.dccec-lockup-light .dccec-mark { filter: drop-shadow(0 8px 16px rgba(10, 22, 40, .12)); }
@keyframes dccecSpin { to { transform: rotate(360deg); } }
@keyframes dccecTwinkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  40% { opacity: 1; transform: scale(1.25); }
}
@keyframes dccecPulse {
  0%, 100% { opacity: .45; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes dccecBreathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.035); filter: brightness(1.12); }
}
@keyframes dccecDrift {
  0%, 100% { transform: translate(0, 0); opacity: .85; }
  55% { transform: translate(var(--dx, -8px), var(--dy, -3px)); opacity: .12; }
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.privacy-note {
  max-width: 42rem;
  margin: 0 0 1.1rem;
  padding: .75rem .95rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--ink);
  font-size: .92rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1.4rem; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.event-grid-full { grid-template-columns: 1fr; gap: 1.35rem; }
.event-card {
  background: var(--white);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 1.15rem;
  box-shadow: 0 14px 36px #0a16281c;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.event-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-2);
  margin: 0;
}
.event-media img,
.photo-pair img,
.ebook-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}
.event-card:hover .event-media img { transform: scale(1.06); }
.event-media.is-session,
.event-media.is-tall { background: #0d1b30; }
.event-media.is-session img,
.event-media.is-tall img,
.photo-pair img {
  object-fit: contain;
  background: #0d1b30;
}
.event-card:hover .event-media.is-session img,
.event-card:hover .event-media.is-tall img { transform: none; }
.event-card-full {
  display: grid;
  grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
  align-items: stretch;
}
.event-card-full .event-media {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 14.5rem;
  align-self: center;
}
.event-card-full .event-media img {
  max-height: 100%;
}
.event-meta { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.event-meta h3, .event-meta h2 { margin: .2rem 0; font-size: 1.22rem; }
.event-meta p { margin: .15rem 0; color: var(--muted); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.4rem 0; }
.photo-pair .event-media { border-radius: 1rem; aspect-ratio: auto; min-height: 12rem; }

.event-album {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 1.8rem 0 2rem;
}
.event-album-photo {
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  align-items: start;
}
.event-plate {
  margin: 0;
  background: #0d1b30;
  border-radius: 1.05rem;
  padding: .95rem .95rem .7rem;
  box-shadow: inset 0 0 0 1px #c9a22740, 0 18px 40px #0a16281f;
}
.event-plate-link {
  display: grid;
  place-items: center;
  background: #081422;
  border-radius: .65rem;
  overflow: hidden;
  min-height: 12rem;
}
.event-plate.is-session .event-plate-link {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.event-plate.is-session .event-plate-link img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #081422;
}
.event-plate.is-photo .event-plate-link {
  min-height: 14rem;
}
.event-plate.is-photo .event-plate-link img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 38rem);
  object-fit: contain;
  object-position: center;
}
.event-plate figcaption {
  color: var(--sand);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .7rem .15rem 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #0a1628f5;
  display: grid;
  place-items: center;
  padding: 2.6rem 1.2rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(96vw, 74rem);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px #0008;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-2);
  font: 1.4rem/1 var(--font-t);
  cursor: pointer;
  border-radius: .45rem;
}
body.has-lightbox { overflow: hidden; }
.ebook-card { overflow: hidden; padding: 0 0 1.2rem; border-radius: 1.15rem; }
.ebook-media { aspect-ratio: 3 / 4; margin-bottom: .9rem; }
.ebook-card .code, .ebook-card h2, .ebook-card p, .ebook-card .btn, .ebook-card .hero-actions { margin-left: 1.15rem; margin-right: 1.15rem; }
.ebook-card h2 a { color: inherit; text-decoration: none; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.book-chapters { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0 2rem; }
.book-chapter {
  background: var(--white);
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 12px 30px #0a162814;
}
.book-chapter h2 { margin: .2rem 0 .55rem; font-size: 1.28rem; }
.book-chapter.is-scenario { border-left: 4px solid var(--teal); }
.book-cover-plate { max-width: 16rem; margin: 1.2rem 0 0; }
.book-source { max-width: none; }
.ebook-box { margin: 2rem 0 1.2rem; }
.ebook-box h2 { margin-bottom: .35rem; }
.talk-cover { aspect-ratio: 16 / 9; }
.talk-deck { display: flex; flex-direction: column; gap: 1.15rem; margin: 1.2rem 0 2rem; }
.talk-slide .event-plate-link { aspect-ratio: 16 / 9; }
.talk-toc {
  columns: 2;
  column-gap: 1.6rem;
  margin: 1.2rem 0 2rem;
  padding: 0 0 0 1.2rem;
}
.talk-toc li {
  break-inside: avoid;
  margin: .35rem 0;
  font-size: .92rem;
}
.talk-toc a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.talk-toc a:hover { border-bottom-color: var(--gold); color: var(--wine); }
.talk-lessons { display: flex; flex-direction: column; gap: 1.35rem; margin: 1.2rem 0 2.2rem; }
.talk-lesson {
  position: relative;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 100%);
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 1.05rem;
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 14px 34px rgba(10, 22, 40, .07), inset 0 1px 0 rgba(255, 255, 255, .92);
}
.talk-lesson-n {
  margin: 0 0 .7rem;
  font-family: var(--font-t);
  font-size: 1.15rem;
  letter-spacing: .08em;
  color: var(--gold);
}
.talk-lesson-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.talk-lesson.is-text .talk-lesson-grid { grid-template-columns: 1fr; }
.talk-lesson .talk-slide { margin: 0; }
.talk-lesson-file {
  margin: 0;
  padding: .85rem 1rem;
  background: var(--sand);
  color: var(--navy);
  font-size: .9rem;
}
.talk-lesson-copy h3 {
  margin: 0 0 .55rem;
  font-size: 1.28rem;
}
.talk-lesson-copy p { margin: 0 0 .7rem; color: var(--ink); }
.talk-lesson-copy ul { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.talk-lesson-copy li { margin: .35rem 0; }
.talk-module-box { margin-top: 2.2rem; }
.talk-module-card {
  margin-top: 1rem;
  padding: 1.2rem 1.25rem 1.3rem;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 100%);
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 1.05rem;
  box-shadow: 0 14px 34px rgba(10, 22, 40, .07);
}
.talk-module-card h3 { margin: .25rem 0 .35rem; }
@media (max-width: 860px) {
  .talk-toc { columns: 1; }
  .talk-lesson-grid { grid-template-columns: 1fr; }
}

.tool-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin: 1.2rem 0 1.8rem;
}
.tool-toc a {
  color: var(--navy);
  font-size: .92rem;
}
.tool-doc {
  background: var(--white);
  border-radius: 1.1rem;
  padding: 1.35rem 1.4rem 1.5rem;
  margin: 0 0 1.25rem;
  box-shadow: 0 12px 30px #0a162814;
  border-top: 4px solid var(--gold);
  break-inside: avoid;
}
.tool-doc h3 { margin: .15rem 0 .45rem; }
.tool-doc h4 { margin: 1.1rem 0 .4rem; font-size: 1rem; }
.tool-doc-head .lead { margin: 0 0 .85rem; max-width: none; }
.tool-meta, .tool-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: .75rem 1.2rem;
  margin: 0 0 1rem;
}
.tool-meta dt, .tool-facts dt {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  font-weight: 700;
}
.tool-meta dd, .tool-facts dd { margin: .2rem 0 0; }
.tool-list { margin: .2rem 0 0; padding-left: 1.2rem; }
.tool-list li { margin: .35rem 0; }
.tool-checks { list-style: none; padding-left: 0; }
.tool-checks li {
  position: relative;
  padding: .35rem 0 .35rem 1.8rem;
}
.tool-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--navy);
  border-radius: 2px;
}
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: .7rem;
  margin: .6rem 0 1rem;
}
.tool-cards article {
  background: var(--ivory);
  border: 1px solid #c9a22744;
  border-radius: .7rem;
  padding: .85rem .9rem 1rem;
  min-height: 7.5rem;
}
.tool-cards h5 { margin: 0 0 .35rem; color: var(--wine); font-size: 1rem; }
.tool-cards p { margin: 0; }
.tool-form { list-style: none; padding: 0; margin: .4rem 0 0; }
.tool-form li { margin: 0 0 .85rem; }
.tool-form span { display: block; font-weight: 600; margin-bottom: .25rem; }
.tool-form b {
  display: block;
  height: 2.1rem;
  border-bottom: 1px solid #0a162844;
  font-weight: inherit;
}
.tool-note {
  background: var(--ivory);
  padding: .75rem .9rem;
  border-left: 3px solid var(--gold);
  margin: .85rem 0 0;
}
.page-hero .meta { color: var(--gold-2); margin: .85rem 0 0; }
.activity-sheet {
  background: var(--white);
  border-radius: 1.15rem;
  padding: 1.7rem 1.8rem 1.85rem;
  box-shadow: 0 12px 30px #0a162814;
  border-top: 4px solid var(--gold);
  width: 100%;
}
.activity-sheet h2 {
  margin: 0 0 .7rem;
  font-size: 1.05rem;
  color: var(--wine);
}
.activity-sheet-block { margin-bottom: 1.7rem; }
.activity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-chips li {
  background: var(--ivory);
  border: 1px solid #c9a22744;
  border-radius: 999px;
  padding: .42rem .95rem;
  font-weight: 600;
  font-size: .92rem;
}
.activity-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.activity-steps li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: .85rem;
  align-items: start;
  margin: 0;
}
.activity-step-n {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-2);
  font-family: var(--font-t);
  font-weight: 700;
}
.activity-steps p { margin: .25rem 0 0; }
.activity-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e7dfcc;
}
.activity-notes article {
  background: var(--ivory);
  border-radius: .8rem;
  padding: 1rem 1.05rem 1.1rem;
  min-height: 8.5rem;
}
.activity-notes h2 { color: var(--navy); font-size: .98rem; }
.activity-notes p { margin: 0; }
@media (max-width: 860px) {
  .activity-notes { grid-template-columns: 1fr; }
}
@media print {
  .tool-toc, .no-print, .hero-actions { display: none !important; }
  .tool-doc { box-shadow: none; border: 1px solid #c9a22766; break-inside: avoid; }
}
.field-strip { padding: 0; }

.needs, .agora-map, .partner-strip { padding: 0; }
.band {
  position: relative;
  padding: 3.4rem 0 3.6rem;
}
.band-cream {
  --band-prev: var(--ivory);
  --band-next: var(--ivory);
  background: var(--band-cream);
}
.band-sand {
  --band-prev: var(--band-cream);
  --band-next: var(--ivory);
  background: var(--band-sand);
}
.agora-map.band-wave { --band-next: var(--band-sand); }
.band-wave { padding-top: 4.4rem; padding-bottom: 4.6rem; }
.band-wave::before,
.band-wave::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4.1rem;
  pointer-events: none;
  z-index: 2;
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat;
}
.band-wave::before {
  top: 0;
  background: var(--band-prev, var(--ivory));
}
.band-wave::after {
  bottom: 0;
  background: var(--band-next, var(--ivory));
  transform: scaleY(-1);
}
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.stat {
  background: var(--white);
  border-top: 4px solid var(--wine);
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 12px 30px #0a162814;
  transition: transform .3s ease;
}
.stat:hover { transform: translateY(-4px); }
.stat strong { display: block; font-family: var(--font-t); font-size: 2.6rem; color: var(--wine); }
.need-banner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: var(--cream);
  border-left: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(10, 22, 40, .12);
}
.need-banner strong {
  font-family: var(--font-t);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1;
}
.need-banner span {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #e8dfc8;
}
.need-cite {
  font-size: .78rem;
  line-height: 1.4;
  color: #c9c3b4;
}
.need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.need-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 18%;
  --lift: 0px;
  --scale: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 14.25rem;
  padding: 1.3rem 1.25rem 1.2rem;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 72%, #f4ecda 100%);
  border: 1px solid rgba(201, 162, 39, .28);
  border-top: 3px solid var(--wine);
  border-radius: 1.05rem;
  box-shadow: 0 14px 34px rgba(10, 22, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .92);
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift)) scale(var(--scale));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.need-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(440px circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, .58), rgba(232, 200, 106, .1) 30%, transparent 54%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.need-card > * { position: relative; z-index: 1; }
.need-card:hover, .need-card:focus-visible {
  --lift: -7px;
  --scale: 1.015;
  box-shadow: 0 24px 50px rgba(10, 22, 40, .15), 0 0 0 1px rgba(201, 162, 39, .28);
}
.need-card.is-tilting {
  transition: transform .08s linear, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.need-card:hover::after, .need-card.is-tilting::after { opacity: 1; }
.need-src {
  margin: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wine);
}
.need-card strong {
  display: block;
  margin: .55rem 0 .4rem;
  font-family: var(--font-t);
  font-size: clamp(2.35rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}
.need-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
  flex: 1;
}
.need-card-euro { border-top-color: var(--teal); }
.need-card-euro .need-src { color: var(--teal); }
.need-foot {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.agora-plaza {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
}
.agora-seal {
  width: 8.4rem;
  height: 8.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #243959, var(--navy));
  color: var(--gold-2);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 10px #c9a2271f, 0 18px 40px #0a162829;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
}
.agora-seal::after {
  content: "";
  position: absolute;
  inset: .55rem;
  border-radius: 50%;
  border: 1px dashed #e8c86a66;
}
.agora-seal span, .agora-seal small { position: relative; z-index: 1; }
.agora-seal span { font-family: var(--font-t); font-size: 1.12rem; letter-spacing: .08em; }
.agora-seal small { display: block; font-size: .78rem; letter-spacing: .16em; }
.agora-fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  width: 100%;
}
.agora-fields .pillar-card:nth-child(1),
.agora-fields .pillar-card:nth-child(2),
.agora-fields .pillar-card:nth-child(3) { grid-column: span 2; }
.agora-fields .pillar-card:nth-child(4) { grid-column: 2 / 4; }
.agora-fields .pillar-card:nth-child(5) { grid-column: 4 / 6; }
.pillar-card {
  background: linear-gradient(180deg, #fff 0%, #fbf8f1 100%);
  padding: 1.2rem 1.25rem 1.15rem 1.3rem;
  text-decoration: none;
  color: inherit;
  border-left: 4px solid var(--pillar, var(--gold));
  border-radius: 1.15rem;
  box-shadow: 0 14px 34px #0a162816;
  min-height: 11rem;
  display: flex;
  flex-direction: column;
}
.pillar-code {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 1.65rem;
  padding: .12rem .6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pillar, var(--teal)) 16%, #fff);
  color: var(--pillar, var(--teal));
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
}
.pillar-card h3 { margin: .65rem 0 .35rem; font-size: 1.18rem; }
.pillar-card p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.pillar-go {
  margin-top: .9rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
}

.partner-pills { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; }
.partner-pills li { background: var(--sand); padding: .45rem .85rem; font-size: .9rem; border-radius: 999px; }

.card {
  background: var(--white);
  padding: 1.2rem 1.3rem;
  border-top: 4px solid var(--gold);
  border-radius: 1.1rem;
  box-shadow: 0 12px 30px #0a162814;
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.card a { color: var(--navy); }
.studio-head { margin: 0 0 .35rem; }
.pillar-page .studio-head { margin: 0 0 1.55rem; }
.studio-head h1, .studio-head h2 { margin: .35rem 0 .55rem; }
.studio-head .lead { max-width: 38rem; }
.pillar-page .studio-head .lead { max-width: 44rem; }
.studio-head h1::after,
.studio-head h2::after {
  content: "";
  display: block;
  width: 5.2rem;
  height: 12px;
  margin: .75rem 0 0;
  background: var(--pillar, var(--gold));
  opacity: .42;
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat;
}
.pillar-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: .18rem .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pillar, var(--gold)) 16%, #fff);
  color: var(--pillar, var(--teal));
  letter-spacing: .07em;
}
.four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.7rem 0 0;
  align-items: stretch;
  list-style: none;
  padding: 0;
}
.four > section,
.pillar-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.3rem 1.2rem 1.25rem;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 100%);
  border: 1px solid rgba(201, 162, 39, .26);
  border-radius: 1.05rem;
  box-shadow: 0 12px 32px #0a162812, inset 0 1px 0 rgba(255, 255, 255, .9);
}
.four > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5rem;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--pillar, var(--gold)), var(--gold-2), var(--pillar, var(--gold)));
}
.pillar-page .four {
  gap: 1.2rem;
  margin: .15rem 0 2rem;
}
.pillar-page .pillar-step {
  padding: 1.4rem 1.25rem 1.5rem;
  background:
    linear-gradient(var(--pillar, var(--gold)), var(--pillar, var(--gold))) left bottom / var(--step-fill, 25%) 3px no-repeat,
    linear-gradient(168deg, #fff 0%, #fff 48%, #fbf8f1 100%);
  border: 1px solid rgba(201, 162, 39, .24);
  border-radius: 1.15rem;
  box-shadow:
    0 16px 34px #0a162814,
    inset 0 3px 0 var(--pillar, var(--gold));
}
.pillar-page .pillar-step[data-n="01"] { --step-fill: 28%; }
.pillar-page .pillar-step[data-n="02"] { --step-fill: 52%; }
.pillar-page .pillar-step[data-n="03"] { --step-fill: 76%; }
.pillar-page .pillar-step[data-n="04"] { --step-fill: 100%; }
.pillar-page .pillar-step::before { display: none; }
.pillar-page .pillar-step::after {
  content: attr(data-n);
  position: absolute;
  right: .35rem;
  bottom: .2rem;
  font-family: var(--font-t);
  font-size: 3.1rem;
  line-height: 1;
  color: var(--pillar, var(--gold));
  opacity: .09;
  pointer-events: none;
}
.pillar-step-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .7rem;
}
.pillar-step-num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pillar, var(--gold)) 12%, #fff);
  border: 1.5px solid var(--pillar, var(--gold));
  color: var(--pillar, var(--gold));
  font-family: var(--font-t);
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.pillar-page .pillar-step:hover .pillar-step-num,
.pillar-page .pillar-step:focus-within .pillar-step-num {
  background: var(--pillar, var(--gold));
  color: #fff;
  transform: scale(1.05);
}
.pillar-step-kicker {
  color: var(--pillar, var(--gold));
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.four > section h2,
.pillar-step h2 {
  margin: .55rem 0 .55rem;
  font-size: 1.22rem;
  letter-spacing: -.01em;
}
.pillar-page .pillar-step h2 {
  margin: 0 0 .7rem;
  padding-bottom: .5rem;
  font-size: 1.3rem;
}
.pillar-page .pillar-step h2::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 5px;
  margin-top: .5rem;
  border-top: 1px solid rgba(201, 162, 39, .78);
  border-bottom: 1px solid rgba(201, 162, 39, .34);
}
.four > section p,
.pillar-step p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  flex: 1;
}
.pillar-page .pillar-step > p:last-child {
  color: #2a3138;
  font-size: .95rem;
  line-height: 1.65;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.3rem 0 2rem;
}
.fact {
  position: relative;
  overflow: hidden;
  min-height: 14.5rem;
  padding: 1.35rem 1.25rem 1.25rem;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 100%);
  border: 1px solid rgba(201, 162, 39, .26);
  border-radius: 1.05rem;
  box-shadow: 0 12px 32px #0a162812, inset 0 1px 0 rgba(255, 255, 255, .9);
}
.fact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5rem;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
}
.about-aim { max-width: none; }
.use-title { margin-top: 2.2rem; }
.tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
.reflect {
  margin: 1.55rem 0 1.1rem;
  padding: 1.55rem 1.6rem 1.6rem;
  background:
    radial-gradient(circle at 92% 16%, #c9a22726, transparent 28%),
    linear-gradient(160deg, #0a1628, #12263f 64%, #1b3352);
  color: var(--cream);
  border-radius: 1.15rem;
  box-shadow: 0 18px 40px #0a162828, inset 0 0 0 1px #c9a22736;
}
.reflect .kicker {
  color: var(--gold-2);
  margin: 0 0 .55rem;
}
.reflect p:last-child {
  margin: 0;
  font-family: var(--font-t);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.45;
  color: var(--cream);
}
.club {
  margin: 0 0 2.1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: .95rem;
  color: var(--ink);
  box-shadow: 0 10px 24px #0a162810;
}
.club span {
  display: inline-block;
  margin-right: .5rem;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.practice-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 2rem;
}
.practice-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .28rem .85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pillar, var(--gold)) 14%, #fff);
  color: var(--pillar, var(--navy));
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid color-mix(in srgb, var(--pillar, var(--gold)) 28%, #fff);
}
.practice-jump a:hover { background: color-mix(in srgb, var(--pillar, var(--gold)) 22%, #fff); }
.practice-theme {
  margin: 0 0 2.6rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.practice-theme .studio-head h2 { color: var(--navy); }
.practice-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.2rem;
}
.practice-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.3rem 1.25rem 1.2rem;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 100%);
  border: 1px solid rgba(201, 162, 39, .26);
  border-radius: 1.05rem;
  box-shadow: 0 12px 32px #0a162812, inset 0 1px 0 rgba(255, 255, 255, .9);
}
.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5rem;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--pillar, var(--gold)), var(--gold-2), var(--pillar, var(--gold)));
}
.practice-card h3 {
  margin: .35rem 0 .55rem;
  font-size: 1.22rem;
}
.practice-card > p { margin: 0 0 .7rem; }
.practice-card .code { margin-bottom: .35rem; color: var(--pillar, var(--teal)); }
.practice-point {
  margin: 0 0 .8rem;
  padding: .7rem .8rem;
  background: color-mix(in srgb, var(--pillar, var(--gold)) 8%, #fff);
  border-radius: .65rem;
  color: var(--ink);
  font-size: .9rem;
}
.practice-source {
  margin-top: auto;
  padding-top: .7rem;
  border-top: 1px solid rgba(201, 162, 39, .2);
  color: var(--muted);
  font-size: .78rem;
}
.practice-card .btn { margin-top: .35rem; }
.practice-card { scroll-margin-top: calc(var(--header-h) + 1rem); }
.practice-card:target {
  box-shadow: 0 0 0 2px var(--pillar, var(--gold)), 0 22px 44px #0a162824;
}
.practice-agora {
  position: relative;
  margin: 0;
  padding: 2.4rem 0 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 58% 52% at 50% 40%, #1b3352 0%, transparent 62%),
    radial-gradient(circle at 12% 80%, #c9a22714, transparent 26%),
    radial-gradient(circle at 90% 18%, #1b7a7822, transparent 24%),
    #0a1628;
  color: var(--cream);
}
.practice-agora::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(1px 1px at 18% 22%, #e8c86a55, transparent),
    radial-gradient(1px 1px at 72% 16%, #fff8, transparent),
    radial-gradient(1.2px 1.2px at 84% 62%, #e8c86a44, transparent),
    radial-gradient(1px 1px at 40% 78%, #fff6, transparent);
  opacity: .7;
}
.practice-agora > .wrap { position: relative; z-index: 1; }
.practice-agora-head { max-width: 48rem; margin: 0 auto 1.15rem; text-align: center; }
.practice-agora-head .kicker { color: var(--gold-2); }
.practice-agora-head h2 {
  margin: .25rem 0 .7rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}
.practice-agora-head .lead {
  margin: 0 auto;
  color: #d5deea;
}
.practice-agora-unique {
  display: inline-block;
  margin: 1rem 0 0;
  padding: .38rem .9rem;
  border: 1px solid rgba(201, 162, 39, .38);
  border-radius: 999px;
  background: rgba(201, 162, 39, .1);
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.practice-net-how {
  margin: 0 0 .55rem;
  color: var(--gold-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.practice-net-key {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.practice-net-key li {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: .95rem 1rem 1rem;
  border-radius: .95rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(10, 22, 40, .28));
  border: 1px solid rgba(201, 162, 39, .24);
  text-align: left;
}
.practice-net-key .code { margin: 0 0 .2rem; color: var(--gold-2); }
.practice-net-key h3 {
  margin: 0 0 .4rem;
  color: #fff;
  font-size: 1.05rem;
}
.practice-net-key p { margin: 0; color: #d5deea; font-size: .9rem; line-height: 1.45; }
.net-key-mark {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 0 .65rem;
  border-radius: 50%;
}
.net-key-mark.is-hub {
  background: radial-gradient(circle at 38% 30%, #2a4a72, #0a1628 72%);
  border: 1.5px solid #e8c86a;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .14);
}
.net-key-mark.is-ring {
  background: transparent;
  border: 1.6px dashed #e8c86a;
}
.net-key-mark.is-theme {
  display: flex;
  align-items: center;
  gap: .22rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}
.net-key-mark.is-theme i {
  display: block;
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.net-key-mark.is-dot {
  width: .72rem;
  height: .72rem;
  margin-top: .32rem;
  background: #e8c86a;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .2);
}
.practice-net { margin: 0 auto 1.6rem; }
.practice-net-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.practice-net-svg .net-line {
  fill: none;
  stroke: #c9a227;
  stroke-width: 1.15;
  stroke-opacity: .42;
  pointer-events: none;
  transition: stroke-opacity .28s ease, stroke-width .28s ease;
}
.practice-net-svg .net-diamond { stroke-opacity: .18; }
.practice-net-svg .net-tri { stroke: #e8c86a; stroke-opacity: .32; stroke-dasharray: 3 6; }
.practice-net-svg .net-spoke { stroke-width: 1.6; stroke-opacity: .55; }
.practice-net-svg .net-flow { stroke-width: 1.35; stroke-dasharray: 5 8; }
.practice-net-svg .net-sat-line { stroke-opacity: .28; stroke-width: 1; }
.practice-net-svg .net-cross { stroke-opacity: .22; stroke-dasharray: 2 7; stroke-width: 1; }
.practice-net-svg .net-ring {
  fill: none;
  stroke: #e8c86a;
  stroke-width: 1.4;
  stroke-dasharray: 4 7;
  transform-origin: 550px 348px;
}
.practice-net-svg .net-hub-disk { stroke: rgba(201, 162, 39, .55); stroke-width: 1.5; }
.practice-net-svg .net-hub text {
  fill: #f6f1e6;
  font-family: var(--font-t);
  font-size: 20px;
  letter-spacing: .12em;
}
.practice-net-svg .net-ground circle {
  fill: #12263f;
  stroke: #e8c86a;
  stroke-width: 1.4;
}
.practice-net-svg .net-ground text {
  fill: #f6f1e6;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
}
.practice-net-svg .net-theme text {
  fill: #fff;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.practice-net-svg .net-hit { fill: transparent; stroke: none; }
.practice-net-svg .net-theme circle:not(.net-hit) {
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1.5;
}
.practice-net-svg .net-sat circle {
  fill: #e8c86a;
  stroke: #0a1628;
  stroke-width: 1.5;
}
.practice-net-svg .net-sat-label {
  fill: #d7e0ec;
  font-family: var(--font-b);
  font-size: 10.5px;
  font-weight: 600;
}
.practice-net-svg a.net-node { cursor: pointer; }
.practice-net-svg a.net-node:focus { outline: none; }
.practice-net-svg a.net-node:focus-visible circle:not(.net-hit) {
  stroke: #fff;
  stroke-width: 2.2;
}
.practice-net.is-hot .net-line { stroke-opacity: .08; }
.practice-net.is-hot .net-line.is-lit {
  stroke-opacity: .95;
  stroke-width: 2.15;
}
.practice-net.is-hot .net-node { opacity: .28; }
.practice-net.is-hot .net-node.is-lit { opacity: 1; }
.practice-net-hint {
  margin: .15rem 0 0;
  text-align: center;
  color: #9aabbd;
  font-size: .8rem;
}
.practice-net-simple { display: none; }
.practice-grounds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.2rem;
}
.practice-ground {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.2rem 1.2rem 1.15rem;
  border-radius: 1.05rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(10, 22, 40, .35));
  border: 1px solid rgba(201, 162, 39, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.practice-ground .code { color: var(--gold-2); }
.practice-ground h3 {
  margin: .2rem 0 .55rem;
  color: #fff;
  font-size: 1.2rem;
}
.practice-ground > p { margin: 0 0 .75rem; color: #d5deea; }
.practice-bind-label {
  margin: auto 0 .4rem;
  color: var(--gold-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.practice-binds { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 !important; }
.practice-binds a {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: .15rem .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pillar, var(--gold)) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--pillar, var(--gold)) 55%, #fff);
  color: #fff;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
}
.practice-binds a:hover { background: color-mix(in srgb, var(--pillar, var(--gold)) 40%, transparent); }
.practice-ground.is-lit {
  border-color: rgba(232, 200, 106, .7);
  box-shadow: 0 0 0 1px rgba(232, 200, 106, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.practices-page { padding-top: 1.2rem; }
@media (max-width: 860px) {
  .practice-grounds { grid-template-columns: 1fr; }
  .practice-net-key { grid-template-columns: 1fr 1fr; }
  .practice-net-svg .net-sat-label { display: none; }
}
@media (max-width: 720px) {
  .practice-net-stage { display: none; }
  .practice-net-simple { display: block; margin: .4rem 0 1.4rem; }
  .net-simple-grid {
    display: grid;
    grid-template-areas:
      ". n ."
      "w c e"
      ". s .";
    grid-template-columns: 1fr auto 1fr;
    place-items: center;
    gap: .7rem .55rem;
    min-height: 16.5rem;
    padding: 1rem .4rem;
    background:
      linear-gradient(#c9a22766, #c9a22766) center / 1.5px 58% no-repeat,
      linear-gradient(90deg, #c9a22766, #c9a22766) center / 58% 1.5px no-repeat;
  }
  .net-simple-hub {
    display: grid;
    place-items: center;
    width: 7.4rem;
    height: 7.4rem;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 32%, #2a4a72, #0a1628 70%);
    border: 1.5px solid rgba(232, 200, 106, .55);
    box-shadow: 0 0 0 8px rgba(201, 162, 39, .08), 0 12px 28px #0006;
    text-align: center;
    color: #fff;
  }
  .net-simple-hub strong {
    font-family: var(--font-t);
    font-size: 1.05rem;
    letter-spacing: .08em;
  }
  .net-simple-hub em {
    display: block;
    margin-top: .2rem;
    color: var(--gold-2);
    font-size: .58rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    max-width: 6.4rem;
    line-height: 1.25;
  }
  .net-simple-theme {
    display: grid;
    place-items: center;
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    background: var(--pillar, var(--gold));
    color: #fff;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 8px 20px #0005;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .practice-net-svg .net-flow { animation: netDash 9s linear infinite; }
  .practice-net-svg .net-ring { animation: netSpin 22s linear infinite; }
  .practice-net-svg .net-star { animation: netTwinkle 3.6s ease-in-out infinite alternate; }
}
.book-chapter { scroll-margin-top: calc(var(--header-h) + 1rem); }
.practice { background: var(--sand); padding: 1rem 1.2rem; border-left: 4px solid var(--teal); }
.form label { display: block; margin: .7rem 0; font-weight: 600; }
.form input, .form select, .form textarea {
  display: block;
  width: 100%;
  margin-top: .3rem;
  padding: .7rem .9rem;
  font: inherit;
  color: var(--navy);
  border: 1px solid var(--sand);
  border-radius: .75rem;
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #c9a22733;
}
.form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230a1628' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right .85rem center / .85rem;
  cursor: pointer;
}
.form.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .8rem; align-items: end; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1rem;
  align-items: flex-end;
  margin: 1.4rem 0 1.8rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 1.1rem;
  box-shadow: 0 12px 28px rgba(10, 22, 40, .05);
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: min(16rem, 100%);
  flex: 1 1 14rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  margin: 0;
  padding: .72rem 2.5rem .72rem .95rem;
  font: 500 1rem/1.3 var(--font-b);
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
  background-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230a1628' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: .85rem;
  border: 1px solid var(--sand);
  border-radius: .75rem;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.filter-field select:hover { border-color: var(--gold); background-color: var(--white); }
.filter-field select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px #c9a22733;
}
.filter-bar .btn {
  min-height: 2.9rem;
  padding-inline: 1.35rem;
  flex: 0 0 auto;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.4rem;
}
.filter-chips a {
  display: inline-flex;
  align-items: center;
  padding: .45rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--sand);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-size: .92rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.filter-chips a:hover {
  border-color: var(--gold);
  background: #c9a22714;
  box-shadow: 0 6px 16px rgba(10, 22, 40, .06);
}
.filter-chips a.is-on {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  font-weight: 700;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 1.8rem;
}
.info-card {
  padding: 1.1rem 1.2rem 1.2rem;
  background: #fff;
  border: 1px solid #e7dfcc;
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px #0a162810;
}
.info-card h2 {
  margin: 0 0 .45rem;
  font-size: 1.08rem;
}
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}
.info-kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}
.theme-block {
  margin: 1.6rem 0 2rem;
}
.theme-block .likert { margin-top: .85rem; padding: 1.05rem 1.15rem 1.2rem; }
.likert legend {
  font-weight: 650;
  line-height: 1.5;
  max-width: 46rem;
  padding: 0 0 .45rem;
  color: var(--navy);
}
.theme-card { border-top: 4px solid var(--gold); }
@media (max-width: 640px) {
  .filter-bar { padding: .9rem; }
  .filter-bar .btn { width: 100%; }
}
.plain-list { padding-left: 1.1rem; }
.steps { padding-left: 1.2rem; }
.steps-pre { white-space: pre-wrap; font-family: var(--font-b); background: var(--cream); padding: .8rem; }
.studio { padding: 2.4rem 0 3.4rem; }
.studio,
.band-cream,
.pack-home {
  background-image:
    repeating-linear-gradient(
      180deg,
      transparent 0 27px,
      rgba(10, 22, 40, .016) 28px
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
.studio > h2,
.studio > .use-title {
  margin-top: 3rem;
}
.studio > h2::before,
.studio > .use-title::before {
  content: "";
  display: block;
  width: 5.2rem;
  height: 12px;
  margin: 0 0 .7rem;
  background: var(--gold);
  opacity: .38;
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat;
}
.studio .studio-head h1,
.studio > h1,
.studio > h2,
.studio .book-chapter > h2,
.studio .talk-lesson-copy > h3 {
  padding-bottom: .55rem;
}
.studio .studio-head h1::after,
.studio > h1::after,
.studio > h2::after,
.studio .book-chapter > h2::after,
.studio .talk-lesson-copy > h3::after {
  content: "";
  display: block;
  width: 4.4rem;
  height: 5px;
  margin-top: .5rem;
  border-top: 1px solid rgba(201, 162, 39, .72);
  border-bottom: 1px solid rgba(201, 162, 39, .32);
}

.quiz-live .q { display: none; }
.quiz-live .q.is-on { display: block; }
.choice { display: block; margin: .4rem 0; font-weight: 500; cursor: pointer; }
.score-card .big { font-family: var(--font-t); font-size: 3rem; color: var(--navy); margin: 0; }
.card.ok { border-top-color: var(--teal); }
.card.bad { border-top-color: var(--wine); }
.timer { font-weight: 700; color: var(--wine); }
.likert-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.likert-row label { text-align: center; font-size: .75rem; font-weight: 500; }
.badge .icon { font-size: 2.4rem; margin: 0; }
.badge.earned { outline: 2px solid var(--gold); }
.six-pack { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.packs-rich {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}
.pack-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 18%;
  --lift: 0px;
  --scale: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 78%, #f4ecda 100%);
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(201, 162, 39, .26);
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 30px #0a162814, inset 0 1px 0 rgba(255, 255, 255, .9);
  min-height: 11rem;
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift)) scale(var(--scale));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.pack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, .58), rgba(232, 200, 106, .1) 30%, transparent 54%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.pack-card > * { position: relative; z-index: 1; }
.pack-card:hover, .pack-card:focus-visible {
  --lift: -7px;
  --scale: 1.015;
  box-shadow: 0 22px 48px #0a162826, 0 0 0 1px rgba(201, 162, 39, .28);
}
.pack-card.is-tilting {
  transition: transform .08s linear, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.pack-card:hover::after, .pack-card:focus-visible::after, .pack-card.is-tilting::after { opacity: 1; }
.pack-tot { border-top-color: var(--wine); background: linear-gradient(180deg, #fff 0%, #fbf4ee 100%); }
.pack-letter {
  display: inline-block;
  font-family: var(--font-t);
  font-size: 1.15rem;
  color: var(--wine);
  letter-spacing: .04em;
}
.pack-card h3 { margin: .45rem 0 .35rem; font-size: 1.12rem; }
.pack-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.pack-home { padding: 0; }
.duty-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0;
  list-style: none;
  margin: 1.2rem 0 0;
}
.duty-row li {
  background: var(--sand);
  padding: .4rem .75rem;
  border-radius: 999px;
  font-size: .84rem;
}
.unique-line {
  font-family: var(--font-t);
  font-size: 1.25rem;
  color: var(--navy);
  background: var(--sand);
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
}
.three-frame { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1.4rem 0 2rem; }
.pack-link { display: block; text-decoration: none; color: inherit; }
.pack-link strong { font-family: var(--font-t); color: var(--wine); }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin: 1.4rem 0 1.8rem;
}
.tile {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 18%;
  --lift: 0px;
  --scale: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 16.75rem;
  padding: 1.4rem 1.3rem 1.15rem;
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 70%, #f3ebda 100%);
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 1.05rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 34px rgba(10, 22, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .92);
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift)) scale(var(--scale));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
  cursor: pointer;
}
.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.55rem;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
  z-index: 3;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(440px circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, .62), rgba(232, 200, 106, .12) 28%, transparent 54%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.tile > * { position: relative; z-index: 1; }
.tile:hover, .tile:focus-visible {
  --lift: -8px;
  --scale: 1.018;
  border-color: #d4bc6a;
  box-shadow: 0 26px 52px rgba(10, 22, 40, .16), 0 0 0 1px rgba(201, 162, 39, .32), inset 0 1px 0 rgba(255, 255, 255, .95);
}
.tile.is-tilting {
  transition: transform .08s linear, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.tile:hover::after, .tile:focus-visible::after, .tile.is-tilting::after { opacity: 1; }
.tile-index {
  display: block;
  width: fit-content;
  margin: 0 0 .15rem;
  padding: 0;
  min-width: 0;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--gold);
  font-family: var(--font-t);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1;
}
.tile-index::after {
  content: "";
  display: block;
  width: 1.55rem;
  height: 1px;
  margin-top: .45rem;
  background: var(--gold);
  opacity: .7;
}
.tile-title {
  margin: .7rem 0 .5rem;
  font-family: var(--font-t);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--navy);
  min-height: 2.56em;
}
.tile-text {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  flex: 1;
}
.tile-go {
  margin-top: 1.15rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(201, 162, 39, .22);
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.tile-go::after {
  content: "→";
  letter-spacing: 0;
  transition: transform .22s ease;
}
.tile:hover .tile-go::after, .tile:focus-visible .tile-go::after {
  transform: translateX(5px);
}
.tot-programme { margin: 2.2rem 0 2.8rem; }
.tot-programme-head { margin-bottom: 1.35rem; }
.tot-programme-head .lead { margin: .55rem 0 0; }
.tot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.tot-meta li {
  padding: .38rem .8rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
}
.tot-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.tot-day {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 14px 34px #0a162816;
  overflow: hidden;
}
.tot-day-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem 1.2rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--cream);
}
.tot-day-n {
  font-family: var(--font-t);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold-2);
}
.tot-day-label {
  margin: 0;
  color: var(--gold-2);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tot-day-head h3 {
  margin: .28rem 0 0;
  color: var(--cream);
  font-size: 1.28rem;
}
.tot-day-lead {
  margin: .45rem 0 0;
  color: #d9e0ea;
  font-size: .9rem;
  line-height: 1.45;
}
.tot-sessions {
  list-style: none;
  margin: 0;
  padding: .35rem 0 .5rem;
}
.tot-sessions li {
  display: grid;
  grid-template-columns: 1.7rem 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .82rem 1.35rem;
  border-bottom: 1px solid #efe8d8;
}
.tot-sessions li:last-child { border-bottom: 0; }
.tot-session-n {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--teal);
}
.tot-session-title { font-weight: 600; color: var(--navy); }
.tot-session-time {
  padding: .2rem .58rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .pillar-page .four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .tile-grid, .tile-grid-3, .fact-grid, .info-grid, .four, .practice-board { grid-template-columns: 1fr 1fr; }
  .tot-days { grid-template-columns: 1fr; }
  .tile { min-height: 15.25rem; }
  .need-grid { grid-template-columns: 1fr 1fr; }
  .need-card-euro { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tile-grid, .tile-grid-3, .fact-grid, .info-grid, .four, .practice-board { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile-title { min-height: 0; }
  .need-grid { grid-template-columns: 1fr; }
  .need-card-euro { grid-column: auto; }
  .need-banner { flex-direction: column; align-items: flex-start; gap: .45rem; }
}
.concept-box, .apply-box {
  margin: 1.4rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
}
.concept-box { background: var(--white); border-left: 4px solid var(--gold); box-shadow: 0 10px 24px #0a162812; }
.apply-box { background: #f7f1e4; border-left: 4px solid var(--teal); }
.module-nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-top: 1.5rem; }
.module-nav a { color: var(--teal); }
.pillar-link { margin-top: -.4rem; }
.agora-fields.compact { margin-top: 1rem; }
.quiz-paper .q { display: block; margin: 1rem 0; }
.tour { padding: 0; list-style: none; }
.tour li { background: var(--white); margin: .7rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); }
.flash { width: min(var(--max), calc(100% - 2rem)); margin: 1rem auto 0; padding: .7rem 1rem; }
.flash-ok { background: #e4f3ef; }
.flash-error { background: #f8e6e6; }
.flash-info { background: var(--sand); }

.site-footer { background: var(--navy); color: #eee8dc; padding: 2.35rem 0 0; margin-top: 0; }
.site-footer a { color: #f4efe3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr .85fr 1.15fr;
  gap: 2rem 1.7rem;
  padding-bottom: 2rem;
}
.site-footer .footer-title {
  font-family: var(--font-b);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-contact, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: 0 0 .85rem;
  font-size: .86rem;
  line-height: 1.45;
  color: #e8e2d4;
}
.footer-ico {
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .12rem;
  color: #fff;
}
.footer-ico svg { display: block; width: 1.1rem; height: 1.1rem; fill: currentColor; }
.footer-meta { color: #c9c3b4; }
.footer-links a {
  display: block;
  padding: .28rem 0;
  font-size: .92rem;
}
.footer-brand .footer-project {
  font-family: var(--font-t);
  font-size: 1.12rem;
  line-height: 1.3;
  color: #fff;
  margin: .15rem 0 .45rem;
}
.footer-brand .small { margin: .25rem 0; }
.footer-flags {
  width: min(100%, 11.5rem);
  height: auto;
  margin: .75rem 0 .55rem;
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .9rem 1.4rem;
  flex-wrap: wrap;
  border-top: 1px solid #ffffff22;
  padding: 1rem 0 1.1rem;
}
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff33;
  border-radius: 999px;
  color: #fff;
}
.footer-social a:hover { border-color: var(--gold-2); background: #ffffff10; }
.footer-social svg { width: 1rem; height: 1rem; fill: currentColor; }
.footer-legal, .footer-copy { margin: 0; font-size: .82rem; color: #c9c3b4; }
.footer-key {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: .15rem;
  color: #6d685c;
  opacity: .28;
  text-decoration: none;
}
.footer-key:hover, .footer-key:focus-visible { opacity: .7; color: var(--gold-2); }
.footer-key svg { width: 100%; height: 100%; fill: currentColor; }
.footer-note { padding-bottom: 1.35rem; }
.footer-dev { margin: .7rem 0 0; }
.footer-dev a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #8f897c;
  font-size: .7rem;
  line-height: 1.3;
  letter-spacing: .01em;
}
.footer-dev a:hover { color: #c9c3b4; }
.footer-dev img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  background: #f3eee4;
  border-radius: .2rem;
  padding: .08rem;
  flex: 0 0 auto;
}
.small { font-size: .85rem; }
.disclaimer { font-size: .78rem; color: #c9c3b4; margin: 0; }
.eu-flag { color: var(--gold); font-size: 1.4rem; margin: 0; }
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar { align-items: flex-start; }
  .brand-logo { height: 2.45rem; width: 2.45rem; }
  .dccec-lockup .dccec-mark { width: 3.6rem; height: 3.6rem; }
}

@media (max-width: 980px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
  .event-card-full { grid-template-columns: 1fr; }
  .event-card-full .event-media { max-height: 14rem; }
  .agora-fields { grid-template-columns: 1fr 1fr; }
  .agora-fields .pillar-card:nth-child(n) { grid-column: auto; }
  .agora-fields .pillar-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(201, 162, 39, .1);
    color: var(--gold-2);
    border: 1px solid rgba(201, 162, 39, .45);
    padding: .42rem .8rem;
    border-radius: 999px;
    font: inherit;
    letter-spacing: .04em;
  }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: .2rem 0 .7rem; gap: .15rem; }
  .site-nav.is-open { display: flex; }
  .nav-drop { position: static; box-shadow: none; border: 0; background: transparent; display: none; padding: .15rem 0 .15rem .4rem; }
  .nav-group[open] .nav-drop { display: block; }
  .site-nav a, .nav-group summary { padding: .55rem .7rem; }
  .agora-fields { grid-template-columns: 1fr; }
  .agora-fields .pillar-card:nth-child(n) { grid-column: auto; }
  .likert-row { grid-template-columns: 1fr; text-align: left; }
  .event-grid, .photo-pair, .book-grid, .event-album-photo { grid-template-columns: 1fr; }
  .hero, .event-hero { padding: 2.6rem 0 0; }
  .is-home .hero { padding: 0; }
  .page-hero { min-height: 16rem; padding: 2.6rem 0 0; }
  .header-tools { width: 100%; }
}
.pillar-card,
.event-card,
.info-card:not(.theme-card),
.talk-module-card,
.tool-cards > article,
article.card:not(.score-card):not(.plan),
.fact,
.book-chapter,
.four > section,
.pillar-step,
.practice-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 18%;
  --lift: 0px;
  --scale: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift)) scale(var(--scale));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.pillar-page .pillar-step {
  overflow: visible;
}
.pillar-card:hover, .pillar-card:focus-visible,
.event-card:hover, .event-card:focus-visible,
.info-card:not(.theme-card):hover,
.talk-module-card:hover,
.tool-cards > article:hover,
article.card:not(.score-card):not(.plan):hover,
.fact:hover,
.book-chapter:hover,
.four > section:hover,
.pillar-step:hover,
.practice-card:hover {
  --lift: -8px;
  --scale: 1.018;
  box-shadow: 0 26px 52px rgba(10, 22, 40, .16), 0 0 0 1px rgba(201, 162, 39, .28);
}
.pillar-card.is-tilting,
.event-card.is-tilting,
.info-card.is-tilting,
.talk-module-card.is-tilting,
.tool-cards > article.is-tilting,
article.card.is-tilting,
.fact.is-tilting,
.book-chapter.is-tilting,
.four > section.is-tilting,
.pillar-step.is-tilting,
.practice-card.is-tilting {
  transition: transform .08s linear, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(440px circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, .62), rgba(232, 200, 106, .12) 28%, transparent 54%);
  opacity: 0;
  transition: opacity .3s ease;
}
.is-tilt:hover > .tilt-shine,
.is-tilt:focus-visible > .tilt-shine,
.is-tilt.is-tilting > .tilt-shine { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-home .hero-bg, .wave svg, .wave-back, .wave-mid, .reveal,
  .practice-net-svg .net-flow, .practice-net-svg .net-ring, .practice-net-svg .net-star,
  .dccec-halo, .dccec-stars-spin, .dccec-orbit-spin, .dccec-spark, .dccec-bit, .dccec-mark img { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .tile, .pack-card, .need-card, .pillar-card, .event-card,
  .info-card, .talk-module-card, .tool-cards > article,
  article.card, .fact, .book-chapter, .four > section, .pillar-step, .practice-card {
    transform: none !important;
    transition: box-shadow .2s ease, border-color .2s ease !important;
  }
  .tile::after, .pack-card::after, .need-card::after, .tilt-shine { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .wave-back { animation: waveShift 18s ease-in-out infinite alternate; }
  .wave-mid { animation: waveShift 24s ease-in-out infinite alternate-reverse; }
}
@media print {
  .site-header, .site-footer, .skip, .hero-actions, .nav-toggle, .lightbox, .glow-trail, .wave,
  .read-bar, .page-rail, .page-rail-host, .five-dots { display: none !important; }
  body { background: #fff; }
  .card, .studio { box-shadow: none; }
  .dccec-halo, .dccec-stars-spin, .dccec-orbit-spin, .dccec-spark, .dccec-bit, .dccec-mark img { animation: none !important; }
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

body.is-admin {
  background:
    radial-gradient(42rem 22rem at 8% -8%, #e8c86a22, transparent 55%),
    radial-gradient(36rem 20rem at 100% 0%, #1b7a7814, transparent 50%),
    #f3eee3;
}
body.is-admin #main { min-height: calc(100vh - 9rem); }
body.is-admin .flash {
  border-radius: .75rem;
  box-shadow: 0 10px 28px #0a162814;
  border: 1px solid #00000010;
}
body.is-admin .site-nav,
body.is-admin .nav-toggle { display: none !important; }
body.is-admin .header-inner { padding: .5rem 0; }
body.is-admin .brand-logo { height: 2.25rem; width: 2.25rem; }
body.is-admin .dccec-stars-spin,
body.is-admin .dccec-orbit-spin,
body.is-admin .dccec-spark,
body.is-admin .dccec-bit,
body.is-admin .dccec-halo,
body.is-admin .dccec-mark img { animation: none; }
body.is-admin .brand em,
body.is-admin .who { display: none; }
body.is-admin .site-header { box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.admin-foot {
  background: var(--navy);
  color: var(--cream);
  padding: .85rem 0;
  margin-top: 2rem;
}
.admin-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .9rem;
}
.admin-foot p { margin: 0; }
.admin-foot a { color: var(--gold-2); }
.admin-shell {
  display: grid;
  grid-template-columns: 16.2rem 1fr;
  gap: 1.6rem;
  padding: 1.4rem 0 2.4rem;
  align-items: start;
}
.admin-nav {
  position: sticky;
  top: calc(var(--header-h) + .7rem);
  background: linear-gradient(180deg, #12263f 0%, var(--navy) 100%);
  color: var(--cream);
  padding: 1.15rem .95rem 1.05rem;
  border-radius: 1.05rem;
  box-shadow: 0 16px 36px #0a162828;
  border: 1px solid rgba(201, 162, 39, .22);
}
.admin-nav-brand {
  margin: 0 0 .15rem;
  font-family: var(--font-t);
  font-size: 1.2rem;
  color: var(--gold-2);
}
.admin-nav-user {
  margin: 0 0 .85rem;
  font-size: .82rem;
  color: #c9d3df;
}
.admin-nav a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  padding: .42rem .6rem;
  border-radius: .4rem;
  font-size: .92rem;
  border-left: 3px solid transparent;
}
.admin-nav a:hover { background: #1b3352; }
.admin-nav a.is-on {
  background: #1b3352;
  color: var(--gold-2);
  border-left-color: var(--gold);
}
.admin-nav-site { margin-top: .75rem; border-top: 1px solid #1b3352; padding-top: .75rem !important; }
.admin-nav-g {
  margin: .9rem 0 .28rem;
  padding: 0 .6rem;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.admin-group-title { margin: 1.6rem 0 .65rem; font-size: 1.12rem; }
.admin-welcome {
  background: linear-gradient(135deg, #fff 0%, #fbf6e8 55%, #f3ebda 100%);
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 1.15rem;
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: 0 14px 32px #0a162812;
  margin-bottom: 1.2rem;
}
.admin-welcome h1 { margin: .15rem 0 .4rem; }
.admin-welcome .lead { margin: 0 0 .85rem; max-width: 42rem; }
.admin-kpis { margin: 0 0 1.2rem; }
.admin-kpis .stat {
  background: #fff;
  border: 1px solid rgba(201, 162, 39, .2);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px #0a16280c;
}
.admin-scope {
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: .9rem;
  padding: 1rem 1.2rem;
  margin: 0 0 1.4rem;
  box-shadow: 0 8px 22px #0a16280c;
}
.admin-scope h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.admin-scope p { margin: .3rem 0; }
.admin-packs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.1rem;
  padding: .7rem;
  background: #fff;
  border-radius: .9rem;
  border: 1px solid var(--sand);
}
.admin-packs a {
  display: inline-block;
  padding: .4rem .8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .86rem;
  background: var(--cream);
  color: var(--navy);
}
.admin-packs a.is-on, .admin-packs a:hover { background: var(--navy); color: var(--gold-2); }
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 .8rem;
}
.admin-find { display: grid; gap: .3rem; margin: 0; min-width: min(22rem, 100%); }
.admin-find input {
  border: 1px solid var(--sand);
  border-radius: .5rem;
  padding: .5rem .7rem;
  font: inherit;
}
.admin-text-head, .admin-text-row {
  display: grid;
  grid-template-columns: minmax(9rem, .7fr) 1fr 1fr;
  gap: .7rem;
  align-items: start;
}
.admin-text-head { margin: 0 0 .4rem; font-size: .8rem; color: var(--muted); }
.admin-text-row {
  padding: .75rem .7rem;
  border: 1px solid var(--sand);
  border-radius: .7rem;
  background: #fff;
  margin: 0 0 .55rem;
}
.admin-text-lab { margin: .15rem 0 0; font-size: .86rem; }
.admin-text-lab em { display: inline-block; margin-left: .35rem; font-style: normal; font-size: .72rem; color: var(--teal); font-weight: 700; }
.admin-text-lab small { display: block; color: var(--muted); font-size: .75rem; margin-top: .2rem; }
.admin-disc {
  margin: 0 0 1.3rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(201, 162, 39, .35);
  border-left: 4px solid var(--gold);
  border-radius: .9rem;
}
.admin-disc h2 { margin: 0 0 .35rem; font-size: 1.2rem; }
.admin-disc .check { margin: .55rem 0 1rem; }
.admin-text-row label { margin: 0; }
.admin-text-row input, .admin-text-row textarea { width: 100%; }
.admin-advanced {
  margin: 0 0 1rem;
  border: 1px solid var(--sand);
  padding: .65rem .9rem;
  background: #fff;
  border-radius: .7rem;
}
.admin-advanced summary { cursor: pointer; font-weight: 700; }
.admin-sticky-save {
  position: sticky;
  bottom: 0;
  background: linear-gradient(#f3eee300, #f3eee3 28%);
  padding: 1rem 0 .4rem;
  margin-top: 1.2rem;
  align-items: center;
  z-index: 2;
}
@media (max-width: 860px) {
  .admin-text-head { display: none; }
  .admin-text-row { grid-template-columns: 1fr; }
}
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: .3rem; }
.admin-head h1 { margin: .1rem 0 .35rem; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: .85rem; margin: 0 0 1.5rem; }
.admin-card {
  text-decoration: none;
  padding: 1.05rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  border-radius: 1rem;
  border: 1px solid rgba(201, 162, 39, .22);
  box-shadow: 0 10px 24px #0a16280c;
  transition: transform .18s ease, box-shadow .18s ease;
}
.admin-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px #0a162818; }
.admin-card span { font-family: var(--font-t); font-size: 1.85rem; color: var(--teal); line-height: 1; }
.admin-card p { margin: .25rem 0 0; font-size: .86rem; color: var(--muted); }
.admin-card.is-feature {
  background: linear-gradient(165deg, #fff8e6, #fff);
  border-color: rgba(201, 162, 39, .5);
}
.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid rgba(201, 162, 39, .22);
  border-radius: 1rem;
  box-shadow: 0 10px 24px #0a16280c;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
.admin-table th { background: #f7f1e4; color: var(--navy); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.admin-table tbody tr:hover { background: #fbf8f1; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td:first-child { font-weight: 650; color: var(--navy); }
.admin-actions { white-space: nowrap; display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.admin-actions a, .admin-actions button {
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  padding: .22rem .55rem;
  border-radius: 999px;
  text-decoration: none;
}
.admin-actions button { color: var(--wine); }
.admin-empty {
  background: #fff;
  border-radius: 1rem;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-color span { display: flex; align-items: center; gap: .5rem; }
.admin-color input[type="color"] {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--sand);
  border-radius: .4rem;
  background: #fff;
}
.admin-upload { padding: 1rem 1.15rem 1.2rem; }
.admin-upload summary { cursor: pointer; font-family: var(--font-t); font-size: 1.2rem; color: var(--navy); }
.admin-i18n { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.admin-i18n fieldset {
  border: 1px solid rgba(201, 162, 39, .22);
  background: var(--white);
  padding: .9rem 1.05rem 1.1rem;
  border-radius: .85rem;
  box-shadow: 0 8px 20px #0a162808;
}
.admin-i18n legend { font-weight: 700; color: var(--teal); padding: 0 .35rem; }
.admin-form.card,
.admin-lock {
  border-radius: 1.05rem;
  border-color: rgba(201, 162, 39, .22);
  box-shadow: 0 12px 28px #0a162810;
}
.admin-lock { margin-top: 1.6rem; padding: 1.1rem 1.2rem 1.2rem; }
.admin-form-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.admin-form .check { display: flex; align-items: center; gap: .4rem; }
.admin-form .check input { width: auto; }
.admin-preview {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.admin-preview img {
  max-height: 10rem;
  max-width: 14rem;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #0d1b30;
  border-radius: .3rem;
}
.dash-head {
  display: grid;
  grid-template-columns: 1fr minmax(14rem, 22rem);
  gap: 1rem 1.5rem;
  align-items: start;
  margin-bottom: 1.3rem;
}
.dash-head .lead { margin: .35rem 0 0; }
.dash-head .privacy-note { margin: 0; }
.dash-hero {
  display: grid;
  grid-template-columns: 14rem 14rem 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.dash-kpi {
  background: linear-gradient(165deg, #fff 0%, #fbf7ee 100%);
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 1.05rem;
  padding: 1.05rem 1.1rem 1.15rem;
  box-shadow: 0 12px 28px #0a162812;
}
.dash-kpi .code { margin: 0 0 .2rem; }
.dash-kpi-n {
  margin: 0 0 .55rem;
  font-family: var(--font-t);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--navy);
}
.dash-kpi.is-wide { padding-bottom: .7rem; }
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1.8rem;
}
.dash-card {
  background: #fff;
  border: 1px solid rgba(201, 162, 39, .22);
  border-radius: 1.05rem;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 10px 24px #0a162810;
}
.dash-card h2 { margin: 0 0 .85rem; font-size: 1.2rem; }
.dash-card.is-full { grid-column: 1 / -1; }
.dash-home { margin: 0 0 1.6rem; }
.dash-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.dash-bars li {
  display: grid;
  grid-template-columns: minmax(6.5rem, 11rem) 1fr auto;
  gap: .55rem;
  align-items: center;
}
.dash-bar-lab { font-size: .82rem; color: var(--navy); font-weight: 650; }
.dash-bar-track {
  height: .72rem;
  border-radius: 999px;
  background: #efe8d6;
  overflow: hidden;
}
.dash-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
}
.dash-bar-val { font-size: .8rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.dash-bar-val small { color: var(--muted); font-weight: 600; }
.dash-vbars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .45rem;
  align-items: end;
  min-height: 11rem;
}
.dash-vbars li { display: grid; justify-items: center; gap: .25rem; }
.dash-vbar {
  width: 100%;
  height: 8.5rem;
  display: flex;
  align-items: end;
  background: #f6f1e6;
  border-radius: .45rem .45rem .2rem .2rem;
  overflow: hidden;
}
.dash-vbar i { display: block; width: 100%; border-radius: .35rem .35rem 0 0; }
.dash-vbars b { font-size: .85rem; color: var(--navy); }
.dash-vbars small { color: var(--muted); font-size: .75rem; }
.dash-donut { display: grid; grid-template-columns: 10rem 1fr; gap: .8rem 1rem; align-items: center; position: relative; }
.dash-donut-svg { width: 10rem; height: 10rem; }
.dash-donut-center {
  position: absolute;
  left: 0;
  width: 10rem;
  height: 10rem;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.dash-donut-center strong { font-family: var(--font-t); font-size: 1.7rem; color: var(--navy); }
.dash-donut-center span { color: var(--muted); font-size: .75rem; }
.dash-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.dash-legend li { display: flex; align-items: center; gap: .4rem; font-size: .85rem; }
.dash-legend i { width: .7rem; height: .7rem; border-radius: 50%; }
.dash-legend b { margin-left: auto; }
.dash-line { width: 100%; height: auto; display: block; }
.dash-axis { fill: #7a7466; font-size: 10px; font-family: var(--font-b); }
.dash-line-key { display: flex; gap: 1rem; margin: .35rem 0 0; font-size: .78rem; font-weight: 700; }
.dash-line-key .is-gold { color: #a07f14; }
.dash-line-key .is-teal { color: var(--teal); }
.dash-gauge { display: grid; justify-items: center; gap: .35rem; margin: .2rem 0 .4rem; }
.dash-gauge-arc {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  background: conic-gradient(#c9a227 var(--g), #efe8d6 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
  mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
}
.dash-gauge p { margin: 0; text-align: center; }
.dash-gauge strong { font-family: var(--font-t); font-size: 1.45rem; color: var(--navy); }
.dash-gauge span { display: block; color: var(--muted); font-size: .75rem; }
@media (prefers-reduced-motion: no-preference) {
  .dash-bar-fill, .dash-vbar i { animation: dashGrow .7s cubic-bezier(.22, 1, .36, 1) both; }
}
@keyframes dashGrow {
  from { transform: scaleX(.12); opacity: .4; }
}
.dash-vbar i { transform-origin: bottom; }
@media (prefers-reduced-motion: no-preference) {
  .dash-vbar i { animation-name: dashGrowY; }
}
@keyframes dashGrowY {
  from { transform: scaleY(.12); opacity: .4; }
}
@media (max-width: 1100px) {
  .dash-hero { grid-template-columns: 1fr 1fr; }
  .dash-kpi.is-wide { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; display: flex; flex-wrap: wrap; gap: .2rem .4rem; }
  .admin-nav-brand, .admin-nav-user, .admin-nav-g, .admin-nav-site { flex: 1 1 100%; }
  .admin-nav-g { margin-top: .45rem; }
  .admin-nav a { display: inline-block; }
  .admin-i18n { grid-template-columns: 1fr; }
  .dash-head, .dash-grid, .dash-hero { grid-template-columns: 1fr; }
  .dash-kpi.is-wide { grid-column: auto; }
  .dash-bars li { grid-template-columns: 1fr; gap: .2rem; }
  .dash-donut { grid-template-columns: 1fr; justify-items: center; }
  .dash-donut-center { position: relative; width: 10rem; }
}

.wave {
  line-height: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-bottom: -1px;
}
.wave svg {
  display: block;
  width: 100%;
  height: 5.8rem;
}
.wave-back { opacity: .32; }
.wave-mid { opacity: .55; }
.wave.is-flip { transform: rotate(180deg); }
.wave-to-footer { margin-top: 1.2rem; }
@keyframes waveShift {
  from { transform: translateX(0); }
  to { transform: translateX(-2.8%); }
}
@keyframes ken {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
}
@keyframes netDash {
  to { stroke-dashoffset: -28; }
}
@keyframes netSpin {
  to { transform: rotate(360deg); }
}
@keyframes netTwinkle {
  from { opacity: .18; }
  to { opacity: .7; }
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(1.5px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s ease;
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal.is-in.is-tilt {
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift)) scale(var(--scale));
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.glow-trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 7;
}
.read-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 9;
  pointer-events: none;
  background: rgba(201, 162, 39, .16);
}
.read-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #c9a227, #e8c86a);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  transition: transform .12s linear;
}
.five-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .55rem 0 .15rem;
}
.five-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .7;
  box-shadow: 0 0 0 1px rgba(232, 200, 106, .16);
}
.five-dots.is-agora { padding: .85rem 0 0; }
.site-footer > .five-dots { padding: 0 0 .85rem; }
.page-rail-host { height: 0; }
.page-rail {
  position: fixed;
  left: max(.45rem, calc((100vw - var(--max)) / 2 - 3.6rem));
  top: calc(var(--header-h) + 1.6rem);
  z-index: 6;
  display: grid;
  gap: .28rem;
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow-y: auto;
  padding: .15rem 0;
}
.page-rail a {
  display: grid;
  place-items: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 .28rem;
  border-radius: .35rem;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  background: rgba(251, 248, 241, .88);
  border: 1px solid rgba(201, 162, 39, .28);
  box-shadow: 0 4px 12px #0a16280a;
}
.page-rail a:hover { border-color: var(--gold); color: var(--navy); }
.page-rail a.is-on {
  background: var(--navy);
  color: var(--gold-2);
  border-color: var(--navy);
}
@media (max-width: 1180px) {
  .page-rail-host {
    height: auto;
    padding-top: .55rem;
  }
  .page-rail {
    position: sticky;
    top: calc(var(--header-h) + 2px);
    left: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .3rem;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .4rem 0 .5rem;
    background: linear-gradient(#fbf8f1ee, #fbf8f1);
    -webkit-overflow-scrolling: touch;
  }
  .page-rail a { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .read-bar i { transition: none; }
}
