/*!
 * Blockchain Education 2026, ICBI at UNWE
 * Visual language follows the UNWE family brand guidelines:
 * Club Burgundy, Deep Wine, Montserrat, square corners, soft elevation.
 */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --brand-burgundy: #760E26;
  --brand-wine: #2A050D;
  --brand-ink: #2F2023;
  --brand-stone: #6B5A5E;
  --brand-crimson: #A41637;
  --brand-rose: #913E51;
  --brand-gold: #EBE08C;
  --brand-ivory: #FFFBED;
  --brand-mist: #F5F5F5;
  --brand-white: #FFFFFF;
  --brand-hairline: #E7E0E1;

  --font-sans: 'Montserrat', Arial, sans-serif;
  --font-numerals: 'Roboto Condensed', 'Arial Narrow', sans-serif;

  --shadow-raised: 0 10px 10px rgba(0, 0, 0, .08);
  --shadow-lifted: 0 15px 30px rgba(42, 5, 13, .16);
  --ease: cubic-bezier(.4, 0, .2, 1);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65; color: var(--brand-ink); background: var(--brand-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-burgundy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-crimson); }
:focus-visible { outline: 2px solid var(--brand-burgundy); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--brand-wine); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand-burgundy); color: var(--brand-white); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--brand-white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--mist { background: var(--brand-mist); }
.section--wine { background: var(--brand-wine); color: #EADADD; }
.section--tight { padding-block: clamp(40px, 5vw, 56px); }

/* Heading trio: heading, bold burgundy lead, body */
.trio { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.trio h2 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); }
.trio .lead, .lead { font-weight: 700; color: var(--brand-burgundy); font-size: 1.125rem; line-height: 1.5; margin: .7rem 0 0; }
.trio > p:not(.lead) { margin-top: 1rem; max-width: 68ch; }
.trio--center { margin-inline: auto; text-align: center; }
.section--wine .trio h2 { color: var(--brand-ivory); }
.section--wine .trio .lead { color: var(--brand-gold); }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }
.numeral { font-family: var(--font-numerals); font-weight: 500; letter-spacing: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 500 .9375rem/1 var(--font-sans); padding: .95em 1.5em; border: 1px solid var(--brand-burgundy); border-radius: 0; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--brand-burgundy); color: var(--brand-white); }
.btn--primary:hover { background: var(--brand-crimson); border-color: var(--brand-crimson); color: var(--brand-white); }
.btn--secondary { background: transparent; color: var(--brand-burgundy); }
.btn--secondary:hover { background: var(--brand-burgundy); color: var(--brand-white); }
.btn--light { background: var(--brand-ivory); color: var(--brand-wine); border-color: var(--brand-ivory); }
.btn--light:hover { background: var(--brand-white); color: var(--brand-burgundy); border-color: var(--brand-white); }
.btn--on-dark { background: transparent; color: var(--brand-ivory); border-color: rgba(255, 251, 237, .7); }
.btn--on-dark:hover { background: var(--brand-ivory); color: var(--brand-wine); border-color: var(--brand-ivory); }
.btn--on-dark:focus-visible, .btn--light:focus-visible { outline-color: var(--brand-ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.text-link::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(3px) rotate(45deg); }
.ext::after { content: " ↗"; font-weight: 500; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--brand-hairline); }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--brand-wine); flex: none; }
.brand img { width: 74px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; padding-left: 14px; border-left: 1px solid var(--brand-hairline); }
.brand__name { font-weight: 700; font-size: .95rem; letter-spacing: -.005em; }
.brand__meta { font-size: .75rem; color: var(--brand-stone); font-weight: 500; }
.brand:hover { color: var(--brand-burgundy); }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: clamp(12px, 1.6vw, 26px); }
.site-nav a { display: block; white-space: nowrap; padding: 8px 0; font-size: .875rem; font-weight: 500; color: var(--brand-wine); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--brand-burgundy); }
.site-nav a[aria-current="page"] { color: var(--brand-burgundy); border-bottom-color: var(--brand-burgundy); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.lang-switch { display: flex; font-size: .8125rem; font-weight: 600; border: 1px solid var(--brand-hairline); }
.lang-switch a, .lang-switch span { padding: 7px 10px; line-height: 1; text-decoration: none; color: var(--brand-stone); }
.lang-switch a:hover { color: var(--brand-burgundy); background: var(--brand-mist); }
.lang-switch [aria-current="true"] { background: var(--brand-wine); color: var(--brand-ivory); }
.header-actions .btn { padding: .8em 1.2em; font-size: .875rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--brand-hairline); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--brand-wine); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.site-header[data-open="true"] .nav-toggle span { background: transparent; }
.site-header[data-open="true"] .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .brand__text { display: none; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--brand-white); border-bottom: 1px solid var(--brand-hairline); box-shadow: var(--shadow-lifted); display: none; margin: 0; }
  .site-header[data-open="true"] .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--brand-hairline); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--brand-hairline); box-shadow: inset 4px 0 0 var(--brand-burgundy); padding-left: 14px; }
  .site-nav .nav-cta { display: block; margin-top: 16px; border: 0; }
  .site-nav .nav-cta a { border: 0; padding: 14px 18px; background: var(--brand-burgundy); color: var(--brand-white); text-align: center; box-shadow: none; }
}
@media (min-width: 1021px) { .site-nav .nav-cta { display: none; } }
@media (min-width: 1021px) and (max-width: 1180px) { .brand__text { display: flex; } .brand__meta { display: none; } }
@media (min-width: 1021px) and (max-width: 1380px) { html[lang="bg-BG"] .brand__text { display: none; } }
@media (min-width: 1021px) and (max-width: 1120px) { html[lang="bg-BG"] .site-nav ul { gap: 10px; } html[lang="bg-BG"] .site-nav a { font-size: .8125rem; } }

/* ==========================================================================
   Heroes
   ========================================================================== */
.hero { position: relative; isolation: isolate; color: var(--brand-ivory); background: var(--brand-wine); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero h1 { color: var(--brand-ivory); }

/* Home */
.hero--home { min-height: clamp(600px, 88vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero--home::before { background: linear-gradient(90deg, rgba(42,5,13,.94) 0%, rgba(42,5,13,.82) 42%, rgba(42,5,13,.35) 75%, rgba(42,5,13,.15) 100%), linear-gradient(0deg, rgba(42,5,13,.9) 0%, rgba(42,5,13,0) 40%); }
.hero--home .container { padding-block: clamp(72px, 10vw, 120px) 0; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9375rem; color: var(--brand-gold); margin-bottom: 20px; }
.hero__kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.hero--home h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1; letter-spacing: -.03em; max-width: 12ch; }
.hero__sub { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); font-weight: 500; max-width: 46ch; margin: 22px 0 32px; color: #F3E7E9; line-height: 1.5; }
.hero-facts { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--brand-white); color: var(--brand-ink); box-shadow: var(--shadow-lifted); }
.hero-facts div { padding: 22px 26px; border-left: 1px solid var(--brand-hairline); }
.hero-facts div:first-child { border-left: 0; border-top: 4px solid var(--brand-burgundy); padding-top: 18px; }
.hero-facts dt { font-size: .8125rem; font-weight: 500; color: var(--brand-stone); }
.hero-facts dd { margin: 2px 0 0; font-family: var(--font-numerals); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.625rem); color: var(--brand-wine); line-height: 1.2; }
@media (max-width: 760px) { .hero-facts { grid-template-columns: 1fr 1fr; } .hero-facts div:nth-child(3) { border-left: 0; } .hero-facts div:nth-child(n+3) { border-top: 1px solid var(--brand-hairline); } }

/* Inner pages */
.hero--page { min-height: clamp(360px, 52vh, 500px); display: flex; align-items: flex-end; }
.hero--page::before { background: linear-gradient(0deg, rgba(42,5,13,.94) 0%, rgba(42,5,13,.66) 42%, rgba(42,5,13,.12) 100%); }
.hero--page .container { padding-block: 48px clamp(40px, 6vw, 64px); }
.hero--page h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: 22ch; letter-spacing: -.02em; }
.hero--page .hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 500; max-width: 56ch; margin: 16px 0 0; color: #F3E7E9; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; margin-bottom: 18px; color: rgba(255,251,237,.75); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: var(--brand-ivory); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--brand-ivory); }

/* ==========================================================================
   Organisers and partners strip
   ========================================================================== */
.logo-strip { padding-block: clamp(48px, 6vw, 72px) clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--brand-hairline); }
.logo-strip__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.logo-group h2 { font-size: .875rem; font-weight: 600; color: var(--brand-stone); letter-spacing: 0; margin-bottom: 18px; }
.logo-group ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3vw, 44px); }
.logo-group img { height: 76px; width: auto; }
.logo-group li:nth-child(3) img { height: 42px; }
.logo-group--partners img { height: 44px; max-width: 170px; object-fit: contain; }
.logo-group--partners li:nth-child(2) img, .logo-group--partners li:last-child img { height: 58px; }
.logo-group a { display: block; opacity: .92; transition: opacity .2s; }
.logo-group a:hover { opacity: 1; }
@media (max-width: 900px) { .logo-strip__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Home sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split .trio { margin-bottom: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.pull-quote { margin: 0; padding: clamp(28px, 4vw, 44px); background: var(--brand-mist); border-left: 6px solid var(--brand-burgundy); }
.pull-quote p { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 500; line-height: 1.4; color: var(--brand-wine); letter-spacing: -.01em; }
.pull-quote footer { margin-top: 20px; font-size: .9rem; color: var(--brand-stone); font-weight: 500; }

.deliverables { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.deliverable-feature { background: var(--brand-burgundy); color: #F6E9EC; padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; position: relative; overflow: hidden; }
.deliverable-feature::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; background: url("../images/logos/icbi-seal-white.webp") center/contain no-repeat; opacity: .08; }
.deliverable-feature h3 { color: var(--brand-ivory); font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 14px; }
.deliverable-feature p { font-size: 1.0625rem; max-width: 40ch; }
.deliverable-list { list-style: none; display: grid; gap: 20px; }
.deliverable-list li { background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 26px 28px; border-top: 3px solid var(--brand-burgundy); }
.deliverable-list h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.deliverable-list p { font-size: .9375rem; }
@media (max-width: 900px) { .deliverables { grid-template-columns: 1fr; } .deliverable-feature { min-height: 260px; } }

.card-grid { display: grid; gap: 20px; list-style: none; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; } }

.card { background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 30px 28px; height: 100%; }
.section--mist .card, .card--on-white { box-shadow: var(--shadow-raised); }
.card h3 { font-size: 1.1875rem; margin-bottom: 10px; line-height: 1.25; }
.card p { font-size: .9375rem; }
.icon { width: 44px; height: 44px; margin-bottom: 22px; }
.card--icon .icon { width: 40px; height: 40px; }

/* Speakers */
.speaker { background: var(--brand-white); box-shadow: var(--shadow-raised); display: flex; flex-direction: column; height: 100%; }
.speaker__photo { background: linear-gradient(180deg, var(--brand-mist) 0%, var(--brand-mist) 62%, var(--brand-white) 62%); padding: 32px 32px 0; }
.speaker__photo img { width: min(220px, 100%); aspect-ratio: 1 / 1; margin-inline: auto; border-radius: 50%; object-fit: cover; object-position: center 20%; box-shadow: 0 0 0 6px var(--brand-white), 0 12px 24px rgba(42,5,13,.12); }
.speaker__body { padding: 22px 26px 28px; text-align: left; display: flex; flex-direction: column; flex: 1; }
.speaker h3 { font-size: 1.25rem; }
.speaker__role { font-size: .875rem; font-weight: 600; color: var(--brand-burgundy); margin: 8px 0 4px; line-height: 1.45; }
.speaker__org { font-size: .875rem; color: var(--brand-stone); font-weight: 500; }
.speaker__bio { font-size: .9375rem; margin-top: 16px; }
.speaker__link { margin-top: auto; padding-top: 20px; font-size: .875rem; }
.speaker--compact .speaker__role { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.section-foot { margin-top: 40px; display: flex; justify-content: center; }

/* Key dates */
.timeline-h { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.timeline-h::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--brand-hairline); }
.timeline-h li { position: relative; padding: 44px 28px 0 0; }
.timeline-h li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--brand-white); border: 5px solid var(--brand-burgundy); }
.timeline-h li:last-child::before { background: var(--brand-burgundy); }
.timeline-h .label { font-size: .875rem; font-weight: 600; color: var(--brand-burgundy); }
.timeline-h time { display: block; font-family: var(--font-numerals); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--brand-wine); line-height: 1.1; margin: 4px 0 6px; }
.timeline-h p { color: var(--brand-stone); font-size: .9375rem; }
@media (max-width: 760px) {
  .timeline-h { grid-template-columns: 1fr; gap: 28px; padding-left: 36px; }
  .timeline-h::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline-h li { padding: 0; }
  .timeline-h li::before { left: -36px; top: 4px; }
}

/* Agenda at a glance */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.day { background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 30px 28px; }
.day__head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--brand-hairline); }
.day__num { font-family: var(--font-numerals); font-size: 3rem; line-height: .9; color: var(--brand-burgundy); font-weight: 400; }
.day__date { font-size: .8125rem; color: var(--brand-stone); font-weight: 500; display: block; }
.day h3 { font-size: 1.125rem; }
.day ul { list-style: none; display: grid; gap: 10px; font-size: .9375rem; }
.day li { padding-left: 18px; position: relative; }
.day li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--brand-burgundy); }
@media (max-width: 900px) { .days { grid-template-columns: 1fr; } }

/* Study band */
.study { display: grid; grid-template-columns: 1fr 1fr; background: var(--brand-burgundy); color: #F6E9EC; box-shadow: var(--shadow-lifted); }
.study__media { min-height: 360px; position: relative; }
.study__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.study__body { padding: clamp(32px, 5vw, 64px); }
.study__body h2 { color: var(--brand-ivory); font-size: clamp(1.75rem, 3vw, 2.25rem); }
.study__body .lead { color: var(--brand-gold); }
.study__body p { margin-top: 16px; }
.study__body .btn-row { margin-top: 28px; }
.study figcaption { position: absolute; left: 0; bottom: 0; background: rgba(42,5,13,.8); color: var(--brand-ivory); font-size: .8125rem; padding: 8px 14px; max-width: 90%; }
@media (max-width: 900px) { .study { grid-template-columns: 1fr; } .study__media { min-height: 260px; } }

/* Closing call to action */
.cta-band { position: relative; isolation: isolate; color: var(--brand-ivory); text-align: center; overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(42,5,13,.72) 0%, rgba(42,5,13,.9) 75%); }
.cta-band .container { padding-block: clamp(72px, 10vw, 120px); }
.cta-band h2 { color: var(--brand-ivory); font-size: clamp(1.875rem, 4.2vw, 3rem); max-width: 22ch; margin: 0 auto; letter-spacing: -.02em; }
.cta-band p { margin: 16px auto 32px; color: #F3E7E9; font-weight: 500; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Conference page
   ========================================================================== */
.fact-panel { background: var(--brand-white); box-shadow: var(--shadow-lifted); border-top: 4px solid var(--brand-burgundy); }
.fact-panel dl { margin: 0; }
.fact-panel div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--brand-hairline); }
.fact-panel div:last-child { border-bottom: 0; }
.fact-panel dt { font-size: .875rem; color: var(--brand-stone); font-weight: 500; }
.fact-panel dd { margin: 0; font-weight: 600; color: var(--brand-wine); }

.partner-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.partner-groups h3 { font-size: 1rem; color: var(--brand-stone); font-weight: 600; margin-bottom: 16px; }
.partner-groups ul { list-style: none; display: grid; gap: 16px; }
.partner-tile { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 24px; background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 22px 26px; text-decoration: none; color: var(--brand-wine); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.partner-tile:hover { box-shadow: var(--shadow-lifted); color: var(--brand-burgundy); }
.partner-tile img { max-height: 56px; max-width: 150px; width: auto; object-fit: contain; }
.partner-tile span { font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.partner-tile svg { width: 18px; height: 18px; color: var(--brand-burgundy); }
@media (max-width: 900px) { .partner-groups { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .partner-tile { grid-template-columns: 1fr auto; } .partner-tile img { grid-column: 1 / -1; } }

.numbered { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: n; }
.numbered li { counter-increment: n; border-top: 3px solid var(--brand-burgundy); padding-top: 20px; }
.numbered li::before { content: counter(n, decimal-leading-zero); display: block; font-family: var(--font-numerals); font-size: 2.25rem; line-height: 1; color: var(--brand-burgundy); margin-bottom: 14px; }
.numbered h3 { font-size: 1.125rem; margin-bottom: 8px; }
.numbered p { font-size: .9375rem; }
@media (max-width: 1020px) { .numbered { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .numbered { grid-template-columns: 1fr; } }

.themes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--brand-hairline); background: var(--brand-white); }
.themes li { display: flex; align-items: center; gap: 16px; padding: 24px; border-left: 1px solid var(--brand-hairline); font-weight: 600; color: var(--brand-wine); line-height: 1.3; }
.themes li:first-child { border-left: 0; }
.themes img { width: 36px; height: 36px; flex: none; }
@media (max-width: 1020px) { .themes { grid-template-columns: 1fr 1fr; } .themes li:nth-child(3) { border-left: 0; } .themes li:nth-child(n+3) { border-top: 1px solid var(--brand-hairline); } }
@media (max-width: 560px) { .themes { grid-template-columns: 1fr; } .themes li { border-left: 0; } .themes li + li { border-top: 1px solid var(--brand-hairline); } }

.downloads { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download { display: flex; gap: 20px; align-items: flex-start; background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 26px; text-decoration: none; color: var(--brand-ink); height: 100%; transition: box-shadow .25s var(--ease); }
.download:hover { box-shadow: var(--shadow-lifted); color: var(--brand-ink); }
.download img { width: 40px; height: 40px; flex: none; }
.download h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.download p { font-size: .875rem; color: var(--brand-stone); margin-bottom: 12px; }
.download .dl { font-size: .875rem; font-weight: 600; color: var(--brand-burgundy); }
@media (max-width: 900px) { .downloads { grid-template-columns: 1fr; } }

/* ==========================================================================
   ICBI page
   ========================================================================== */
.intro-seal { display: flex; justify-content: center; }
.intro-seal img { width: min(360px, 80%); }
.events { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event { display: flex; flex-direction: column; height: 100%; background: var(--brand-white); box-shadow: var(--shadow-raised); text-decoration: none; color: var(--brand-ink); transition: box-shadow .25s var(--ease); }
.event:hover { box-shadow: var(--shadow-lifted); color: var(--brand-ink); }
.event__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-mist); }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event:hover .event__media img { transform: scale(1.04); }
.event__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event time { font-size: .8125rem; font-weight: 600; color: var(--brand-burgundy); }
.event h3 { font-size: 1.0625rem; line-height: 1.35; }
.event .more { margin-top: auto; padding-top: 8px; font-size: .8125rem; font-weight: 600; color: var(--brand-stone); }
.event:hover .more { color: var(--brand-burgundy); }
@media (max-width: 1020px) { .events { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .events { grid-template-columns: 1fr; } }

.venue-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 32px 36px; border-left: 6px solid var(--brand-burgundy); }
.venue-teaser h2 { font-size: 1.5rem; margin-bottom: 6px; }

/* ==========================================================================
   Lecturers page
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters[hidden] { display: none; }
.filter { font: 500 .875rem/1 var(--font-sans); padding: .85em 1.2em; background: var(--brand-white); color: var(--brand-wine); border: 1px solid var(--brand-hairline); cursor: pointer; }
.filter:hover { border-color: var(--brand-burgundy); color: var(--brand-burgundy); }
.filter[aria-pressed="true"] { background: var(--brand-burgundy); color: var(--brand-white); border-color: var(--brand-burgundy); }
.filter .count { opacity: .7; margin-left: 4px; }
.speakers-full { list-style: none; display: grid; gap: 24px; }
.speakers-full .speaker { display: grid; grid-template-columns: 280px 1fr; }
.speakers-full .speaker__photo { background: var(--brand-mist); padding: 36px; display: flex; align-items: flex-start; justify-content: center; }
.speakers-full .speaker__body { padding: 32px 36px; }
.speakers-full .speaker h2 { font-size: 1.5rem; }
.speakers-full .tag { align-self: flex-start; font-size: .75rem; font-weight: 600; color: var(--brand-burgundy); border: 1px solid var(--brand-burgundy); padding: 3px 8px; margin-bottom: 12px; }
.speakers-full li[hidden] { display: none; }
@media (max-width: 760px) { .speakers-full .speaker { grid-template-columns: 1fr; } .speakers-full .speaker__photo { padding: 32px 32px 0; background: linear-gradient(180deg, var(--brand-mist) 62%, var(--brand-white) 62%); } }

/* ==========================================================================
   Schedule page
   ========================================================================== */
.day-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--brand-hairline); margin-bottom: 40px; position: sticky; top: var(--header-h); z-index: 10; background: var(--brand-white); }
.day-tab { font-family: var(--font-sans); text-align: left; background: var(--brand-white); border: 0; border-left: 1px solid var(--brand-hairline); padding: 16px 22px; cursor: pointer; color: var(--brand-ink); display: grid; gap: 2px; }
.day-tab:first-child { border-left: 0; }
.day-tab strong { font-size: 1rem; color: var(--brand-wine); font-weight: 600; }
.day-tab span { font-size: .8125rem; color: var(--brand-stone); font-weight: 500; }
.day-tab[aria-selected="true"] { background: var(--brand-burgundy); }
.day-tab[aria-selected="true"] strong, .day-tab[aria-selected="true"] span { color: var(--brand-ivory); }
.no-js .day-tabs { display: none; }
@media (max-width: 640px) { .day-tab { padding: 12px 14px; } .day-tab span { display: none; } }

.day-panel + .day-panel { margin-top: 64px; }
.js .day-panel + .day-panel { margin-top: 0; }
.day-panel__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 28px; }
.day-panel__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.day-panel__head p { font-weight: 700; color: var(--brand-burgundy); margin: 0; }
.agenda { list-style: none; }
.slot { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 0 0 28px; position: relative; }
.slot::before { content: ""; position: absolute; left: 150px; top: 0; bottom: 0; width: 1px; background: var(--brand-hairline); transform: translateX(14px); }
.slot:last-child::before { bottom: auto; height: 20px; }
.slot__time { font-family: var(--font-numerals); font-size: 1.375rem; color: var(--brand-wine); line-height: 1.2; padding-top: 18px; text-align: right; }
.slot__time span { display: block; font-size: .9375rem; color: var(--brand-stone); }
.slot__sessions { display: grid; gap: 16px; position: relative; padding-left: 14px; }
.slot__sessions::before { content: ""; position: absolute; left: -19px; top: 24px; width: 11px; height: 11px; background: var(--brand-burgundy); }
.slot--break .slot__sessions::before { background: var(--brand-white); border: 2px solid var(--brand-hairline); }
.slot--parallel .slot__sessions { grid-template-columns: 1fr 1fr; }
.parallel-note { grid-column: 1 / -1; font-size: .8125rem; font-weight: 600; color: var(--brand-burgundy); margin-bottom: -6px; }
.session { background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 22px 26px; }
.slot--break .session { background: var(--brand-mist); box-shadow: none; padding: 16px 22px; }
.session__type { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--brand-burgundy); border: 1px solid currentColor; padding: 2px 8px; margin-bottom: 10px; }
.slot--break .session__type { color: var(--brand-stone); }
.session h3 { font-size: 1.125rem; line-height: 1.35; }
.slot--break .session h3 { font-size: 1rem; }
.session p { font-size: .9375rem; margin-top: 8px; }
.slot--break .session p { font-size: .875rem; color: var(--brand-stone); }
.session__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--brand-hairline); font-size: .875rem; font-weight: 600; color: var(--brand-wine); }
.session__meta span { display: inline-flex; align-items: center; gap: 6px; }
.session__meta svg { width: 16px; height: 16px; color: var(--brand-burgundy); flex: none; }
.schedule-note { margin-top: 24px; font-size: .875rem; color: var(--brand-stone); }
@media (max-width: 860px) {
  .slot { grid-template-columns: 1fr; gap: 8px; padding-left: 22px; }
  .slot::before { left: 0; transform: none; }
  .slot__time { text-align: left; padding-top: 0; display: flex; gap: 8px; align-items: baseline; font-size: 1.125rem; }
  .slot__time span { display: inline; }
  .slot__time span::before { content: "– "; }
  .slot__sessions { padding-left: 0; }
  .slot__sessions::before { left: -27px; top: -24px; }
  .slot--parallel .slot__sessions { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Attend page
   ========================================================================== */
.passes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pass { background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 34px 30px; display: flex; flex-direction: column; height: 100%; position: relative; border-top: 4px solid var(--brand-hairline); }
.pass--featured { border-top-color: var(--brand-burgundy); box-shadow: var(--shadow-lifted); }
.pass__badge { position: absolute; top: -4px; right: 24px; background: var(--brand-burgundy); color: var(--brand-white); font-size: .75rem; font-weight: 600; padding: 6px 10px; }
.pass h3 { font-size: 1.25rem; }
.pass__price { font-family: var(--font-numerals); font-size: 2.75rem; line-height: 1.05; color: var(--brand-burgundy); margin: 14px 0 4px; }
.pass__price del { font-size: 1.375rem; color: var(--brand-stone); margin-right: 8px; }
.pass__price--text { font-size: 2rem; }
.pass__desc { font-size: .9375rem; margin: 10px 0 20px; }
.pass ul { list-style: none; display: grid; gap: 10px; font-size: .9375rem; padding-top: 20px; border-top: 1px solid var(--brand-hairline); margin-bottom: 28px; }
.pass li { padding-left: 26px; position: relative; }
.pass li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--brand-burgundy); border-bottom: 2px solid var(--brand-burgundy); transform: rotate(-45deg); }
.pass .btn { margin-top: auto; }
.pass__note { margin-top: auto; font-size: .875rem; color: var(--brand-stone); font-weight: 500; }
@media (max-width: 960px) { .passes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.media-card { display: flex; gap: 22px; background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 28px; height: 100%; }
.media-card img { width: 44px; height: 44px; flex: none; }
.media-card h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.media-card p { font-size: .9375rem; }
.media-card .text-link { margin-top: 12px; font-size: .9375rem; }

.pay { list-style: none; display: grid; gap: 16px; }
.pay li { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: start; background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 22px 24px; }
.pay svg { width: 30px; height: 30px; color: var(--brand-burgundy); }
.pay h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.pay p { font-size: .9375rem; }
.pay .tag { font-size: .75rem; font-weight: 600; padding: 4px 8px; background: var(--brand-mist); color: var(--brand-wine); white-space: nowrap; }
.pay .tag--instant { background: var(--brand-burgundy); color: var(--brand-white); }
.extras { list-style: none; display: grid; gap: 16px; }
.extras li { display: flex; gap: 18px; align-items: center; background: var(--brand-white); box-shadow: var(--shadow-raised); padding: 22px 24px; }
.extras img { width: 40px; height: 40px; flex: none; }
.extras h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.extras p { font-size: .9375rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.two-col .trio { margin-bottom: 28px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ page
   ========================================================================== */
.faq-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--brand-hairline); }
.faq details { border-bottom: 1px solid var(--brand-hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 600; font-size: 1.125rem; color: var(--brand-wine); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid var(--brand-burgundy); border-bottom: 2px solid var(--brand-burgundy); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq summary:hover { color: var(--brand-burgundy); }
.faq .answer { padding: 0 40px 26px 0; max-width: 68ch; }
.aside-card { background: var(--brand-burgundy); color: #F6E9EC; padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h2 { color: var(--brand-ivory); font-size: 1.375rem; margin-bottom: 10px; }
.aside-card a:not(.btn) { color: var(--brand-ivory); }
.aside-card .btn { margin-top: 20px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ==========================================================================
   Travel page
   ========================================================================== */
.venue > * { min-width: 0; }
.venue { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; box-shadow: var(--shadow-lifted); background: var(--brand-white); }
.venue__map { min-height: 440px; background: var(--brand-mist); }
.venue__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
.venue__info { padding: clamp(28px, 4vw, 44px); display: grid; gap: 26px; align-content: start; }
.info-row { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.info-row img { width: 32px; height: 32px; margin-top: 2px; }
.info-row h3 { font-size: .875rem; color: var(--brand-stone); font-weight: 600; margin-bottom: 4px; }
.info-row p, .info-row address { font-weight: 500; color: var(--brand-wine); }
@media (max-width: 900px) { .venue { grid-template-columns: 1fr; } .venue__map, .venue__map iframe { min-height: 320px; } }
.transport svg { width: 40px; height: 40px; color: var(--brand-burgundy); margin-bottom: 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-wine); color: #D9C7CB; font-size: .9375rem; }
.site-footer a { color: #F3E7E9; text-decoration: none; }
.site-footer a:hover { color: var(--brand-white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(56px, 7vw, 80px); }
.footer-brand img { width: 96px; margin-bottom: 18px; }
.footer-brand p { max-width: 42ch; }
.site-footer .footer-orgs { list-style: none; display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.footer-orgs img { height: 52px; width: auto; opacity: .85; }
.footer-orgs li:last-child img { height: 30px; }
.site-footer h2 { font-size: .9375rem; font-weight: 600; color: var(--brand-ivory); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer address p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 251, 237, .12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: #B8A3A8; }
.footer-bottom .lang-links { display: flex; gap: 16px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Language gateway */
.gateway { min-height: 100vh; display: grid; place-items: center; background: var(--brand-wine); color: var(--brand-ivory); text-align: center; padding: 40px 20px; }
.gateway img { width: 110px; margin: 0 auto 28px; }
.gateway h1 { color: var(--brand-ivory); font-size: clamp(2rem, 5vw, 3rem); }
.gateway p { margin: 12px 0 32px; color: #E6D6D9; }
.gateway .btn-row { justify-content: center; }

/* Motion: one entrance for content blocks, only when JS is present */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .cta-band, .day-tabs, .filters { display: none !important; }
  .hero { color: #000; background: none; min-height: 0 !important; }
  .hero::before, .hero__media { display: none; }
  .hero h1 { color: #000; }
  .js .day-panel[hidden] { display: block !important; }
}
