/* ──────────────────────────────────────────────────────────────────
   Tegernseer Fachtage — Design System
   Built on macros consulting group brand language
   ────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');

:root {
  /* Brand */
  --navy: #0f1f44;
  --navy-2: #162d65;
  --navy-deep: #0a1532;
  --footer-bg: #240820;
  --gold: #b08a3e;
  --gold-soft: #d9b66a;

  /* Neutral */
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eef0f4;
  --border: #dadde3;
  --border-strong: #a7acb9;
  --text: #0f1f44;
  --text-muted: #5a6478;
  --text-soft: #8a93a3;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius: 5px;
  --radius-lg: 10px;

  /* Type */
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter Tight", "Inter", system-ui, sans-serif;

  /* Layout */
  --content-max: 1380px;
  --gutter: clamp(20px, 4vw, 60px);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 31, 68, .06);
  --shadow: 0 8px 24px rgba(15, 31, 68, .08);
  --shadow-lg: 0 24px 64px rgba(15, 31, 68, .12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img { display: block; max-width: 100%; height: auto; }

button {
  font-family: inherit;
  cursor: pointer;
}

/* ──────────────────────────────────────────────────────────────────
   Typography
   ────────────────────────────────────────────────────────────────── */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-4);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.h-display {
  font-weight: 700;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h-1 {
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h-2 {
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.h-3 {
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 25px);
  line-height: 1.2;
}

.h-4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--text);
}

.muted { color: var(--text-muted); }
.soft  { color: var(--text-soft); }
.gold  { color: var(--gold); }
.white { color: #fff; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────────────────
   Layout primitives
   ────────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--dark {
  background: var(--navy);
  color: #fff;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--surface { background: var(--surface); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; }

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-7 { gap: var(--space-7); }
.gap-8 { gap: var(--space-8); }

/* ──────────────────────────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-deep); }

.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover { background: #997a35; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.btn--inverse {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn--lg { padding: 18px 28px; font-size: 17px; }

.btn .chev::before { content: "››"; letter-spacing: -2px; font-weight: 700; }
.btn .arr::after { content: "→"; }

/* link-style */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  line-height: 1.3;
}
.link-arrow:hover { gap: 12px; transition: gap .18s ease; }

/* ──────────────────────────────────────────────────────────────────
   Header / Navbar
   ────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  color: var(--navy);
}
.brand-mark {
  width: 60px;
  height: 56px;
  border-radius: 6px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 6px 8px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { line-height: 1.1; }
.brand-text .l1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 17px; letter-spacing: 0.01em; color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s ease;
}
.nav-link:hover { background: var(--surface); }
.nav-link[aria-current="page"],
.nav-item--active > .nav-link { color: var(--navy); font-weight: 600; }
.nav-item--active > .nav-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
}
.nav-item { position: relative; }

.nav-link .caret {
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  display: inline-block;
  margin-left: 4px;
  opacity: .7;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  margin-top: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 200;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
}
.nav-dropdown a:hover { background: var(--surface); color: var(--navy); }
.nav-dropdown .sep { height: 1px; background: var(--border); margin: 6px 0; }

.nav-tools { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--text);
  transition: background .15s ease;
}
.icon-btn:hover { background: var(--surface); }

.hamburger { display: none; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: grid; }
}

/* mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  color: #fff;
  z-index: 300;
  padding: 28px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 18px;
  color: #fff;
}
.mobile-nav .group-label {
  margin-top: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold-soft);
}
.mobile-nav-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  float: right;
}

/* search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 68, .8);
  backdrop-filter: blur(8px);
  z-index: 400;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
}
.search-overlay.open { display: flex; }
.search-box {
  background: #fff;
  border-radius: var(--radius);
  width: min(640px, 90vw);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.search-box input {
  width: 100%;
  font-size: 22px;
  border: none;
  outline: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  color: var(--text);
}
.search-box .hint { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

/* ──────────────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--footer-bg);
  color: #fff;
  position: relative;
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding: 80px 0 40px;
}
.site-footer h4 {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-footer a, .site-footer p { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }

.footer-brand .brand-mark { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); }
.footer-brand .brand-text .l1 { color: #fff; }

.footer-contact-row {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}
.footer-contact-row .ic {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  opacity: .75;
}

.footer-search {
  margin-top: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  font-family: var(--font-body);
}
.footer-search input::placeholder { color: rgba(255, 255, 255, .5); }

.site-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer-bar .legal-links { display: flex; gap: 24px; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (max-width: 900px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .site-footer-inner { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────
   Cards
   ────────────────────────────────────────────────────────────────── */

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.card--dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.card--deep {
  background: var(--navy-2);
  color: #fff;
  border-color: var(--navy-2);
}
.card--surface { background: var(--surface); border-color: transparent; }
.card--lift { transition: transform .2s ease, box-shadow .2s ease; }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature {
  padding: 32px;
  border-top: 2px solid var(--navy);
}
.feature .num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 8px;
}
.feature h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; }
.feature p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ──────────────────────────────────────────────────────────────────
   Image placeholder
   ────────────────────────────────────────────────────────────────── */

.img-ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      #eef0f4 0 12px,
      #e4e7ec 12px 24px
    );
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .04em;
  min-height: 180px;
}
.img-ph::after {
  content: attr(data-label);
  padding: 8px 12px;
  background: rgba(255, 255, 255, .85);
  border-radius: 4px;
  border: 1px solid var(--border);
  text-align: center;
  max-width: 80%;
}
.img-ph--dark {
  background:
    repeating-linear-gradient(
      135deg,
      #1a2c54 0 12px,
      #142544 12px 24px
    );
  color: rgba(255, 255, 255, .8);
}
.img-ph--dark::after {
  background: rgba(15, 31, 68, .85);
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
}

/* portrait specific */
.portrait {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

/* hero/banner */
.hero-img {
  aspect-ratio: 21 / 9;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* ──────────────────────────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(48px, 8vw, 110px) 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: end;
}
.hero h1 { margin-bottom: 28px; }
.hero .lead { color: var(--text); max-width: 48ch; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta .date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-meta .date::before {
  content: "";
  width: 32px; height: 1px; background: var(--gold);
}
.hero-banner {
  margin-top: clamp(40px, 6vw, 80px);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
}

/* ──────────────────────────────────────────────────────────────────
   USPs / 4-tile grid
   ────────────────────────────────────────────────────────────────── */

.usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.usps .usp {
  padding: 40px 28px 36px;
  border-right: 1px solid var(--border);
  position: relative;
}
.usps .usp:last-child { border-right: none; }
.usp .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .14em;
  margin-bottom: 16px;
}
.usp h3 { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 14px; letter-spacing: -.01em; }
.usp p { font-size: 15px; color: var(--text-muted); line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .usps { grid-template-columns: repeat(2, 1fr); }
  .usps .usp:nth-child(2) { border-right: none; }
  .usps .usp:nth-child(1), .usps .usp:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .usps { grid-template-columns: 1fr; }
  .usps .usp { border-right: none; border-bottom: 1px solid var(--border); }
  .usps .usp:last-child { border-bottom: none; }
}

/* ──────────────────────────────────────────────────────────────────
   CTA block
   ────────────────────────────────────────────────────────────────── */

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(176, 138, 62, .35), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin: 0 0 12px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 60ch; }
@media (max-width: 800px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────
   Counter
   ────────────────────────────────────────────────────────────────── */

.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  align-items: center;
  text-align: center;
}
.counter .num {
  font-family: var(--font-display);
  font-size: clamp(70px, 9vw, 140px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.counter .num.alt { color: var(--gold); }
.counter .label {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: .04em;
}
.counter + .counter { border-left: 1px solid var(--border); }
@media (max-width: 700px) {
  .counters { grid-template-columns: 1fr; }
  .counter + .counter { border-left: none; border-top: 1px solid var(--border); padding-top: 32px; margin-top: 32px; }
}

/* ──────────────────────────────────────────────────────────────────
   Testimonial slider
   ────────────────────────────────────────────────────────────────── */

.testimonial-slider {
  position: relative;
}
.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 24px;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0;
}
.testimonial .quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text);
  text-wrap: pretty;
  position: relative;
  padding-left: 28px;
}
.testimonial .quote::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
}
.testimonial .who {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.testimonial .who small {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}
.testimonial .portrait {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.testimonial-nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}
.testimonial-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  display: grid; place-items: center;
  transition: background .15s;
}
.testimonial-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.testimonial-dots { display: flex; gap: 6px; align-items: center; margin-right: auto; }
.testimonial-dots .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-strong); transition: all .2s;
}
.testimonial-dots .dot.active {
  background: var(--gold); width: 24px; border-radius: 3px;
}

@media (max-width: 700px) {
  .testimonial { grid-template-columns: 1fr; gap: 20px; padding: 16px 0; }
  .testimonial .portrait { width: 100px; }
}

/* ──────────────────────────────────────────────────────────────────
   Agenda / Timeline
   ────────────────────────────────────────────────────────────────── */

.agenda-day-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.agenda-day-header .label {
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.agenda-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.agenda-row:last-child { border-bottom: none; }
.agenda-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.agenda-content .title {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--navy);
  letter-spacing: -.01em;
}
.agenda-content .speakers {
  font-size: 15px;
  color: var(--text-muted);
}
.agenda-row--break {
  background: var(--surface);
  border-bottom-color: transparent;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: var(--radius);
  margin: 4px 0;
}
.agenda-row--break .agenda-content .title { color: var(--text-muted); font-weight: 600; font-size: 17px; }
.agenda-row--highlight {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border-bottom: none;
  margin: 8px 0;
}
.agenda-row--highlight .agenda-time,
.agenda-row--highlight .agenda-content .title { color: #fff; }
.agenda-row--highlight .agenda-content .speakers { color: rgba(255, 255, 255, .75); }
.agenda-row--intro {
  border-bottom: 1px dashed var(--border-strong);
}
.agenda-row--intro .agenda-time { color: var(--gold); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

@media (max-width: 700px) {
  .agenda-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ──────────────────────────────────────────────────────────────────
   People cards
   ────────────────────────────────────────────────────────────────── */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .people-grid { grid-template-columns: 1fr; } }

.person {
  display: flex;
  flex-direction: column;
}
.person .portrait {
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  border-radius: var(--radius);
}
.person .name { font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: -.01em; }
.person .role { font-size: 15px; color: var(--text-muted); margin-top: 4px; }
.person .bio { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.person .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.person--special {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(180deg, rgba(176, 138, 62, .05), transparent 60%);
}

/* ──────────────────────────────────────────────────────────────────
   Stats / Charts
   ────────────────────────────────────────────────────────────────── */

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
}
.stat-card .pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(50px, 6vw, 72px);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.02em;
}
.stat-card .label {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.bar-row:last-child { border-bottom: none; }
.bar-row .bar-label { font-weight: 600; font-size: 15px; }
.bar-row .bar-track {
  grid-column: 1 / -1;
  height: 8px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
}
.bar-row .bar-fill {
  height: 100%;
  background: var(--navy);
  border-radius: 99px;
  width: 0;
  transition: width 1s ease;
}
.bar-row .bar-fill.gold { background: var(--gold); }
.bar-row .bar-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

/* donut */
.donut-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}
.donut { width: 280px; height: 280px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 38; }
.donut .track { stroke: var(--surface-2); }
.donut-legend { display: grid; gap: 14px; }
.donut-legend .ll {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.donut-legend .sw { width: 14px; height: 14px; border-radius: 3px; }
.donut-legend .pct { font-weight: 700; color: var(--navy); }
@media (max-width: 720px) {
  .donut-wrap { grid-template-columns: 1fr; }
  .donut { margin: 0 auto; }
}

/* ──────────────────────────────────────────────────────────────────
   Forms
   ────────────────────────────────────────────────────────────────── */

.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 13px; font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 31, 68, .08);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.check-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.check-row input[type="checkbox"] {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--navy);
}
.check-list { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .check-list { grid-template-columns: 1fr; } }
.check-list label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.check-list label:hover { border-color: var(--navy-2); background: var(--surface); }
.check-list label input { accent-color: var(--navy); }

/* ──────────────────────────────────────────────────────────────────
   Gallery
   ────────────────────────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery .tile {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform .3s ease;
  background: var(--surface-2);
}
.gallery .tile:hover { transform: scale(1.02); }
.gallery .tile.tall { grid-row: span 2; }
.gallery .tile .img-ph { height: 100%; min-height: 220px; aspect-ratio: 4/3; }
.gallery .tile.tall .img-ph { aspect-ratio: 3/4; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 68, .92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-content {
  max-width: 1100px; width: 100%;
  background: var(--surface-2);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  color: var(--text-muted);
  font-family: ui-monospace, Menlo, monospace;
  position: relative;
}
.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: grid; place-items: center;
}
.lightbox-nav.prev { left: -64px; }
.lightbox-nav.next { right: -64px; }

/* ──────────────────────────────────────────────────────────────────
   Misc
   ────────────────────────────────────────────────────────────────── */

.divider { height: 1px; background: var(--border); margin: 32px 0; }
.divider--gold { background: var(--gold); height: 2px; width: 48px; margin: 16px 0 24px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: 32px; height: 1px; background: currentColor;
}

.callout {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout.dark {
  background: var(--navy);
  color: #fff;
  border-left-color: var(--gold);
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.bullet-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.bullet-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 9px;
}
.bullet-list li:last-child { border-bottom: none; }
.bullet-list strong { font-weight: 700; color: var(--navy); }

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 36px;
  background: var(--surface);
  border-radius: var(--radius);
  align-items: center;
}
.contact-card .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
}

/* fade-in on scroll — only `transform` is animated so opacity changes
   snap instantly and content is always visible regardless of transition
   throttling. */
.fade-in {
  transition: transform .6s ease;
}
.fade-in.pre {
  transform: translateY(20px);
}
.fade-in.pre.in {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in.pre { transform: none !important; transition: none !important; }
}

/* Logo placeholder boxes */
.logo-box {
  height: 70px;
  background: var(--surface);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: .04em;
}

/* Skip to content */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 999; }
