/* Option 1 — Lumen
   Lumen's layout (chips, headline, stacked glass panels, scanning field) dressed in the
   Meridian palette and type: pearl and mist teal, the logo's gold, Sora + Manrope,
   capsule menu, gold CTA and the gold ring countdown. */
:root {
  --bg-1: #fbf9f4;
  --bg-2: #f1f6f5;
  --text: #0d2f38;
  --text-2: #4a5e63;
  --teal: #0f5866;
  --gold: #b8913f;
  --gold-hi: #e2c483;
  --gold-text: #8f6c25;
  --title-grad: linear-gradient(100deg, #9c7429 0%, #c49b45 50%, #a9822f 100%);
  --btn-bg: linear-gradient(120deg, #ecd39a, #d4b062 55%, #b8913f);
  --btn-ink: #0d2f38;
  --line: rgba(184, 145, 63, .26);
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .94);
  --capsule: rgba(255, 255, 255, .66);
  --nav-text: #3f5459;
  --nav-hover: rgba(15, 88, 102, .07);
  --shadow: 0 30px 60px -30px rgba(13, 47, 56, .35);
  --grid-line: rgba(15, 88, 102, .05);
  --focus: #0f5866;
  --display: "Sora", system-ui, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --wrap: 1300px;
  --lt-bg: linear-gradient(100deg, #0c3640, #11505d 50%, #0c3640);
  --lt-font: var(--display);
  --fade-rgb: 251, 249, 244;
  --glow-teal: rgba(91, 185, 189, .2);
  --glow-gold: rgba(212, 176, 98, .16);
  --field-opacity: 1;
  --scan-rgb-c3: 15, 120, 135;
  --ring-fill: rgba(255, 255, 255, .88);
  --ring-track: rgba(184, 145, 63, .18);
}
/* Dark theme: the Meridian deep teal palette */
:root[data-theme="dark"] {
  --bg-1: #041d24;
  --bg-2: #03161b;
  --text: #f5f0e6;
  --text-2: rgba(245, 240, 230, .8);
  --teal: #5bb9bd;
  --gold: #d4b062;
  --gold-hi: #ecd39a;
  --gold-text: #d9b86c;
  --title-grad: linear-gradient(100deg, #ecd39a 0%, #d4b062 50%, #e9c987 100%);
  --btn-bg: linear-gradient(120deg, #ecd39a, #d4b062 55%, #b48a3a);
  --btn-ink: #03161b;
  --line: rgba(212, 176, 98, .24);
  --glass: rgba(7, 42, 51, .62);
  --glass-strong: rgba(5, 32, 39, .96);
  --capsule: rgba(14, 52, 61, .5);
  --nav-text: rgba(245, 240, 230, .8);
  --nav-hover: rgba(245, 240, 230, .08);
  --shadow: 0 30px 60px -28px rgba(0, 0, 0, .8);
  --grid-line: rgba(91, 185, 189, .06);
  --focus: #ecd39a;
  --lt-bg: linear-gradient(100deg, #04181d, #0a2e37 50%, #04181d);
  --fade-rgb: 4, 29, 36;
  --glow-teal: rgba(13, 74, 87, .85);
  --glow-gold: rgba(212, 176, 98, .08);
  --field-opacity: .85;
  --scan-rgb-c3: 236, 211, 154;
  --ring-fill: rgba(3, 22, 27, .82);
  --ring-track: rgba(236, 211, 154, .2);
  --tt-bg: rgba(14, 52, 61, .55);
  --tt-line: rgba(212, 176, 98, .35);
  --tt-ink: #ecd39a;
}
.c3-hero { color: var(--text); font-family: var(--sans); }
.on-dark { display: none !important; }
[data-theme="dark"] .on-dark { display: block !important; }
[data-theme="dark"] .on-light { display: none !important; }

/* ---------------- Header (Meridian capsule) ---------------- */
.c3-header { transition: background .35s, box-shadow .35s; }
.c3-header.is-scrolled, .c3-header.is-solid {
  background: var(--glass-strong); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
}
.c3-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 100px;
  display: flex; align-items: center; gap: 12px; transition: height .35s var(--ease);
}
.c3-logo { margin-right: auto; }
.c3-header.is-scrolled .c3-header__inner { height: 78px; }
.c3-logo img { height: 64px; width: auto; transition: height .35s var(--ease); }
.c3-header.is-scrolled .c3-logo img { height: 50px; }

.c3-nav > ul {
  display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px;
  background: var(--capsule); border: 1px solid var(--line); box-shadow: 0 12px 30px -20px rgba(13, 47, 56, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.c3-nav > ul > li > a {
  position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 15px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--nav-text); transition: color .25s, background .25s;
}
.c3-nav > ul > li > a:hover, .c3-nav > ul > li.is-open > a, .c3-nav > ul > li > a[aria-current="page"] { color: var(--text); background: var(--nav-hover); }
.c3-nav > ul > li.nav-cta-item > a { color: var(--btn-ink); background: var(--btn-bg); box-shadow: 0 8px 22px -10px rgba(184, 145, 63, .8); }
.c3-nav > ul > li.nav-cta-item > a:hover { color: var(--btn-ink); filter: brightness(1.05); }

.c3-nav .sub-menu { margin-top: 16px; padding: 10px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.c3-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.c3-nav .sub-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; color: var(--nav-text); transition: background .2s, color .2s;
}
.c3-nav .sub-menu a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: .45; transition: .2s; }
.c3-nav .sub-menu a:hover, .c3-nav .sub-menu a:focus-visible { background: var(--nav-hover); color: var(--text); }
.c3-nav .sub-menu a:hover::after, .c3-nav .sub-menu a:focus-visible::after { opacity: 1; background: var(--gold); }

.c3-burger { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--capsule); flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.c3-burger span { width: 20px; height: 1.6px; border-radius: 2px; background: var(--gold-text); }
.c3-burger span:last-child { width: 13px; margin-left: 7px; }

.c3-overlay { background: rgba(4, 22, 28, .35); backdrop-filter: blur(4px); }
.c3-drawer { background: var(--glass-strong); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-left: 1px solid var(--line); padding: 20px 24px 40px; }
.c3-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.c3-drawer__head img { height: 48px; width: auto; }
.c3-drawer__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-text); display: grid; place-items: center; }
.c3-drawer__close svg { width: 18px; height: 18px; }
.c3-drawer__menu > ul > li > a {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--text);
}
.c3-drawer__menu .nav-caret { width: 12px; height: 12px; color: var(--gold); }
.c3-drawer__menu .nav-cta-item > a { margin: 14px 0; justify-content: center; border: 0; border-radius: 999px; color: var(--btn-ink); background: var(--btn-bg); }
.c3-drawer__menu .sub-menu { padding: 4px 0 10px; }
.c3-drawer__menu .sub-menu a { display: block; padding: 10px 4px 10px 18px; font-size: 15.5px; color: var(--text-2); border-left: 1px solid var(--line); margin-left: 4px; }

/* ---------------- Hero ---------------- */
.c3-hero {
  position: relative; overflow: hidden; isolation: isolate; padding: var(--header-h) 0 0;
  background:
    radial-gradient(55% 60% at 80% 30%, var(--glow-teal), transparent 70%),
    radial-gradient(40% 50% at 5% 100%, var(--glow-gold), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
}
.c3-hero__field { position: absolute; inset: 0; z-index: -3; opacity: var(--field-opacity); }
.c3-hero__field::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--fade-rgb), .94) 0%, rgba(var(--fade-rgb), .74) 40%, rgba(var(--fade-rgb), .12) 72%, rgba(var(--fade-rgb), .3) 100%),
    linear-gradient(180deg, rgba(var(--fade-rgb), .5) 0%, transparent 26%, transparent 76%, var(--bg-2) 100%);
}
.c3-hero__grid-lines {
  position: absolute; inset: 0; z-index: -2; opacity: .8;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent 75%);
}
.c3-scan { --scan-z: -1; --scan-rgb: var(--scan-rgb-c3); --scan-a1: .04; --scan-a2: .16; --scan-h: 180px; --scan-dur: 10s; }

.c3-hero__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 44px 28px 96px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .98fr); gap: 56px; align-items: center;
}
/* Shorter banner: the whole composition is scaled down together, like zooming out,
   so every element keeps its proportions. */
@media (min-width: 1200px) {
  /* max-width and side padding are divided by the zoom so edges still line up with the header */
  .c3-hero__inner { zoom: .8; max-width: calc(var(--wrap) / .8); padding: 44px calc(28px / .8) 76px; }
}
.c3-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.c3-chips li {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 24px -16px rgba(13, 47, 56, .35);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.c3-chips li:hover { transform: translateY(-2px); border-color: rgba(212, 176, 98, .55); }
.c3-chips svg { width: 18px; height: 18px; color: var(--teal); }
.c3-title { margin-top: 30px; font-family: var(--display); font-size: clamp(44px, 5.2vw, 84px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; color: var(--text); }
.c3-title span { display: block; background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c3-theme { margin-top: 24px; max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--text-2); }
.c3-actions { margin-top: 36px; }

/* Meridian CTA */
.c3-btn {
  display: inline-flex; align-items: center; gap: 18px; height: 62px; padding: 0 8px 0 32px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink); font-family: var(--display); font-weight: 600; font-size: 16.5px;
  box-shadow: 0 22px 44px -18px rgba(184, 145, 63, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.c3-btn__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0d2f38; color: #ecd39a; transition: transform .3s var(--ease); }
.c3-btn__icon svg { width: 17px; height: 17px; }
.c3-btn:hover { transform: translateY(-2px); box-shadow: 0 28px 52px -18px rgba(184, 145, 63, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.c3-btn:hover .c3-btn__icon { transform: rotate(-45deg); }
.c3-btn:focus-visible { border-radius: 999px; outline-offset: 5px; }

/* Panels */
.c3-panels { display: grid; gap: 14px; }
.c3-panel {
  position: relative; border-radius: 24px; padding: 18px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.c3-panel:hover {
  transform: translateY(-4px); border-color: rgba(212, 176, 98, .55);
  box-shadow: 0 40px 70px -30px rgba(13, 47, 56, .42), 0 0 0 4px rgba(226, 196, 131, .12), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* Countdown floats on its own: no panel box behind the rings */
.c3-panel--count, .c3-panel--count:hover {
  padding: 4px 2px; background: none; border: 0; box-shadow: none; transform: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.c3-panel--count .rc__unit { filter: drop-shadow(0 10px 16px rgba(13, 47, 56, .12)); }
.c3-count .rc__lbl { font-size: 10.5px; letter-spacing: .14em; margin-top: 4px; }
.c3-count {
  justify-content: center;
  --rc-size: 86px; --rc-gap: 14px; --rc-font: var(--display); --rc-num-size: 26px;
  --rc-num: var(--text); --rc-lbl: var(--gold-text); --rc-bar: var(--gold); --rc-fill: var(--ring-fill); --rc-track: var(--ring-track);
}

.c3-panel--media { padding: 8px; }
.c3-media { aspect-ratio: 16 / 9; border-radius: 17px; }
.c3-media img { transition: transform 1.2s var(--ease); }
.c3-panel--media:hover .c3-media img { transform: scale(1.045); }
.c3-media-scan { z-index: 2; --scan-rgb: 255, 255, 255; --scan-a1: .06; --scan-a2: .35; --scan-dur: 6s; --scan-h: 120px; }
.c3-corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold-hi); border-style: solid; z-index: 3; pointer-events: none; transition: transform .5s var(--ease); }
.c3-corner--tl { left: 18px; top: 18px; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.c3-corner--br { right: 18px; bottom: 48px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
.c3-panel--media:hover .c3-corner--tl { transform: translate(-4px, -4px); }
.c3-panel--media:hover .c3-corner--br { transform: translate(4px, 4px); }
.c3-media__bar { display: flex; justify-content: center; padding: 8px 8px 2px; }
.c3-dots { display: flex; gap: 4px; color: var(--gold); }
.c3-dots .slide-dot { width: 30px; height: 16px; }

/* Organizers lockup: one compact row at the top of the copy column (premium cards + glowing CPD stamp) */
/* Heading sits above the logos so the cards and CPD badge can be larger */
.c3-org { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }
.c3-org__label {
  display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: -2px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text);
}
.c3-org__label::after { content: ""; flex: 0 0 56px; height: 1px; background: var(--gold); opacity: .6; }
.c3-org__card {
  height: 112px; width: 214px; border-radius: 20px; display: grid; place-items: center; padding: 12px 18px;
  background: linear-gradient(180deg, #ffffff, #f8f6f0);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(184, 145, 63, .28), 0 16px 30px -20px rgba(13, 47, 56, .45);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.c3-org__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(184, 145, 63, .55), 0 26px 40px -20px rgba(13, 47, 56, .5); }
.c3-org__card img { max-height: 88px; width: auto; }
.c3-cpd {
  position: relative; flex: 0 0 auto; width: 124px; height: 124px; margin-left: 8px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #ffffff 58%, #f6efe0 100%);
  box-shadow: 0 0 0 1.5px var(--gold-hi), 0 0 0 7px rgba(255, 255, 255, .6), 0 18px 34px -16px rgba(13, 47, 56, .5);
  transition: transform .6s var(--ease);
}
.c3-cpd::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, transparent 70%, rgba(226, 196, 131, .55) 82%, transparent 100%);
  animation: c3-glow 3.8s ease-in-out infinite;
}
@keyframes c3-glow { 0%, 100% { opacity: .35; transform: scale(.97); } 50% { opacity: .95; transform: scale(1.04); } }
.c3-cpd:hover { transform: scale(1.04) rotate(-3deg); }
.c3-cpd img { position: relative; width: 108px; height: auto; }

@media (max-width: 1280px) {
  .c3-nav > ul > li > a { padding: 0 12px; font-size: 13.5px; }
}
@media (max-width: 1199.98px) {
  .c3-header__inner { height: 84px; padding: 0 24px; }
  .c3-logo img { height: 54px; }
  .c3-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 28px; }
  .c3-panels { max-width: 760px; }
}
@media (max-width: 760px) {
  .c3-header__inner { height: 72px; padding: 0 16px; }
  .c3-logo img, .c3-header.is-scrolled .c3-logo img { height: 44px; }
  .c3-header.is-scrolled .c3-header__inner { height: 64px; }
  .c3-hero { min-height: 0; }
  .c3-hero__inner { padding: 20px 16px 72px; }
  .c3-chips li { height: auto; padding: 9px 14px; font-size: 13.5px; }
  .c3-btn { width: 100%; justify-content: space-between; }
  .c3-panels { grid-template-columns: minmax(0, 1fr); }
  .c3-panel--media { grid-row: auto; }
  .c3-panel--count, .c3-panel--count:hover { padding: 4px 0; }
  .c3-count { justify-content: center; gap: 10px; }
  .c3-count .rc__unit { flex: 0 0 auto; width: 70px; }
  .c3-count .rc__num { font-size: 21px; }
  .c3-count .rc__lbl { font-size: 8.5px; letter-spacing: .1em; }
  /* On phones the organizers lockup follows the CTA */
  .c3-copy { display: flex; flex-direction: column; }
  .c3-org { order: 10; margin: 30px 0 0; flex-wrap: wrap; gap: 10px; }
  .c3-org__label::after { flex: 1; }
  .c3-org__card { flex: 1 1 0; width: auto; min-width: 0; height: 80px; padding: 8px 10px; }
  .c3-org__card img { max-height: 60px; }
  .c3-cpd { width: 84px; height: 84px; margin-left: 0; }
  .c3-cpd img { width: 72px; }
}
