@import url('/assets/fonts/fonts.css');

:root {
  --p-ink: oklch(0.145 0.006 260);
  --p-ink-soft: oklch(0.22 0.006 260);
  --p-paper: oklch(0.955 0.003 95);
  --p-paper-deep: oklch(0.91 0.003 95);
  --p-white: oklch(0.99 0 0);
  --p-blue: oklch(0.44 0.22 263);
  --p-blue-light: oklch(0.69 0.15 256);
  --surface: var(--p-paper);
  --surface-muted: var(--p-paper-deep);
  --surface-dark: var(--p-ink);
  --text: var(--p-ink);
  --text-muted: oklch(0.39 0.008 260);
  --accent: var(--p-blue);
  --line: oklch(0.8 0.006 260);
  --header-height: 80px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(64px, 9vw, 136px);
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-display: 'IBM Plex Serif', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  min-width: 0;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
main { display: block; min-height: 60dvh; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, [role='button'] { cursor: pointer; }
button { color: inherit; }
p, li { max-width: 72ch; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }
h2 { font-size: clamp(2.35rem, 5vw, 5.25rem); line-height: 1.02; letter-spacing: -0.045em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -0.025em; }
h4 { font-size: 1.05rem; line-height: 1.3; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.55rem; }
::selection { background: var(--p-blue); color: var(--p-white); }
:focus-visible { outline: 3px solid var(--p-blue-light); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--p-white);
  color: var(--p-ink);
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}
.skip-link:focus { transform: translateY(0); }
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 4px;
  background: var(--p-blue-light);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  color: var(--p-white);
  border-bottom: 1px solid oklch(1 0 0 / 0.2);
  background: linear-gradient(to bottom, oklch(0.145 0.006 260 / 0.72), transparent);
}
.site-header__inner {
  width: min(100%, 1536px);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 174px; height: auto; filter: invert(1); }
.desktop-nav { display: none; align-items: center; gap: clamp(18px, 2vw, 32px); }
.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--p-white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease-out;
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.header-cta, .v-button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--p-blue);
  color: var(--p-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 200ms ease-out, background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}
.header-cta:hover, .v-button:hover { transform: translateY(-2px); background: var(--p-blue-light); color: var(--p-ink); }
.header-cta:active, .v-button:active { transform: translateY(0); }
.header-cta { display: none; }
.nav-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid oklch(1 0 0 / 0.45);
  border-radius: 2px;
  background: transparent;
  display: inline-grid;
  place-items: center;
}
.nav-toggle svg, [data-menu-close] svg { width: 24px; height: 24px; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 20px;
  background: var(--p-ink);
  color: var(--p-paper);
  overflow-y: auto;
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-menu__top img { width: 164px; filter: invert(1); }
[data-menu-close] { width: 48px; height: 48px; border: 1px solid oklch(1 0 0 / 0.35); background: transparent; display: grid; place-items: center; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 6vw, 2.4rem);
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu__contact { margin-top: 32px; display: grid; gap: 12px; }
.mobile-menu__contact a { min-height: 44px; display: inline-flex; align-items: center; }

.page-hero {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--p-ink);
  color: var(--p-white);
}
.home .page-hero { min-height: 94svh; }
.page-hero__media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; animation: hero-image 1.6s ease-out both; }
.page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, oklch(0.145 0.006 260 / 0.2) 10%, oklch(0.145 0.006 260 / 0.45) 48%, oklch(0.145 0.006 260 / 0.94) 100%);
}
.page-hero__content { width: min(100%, 1536px); margin: 0 auto; padding: calc(var(--header-height) + 80px) var(--gutter) clamp(48px, 8vh, 88px); }
.page-hero__kicker { display: inline-block; margin: 0 0 20px; padding: 6px 9px; background: var(--p-blue); color: var(--p-white); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
.page-hero h1 { max-width: 12ch; font-size: clamp(3.15rem, 7.4vw, 7.8rem); line-height: 0.94; letter-spacing: -0.06em; }
.page-hero h1 em { font-weight: 400; }
.page-hero__description { max-width: 62ch; margin: 28px 0 0; color: var(--p-paper); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }
.page-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.page-hero__actions .v-button--ghost { border-color: oklch(1 0 0 / 0.65); background: transparent; color: var(--p-white); }
.page-hero__actions .v-button--ghost:hover { background: var(--p-white); color: var(--p-ink); }
.hero-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-word > span { display: inline-block; animation: hero-word 800ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--word-index, 0) * 70ms + 100ms); }
.article .page-hero h1, .legal .page-hero h1 { max-width: 16ch; font-size: clamp(2.75rem, 5.5vw, 6.25rem); line-height: 1; }
.event .page-hero h1, .market .page-hero h1 { max-width: 14ch; font-size: clamp(3rem, 6.3vw, 6.9rem); }
.no-hero-image .page-hero__media { display: none; }
.no-hero-image .page-hero { background: var(--p-blue); }
.no-hero-image .page-hero__shade { background: linear-gradient(135deg, transparent, oklch(0.145 0.006 260 / 0.25)); }
@keyframes hero-word { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image { from { opacity: 0.65; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }

.content-section { position: relative; padding: var(--section-space) 0; background: var(--surface); color: var(--text); }
.content-section--muted { background: var(--surface-muted); }
.content-section--dark { background: var(--surface-dark); color: var(--p-paper); }
.content-section--blue { background: var(--p-blue); color: var(--p-white); }
.content-section--hero-details { padding: 32px 0; }
.content-section h2 { max-width: 16ch; margin-bottom: clamp(28px, 4vw, 56px); }
.content-section h3 { margin-bottom: 14px; }
.content-section p:last-child { margin-bottom: 0; }
.content-section--dark a, .content-section--blue a { text-decoration-color: currentColor; }
.content-section--dark .v-muted, .content-section--blue .v-muted { color: inherit; opacity: 0.78; }
.v-container, .v-wrap { width: min(calc(100% - (2 * var(--gutter))), 1320px); margin-inline: auto; }
.v-container .v-container, .v-wrap .v-wrap, .v-container .v-wrap, .v-wrap .v-container { width: 100%; }
.v-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.v-grid > *, .v-flex > * { min-width: 0; }
.v-flex { display: flex; gap: 16px; }
.v-flex-col { flex-direction: column; }
.v-items-center { align-items: center; }
.v-justify-between { justify-content: space-between; }
.v-center { text-align: center; }
.v-center h2, .v-center p { margin-inline: auto; }
.v-stack > * + * { margin-top: 20px; }
.v-card { padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); background: transparent; }
.content-section--dark .v-card, .content-section--blue .v-card { border-color: oklch(1 0 0 / 0.22); }
.v-card img, .v-grid > a > img, .v-grid > div > a > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; }
.v-grid a { text-decoration: none; }
.v-grid a img { transition: transform 260ms ease-out, opacity 260ms ease-out; }
.v-grid a:hover img { transform: scale(0.985); opacity: 0.88; }
.v-display { margin-bottom: 8px; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -0.045em; }
.v-small { font-size: 14px; line-height: 1.55; }
.v-uppercase { letter-spacing: 0.12em; text-transform: uppercase; }
.v-accent { color: var(--accent); }
.content-section--dark .v-accent { color: var(--p-blue-light); }
.v-muted { color: var(--text-muted); }
.v-button { width: fit-content; margin: 8px 8px 8px 0; }
.v-button--ghost { border-color: currentColor; background: transparent; color: inherit; }
.v-button--ghost:hover { background: var(--p-ink); color: var(--p-white); }
.content-section--dark .v-button--ghost:hover, .content-section--blue .v-button--ghost:hover { background: var(--p-white); color: var(--p-ink); }
.v-span-2 { grid-column: auto; }
.ratio-video { aspect-ratio: 16 / 9; }
.video-embed { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; margin: 32px 0; }
table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { min-height: 64px; padding: 20px 44px 20px 0; position: relative; display: flex; align-items: center; cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform 200ms ease-out; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 40px 24px 0; }
.faq-answer p { max-width: 75ch; }

.article .content-section, .legal .content-section { padding: clamp(40px, 5vw, 72px) 0; }
.article .content-section .v-container, .legal .content-section .v-container { max-width: 880px; }
.article .content-section h2, .legal .content-section h2 { max-width: 20ch; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.article .content-section h3 { margin-top: 32px; font-size: 1.35rem; }
.article .content-section p, .article .content-section li, .legal .content-section p, .legal .content-section li { font-size: 17px; line-height: 1.75; }
.article .content-section img { margin: 32px auto; }
.article .content-section--dark .v-container, .article .content-section--blue .v-container { max-width: 1320px; }
.article .content-section--hero-details { padding: 32px 0; }
.contact-page .page-hero { min-height: 62svh; }
.contact-page .content-section { padding: 64px 0; }
.contact-page .content-section--hero-details { padding: 32px 0; }

form { display: grid; gap: 20px; }
form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
form input, form textarea, form select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--p-white);
  color: var(--p-ink);
  font-size: 16px;
}
form textarea { min-height: 160px; resize: vertical; }
form input:focus, form textarea:focus, form select:focus { border-color: var(--p-blue); }
form button { justify-self: start; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin: 0; padding: 16px; border: 1px solid var(--p-blue); background: var(--p-white); color: var(--p-ink); }
.form-status.is-visible { display: block; }

.site-footer { padding: 72px 0 28px; background: var(--p-ink); color: var(--p-paper); }
.site-footer__grid { display: grid; gap: 48px; }
.site-footer .brand { margin-bottom: 24px; }
.site-footer .brand img { width: 190px; }
.site-footer__intro { max-width: 38ch; color: var(--p-paper); }
.site-footer h2 { margin-bottom: 18px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer nav, .site-footer__contact { display: grid; gap: 10px; }
.site-footer a { min-height: 32px; display: inline-flex; align-items: center; color: var(--p-paper); text-decoration: none; opacity: 0.76; transition: opacity 180ms ease-out; }
.site-footer a:hover { opacity: 1; }
.site-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid oklch(1 0 0 / 0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.site-footer__social a { min-height: 44px; text-decoration: underline; }

.directory-card { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.directory-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.directory-card h3 { margin: 10px 0 14px; }
.directory-card p { font-size: 15px; }
.media-button { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.media-button > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 220ms ease-out, opacity 220ms ease-out; }
.media-button:hover > img { transform: scale(0.99); opacity: 0.88; }
[data-gallery-filter][aria-pressed='true'] { background: var(--p-blue); color: var(--p-white); border-color: var(--p-blue); }
.filter-search { width: min(100%, 480px); min-height: 52px; margin: 0 auto; padding: 13px 16px; border: 1px solid var(--line); border-radius: 0; background: var(--p-white); color: var(--p-ink); font: 16px var(--font-body); }
.filter-status { margin: 16px auto 0; text-align: center; font-size: 14px; }
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(56px, 8vh, 88px) var(--gutter) 32px; border: 0; background: var(--p-ink); color: var(--p-paper); overflow-y: auto; }
.lightbox::backdrop { background: var(--p-ink); }
.lightbox__close { position: fixed; top: 16px; right: var(--gutter); min-width: 88px; min-height: 48px; border: 1px solid oklch(1 0 0 / 0.4); background: transparent; color: var(--p-white); }
.lightbox__image { width: auto; max-width: 100%; max-height: 78dvh; margin: 0 auto; object-fit: contain; }
.lightbox__caption { max-width: 75ch; margin: 20px auto 0; text-align: center; font-size: 14px; }

@media (min-width: 560px) {
  .sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .v-span-2 { grid-column: span 2; }
  .page-hero__content { padding-bottom: clamp(64px, 9vh, 104px); }
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
}
@media (max-width: 767px) {
  :root { --header-height: 68px; }
  .brand img { width: 148px; }
  .page-hero { min-height: 78svh; }
  .home .page-hero { min-height: 92svh; }
  .page-hero__content { padding-top: calc(var(--header-height) + 64px); }
  .page-hero h1, .event .page-hero h1, .market .page-hero h1 { font-size: clamp(2.85rem, 13vw, 4.75rem); }
  .article .page-hero h1, .legal .page-hero h1 { font-size: clamp(2.35rem, 10.5vw, 4rem); }
  .page-hero__description { font-size: 16px; }
  .page-hero__actions { align-items: stretch; }
  .page-hero__actions .v-button { width: 100%; }
  .v-flex:not(.v-flex-col) { flex-wrap: wrap; }
  .content-section h2 { font-size: clamp(2.35rem, 10vw, 3.75rem); }
  .v-button { min-height: 48px; }
  .v-card { padding: 20px; }
  .site-footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .scroll-progress { display: none; }
}

/* --- Launch fixes --- */
/* Headline shows immediately (no delayed word-by-word reveal). */
.hero-word > span { animation: none; opacity: 1; transform: none; }
/* Readable inactive gallery filters. */
[data-gallery-filter]:not([aria-pressed='true']) { background: transparent; color: var(--p-ink); border: 1px solid var(--line); }
[data-gallery-filter]:not([aria-pressed='true']):hover { background: var(--p-white); color: var(--p-blue); border-color: var(--p-blue); }
/* Ended-event notice on convention pages. */
.past-event-note { margin: 16px 0 0; padding: 12px 16px; background: oklch(1 0 0 / 0.1); border-left: 3px solid var(--p-blue-light, #7aa2ff); color: var(--p-white); font-size: 15px; max-width: 640px; }
.past-event-note a { color: inherit; text-decoration: underline; }
.form-status.is-error { border-color: #b42318; }
.v-button:disabled { opacity: 0.6; cursor: wait; transform: none; }
/* Photo grids with bare <div><img>: give images a shape so lazy loading triggers. */
.v-grid > div > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Tighten the gap between the hero details strip and the client list. */
.content-section--hero-details + .content-section--dark { padding-top: 40px; }
/* Case study results bar */
.result-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 16px 0 8px; }
@media (min-width: 768px) { .result-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.result-stats > div { border-top: 2px solid var(--p-blue); padding-top: 12px; }
.result-stats__num { display: block; font-family: var(--font-display, serif); font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.result-stats__label { display: block; margin-top: 6px; font-size: 14px; color: var(--p-muted, #5b5f66); }
.case-story { margin-top: 32px; }
.case-story h2 { margin-bottom: 16px; }
/* Sticky header: stays reachable while scrolling; solid once the page moves. */
.site-header { position: fixed; transition: background-color 200ms ease, backdrop-filter 200ms ease; }
.site-header.is-scrolled { background: oklch(0.145 0.006 260 / 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
/* Inline check icons sit beside their labels instead of above them. */
.v-flex > span > svg, .v-flex > .v-small > svg { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; flex: none; }
/* Dropdown navigation (Industries / Services / Work) */
.nav-group { position: relative; display: inline-flex; }
.nav-group__toggle { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--p-white); font: 500 14px var(--font-body); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-group__chev { width: 12px; height: 12px; transition: transform 180ms ease; }
.nav-group__toggle[aria-expanded='true'] .nav-group__chev { transform: rotate(180deg); }
.nav-group__toggle.is-current { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.nav-group__panel { position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 8px 0; background: var(--p-ink); border: 1px solid oklch(1 0 0 / 0.14); box-shadow: 0 18px 40px oklch(0 0 0 / 0.35); display: none; flex-direction: column; z-index: 60; }
.nav-group:hover .nav-group__panel, .nav-group:focus-within .nav-group__panel, .nav-group__toggle[aria-expanded='true'] + .nav-group__panel { display: flex; }
.desktop-nav .nav-group__panel a { min-height: 40px; padding: 8px 16px; font-size: 14px; color: oklch(1 0 0 / 0.86); }
.desktop-nav .nav-group__panel a::after { display: none; }
.desktop-nav .nav-group__panel a:hover, .desktop-nav .nav-group__panel a[aria-current='page'] { background: oklch(1 0 0 / 0.08); color: var(--p-white); }
/* Grouped mobile menu */
.mobile-menu__label { margin: 28px 0 4px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--p-blue-light); }
.mobile-menu nav a.mobile-menu__sub { min-height: 48px; padding: 10px 0; font-size: clamp(1.2rem, 5vw, 1.6rem); }
/* Conventions index: grouped by vertical, city filter, past toggle */
.filter-select { margin-top: 12px; appearance: auto; }
.conv-group { margin-top: 56px; }
.conv-group__title { margin: 0 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 400; }
.conv-group__count { color: var(--p-muted, #5b5f66); font-size: 0.6em; }
.directory-card h4 { margin: 10px 0 14px; font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); font-weight: 400; line-height: 1.2; }
.conv-past-toggle { margin-top: 40px; text-align: center; }

/* Make the hidden attribute win over display rules (filters, toggles). */
[hidden] { display: none !important; }
